Commit Graph

29 Commits

Author SHA1 Message Date
Fatih Aşıcı 174db8b712 Allow comparing Version objects with strings 2010-02-05 14:53:02 +00:00
Ozan Çağlayan 3e29e3cf5f Handle possible None values for obj when the element is optional 2010-02-04 08:25:43 +00:00
Ozan Çağlayan acd139a10d pisi/component.py(Maintainer): Add Maintainer tag to components.xml. 2010-02-02 07:57:33 +00:00
Serdar Dalgıç 61d4c687e3 Handle urllib2 errors of dummy .part files created as a result of unreachable
translations.xml's. Fixes #12136.

Ilgili hatadaki 8. yorumda Isbaran'in yazdiklari sorunu acikliyor.

BUG:FIXED:12136
2010-01-26 13:38:06 +00:00
Ozan Çağlayan efb97cc392 Add support for reverse applying a patch with <Patch reverse="[tT]rue">.. 2010-01-23 13:22:07 +00:00
Gökçen Eraslan 2eb8943986 Do not ignore parameter in make method (eg. perl Build test). Tests of some perl modules have never run before this commit. 2010-01-22 12:37:45 +00:00
Ozan Çağlayan 8f5aa7e6ab Don't wait until packaging for borking about invalid version strings
- Current pisi borks about invalid version string just before creating .pisi file.
Move that check to __init__ in Builder to fail as early as possible.

- Also handle unknown keywords in version strings to not fail with unhandled
exceptions.
2010-01-19 13:14:11 +00:00
Ozan Çağlayan 186bfada9f Pisi error message sanitization
* pisi/specfile.py (_set_i18n): Handle parsing errors during
translations.xml reading.
* pisi/specfile.py (read_translations): Ignore source package
translations if <Name> is empty in translations.xml.
2010-01-19 12:08:10 +00:00
Ozan Çağlayan 3b8250b8bf Implement get.ARCH()
* pisi/actionsapi/get.py: Add ARCH() for getting host architecture.
Thanks to 64-bit team for pointing out this requirement.
2010-01-12 10:32:55 +00:00
Ozan Çağlayan 528ba418cc Support glob patterns in shelltools.unlink() 2010-01-04 08:00:20 +00:00
Faik Uygur 4a533ca0bd Revert change. pisi can not decide which operation to return. 2010-01-04 06:40:57 +00:00
Serdar Dalgıç f580227ec7 Do not give permission to takeback system to the initial state which is always pardus-cd repository is updated. . 2009-12-31 12:34:46 +00:00
Gökçen Eraslan 3bfa18848f Add changelog for CMake build type change. 2009-12-21 14:06:11 +00:00
Fatih Aşıcı fc877b2687 Fix exceptions raise after quitting history view. 2009-12-21 09:07:32 +00:00
Serdar Dalgıç dc960b4d2b change the ChangeLog 2009-12-16 13:28:55 +00:00
Serdar Dalgıç 978f3e2c10 add to the ChangeLog too. 2009-12-15 22:30:26 +00:00
Ozan Çağlayan fbb358f965 Make LocalName, Summary and Description optional for component.xml files 2009-12-15 08:46:39 +00:00
Serdar Dalgıç 269dec8c6b update these too. 2009-12-14 12:04:07 +00:00
Serdar Dalgıç 48179b333d Check individual packages' Distribution Release and architecture properties before installing them. 2009-12-11 21:16:09 +00:00
Serdar Dalgıç 479f10265b Raise meaningful warning when translations.xml has invalid XML.
BUG:FIXED:8969
2009-12-09 12:25:29 +00:00
Bahadır Kandemir 26d14982c7 Add package name to needs{Restart,Reboot} list if an update requires one of these actions.
IMHO, update_databases() method in Install class is suitable for this operation, feel free to move/refactor code if I'm wrong.
2009-12-08 15:20:35 +00:00
Bahadır Kandemir e8fa5bb1f6 Install DB changes and API methods for needs{Restart,Reboot} feature.
pisi.api.list_needs_{reboot,restart}()
pisi.api.add_needs_{reboot,restart}(package)
pisi.api.remove_needs_{reboot,restart}(package)
2009-12-07 21:05:30 +00:00
Bahadır Kandemir 73db8c6b8e Reverted AnyDep changes 2009-12-04 11:55:25 +00:00
Bahadır Kandemir ffbd4526e5 Fixed repo_version_bumped() ignoring with_version() argument. 2009-12-04 10:07:59 +00:00
Bahadır Kandemir 915d16cdec AnyDependency support added to with_dependencies() method. Simply give AnyDependency list as an argument. 2009-12-04 09:21:42 +00:00
Bahadır Kandemir d2e28e0bd5 *Size variables should be long. 2009-11-22 14:56:51 +00:00
Faik Uygur 692e7b043d update changelog 2009-11-09 10:04:59 +00:00
Ozan Çağlayan 94f85db8f1 Don't append dbginfo to the debug packages' partOf data 2009-10-15 17:25:54 +00:00
Faik Uygur aa33fae1d6 these too 2009-10-14 12:42:49 +00:00