Commit Graph

5197 Commits

Author SHA1 Message Date
Fatih Aşıcı 09430ceedb tests: Remove tmp dir before running tests 2010-07-05 13:53:46 +00:00
Fatih Aşıcı 8dbf6049bd tests: Correct distro names and versions of example repositories
Also set distro name and release in testcases.
2010-07-05 13:47:36 +00:00
Fatih Aşıcı c4c5b18b0d rng: Add NCSA to the list of licenses 2010-07-04 21:41:52 +00:00
Ozan Çağlayan 0dc9a7e2c2 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-04 09:00:25 +00:00
Fatih Aşıcı 8883c1a12f tests: Fix the test that overwrites /usr/bin/aclocal 2010-07-03 23:09:48 +00:00
Transifex SVN Submitter 27dc5157c2 l10n: Updated Italian (it) translation to 79% (Davide Siciliano)
New status: 500 messages complete with 57 fuzzies and 71 untranslated.

Transmitted-via: Transifex (translate.pardus.org.tr).
2010-07-01 14:06:03 +00:00
Fatih Aşıcı 7f2f2ccbbc delta: Check the names of old and new packages
Warns and skips if the package names are different.
2010-06-28 07:53:13 +00:00
Fatih Aşıcı 483ff647de Move license files to uludag/trunk/doc/en 2010-06-24 11:44:35 +00:00
Fatih Aşıcı c27f695938 rng: Add CeCILL-B license 2010-06-24 09:10:38 +00:00
Fatih Aşıcı 000f723e91 cli: Ignore broken pipe errors
BUG:FIXED:13609
2010-06-24 08:10:39 +00:00
Doruk Fişek 6d4fe74aa8 licenses: Add CeCILL-B license
Thanks to Necdet Yücel.
2010-06-24 07:29:31 +00:00
Fatih Aşıcı 536d325a46 package: Handle IO errors 2010-06-22 07:50:41 +00:00
Fatih Aşıcı 895c499653 cli/delta: Allow passing multiple old packages
Usages: delta oldpackage1 oldpackage2 ...  newpackage
        delta -t newpackage oldpackage1 oldpackage2 ...
2010-06-22 07:44:13 +00:00
Fatih Aşıcı 2c50cc2c84 delta: Implement function to create multiple delta packages
create_delta_package is now a wrapper around create_delta_packages.
2010-06-22 07:20:36 +00:00
Fatih Aşıcı a038fcb986 archive: Fix ArchiveZip adding empty dirs with incorrect paths 2010-06-22 06:12:00 +00:00
Fatih Aşıcı 16e5da00a7 delta: Extract install archive into a sub-directory 2010-06-21 11:38:47 +00:00
Fatih Aşıcı ea028f7d8b delta: Add an option to specify the format of delta package 2010-06-21 09:35:04 +00:00
Fatih Aşıcı ce80458eed cli/build: Fix '-F help' 2010-06-21 09:26:34 +00:00
Fatih Aşıcı 2d069ef0cd constants: Remove unused strings 2010-06-21 09:21:03 +00:00
Fatih Aşıcı 1307693f4f delta: Improve comment 2010-06-21 09:20:57 +00:00
Fatih Aşıcı 60ce2cf92f delta: Remove temporary dir after creating delta packages 2010-06-21 09:14:56 +00:00
Fatih Aşıcı 380bf4214f 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 09:09:13 +00:00
Fatih Aşıcı 7435294ad7 package: Add tmp_dir parameter to constructor
Different operations might use different temp dirs.
2010-06-21 09:09:08 +00:00
Fatih Aşıcı bfb3244548 package: Use common code to get archive name and format 2010-06-20 21:02:29 +00:00
Fatih Aşıcı aea8ccb7e4 build: Use the methods in package module to reduce code duplication 2010-06-20 20:52:10 +00:00
Fatih Aşıcı 4f80976872 package: Implement common methods to read/create pisi files 2010-06-20 20:52:00 +00:00
Fatih Aşıcı 8c84f29473 delta: Code style fixes
Also replace deprecated .has_key() with "in" keyword.
2010-06-20 15:32:49 +00:00
Fatih Aşıcı dc652a3026 unpisi: Do not fail if 'install' directory already exists 2010-06-19 15:46:20 +00:00
Fatih Aşıcı a0f6166de6 unpisi: Extract install.tar* archive into 'install' subdir 2010-06-19 15:34:51 +00:00
Fatih Aşıcı d6f92a1721 unpisi: Use pisi.package module instead of duplicating extraction code 2010-06-19 15:29:46 +00:00
Fatih Aşıcı 602fa3c161 unpisi: Add support for package format 1.2 2010-06-19 15:12:22 +00:00
Fatih Aşıcı a1ddfe8c80 Change package format to use XZ compression
Version of the new package format is 1.2. Delta support is not ready yet.
2010-06-19 14:28:50 +00:00
Fatih Aşıcı c55bf656b1 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-18 07:27:50 +00:00
Fatih Aşıcı 112fcc1551 build: Lots of code style fixes 2010-06-17 19:04:43 +00:00
Fatih Aşıcı 80ff73f6fb cli/build: Code style fixes
Minor string changes are also included in this commit.
2010-06-17 18:02:35 +00:00
Fatih Aşıcı a1e9643f2e archive: Guess archive type from file extension
This makes "type" attribute of "Archive" tag optional.
2010-06-15 19:06:38 +00:00
Fatih Aşıcı a34c3c0041 util: Check compression type passed to uncompress
Also add "gz" as an alias for "gzip".
2010-06-15 18:10:18 +00:00
Fatih Aşıcı 9018d1f4fe util: Use Archive class in uncompress function
This reduces code duplication and allows using patches compressed
with lzma/xz.
2010-06-15 16:56:46 +00:00
Fatih Aşıcı 50b9c64f2f 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 16:56:14 +00:00
Fatih Aşıcı 05245f7a49 archive: Add support for archive files compressed with lzma/xz 2010-06-15 16:10:49 +00:00
Fatih Aşıcı 71812256c1 archive: Add support for xz compressed tar archives 2010-06-15 09:17:32 +00:00
Fatih Aşıcı 5d57c0a991 build: Handle the exception raises when archive type is unknown 2010-06-15 08:44:58 +00:00
Fatih Aşıcı c4df178d6a 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-15 08:44:57 +00:00
Fatih Aşıcı 9783f60d29 archive: Code style fixes 2010-06-13 19:32:31 +00:00
Fatih Aşıcı e1206b0fd8 scripts: Update unpisi to extract using file objects 2010-06-13 16:03:37 +00:00
Fatih Aşıcı 727ba7964b install: Read install.tar.lzma without extracting it
Do not waste time/space for extracting it from ZIP archive.
2010-06-13 15:27:30 +00:00
Fatih Aşıcı 86598d32a5 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 15:27:09 +00:00
Fatih Aşıcı aa7c031bf4 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 14:40:11 +00:00
Fatih Aşıcı 0187d01ff8 archive: Implement a separate class for tar.Z archives
Also modify uncompress command to keep original archive after
unpacking.
2010-06-13 14:11:32 +00:00
Fatih Aşıcı 94a62d4319 install: Disable keyboard interrupts while extracting
BUG:FIXED:10462
2010-06-13 08:38:38 +00:00