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 2010-05-30 Fatih Aşıcı * repodb: Do not check compatibility if distro info is not included Check distro name if specified in index file. If distro release is also specified, check it for compatibility in addition to distro name. 2010-05-30 Fatih Aşıcı * repodb: Fix use of compressed local repositories This fixes a serious regression in 2.3. Repo index files are also cached when it is compressed. Parse the cached xml file if the uri of compressed index file is given as the repo address. 2010-05-27 Fatih Aşıcı * rng: Allow 'critical' as a value for Type tag 2010-05-27 Fatih Aşıcı * pisi 2.3 This is the first stable release of 2.3.x series. This release includes assorted bug fixes that might be considered critical. Full changelog since version 2.2.19 is included in ChangeLog file. 2010-05-27 Fatih Aşıcı * Remove NEWS file and update MANIFEST.in 2010-05-27 Fatih Aşıcı * changelog: Rename old ChangeLog file 2010-05-27 Fatih Aşıcı * scripts/make-changelog: Write bug report links 2010-05-27 Fatih Aşıcı * scripts: Add a script to generate ChangeLog files from svn log 2010-05-26 Fatih Aşıcı * repodb: Do not search index files of local repos in /var/lib/pisi Fixes the bug reported at http://bugs.pardus.org.tr/13156. 2010-05-26 Fatih Aşıcı * repodb: Do not fail when Distribution tag is missing 2010-05-24 Fatih Aşıcı * install: Call flush/fsync for critical pisi files Fixes the bug reported at http://bugs.pardus.org.tr/13005. 2010-05-24 Ozan Çağlayan * Always use /root/.ccache for CCACHE_DIR for not bypassing ccache when we modify /root in actions.py. A more elegant way is to read CCACHE_DIR from pisi.conf 2010-05-24 Fatih Aşıcı * pisi 2.3_rc1 This is the first release candidate for the upcoming 2.3.x releases. This release mostly includes bug fixes and translation updates. 2010-05-22 Fatih Aşıcı * api/update_repo(s): Update caches when index is really updated 2010-05-22 Fatih Aşıcı * api: Record forced update-repo operations in history 2010-05-21 Fatih Aşıcı * config: Let --destdir= parameter work again This is another regression introduced after the Config class became a Singleton. 2010-05-21 Fatih Aşıcı * specfile: Uninstalled packages cannot have update actions 2010-05-20 Fatih Aşıcı * pisi 2.3_beta2 This is the second beta for the upcoming 2.3.x releases. This release mostly includes bug fixes and translation updates. 2010-05-20 Fatih Aşıcı * l10n: Update messages 2010-05-20 Fatih Aşıcı * cli/addrepo: Remove dead code 2010-05-20 Fatih Aşıcı * repodb: Let check_distribution raise an error This commit moves the check from cli code to api.py. Check is done at every repo update. Also uses SourceName tag for getting distribution name. 2010-05-20 Fatih Aşıcı * installdb: Fix errors when installed package info is broken If read of metadata.xml fails, warn user and consider that package as uninstalled. See http://bugs.pardus.org.tr/13005. 2010-05-20 Fatih Aşıcı * cli/build: Use Error class in pisi namespace 2010-05-20 Fatih Aşıcı * config: Add a method for setting options This fixes a regression appeared after Config class became a singleton. Different parts of pisi tries to create an instance of Config class with different options. Since it is a singleton, later contructions won't get the new options. Fix this by implementing a new method for setting options instance. 2010-05-18 Fatih Aşıcı * Make Config and Constants classes singletons 2010-05-18 Fatih Aşıcı * util: Add a singleton metaclass 2010-05-18 Fatih Aşıcı * cli/install: Fix the exception raised when an unknown component name is provided 2010-05-18 Fatih Aşıcı * fetcher: Handle all fetch errors Also show the URI in the error message (not the local path). Fixes the bug reported at http://bugs.pardus.org.tr/10948. 2010-05-18 Fatih Aşıcı * cli/history: Pass -K option to less This causes less to exit cleanly when an interrupt character is typed. Fixes the bug reported at http://bugs.pardus.org.tr/12947. 2010-05-17 Fatih Aşıcı * dtd/rng: Replace update type 'bug' with 'critical' 2010-05-17 Serdar Dalgıç * cli/blame: Blame installed package instead of the one in the repositories. Fixes the bug reported at http://bugs.pardus.org.tr/12979. 2010-05-16 Fatih Aşıcı * cli/install: Fix help string 2010-05-16 Fatih Aşıcı * cli/upgrade: Fix help string 2010-05-16 Fatih Aşıcı * tree-wide: Remove redundant imports 2010-05-14 Fatih Aşıcı * pisi 2.3_beta1 This is the first beta for the upcoming 2.3.x releases. This release includes important bug fixes beside some optimizations targeting more speed. No new features added and this time we are really closer to a stable release. 2010-05-14 Fatih Aşıcı * Update MANIFEST.in 2010-05-13 Fatih Aşıcı * l10n: Update messages 2010-05-13 Fatih Aşıcı * cli/addrepo: Change the distro check behaviour as in 2.2 branch It looks for a DistributionName tag to check distro name. If it does not exist, the check is ignored. 2010-05-13 Fatih Aşıcı * specfile: Refactor get_update_actions to simplify its usage 2010-05-13 Fatih Aşıcı * installdb: Cleanup reverse dependency info when adding/removing a package 2010-05-13 Fatih Aşıcı * installdb: Use a dictionary for reverse dep info Bumped cache version in order to avoid crashes with old caches. 2010-05-13 Fatih Aşıcı * db/lazydb: Store a version string to track changes in cache file structure This is needed when new class members added or the type of a variable is changed. 2010-05-07 Fatih Aşıcı * install: Optimize clean_leftover to gain speed This improves the installation time of packages that have lots of files with the same name. e.g. kernel-module-headers having lots of files named "Makefile" and "Kconfig". 2010-05-07 Fatih Aşıcı * delta: Use installdb data to find permission changes stat calls are expensive. We already have the old permission info in InstallDB. This fixes the performance regression caused by 26893. 2010-04-30 Fatih Aşıcı * comariface: Fix failure when registering COMAR scripts If a package provides multiple scripts and a service script precedes another script, System.Service.registerState is called for that script although it is not a script. 2010-04-27 Fatih Aşıcı * upgrade: Fix the logic when finding broken packages Usually the reverse dependency gets broken *after* the upgrade is done. So, we must check the dependency info with satisfied_by_repo instead of satisfied_by_installed. This commit will hopefully fix the upgrade operations failing with: "Reverse dependency X of Y cannot be satisfied" 2010-04-13 Fatih Aşıcı * scripts/update-po: Do not wrap lines and sort by file I hope this helps reducing the sizes of transifex commits. 2010-04-13 Serdar Dalgıç * scripts: update python docstrings and start implementing net_update function. 2010-04-13 Ozan Çağlayan * Implement lsbINFO() to get LSB information of the distribution 2010-04-11 Fatih Aşıcı * l10n: Cleanup tr.po 2010-04-11 Fatih Aşıcı * l10n: Update messages 2010-04-11 Fatih Aşıcı * scripts: Do not extract docstrings in optparse module 2010-04-11 Fatih Aşıcı * scripts: Fix update-po.sh script This fixes the untranslated strings in --help output. 2010-04-11 Fatih Aşıcı * Remove empty directory 2010-04-11 Fatih Aşıcı * scripts: Move all scripts into scripts directory 2010-04-11 Fatih Aşıcı * scripts: Move repo-related scripts out of pisi tree 2010-04-06 Fatih Aşıcı * build: Check abandoned files after copying all the additional files Previously the check was performed for all sub-packages. Now it checks only once. 2010-03-31 Fatih Aşıcı * cli/info: Use aligned texts to make output more readable Patch by Barış Metin. Modified to use util.get_terminal_size and str.join besides some cosmetic changes. Fixes the bug reported at http://bugs.pardus.org.tr/12536. 2010-03-30 Fatih Aşıcı * build/install: Fix exception handling in case of invalid version strings 2010-03-28 Klemens Häckel * update of some new spanish language strings (kh) 2010-03-26 Fatih Aşıcı * po: Add missing end of line character in Turkish translation 2010-03-24 Fatih Aşıcı * pisi 2.3_alpha3 This is the third alpha for the upcoming 2.3.x releases. This release includes important bug fixes and enhancements beside the optimizations for speed. Following new features are also implemented in this release: - Support for specifiying different update types and actions for each sub-package, - Warnings for packages that need the restart of some services and system reboot, - Ability to rename service scripts. 2010-03-24 Fatih Aşıcı * po: Update for new messages 2010-03-24 Fatih Aşıcı * db: Remove repodb members to avoid caching of RepoDB instance 2010-03-23 Ozan Çağlayan * Implement configure() 2010-03-22 Fatih Aşıcı * upgrade: Take all deps into account for the correct upgrade order This commit gets back the old logic changed by the recent commits. 2010-03-22 Fatih Aşıcı * build: Copy additional source files when a build step is given too 2010-03-22 Serdar Dalgıç * implement list_keys, list_fingerprints, export and exportall parts. 2010-03-22 Serdar Dalgıç * add some file_existence checks, implement add, del, update func. , some improvements in the code.. Still Prototypesvn diff 2010-03-22 Fatih Aşıcı * cli/upgrade: Show packages that need serviceRestart and systemRestart before upgrade 2010-03-21 Fatih Aşıcı * cli/remove,upgrade: Revise safety switch messages 2010-03-21 Fatih Aşıcı * cli/install: Make package lists more readable and colorize messages 2010-03-21 Fatih Aşıcı * upgrade: Remove redundant variable 2010-03-21 Fatih Aşıcı * cli/install,upgrade: Colorize package size info 2010-03-21 Fatih Aşıcı * upgrade: Check the reverse dependencies of installed packages 2010-03-21 Fatih Aşıcı * upgrade: Use a single loop for finding packages to be upgraded If a package is added to the upgrade list because of a reverseDependencyUpdate action (e.g. google-gadgets because of libproxy), runtime dependencies of that package are not examined (e.g. webkit-gtk not installed although it is a dep of google-earth). This commit also fixes this issue. 2010-03-18 Serdar Dalgıç * add a prototype python script for GPG Key management in Pisi. Being adopted from apt-key script in apt. A step in Package Signing ;) 2010-03-18 Ozan Çağlayan * Don't install blacklisted system.base packages on update and new package install 2010-03-18 Fatih Aşıcı * dtd,rng: Update DTD and RelaxNG shemas for the recently added features 2010-03-18 Fatih Aşıcı * specfile: Rename targetPackage attribute in Action tags as target Service names can be different from the package names as of the previous commit. 2010-03-18 Ozan Çağlayan * Add ability to rename System.Service scripts System.Service System.Service Will register two separate system services called respectively "iscsi" and "iscsid". This way we don't have to split packages to give them separate names or to provide more than 1 services in a sub-package. 2010-03-18 Fatih Aşıcı * specfile: Replace get_update_types_and_actions function with faster ones 2010-03-18 Fatih Aşıcı * Add support to specify update types and actions for each sub-package Following is an example to specify "security" type and "reverseDependencyUpdate" action for different sub-packages. 2010-02-17 2.4.18 ... security reverseDependencyUpdate Fatih Aşıcı fatih@pardus.org.tr It is also possible to specify different targets for the actions. In the following example, new release of mod_php package requires a restart of apache service. 2010-02-17 5.2.13 ... serviceRestart Fatih Aşıcı fatih@pardus.org.tr 2010-03-17 Fatih Aşıcı * specfile: Initial bits for Type tags and Action attributes 2010-03-15 Fatih Aşıcı * cli/upgrade: Replace a ui.info with ui.status 2010-03-15 Fatih Aşıcı * cli/update-repo: Use ui.action to print 'Updating repository:' message 2010-03-13 Fatih Aşıcı * cli/upgrade: Print package lists in a more readable format 2010-03-13 Fatih Aşıcı * util: Add utility functions to print a list of strings by columns 2010-03-13 Fatih Aşıcı * installdb: Store package node and use it later to reach sub-nodes 2010-03-13 Patrik Karlsson * Swedish translation 2010-03-11 Anton Tolboom * Dutch language update of /trunk/pisi/po.nl.po 2010-03-09 Fatih Aşıcı * packagedb: Accelerate get_replaces 2010-03-09 Ozan Çağlayan * Don't use underscores for filenames in infodir 2010-03-08 Fatih Aşıcı * upgrade: Do not call get_replaces twice 2010-03-08 Fatih Aşıcı * repodb: Make error messages translatable 2010-03-08 Ozan Çağlayan * Those given parameters are nonsense and noop. Just give DESTDIR to install() for correct installation into sandbox. 2010-03-08 Ozan Çağlayan * Add forgotten log 2010-03-08 Fatih Aşıcı * repodb: Reduce the number of calls to piksemel.parse 2010-03-08 Fatih Aşıcı * Use make_version instead of Version class Also use int for release numbers. 2010-03-08 Fatih Aşıcı * Return immediately if a condition is not satisfied Also use make_version instead of Version class. 2010-03-08 Fatih Aşıcı * atomicoperations: Use make_version instead of Version class This also moves some variable initializations into inner scopes for optimization. 2010-03-08 Fatih Aşıcı * api: Remove unused variable 2010-03-08 Fatih Aşıcı * tests: Remove release numbers from version strings as they are no longer supported 2010-03-08 Fatih Aşıcı * version: Modify Version class to use make_version 2010-03-08 Fatih Aşıcı * api: Do not use Version class for full package versions 2010-03-08 Fatih Aşıcı * index: If the build numbers are same, use the release number. Pisi was selecting "icon-naming-utils-0.8.90-7-1.pisi" when both icon-naming-utils-0.8.90-7-1.pisi icon-naming-utils-0.8.90-8-1.pisi files exist in the same directory. With this commit, it chooses the one with greater release number. 2010-03-08 Fatih Aşıcı * Add split_version function to split version, release and build parts of a package version 2010-03-07 Fatih Aşıcı * Add make_version function pisi.version.Version is one of most frequently used class in pisi (esp. when calculating dependencies). This new function is a fast alternative which returns a tuple representation of version strings. Since python is able to compare tuple and list objects, we do not have to write a special compare function. Here are some results: In [7]: %timeit -n100000 pisi.version.make_version("1.2.3.4.5") 100000 loops, best of 3: 8.12 us per loop In [8]: %timeit -n100000 pisi.version.Version("1.2.3.4.5") 100000 loops, best of 3: 60.6 us per loop In [9]: %timeit -n100000 pisi.version.make_version("1.2") < pisi.version.make_version("1.3") 100000 loops, best of 3: 10.1 us per loop In [10]: %timeit -n100000 pisi.version.Version("1.2") < pisi.version.Version("1.3") 100000 loops, best of 3: 85.4 us per loop 2010-03-06 Fatih Aşıcı * Use brightred for error messages 2010-03-06 Fatih Aşıcı * Accelerate iteration to find security updates 2010-03-04 Fatih Aşıcı * Refactor reverseDependencyUpdate search 2010-03-04 Fatih Aşıcı * Little optimization for Install class * Make release variables integer instead of Version * Create Version objects outside loops if possible * Do not iterate over all update tags 2010-03-04 Fatih Aşıcı * Optimize get_package_requirements a little Since release number are integers, we don't have to use Version objects. Also piksemel returns tags in the order they are written. So we don't have to iterate all update tags. 2010-03-04 Fatih Aşıcı * More consistent messages 2010-03-03 Fatih Aşıcı * Fix concatenation error This is a regression introduced when the support for Source/AdditionalFile support is added. 2010-03-01 Ozan Çağlayan * Use constants from constants.py 2010-03-01 Ozan Çağlayan * Use delta suffix value from constants.py 2010-03-01 Fatih Aşıcı * Thinko fix: Old and new file hashes might be different. 2010-03-01 Fatih Aşıcı * pisi 2.3_alpha2 This is the second alpha for the upcoming 2.3.x releases. Beside the minor refactoring and cosmetic changes, this release includes important bug fixes related to delta packages. Also the installation of pisi packages with the old format is fixed. 2010-03-01 Fatih Aşıcı * Update ChangeLog 2010-02-28 Fatih Aşıcı * Do not print an empty exception message 2010-02-28 Fatih Aşıcı * Do not show traceback for handled pisi errors 2010-02-28 Fatih Aşıcı * Catch empty dirs when searching for abandoned files. Always show abandoned files whether the --debug option is given or not. Fixes the bug reported at http://bugs.pardus.org.tr/12342. 2010-02-28 Fatih Aşıcı * Update messages 2010-02-28 Fatih Aşıcı * Yet another place that doesn't take -D parameter into account 2010-02-28 Fatih Aşıcı * Take -D parameter into account when looking for file permission changes 2010-02-28 Fatih Aşıcı * Take -D parameter into account when checking files 2010-02-28 Fatih Aşıcı * Update ChangeLog 2010-02-28 Fatih Aşıcı * Show missing files in the output of pisi check 2010-02-28 Fatih Aşıcı * Check if the old and new paths refer to the same file when relocating or cleaning up. This commit also fixes updates with delta packages when the destination directory is "/" and fixes exceptions when an old file is not found. 2010-02-27 Fatih Aşıcı * Update messages 2010-02-27 Fatih Aşıcı * Better 2010-02-27 Fatih Aşıcı * Print human readable error messages. We must use str instead of unicode in order to use __str__ method of exception classes. 2010-02-27 Fatih Aşıcı * Remove redundant variable 2010-02-27 Fatih Aşıcı * Install files into correct paths when the old package format is used. This was a regression introduced when switching to python 2.6. 2010-02-23 Serdar Dalgıç * warn_and_remove needs one more argument=repo 2010-02-23 Fatih Aşıcı * Fix exceptions when path includes a trailing slash 2010-02-23 Serdar Dalgıç * correct the function name. 2010-02-23 Klemens Häckel * update of some spanish language files (kh) 2010-02-23 Fatih Aşıcı * Create valid repos for test cases 2010-02-22 Fatih Aşıcı * Fix archive tests 2010-02-22 Fatih Aşıcı * Add missing shebang 2010-02-22 Fatih Aşıcı * Refactor get_file_type function 2010-02-22 Fatih Aşıcı * pisi 2.3_alpha1 This is the first alpha for the upcoming 2.3.x releases. This release adds new features for building source packages on different architectures. 2010-02-22 Fatih Aşıcı * Remove the check for repository architecture The current infrastructure doesn't allow a unified repository for multiple architectures. 2010-02-22 Serdar Dalgıç * Use glob.glob0 and lstrip instead of glob.glob. Typos in filePaths in pspec.xml were sometimes ignored and abandoned files were not succesfully caught in some cases. Now it is fixed. Thanks Fatih for the collaboration. 2010-02-20 Fatih Aşıcı * Add target attribute to Archive tag. It can be used to extract the archive into a sub-directory.