Commit Graph

4719 Commits

Author SHA1 Message Date
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
Faik Uygur 8e904f923f pisi-2.2.19 2010-01-28 20:30:10 +00:00
Faik Uygur a3d4966537 pisi.api.add_repo and pisi.api.update_repo should not remove any repository by force.
These are two seperate calls that just adds a repository and just updates a repository, respectively.

Checking distribution or architecture of a repository should be done by the pisi clients.
RepoDB has two methods for this (check_architecture, check_distribution) that return False when failed.
And any action desired should be taken after by the clients themselves. Removing a repository after a pisi
up is insane after a repository is added anyhow.

So for pisi-cli, from now on pisi add-repo will add, update and check the repository by default without asking
if you want to update the repository or not. If fetching the repository index from the given url fails, 
pisi cli will remove the repository as before.

Two options added to pisi add-repo: --ignore-check and --no-fetch

If --ignore-check is given, pisi ignores the arch/distro check after a _successful_ add and update phase.

--no-fetch is for not fetching the repository index. If this option is given, pisi will be unable to check
the arch and distro of the repository (because we have no index to check) and will warn about this to continue.

Summary: 
If a repository is added to pisi database, this means either it is checked or forced. Either way pisi will
use these repositories.
2010-01-28 14:11:02 +00:00
Faik Uygur b62603f7b2 Add repo check arch and check dist methods to repodb 2010-01-28 13:02:39 +00:00
Faik Uygur 6999bae2b7 get arch,dist and dist_release of pisi.conf from variables 2010-01-28 12:55:12 +00:00
Faik Uygur 36eefc1b7f Add repo arch,dist,dist_release getter methods to RepoDB 2010-01-28 12:22:06 +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 c315948a21 Avoid NoneType excepsions 2010-01-23 13:39:11 +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
Faik Uygur 4539137d6a When the last dependency package of <AnyDependency> is removed. the reverse dep should also be removed. This was
working, but missed the attributes part.. So it was working for the Dependency tag without attributes like versionFrom, 
versionTo, ...
2010-01-20 07:44:52 +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
Faik Uygur d39c4c82a0 pisi-2.2.18 2010-01-14 10:23:12 +00:00
Klemens Häckel c85071858f some last minute language fixes for german release note and some spanish details 2010-01-13 23:02:45 +00:00
Patrik Karlsson e9f5bb3329 Swedish translation. 2010-01-13 11:26:36 +00:00
Faik Uygur 79dfa18e7c remove later note 2010-01-13 09:21:27 +00:00
Faik Uygur 80a5b1dee2 Do not force replaced package upgrades for system.base upgrade planning 2010-01-13 09:05:47 +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
Faik Uygur b9521c6a2d Add get_package_requirements method to pisi api 2010-01-11 13:57:47 +00:00
Patrik Karlsson 3c0942d73c Swedish translations. 2010-01-10 14:04:11 +00:00
Patrik Karlsson ad48c23c32 Swedish translations 2010-01-09 19:17:38 +00:00
Ozan Çağlayan e5641826e5 A scenario for #9991 2010-01-09 10:26:49 +00:00
Faik Uygur b0ccf0185f remove unused exceptions 2010-01-08 08:19:43 +00:00
Serdar Dalgıç bbecc6e9fa remove obsolete exceptions too 2010-01-08 08:14:35 +00:00
Faik Uygur 9db5417a30 pisi-2.2.17 2010-01-08 07:46:43 +00:00
Faik Uygur aeb3095788 Update translations 2010-01-08 07:46:35 +00:00
Faik Uygur 2f2d9bd1e0 Remove repo architecture and distribution check for now 2010-01-08 07:45:24 +00:00
Ozan Çağlayan a13e2a7e10 A little better 2010-01-05 09:42:03 +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
Philippe Svetoslavsky 0e2a8cc9d0 minor correction 2010-01-01 21:24:59 +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
Anton Tolboom fef4b041dc Dutch language update of /trunk/pisi/po/nl.po 2009-12-30 15:05:25 +00:00
Philippe Svetoslavsky b0422ac719 french translations added 2009-12-28 20:12:37 +00:00
Patrik Karlsson 0283bcb57f Swedish translation. 2009-12-28 17:23:27 +00:00
Ozan Çağlayan cd4486e1d9 Add possibility to clean-up firmwares 2009-12-24 19:36:36 +00:00
Ozan Çağlayan e60595bd86 add new method updateKConfig() 2009-12-24 18:30:32 +00:00
Anton Tolboom 80c78e6632 Dutch language update of /trunk/pisi/po/nl.po 2009-12-23 16:24:59 +00:00
Serdar Dalgıç 60978f55d4 add --ignore-check to pisi install command too, to get rid of architecture and distribution checks 2009-12-23 12:42:43 +00:00
Gökçen Eraslan 810b318612 Apply commit r23485 (sort the files according to their path names before adding them to the tarfile.) for delta packages. 2009-12-23 12:30:20 +00:00
Anton Tolboom 86446b2d15 Dutch language update of /trunk/pisi/po/nl.po 2009-12-22 14:13:03 +00:00
Anton Tolboom 747a3def15 Dutch language update of /trunk/pisi/po/nl.po 2009-12-22 13:59:49 +00:00
Anton Tolboom 6daf64a9c4 Dutch language update of /trunk/pisi/po/nl.po 2009-12-22 13:35:36 +00:00
Gökçen Eraslan 3bfa18848f Add changelog for CMake build type change. 2009-12-21 14:06:11 +00:00
Gökçen Eraslan 586e1ec7c6 Change CMAKE_BUILD_TYPE to RelWithDebInfo, this also adds -DNDEBUG and -DQT_NO_DEBUG in KDE packages. I'll also add QT_NO_DEBUG to Qt package. 2009-12-21 14:02:11 +00:00
Faik Uygur 246aaa3e66 This saves it all for broken packages by hand (deleted files on purpose) or changed config files 2009-12-21 09:08:06 +00:00
Fatih Aşıcı fc877b2687 Fix exceptions raise after quitting history view. 2009-12-21 09:07:32 +00:00
Klemens Häckel e34ffcadd9 some spanish language additions (kh) 2009-12-18 00:42:55 +00:00