From e00044fb94c2b52ce2c03386724137373617a731 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20A=C5=9F=C4=B1c=C4=B1?= Date: Mon, 11 Oct 2010 11:48:01 +0000 Subject: [PATCH] pisi 2.4_alpha1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. Changes since 2.3.2 ------------------- dfisek (1): licenses: Add CeCILL-B license fatih (136): archive: Drop decompress function implemented for Python < 2.6 archive: Use pyliblzma for (de)compression with lzma archive: Import bz2 and gzip modules only when needed install: Disable keyboard interrupts while extracting archive: Implement a separate class for tar.Z archives archive: Add callback parameter to ArchiveTar.unpack_dir archive: Allow passing a file-like object to ArchiveTar install: Read install.tar.lzma without extracting it scripts: Update unpisi to extract using file objects archive: Code style fixes archive: Refactor Archive{Bzip2,Gzip}.unpack_dir methods build: Handle the exception raises when archive type is unknown archive: Add support for xz compressed tar archives archive: Add support for archive files compressed with lzma/xz archive: Make "bz2" an alias for "bzip2" util: Use Archive class in uncompress function util: Check compression type passed to uncompress archive: Guess archive type from file extension cli/build: Code style fixes build: Lots of code style fixes build: Do not hardcode package formats in cli code Change package format to use XZ compression unpisi: Add support for package format 1.2 unpisi: Use pisi.package module instead of duplicating extraction code unpisi: Extract install.tar* archive into 'install' subdir unpisi: Do not fail if 'install' directory already exists delta: Code style fixes package: Implement common methods to read/create pisi files build: Use the methods in package module to reduce code duplication package: Use common code to get archive name and format package: Add tmp_dir parameter to constructor delta: Use new package api to create delta packages delta: Remove temporary dir after creating delta packages delta: Improve comment constants: Remove unused strings cli/build: Fix '-F help' delta: Add an option to specify the format of delta package delta: Extract install archive into a sub-directory archive: Fix ArchiveZip adding empty dirs with incorrect paths delta: Implement function to create multiple delta packages cli/delta: Allow passing multiple old packages package: Handle IO errors cli: Ignore broken pipe errors rng: Add CeCILL-B license Move license files to uludag/trunk/doc/en delta: Check the names of old and new packages tests: Fix the test that overwrites /usr/bin/aclocal rng: Add NCSA to the list of licenses tests: Correct distro names and versions of example repositories tests: Remove tmp dir before running tests tests: Lots of fixes tests: Fix shelltest tests: Add a sample repository tree tests: Build repo1 file: Add support for XZ-compressed files file: Use isinstance() instead of type() archive: Fix TypeError when adding an empty dir to ZIP archives tests: Use the same Package instance when testing add_to_package file: Implement is_compressed method and simplify choosemethod tree-wide: Use is_compressed instead of hard-coding extensions index: Use XZ for compression tests: Use uncompressed index files file: Set compression level to 9 for XZ build: Handle actions.py errors tests: Add more packages tests: Add repo2 to simulate an updated state of repo1 tests: Set pisi config before running tests tests: Build repo2 tests: Add new conflict tests upgrade: Try to resolve conflicts by upgrading tests: Fix InstallDB test tests: Add tearDown method for cleanup scenarioapi/constants: Use uncompressed index file scenarioapi/pspec: Properly add conflicts upgrade: Check if the conflicting package is already in the upgrade list cli: Do not overwrite the value given by column parameter in formatted_output cli: Use the parsed separator in line_format actionsapi: Use octal values for all permissions AUTHORS: Remove translators AUTHORS: Update contributor list AUTHORS: Add missing developers and contributors actionsapi: Set localstatedir prefix to "/var" archive: Comment a seek call as it causes a problem with Python 2.7 build: Fix typo in path collision check specfile: Make package descriptions mandatory again build: Generate a debug package for each sub-package build: Add dependencies of debug packages build: Move build number warning to the end installdb: Check if some mandatory tags in metadata.xml exist specfile: Replace "current" string in release/version values build: Guess WorkDir from archive name file: Remove unused gzip enum file: Modify File class to accept multiple compression types cli/index: Code style fixes and simplifications file: Handle all compressed files index: Add --compression-types option build: Fail if user-defined WorkDir does not exist build: Try WorkDir="." for archives with type "binary" installdb: Real fix when Package tag is missing cli/build: If spec file is not given, fallback to ./pspec.xml config: Create directories if we have write access install: Do not calculate the sum of cached file twice build: Search WorkDir after unpacking sources build: Call pkg_src_dir() to get WorkDir path config: Just ignore if we can't create the directory tests: Replace the path with __file__ in testCanAccessFile util: Add support for parsing the upcoming package name format build: Change filename format of packages util: Add support for parsing the upcoming delta package name format build: Change filename format of delta packages util: Fix returned value index: Add support for new filename format of delta packages tree-wide: Fix get_delta() usage config: Remove buildno option api: Remove the code related to build numbers atomicops: Remove build number checks tree-wide: Remove --ignore-build-no options build: Hold an identifier for the host the package is built on cli/listinstalled: Replace --without-buildno with --with-build-host installdb,cli/listinstalled: Thinko fix installdb: Remove buildno-related stuff packagedb: Ignore build numbers in old formats history: Remove buildno-related stuff specfile: Ignore build numbers util: Add function to generate a filename from the package info given build: Do not print error/warning counts if they equal to zero build: Search old packages in {compiled,debug}_packages_dir too build: Create delta packages after build if max_delta_count > 0 build: Hold a seperate list for new debug packages build: Hold a dictionary for delta package lists build: Return an empty list instead of None build: Tweak info messages build: Remove useless info message build: Update state file after building all packages build: Case fix db: Bump cache version fatih.arslan (5): actionsapi/texlivemodules: Modified to work properly with TexLive 2009 version actionsapi/texlivemodules: Fixes the behaviour of copying and moving of documentation files actionsapi/texlivemodules.py: Fixes logical false result, using shlex for better parsing" actionsapi/texlivemodules: Refactor language function, fixes the broken parsing ability actionsapi/texlivemodules: patterns have to be null string for change gkmngrgn (1): pisi/actionsapi: Add rubymodules.py gokcen.eraslan (10): actionsapi/cmaketools: Remove Makefile check actionsapi/cmaketools: Remove Makefile check from cmaketools.install actionsapi: Add KDE4 module to easily compile and install cmake based KDE packages. actionsapi: Add qt4 module to easily compile qmake based Qt packages. actionsapi: Change importdir, plugindir and translationdir to importsdir, pluginsdir and translationsdir for better integrity actionsapi: Revert last commit, use upstream names for importdir, translationdir and plugindir. actionsapi: Fix translation dir. actionsapi: Add includedir to qt4 module. actionsapi: Add Pardus CFLAGS/CXXFLAGS as qmake parameter instead of make parameter. Fix copy/paste typo gokmen.goksel (1): unpisi: Add support to extract packages to a target directory igungor (1): l10n: Fix warning in sv.po onur (2): rng: Add new locales actionsapi/pisitools: Fix documentation of dolib ozan.caglayan (4): pisi/actionsapi: No need to check the existence of Makefile* rng: Add Burmese locale actionsapi/kerneltools: Don't show section mismatches actionsapi/kerneltools: Refactor sdalgic (1): typo: fix typo in pisi/pisi/cli/blame.py transifex (4): l10n: Updated German (de) translation to 94% (Kaan Akşit) l10n: Updated German (de) translation to 94% (Kaan Akşit) l10n: Updated Italian (it) translation to 79% (Davide Siciliano) l10n: Updated Italian (it) translation to 79% (Davide Siciliano) --- ChangeLog | 713 +++++++++++++++++++++++++++++++++++++++++++++++ pisi/__init__.py | 2 +- 2 files changed, 714 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1fafd797..ca7d0da1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,716 @@ +2010-10-11 Fatih Aşıcı + * db: Bump cache version + +2010-10-11 Fatih Aşıcı + * build: Case fix + +2010-10-11 Fatih Aşıcı + * build: Update state file after building all packages + +2010-10-11 Fatih Aşıcı + * build: Remove useless info message + + Pisi fails when orphaned files found. No need to print this + message for successful builds. + +2010-10-11 Fatih Aşıcı + * build: Tweak info messages + +2010-10-09 Onur Küçük + * actionsapi/pisitools: Fix documentation of dolib + +2010-10-08 Fatih Aşıcı + * build: Return an empty list instead of None + + Also remove a debug line. + +2010-10-08 Fatih Aşıcı + * build: Hold a dictionary for delta package lists + +2010-10-08 Fatih Aşıcı + * build: Hold a seperate list for new debug packages + +2010-10-08 Fatih Aşıcı + * build: Create delta packages after build if max_delta_count > 0 + + build_packages does not return a value any more. Code is really hacky + but works. + +2010-10-07 Fatih Aşıcı + * build: Search old packages in {compiled,debug}_packages_dir too + + This is similar to the behaviour before the build number removal except + that it does not search recursively. + +2010-10-07 Fatih Aşıcı + * build: Do not print error/warning counts if they equal to zero + +2010-10-07 Fatih Aşıcı + * util: Add function to generate a filename from the package info given + +2010-10-06 Fatih Aşıcı + * specfile: Ignore build numbers + +2010-10-06 Fatih Aşıcı + * history: Remove buildno-related stuff + +2010-10-06 Fatih Aşıcı + * packagedb: Ignore build numbers in old formats + +2010-10-06 Fatih Aşıcı + * installdb: Remove buildno-related stuff + +2010-10-06 Fatih Aşıcı + * installdb,cli/listinstalled: Thinko fix + + The build host should be an empty string for old packages. + "pisi li -b ''" now returns old packages, too. + +2010-10-06 Fatih Aşıcı + * cli/listinstalled: Replace --without-buildno with --with-build-host + + This renamed parameter is used to filter packages by their build host. + + e.g. pisi li -b localhost + +2010-10-06 Fatih Aşıcı + * build: Hold an identifier for the host the package is built on + + This can be changed using build_host option in pisi.conf. The + default value is "localhost". This can be used to distinguish + buildfarm packages and the packages built by the user. + +2010-10-06 Fatih Aşıcı + * tree-wide: Remove --ignore-build-no options + +2010-10-06 Fatih Aşıcı + * atomicops: Remove build number checks + +2010-10-06 Fatih Aşıcı + * api: Remove the code related to build numbers + +2010-10-06 Fatih Aşıcı + * config: Remove buildno option + +2010-10-06 Fatih Aşıcı + * tree-wide: Fix get_delta() usage + +2010-10-06 Fatih Aşıcı + * index: Add support for new filename format of delta packages + + Also store release numbers instead of build numbers. + +2010-10-06 Fatih Aşıcı + * util: Fix returned value + +2010-10-06 Fatih Aşıcı + * build: Change filename format of delta packages + + The new format is: + + ----.delta.pisi + + e.g. pisi-179-180-p11-x86_64.pisi + + Release numbers are used instead of build numbers. + +2010-10-06 Fatih Aşıcı + * util: Add support for parsing the upcoming delta package name format + + This also adds utility functions to split fields of new filename format. + +2010-10-06 Fatih Aşıcı + * build: Change filename format of packages + + The new format is: + + ----.pisi + + e.g. pisi-2.3.2-180-p11-x86_64.pisi + + We will not use build numbers any more. This commit removes some of the code + related to build numbers. New pisi will not deal with build numbers. + Before the stable release, all buildno-related code will be removed. + + It is now possible to use digits after a dash character (e.g. polkit-qt-1). + + Distribution id is a short string to represent the distribution release + (e.g. p11 for Pardus 2011). + + Architecture strings cannot start with a digit. This is needed to + distinguish old and new packages. + +2010-10-06 Fatih Aşıcı + * util: Add support for parsing the upcoming package name format + +2010-10-01 Fatih Aşıcı + * tests: Replace the path with __file__ in testCanAccessFile + + Otherwise, the result of the test is dependent on the installed + packages. + +2010-10-01 Fatih Aşıcı + * config: Just ignore if we can't create the directory + +2010-09-28 Fatih Aşıcı + * build: Call pkg_src_dir() to get WorkDir path + + No need to keep a member for source directory. + +2010-09-28 Fatih Aşıcı + * build: Search WorkDir after unpacking sources + +2010-09-28 Fatih Aşıcı + * install: Do not calculate the sum of cached file twice + +2010-09-27 Ozan Çağlayan + * actionsapi/kerneltools: Refactor + +2010-09-26 Fatih Aşıcı + * config: Create directories if we have write access + + Also rename util.check_dir to util.ensure_dirs. + + Fixes the bug reported at http://bugs.pardus.org.tr/14000. + +2010-09-26 Fatih Aşıcı + * cli/build: If spec file is not given, fallback to ./pspec.xml + +2010-09-26 Fatih Aşıcı + * installdb: Real fix when Package tag is missing + +2010-09-26 Fatih Aşıcı + * build: Try WorkDir="." for archives with type "binary" + +2010-09-26 Fatih Aşıcı + * build: Fail if user-defined WorkDir does not exist + +2010-09-26 Fatih Aşıcı + * index: Add --compression-types option + + With this option, the compression type of index file can be selected. + It is possible to pass multiple types separated by comma. + + e.g. pisi index --skip-signing --compression-types=bz2,xz + +2010-09-26 Fatih Aşıcı + * file: Handle all compressed files + + Now it signs all compressed index files and calculates sums + of them. + +2010-09-26 Fatih Aşıcı + * cli/index: Code style fixes and simplifications + + Also remove a redundant info message. + +2010-09-26 Fatih Aşıcı + * file: Modify File class to accept multiple compression types + +2010-09-26 Fatih Aşıcı + * file: Remove unused gzip enum + +2010-09-25 Fatih Aşıcı + * build: Guess WorkDir from archive name + + If defined, use WorkDir in actions.py. If it is not defined or the + directory does not exist, first try "srcname-version" then the + basename of archive URL after splitting extensions. + +2010-09-25 Fatih Aşıcı + * specfile: Replace "current" string in release/version values + + With this feature, it is not necessary to hardcode versions/releases + used in inter-dependencies. + + + xorg-server-common + + + The "current" value will be replaced by the release of the source + package that this spec file defines. This is done when building + the package so that binary packages and index files do not include + "current" string. + +2010-09-23 Fatih Aşıcı + * installdb: Check if some mandatory tags in metadata.xml exist + +2010-09-22 Fatih Aşıcı + * build: Move build number warning to the end + + Otherwise it prints this warning for each sub-package. + +2010-09-22 Fatih Aşıcı + * build: Add dependencies of debug packages + + Currently, it only adds "foo" dependency to "foo-dbginfo" package. + +2010-09-22 Gökçen Eraslan + * actionsapi/pisitools: Fix copy/paste typo + +2010-09-22 Fatih Aşıcı + * build: Generate a debug package for each sub-package + + This commit also changes the behavior when a sub-package does not + contain any files. Such packages will not be built and a warning + will be printed for each empty package. + +2010-09-21 Fatih Aşıcı + * specfile: Make package descriptions mandatory again + +2010-09-21 Fatih Aşıcı + * build: Fix typo in path collision check + +2010-09-15 Ozan Çağlayan + * actionsapi/kerneltools: Don't show section mismatches + +2010-09-15 Onur Küçük + * rng: Add new locales + +2010-09-08 Fatih Arslan < farslan@pardus.org.tr> + * actionsapi/texlivemodules: patterns have to be null string for change + + If the key "patterns" do not have any value (null string), than it should be + replaced by "-". But the former condition was not able to catch up those null + strings. The condition has changed to work properly. + +2010-09-06 Fatih Arslan < farslan@pardus.org.tr> + * actionsapi/texlivemodules: Refactor language function, fixes the broken parsing ability + + The old language function was not easy to read and understand. Splitting it into two + functions makes it more readable. The code itself is rewritten from scratch. The + function's parsing ability was by default faulty which has caused to create error .dat + files. + +2010-09-05 Gökmen Göksel + * unpisi: Add support to extract packages to a target directory + +2010-09-01 Fatih Arslan < farslan@pardus.org.tr> + * actionsapi/texlivemodules.py: Fixes logical false result, using shlex for better parsing" + +2010-08-31 Fatih Arslan < farslan@pardus.org.tr> + * actionsapi/texlivemodules: Fixes the behaviour of copying and moving of documentation files + +2010-08-31 Fatih Arslan < farslan@pardus.org.tr> + * actionsapi/texlivemodules: Modified to work properly with TexLive 2009 version + + Texlive 2009 has some significant changes in the source tree. + + -The format.cnf file is created from the information of tlpobj files. This is parsed via + the function addFormat(). + -buildFormatFiles() has some enviroment changes. + -The files of the source itself is distributed in the source dir. This must be relocated + and re-distributed properly. This relocation information is available in the the tlpobj files. + The function which reads the information and relocate the files is named as moveSource(). + -handleConfigFiles() is rewritten to provide simplicity and readability. Also there is no need of + parameters, because the prefixes are the same everywhere. + -The order of the functions has been changed. First config files has to be created, after that it's + possible to build formats + +2010-08-21 Gökçen Eraslan + * actionsapi: Add Pardus CFLAGS/CXXFLAGS as qmake parameter instead of make parameter. + + If we add flag parameters to make, we totally override flags instead of add them. + +2010-08-17 Fatih Aşıcı + * archive: Comment a seek call as it causes a problem with Python 2.7 + + It seems this call is redundant here. No known problems so far. + +2010-08-17 Gökçen Eraslan + * actionsapi: Add includedir to qt4 module. + +2010-08-17 Gökçen Eraslan + * actionsapi: Fix translation dir. + +2010-08-17 Gökçen Eraslan + * actionsapi: Revert last commit, use upstream names for importdir, translationdir and plugindir. + +2010-08-16 Gökçen Eraslan + * actionsapi: Change importdir, plugindir and translationdir to importsdir, pluginsdir and translationsdir for better integrity + +2010-08-16 Gökçen Eraslan + * actionsapi: Add qt4 module to easily compile qmake based Qt packages. + +2010-08-16 Gökçen Eraslan + * actionsapi: Add KDE4 module to easily compile and install cmake based KDE packages. + +2010-08-16 Gökçen Eraslan + * actionsapi/cmaketools: Remove Makefile check from cmaketools.install + + Developer may add '-C dir' parameter, so we should take this into account. + +2010-08-16 Gökçen Eraslan + * actionsapi/cmaketools: Remove Makefile check + + Developer may add '-C dir' parameter, so we should take this into account. + +2010-08-06 Fatih Aşıcı + * actionsapi: Set localstatedir prefix to "/var" + +2010-08-06 Fatih Aşıcı + * AUTHORS: Add missing developers and contributors + + Organized with three titles: maintainers, developers and contributors. + +2010-08-05 Fatih Aşıcı + * AUTHORS: Update contributor list + +2010-08-05 Fatih Aşıcı + * AUTHORS: Remove translators + +2010-07-19 Fatih Aşıcı + * actionsapi: Use octal values for all permissions + +2010-07-18 Fatih Aşıcı + * cli: Use the parsed separator in line_format + +2010-07-18 Fatih Aşıcı + * cli: Do not overwrite the value given by column parameter in formatted_output + + Fixes the bug reported at http://bugs.pardus.org.tr/13795. + +2010-07-16 Fatih Aşıcı + * upgrade: Check if the conflicting package is already in the upgrade list + +2010-07-16 Fatih Aşıcı + * scenarioapi/pspec: Properly add conflicts + +2010-07-16 Fatih Aşıcı + * scenarioapi/constants: Use uncompressed index file + +2010-07-15 Fatih Aşıcı + * tests: Add tearDown method for cleanup + +2010-07-15 Fatih Aşıcı + * tests: Fix InstallDB test + +2010-07-15 Fatih Aşıcı + * upgrade: Try to resolve conflicts by upgrading + + If a package B conflicts with an old version of package A and + does not conflict with the new version of A, add A to the upgrade list. + Fixes conflict tests. + +2010-07-15 Fatih Aşıcı + * tests: Add new conflict tests + + One of these tests fails because of a bug in Pisi :/ + +2010-07-15 Fatih Aşıcı + * tests: Build repo2 + +2010-07-15 Fatih Aşıcı + * tests: Set pisi config before running tests + +2010-07-15 Fatih Aşıcı + * tests: Add repo2 to simulate an updated state of repo1 + +2010-07-15 Fatih Aşıcı + * tests: Add more packages + +2010-07-15 Fatih Aşıcı + * build: Handle actions.py errors + + Print a traceback for the actual exception. + + Fixes the bug reported at http://bugs.pardus.org.tr/13786. + +2010-07-14 Gökmen Görgen + * pisi/actionsapi: Add rubymodules.py + + Written new module that is including API for simplifying to package Ruby + applications. + +2010-07-13 Fatih Aşıcı + * file: Set compression level to 9 for XZ + +2010-07-13 Fatih Aşıcı + * tests: Use uncompressed index files + +2010-07-13 Fatih Aşıcı + * index: Use XZ for compression + +2010-07-13 Fatih Aşıcı + * tree-wide: Use is_compressed instead of hard-coding extensions + +2010-07-13 Fatih Aşıcı + * file: Implement is_compressed method and simplify choosemethod + +2010-07-13 Ozan Çağlayan + * rng: Add Burmese locale + +2010-07-12 Fatih Aşıcı + * tests: Use the same Package instance when testing add_to_package + +2010-07-12 Fatih Aşıcı + * archive: Fix TypeError when adding an empty dir to ZIP archives + + Fixes archivetest. + +2010-07-12 Fatih Aşıcı + * file: Use isinstance() instead of type() + +2010-07-12 Fatih Aşıcı + * file: Add support for XZ-compressed files + +2010-07-12 Fatih Aşıcı + * tests: Build repo1 + +2010-07-12 Fatih Aşıcı + * tests: Add a sample repository tree + +2010-07-11 Fatih Aşıcı + * tests: Fix shelltest + + It seems the execution order can change. We should + break the dependencies between tests. + +2010-07-11 Fatih Aşıcı + * tests: Lots of fixes + + Thanks to the great work done by Gökhan Göktürk. + +2010-07-06 Serdar Dalgıç + * typo: fix typo in pisi/pisi/cli/blame.py + +2010-07-05 Fatih Aşıcı + * tests: Remove tmp dir before running tests + +2010-07-05 Fatih Aşıcı + * tests: Correct distro names and versions of example repositories + + Also set distro name and release in testcases. + +2010-07-04 Fatih Aşıcı + * rng: Add NCSA to the list of licenses + +2010-07-04 Ozan Çağlayan + * pisi/actionsapi: No need to check the existence of Makefile* + + install() and rawInstall() should not check the existence of a + Makefile. This check prevents passing -C to those installation + wrappers. + +2010-07-03 Fatih Aşıcı + * tests: Fix the test that overwrites /usr/bin/aclocal + +2010-06-28 Fatih Aşıcı + * delta: Check the names of old and new packages + + Warns and skips if the package names are different. + +2010-06-24 Fatih Aşıcı + * Move license files to uludag/trunk/doc/en + +2010-06-24 Fatih Aşıcı + * rng: Add CeCILL-B license + +2010-06-24 Fatih Aşıcı + * cli: Ignore broken pipe errors + + Fixes the bug reported at http://bugs.pardus.org.tr/13609. + +2010-06-24 Doruk Fişek + * licenses: Add CeCILL-B license + + Thanks to Necdet Yücel. + +2010-06-22 Fatih Aşıcı + * package: Handle IO errors + +2010-06-22 Fatih Aşıcı + * cli/delta: Allow passing multiple old packages + + Usages: delta oldpackage1 oldpackage2 ... newpackage + delta -t newpackage oldpackage1 oldpackage2 ... + +2010-06-22 Fatih Aşıcı + * delta: Implement function to create multiple delta packages + + create_delta_package is now a wrapper around create_delta_packages. + +2010-06-22 Fatih Aşıcı + * archive: Fix ArchiveZip adding empty dirs with incorrect paths + +2010-06-21 Fatih Aşıcı + * delta: Extract install archive into a sub-directory + +2010-06-21 Fatih Aşıcı + * delta: Add an option to specify the format of delta package + +2010-06-21 Fatih Aşıcı + * cli/build: Fix '-F help' + +2010-06-21 Fatih Aşıcı + * constants: Remove unused strings + +2010-06-21 Fatih Aşıcı + * delta: Improve comment + +2010-06-21 Fatih Aşıcı + * delta: Remove temporary dir after creating delta packages + +2010-06-21 Fatih Aşıcı + * delta: Use new package api to create delta packages + + It is now possible to create deltas by comparing packages with + different formats. + +2010-06-21 Fatih Aşıcı + * package: Add tmp_dir parameter to constructor + + Different operations might use different temp dirs. + +2010-06-20 Fatih Aşıcı + * package: Use common code to get archive name and format + +2010-06-20 Fatih Aşıcı + * build: Use the methods in package module to reduce code duplication + +2010-06-20 Fatih Aşıcı + * package: Implement common methods to read/create pisi files + +2010-06-20 Fatih Aşıcı + * delta: Code style fixes + + Also replace deprecated .has_key() with "in" keyword. + +2010-06-19 Fatih Aşıcı + * unpisi: Do not fail if 'install' directory already exists + +2010-06-19 Fatih Aşıcı + * unpisi: Extract install.tar* archive into 'install' subdir + +2010-06-19 Fatih Aşıcı + * unpisi: Use pisi.package module instead of duplicating extraction code + +2010-06-19 Fatih Aşıcı + * unpisi: Add support for package format 1.2 + +2010-06-19 Fatih Aşıcı + * Change package format to use XZ compression + + Version of the new package format is 1.2. Delta support is not ready yet. + +2010-06-18 Fatih Aşıcı + * build: Do not hardcode package formats in cli code + + Now, it is possible to see a list of supported formats + with "-F help". + +2010-06-17 Fatih Aşıcı + * build: Lots of code style fixes + +2010-06-17 Fatih Aşıcı + * cli/build: Code style fixes + + Minor string changes are also included in this commit. + +2010-06-15 Fatih Aşıcı + * archive: Guess archive type from file extension + + This makes "type" attribute of "Archive" tag optional. + +2010-06-15 Fatih Aşıcı + * util: Check compression type passed to uncompress + + Also add "gz" as an alias for "gzip". + +2010-06-15 Fatih Aşıcı + * util: Use Archive class in uncompress function + + This reduces code duplication and allows using patches compressed + with lzma/xz. + +2010-06-15 Fatih Aşıcı + * archive: Make "bz2" an alias for "bzip2" + + "bzip2" is used for archives and "bz2" is used for patches. Add this + alias for consistency. + +2010-06-15 Fatih Aşıcı + * archive: Add support for archive files compressed with lzma/xz + +2010-06-15 Fatih Aşıcı + * archive: Add support for xz compressed tar archives + +2010-06-15 Fatih Aşıcı + * build: Handle the exception raises when archive type is unknown + +2010-06-15 Fatih Aşıcı + * archive: Refactor Archive{Bzip2,Gzip}.unpack_dir methods + + Prepend output path with target dir instead of chdir'ing. Also remove + rstrip's used for dropping extensions. + +2010-06-13 Fatih Aşıcı + * archive: Code style fixes + +2010-06-13 Fatih Aşıcı + * scripts: Update unpisi to extract using file objects + +2010-06-13 Fatih Aşıcı + * install: Read install.tar.lzma without extracting it + + Do not waste time/space for extracting it from ZIP archive. + +2010-06-13 Fatih Aşıcı + * archive: Allow passing a file-like object to ArchiveTar + + Also add an "open" function to ArchiveZip. This function + returns a file-like object for files in Zip archives. + +2010-06-13 Fatih Aşıcı + * archive: Add callback parameter to ArchiveTar.unpack_dir + + Install related stuff is moved from archive.py to atomicoperations.py + by using a callback function. + +2010-06-13 Fatih Aşıcı + * archive: Implement a separate class for tar.Z archives + + Also modify uncompress command to keep original archive after + unpacking. + +2010-06-13 Fatih Aşıcı + * install: Disable keyboard interrupts while extracting + + Fixes the bug reported at http://bugs.pardus.org.tr/10462. + +2010-06-12 Fatih Aşıcı + * archive: Import bz2 and gzip modules only when needed + +2010-06-12 Fatih Aşıcı + * archive: Use pyliblzma for (de)compression with lzma + + Pisi does not need "lzma" executable any more. + +2010-06-12 Fatih Aşıcı + * archive: Drop decompress function implemented for Python < 2.6 + + Pisi does not support Python versions before 2.6. It is useless to keep + this function here. + +2010-06-10 H. İbrahim Güngör + * l10n: Fix warning in sv.po + +2010-06-03 Ozan Çağlayan + * actionsapi: Update copyright dates + +2010-06-03 Ozan Çağlayan + * actionsapi/scons: Pass -j option to enable parallel builds + +2010-06-03 Ozan Çağlayan + * l10n: Improve 2 messages and their translations + +2010-05-30 Fatih Aşıcı + * pisi 2.3.1 + + This release fixes a serious regression which prevents using local + repositories with compressed index files. Also the compatibility + of repositories without distribution info is ignored now. + 2010-05-30 Fatih Aşıcı * scripts/make-changelog: Replace [at]'s with @ char and use tab char for indentation diff --git a/pisi/__init__.py b/pisi/__init__.py index 9dec73c0..11643be7 100644 --- a/pisi/__init__.py +++ b/pisi/__init__.py @@ -18,7 +18,7 @@ import atexit import logging import logging.handlers -__version__ = "2.3.1" +__version__ = "2.4_alpha1" __all__ = [ 'api', 'configfile', 'db']