From 0863624272d91156fd30282f58da27ac61c48d05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20A=C5=9F=C4=B1c=C4=B1?= Date: Mon, 31 Jan 2011 09:22:53 +0000 Subject: [PATCH] pisi 2.4_alpha2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is the second alpha for the upcoming 2.4.x releases. This release contains various fixes, actionsapi improvements, translation updates, and a new feature to generate reverse dependency graph with graph command. Changes since 2.4_alpha1 ------------------------ bahadir.kandemir (7): scripts: Various improvements in pisign.py scripts: Package signing tool verifies using certificate. scripts: Check certificate validity and trustworthiness. fetcher: Check integrity of files before saving to disk. file: Fixed not keeping original filename file: Fix not checking sha1sum file: Don't overwrite file when using with local filesystem ebayer (1): cli/graph: Add option to generate reverse dependency graph fatih (18): build: Little improvements on info messages tree-wide: Do not pass variables to the gettext function l10n: Update messages l10n: Fix fuzzy messages in Turkish translations specfile: Thinko fix rng: Update for type attribute in Archive tag tree-wide: Remove redundant setlocale's tree-wide: Make some error messages translatable check: Normalize symlink targets before calculating their sums comariface: Code style fixes api: Regenerate caches even if a repo-update fails history: Ugly fix for the regression caused by filename changes history: Fix split error build: Let build function return Builder object emerge: Fix package installation fetcher: Add a default value for destionation directory fetcher: Add a method to test connection using urlopen fetcher: Add a timeout parameter to Fetcher.test() fatih.arslan (1): actionsapi/texlivemodules: Add exception for None values of "patterns" gokcen.eraslan (1): l10n: Fix Hu translation igungor (2): l10n: Revert last commit l10n: Revert back to r34041 since non-latin characters in ru.po seems broken. ozan.caglayan (18): index: Remove faulty and unused name() method build: Warn if a patch file is empty util: Use -i instead of redirection actionsapi/kerneltools: Rework EXTRAVERSION stuff actionsapi/kerneltools: Use upstream ways to not install the firmwares actionsapi/kerneltools: Don't install kernel sources, it's useless actionsapi/kerneltools: More fixes actionsapi/kerneltools: More fixes and cleanup actionsapi/kerneltools: Install Module.symvers and System.map under lib/modules too actionsapi/kerneltools: This is changed to listnewconfig by upstream patches: Add patch to support non-root building patches: update non-root build patch actionsapi/kerneltools: Rework versioning stuff. I think it's okay now comariface: safe_script_name is a better name comariface: Fix a case where names are not validated specfile: Fix typo: get_component() is a function. specfile: Component dependencies are base strings specfile: Create Dependency objects for each package in a component dependency transifex (130): l10n: Updated Dutch (Flemish) (nl) translation to 100% (Antoon Tolboom) l10n: Updated Turkish (tr) translation to 99% (Fatih Aşıcı) l10n: Updated Turkish (tr) translation to 100% (Fatih Aşıcı) l10n: Updated French (fr) translation to 96% (Philippe Svetoslavsky) l10n: Updated French (fr) translation to 97% (Philippe Svetoslavsky) l10n: Updated French (fr) translation to 100% (Philippe Svetoslavsky) l10n: Updated German (de) translation to 95% (Stefan Wilhelm) l10n: Updated German (de) translation to 99% (Stefan Wilhelm) l10n: New Russian Translation (Yasirov Vasiliy) l10n: Updated Russian (ru) translation to 0% (Yasirov Vasiliy) l10n: Updated Russian (ru) translation to 2% (Yasirov Vasiliy) l10n: Updated Russian (ru) translation to 4% (Yasirov Vasiliy) l10n: Updated Russian (ru) translation to 7% (Yasirov Vasiliy) l10n: Updated Russian (ru) translation to 10% (Yasirov Vasiliy) l10n: Updated Russian (ru) translation to 12% (Yasirov Vasiliy) l10n: Updated Spanish (Castilian) (es) translation to 96% (Klemens Häckel) l10n: Updated Spanish (Castilian) (es) translation to 98% (Klemens Häckel) l10n: Updated Spanish (Castilian) (es) translation to 99% (Klemens Häckel) l10n: Updated Italian (it) translation to 75% (Ali Işıngör) l10n: Initial hungarian translation (Zoltan Siposs) l10n: Updated Hungarian (hu) translation to 61% (Zoltan Siposs) l10n: Updated Hungarian (hu) translation to 93% (Zoltan Siposs) l10n: Updated Hungarian (hu) translation to 100% (Zoltan Siposs) l10n: Updated Russian (ru) translation to 18% (Alexander Total) l10n: Updated Russian (ru) translation to 20% (Alexey Ivanes) l10n: Updated Russian (ru) translation to 24% (Alexey Ivanes) l10n: Updated Russian (ru) translation to 24% (Yasirov Vasiliy) l10n: Updated Russian (ru) translation to 24% (Yasirov Vasiliy) l10n: Updated Russian (ru) translation to 33% (Yasirov Vasiliy) l10n: Updated Russian (ru) translation to 35% (Yasirov Vasiliy) l10n: Updated Russian (ru) translation to 40% (Yasirov Vasiliy) l10n: Updated Russian (ru) translation to 42% (Alexander Total) l10n: Updated Russian (ru) translation to 43% (Alexander Total) l10n: Updated Russian (ru) translation to 43% (Alexander Total) l10n: Updated Russian (ru) translation to 44% (Alexander Total) l10n: Updated Russian (ru) translation to 44% (Alexander Total) l10n: Updated Russian (ru) translation to 48% (Alexey Ivanes) l10n: Updated Russian (ru) translation to 47% (Nikolay Semenov) l10n: Updated Russian (ru) translation to 47% (Nikolay Semenov) l10n: Updated Russian (ru) translation to 47% (Yasirov Vasiliy) l10n: Updated German (de) translation to 99% (Stefan Wilhelm) l10n: Updated German (de) translation to 100% (Stefan Wilhelm) l10n: Updated Swedish (sv) translation to 40% (Patrik Karlsson) l10n: Updated Russian (ru) translation to 47% (Nikolay Semenov) l10n: Updated Russian (ru) translation to 47% (Nikolay Semenov) l10n: Updated Russian (ru) translation to 48% (Nikolay Semenov) l10n: Updated Russian (ru) translation to 49% (Nikolay Semenov) l10n: Updated Russian (ru) translation to 50% (Nikolay Semenov) l10n: Updated Russian (ru) translation to 51% (Nikolay Semenov) l10n: Updated Russian (ru) translation to 51% (Nikolay Semenov) l10n: Updated Russian (ru) translation to 51% (Nikolay Semenov) l10n: Updated Russian (ru) translation to 52% (Nikolay Semenov) l10n: Updated Russian (ru) translation to 53% (Nikolay Semenov) l10n: Updated Russian (ru) translation to 55% (Alexey Ivanes) l10n: Updated Swedish (sv) translation to 41% (Patrik Karlsson) l10n: Updated Hungarian (hu) translation to 100% (Attila Siposs) l10n: Updated Russian (ru) translation to 60% (Alexey Ivanes) l10n: Updated Swedish (sv) translation to 41% (Patrik Karlsson) l10n: Updated Italian (it) translation to 76% (Ali Işıngör) l10n: Updated Italian (it) translation to 76% (Ali Işıngör) l10n: Updated Italian (it) translation to 77% (Ali Işıngör) l10n: Updated Italian (it) translation to 79% (Ali Işıngör) l10n: Updated Russian (ru) translation to 61% (Nikolay Semenov) l10n: Updated Russian (ru) translation to 62% (Nikolay Semenov) l10n: Updated Russian (ru) translation to 62% (Nikolay Semenov) l10n: Updated Russian (ru) translation to 63% (Nikolay Semenov) l10n: Updated Russian (ru) translation to 63% (Alexey Ivanes) l10n: Updated Russian (ru) translation to 64% (Darth_Revan) l10n: Updated Russian (ru) translation to 64% (Darth_Revan) l10n: Updated Russian (ru) translation to 64% (Darth_Revan) l10n: Updated Russian (ru) translation to 65% (Darth_Revan) l10n: Updated Russian (ru) translation to 66% (Sorokin Alexei) l10n: Updated Russian (ru) translation to 67% (Sorokin Alexei) l10n: Updated Russian (ru) translation to 68% (Sorokin Alexei) l10n: Updated Russian (ru) translation to 68% (Sorokin Alexei) l10n: Updated Russian (ru) translation to 68% (Sorokin Alexei) l10n: Updated Russian (ru) translation to 68% (Sorokin Alexei) l10n: Updated Russian (ru) translation to 70% (Darth_Revan) l10n: Updated Russian (ru) translation to 71% (Alexander Total) l10n: Updated Russian (ru) translation to 72% (Alexander Total) l10n: Updated Russian (ru) translation to 72% (Alexander Total) l10n: Updated Russian (ru) translation to 72% (Alexander Total) l10n: Updated Russian (ru) translation to 75% (Alexander Total) l10n: Updated Russian (ru) translation to 76% (Alexander Total) l10n: Updated Russian (ru) translation to 78% (Alexander Total) l10n: Updated Russian (ru) translation to 78% (Alexander Total) l10n: Updated Russian (ru) translation to 80% (Alexander Total) l10n: Updated Russian (ru) translation to 81% (Alexander Total) l10n: Updated Swedish (sv) translation to 41% (Patrik Karlsson) l10n: Updated Russian (ru) translation to 81% (Nikolay Semenov) l10n: Updated Russian (ru) translation to 82% (Nikolay Semenov) l10n: Updated Russian (ru) translation to 82% (Alexey Ivanes) l10n: Updated Russian (ru) translation to 82% (Darth_Revan) l10n: Updated Russian (ru) translation to 83% (Darth_Revan) l10n: Updated Russian (ru) translation to 84% (Nikolay Semenov) l10n: Updated Russian (ru) translation to 84% (Darth_Revan) l10n: Updated Russian (ru) translation to 85% (Darth_Revan) l10n: Updated Russian (ru) translation to 87% (Darth_Revan) l10n: Updated Russian (ru) translation to 88% (Darth_Revan) l10n: Updated Russian (ru) translation to 89% (Nikolay Semenov) l10n: Updated Russian (ru) translation to 90% (Alexey Ivanes) l10n: Updated Russian (ru) translation to 90% (Alexey Ivanes) l10n: Updated Russian (ru) translation to 91% (Alexander Total) l10n: Updated Russian (ru) translation to 91% (Alexander Total) l10n: Updated Russian (ru) translation to 92% (Alexander Total) l10n: Updated Russian (ru) translation to 92% (Alexander Total) l10n: Updated Russian (ru) translation to 93% (Alexander Total) l10n: Updated Russian (ru) translation to 95% (Alexander Total) l10n: Updated Russian (ru) translation to 95% (Alexander Total) l10n: Updated Russian (ru) translation to 96% (Alexander Total) l10n: Updated Russian (ru) translation to 96% (Alexander Total) l10n: Updated Russian (ru) translation to 96% (Alexander Total) l10n: Updated Russian (ru) translation to 98% (Darth_Revan) l10n: Updated Russian (ru) translation to 99% (Darth_Revan) l10n: Updated Russian (ru) translation to 99% (Darth_Revan) l10n: Updated Russian (ru) translation to 100% (Darth_Revan) l10n: Updated Italian (it) translation to 79% (Ali Işıngör) l10n: Updated Italian (it) translation to 80% (Ali Işıngör) l10n: Updated Italian (it) translation to 80% (Ali Işıngör) l10n: Updated Polish (pl) translation to 20% (Michał Komasa) l10n: Updated Polish (pl) translation to 21% (Michał Komasa) l10n: Updated Polish (pl) translation to 28% (Michał Komasa) l10n: Updated Polish (pl) translation to 30% (Michał Komasa) l10n: Updated Polish (pl) translation to 32% (Michał Komasa) l10n: Updated Polish (pl) translation to 33% (Michał Komasa) l10n: Updated Polish (pl) translation to 33% (Michał Komasa) l10n: Updated Polish (pl) translation to 34% (Michał Komasa) l10n: Updated Polish (pl) translation to 36% (Michał Komasa) l10n: Updated Polish (pl) translation to 40% (Michał Komasa) l10n: Updated Polish (pl) translation to 43% (Michał Komasa) --- ChangeLog | 231 +++++++++++++++++++++++++++++++++++++++++++++++ pisi/__init__.py | 4 +- 2 files changed, 233 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ca7d0da1..13b2ff98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,234 @@ +2011-01-31 Fatih Aşıcı + * fetcher: Add a timeout parameter to Fetcher.test() + +2011-01-28 Ozan Çağlayan + * specfile: Create Dependency objects for each package in a + component dependency + + This should fix the usage of Component dependencies. I'm + now testing. + +2011-01-28 Ozan Çağlayan + * specfile: Component dependencies are base strings + +2011-01-28 Ozan Çağlayan + * specfile: Fix typo: get_component() is a function. + +2011-01-27 Fatih Aşıcı + * fetcher: Add a method to test connection using urlopen + +2011-01-27 Fatih Aşıcı + * fetcher: Add a default value for destionation directory + +2011-01-21 Gökçen Eraslan + * l10n: Fix Hu translation + + Fixes the bug reported at http://bugs.pardus.org.tr/16353. + +2011-01-05 Ozan Çağlayan + * comariface: Fix a case where names are not validated + + When name="xx-yy" is given explicitly in a tag, current + code was not replacing the dash with an underscore causing D-Bus + errors. + + This commit fixes this. + +2011-01-05 Ozan Çağlayan + * comariface: safe_script_name is a better name + +2010-12-28 Ozan Çağlayan + * actionsapi/kerneltools: Rework versioning stuff. I think it's okay now + +2010-12-28 Ozan Çağlayan + * patches: update non-root build patch + +2010-12-27 Ozan Çağlayan + * patches: Add patch to support non-root building + + * if config.tmp_dir is not writeable defaults to /tmp/pisi-$USER + * if /var/cache/pisi/archives is not writeable defaults to /tmp/pisi-$USER + * Move chowning additional files into postinstall + * Assume that group == owner if no group is given for AdditionalFiles + + BUGS: + + All files extracted under work_dir and installed under install_dir + has owner:group == uid:gid of the user which builds the package. + + TEST: + Build a package with your regular user and install it + + EXPECTED RESULTS: + You shouldn't have any exceptions but the files installed on your + system will have the same ownership as your user ;) + +2010-12-27 Ozan Çağlayan + * actionsapi/kerneltools: This is changed to listnewconfig by upstream + +2010-12-24 Ozan Çağlayan + * actionsapi/kerneltools: Install Module.symvers and System.map under lib/modules too + +2010-12-23 Ozan Çağlayan + * actionsapi/kerneltools: More fixes and cleanup + + Avoid calling depmod + Call nonint_oldconfig to check the configuration + Call dumpVersion from here instead of actions.py + +2010-12-22 Ozan Çağlayan + * actionsapi/kerneltools: More fixes + +2010-12-21 Ozan Çağlayan + * actionsapi/kerneltools: Don't install kernel sources, it's useless + +2010-12-21 Ozan Çağlayan + * actionsapi/kerneltools: Use upstream ways to not install the firmwares + +2010-12-21 Ozan Çağlayan + * actionsapi/kerneltools: Rework EXTRAVERSION stuff + +2010-12-18 H. İbrahim Güngör + * l10n: Revert back to r34041 since non-latin characters in ru.po seems broken. + +2010-12-18 H. İbrahim Güngör + * l10n: Revert last commit + +2010-12-14 Fatih Aşıcı + * emerge: Fix package installation + + This is broken since the API change in Builder class. + +2010-12-14 Fatih Aşıcı + * build: Let build function return Builder object + +2010-12-13 Bahadır Kandemir + * file: Don't overwrite file when using with local filesystem + +2010-12-10 Bahadır Kandemir + * file: Fix not checking sha1sum + +2010-12-10 Bahadır Kandemir + * file: Fixed not keeping original filename + +2010-12-09 Bahadır Kandemir + * fetcher: Check integrity of files before saving to disk. + + Fetcher will check integrity of files using sha1sum file + (and later with digital signatures) before saving them to + their original locations. + +2010-12-02 Ozan Çağlayan + * util: Use -i instead of redirection + + GNU patch accepts -i to pass the patch file. Use that instead of + redirection. + +2010-11-25 Ozan Çağlayan + * build: Warn if a patch file is empty + + GNU patch does not detect empty patch files so print + a warning for empty patches before unpacking the source. + +2010-11-24 Ozan Çağlayan + * index: Remove faulty and unused name() method + + distribution class doesn't have any members called name and + repositoryname. + +2010-11-11 Fatih Aşıcı + * history: Fix split error + +2010-11-11 Fatih Aşıcı + * history: Ugly fix for the regression caused by filename changes + + Since we didn't store distribution and architecture info in history + database, takeback was not able to guess old package names. + +2010-11-03 Fatih Aşıcı + * api: Regenerate caches even if a repo-update fails + +2010-11-03 Fatih Aşıcı + * comariface: Code style fixes + +2010-10-27 Bahadır Kandemir + * scripts: Check certificate validity and trustworthiness. + + pisign utility embeds certificate into Zip files and validates them + before checking signature. It also looks into a trust_dir database + to see if certificates are trusted or not. Check README for examples. + +2010-10-27 Fatih Aşıcı + * check: Normalize symlink targets before calculating their sums + + Fixes the bug reported at http://bugs.pardus.org.tr/14906. + +2010-10-25 Fatih Aşıcı + * tree-wide: Make some error messages translatable + +2010-10-25 Bahadır Kandemir + * scripts: Package signing tool verifies using certificate. + + Package signing tool verifies signed data using certificate instead + of public key. It also verifies certificate, warns if it's self + signed, fails if it's invalid. + +2010-10-25 Bahadır Kandemir + * scripts: Various improvements in pisign.py + + - Get passphrase with getpass + - Don't extract public key from certificate + - Support signing/verifying multiple files at once + +2010-10-24 Erdem Bayer + * cli/graph: Add option to generate reverse dependency graph + +2010-10-19 Fatih Aşıcı + * tree-wide: Remove redundant setlocale's + + This commit also fixes the confirm method to repeat asking until + a valid input is given. + +2010-10-18 Fatih Aşıcı + * rng: Update for type attribute in Archive tag + + It is now optional and accepts more types. + +2010-10-14 Fatih Aşıcı + * specfile: Thinko fix + + packageAnyDependencies is an array of AnyDependency objects, not + Dependency! + +2010-10-13 Fatih Aşıcı + * l10n: Fix fuzzy messages in Turkish translations + +2010-10-13 Fatih Aşıcı + * l10n: Update messages + +2010-10-13 Fatih Aşıcı + * tree-wide: Do not pass variables to the gettext function + +2010-10-13 Fatih Aşıcı + * build: Little improvements on info messages + +2010-10-13 Fatih Arslan < farslan@pardus.org.tr> + * actionsapi/texlivemodules: Add exception for None values of "patterns" + + Every format file has some keywords that are passed to the appropriate + application during the build stage. However some of thes keywords, such + as "patterns" may have Null values (do not exist) or have empty string. + Thus, we add here an exception for Null values of "patterns". If no + "patterns" keyword exist, than we create a new one with the parameter '-' + This parameter is default and is adviced from the TexLive developers itself. + +2010-10-11 Fatih Aşıcı + * pisi 2.4_alpha1 + + This is the first alpha for the upcoming 2.3.x releases. This + release adds lots of new features. The most significant ones are + the changes in the package format. + 2010-10-11 Fatih Aşıcı * db: Bump cache version diff --git a/pisi/__init__.py b/pisi/__init__.py index 11643be7..b5010bb6 100644 --- a/pisi/__init__.py +++ b/pisi/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (C) 2005 - 2010, TUBITAK/UEKAE +# Copyright (C) 2005-2011, TUBITAK/UEKAE # # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free @@ -18,7 +18,7 @@ import atexit import logging import logging.handlers -__version__ = "2.4_alpha1" +__version__ = "2.4_alpha2" __all__ = [ 'api', 'configfile', 'db']