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
Fatih Aşıcı
6b7fffe952
archive: Import bz2 and gzip modules only when needed
2010-06-12 23:05:34 +00:00
Fatih Aşıcı
2e8d677f94
archive: Use pyliblzma for (de)compression with lzma
...
Pisi does not need "lzma" executable any more.
2010-06-12 23:02:18 +00:00
Fatih Aşıcı
2d1a022951
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-12 21:25:13 +00:00
H. İbrahim Güngör
e2bf1053a3
l10n: Fix warning in sv.po
2010-06-10 12:58:26 +00:00
Transifex SVN Submitter
aa53e8e10f
l10n: Updated Italian (it) translation to 79% (Davide Siciliano)
...
New status: 498 messages complete with 59 fuzzies and 71 untranslated.
Transmitted-via: Transifex (translate.pardus.org.tr).
2010-06-05 15:24:52 +00:00
Transifex SVN Submitter
8d3063b4b0
l10n: Updated German (de) translation to 94% (Kaan Akşit)
...
New status: 594 messages complete with 15 fuzzies and 19 untranslated.
Transmitted-via: Transifex (translate.pardus.org.tr).
2010-06-04 10:49:24 +00:00
Transifex SVN Submitter
c03279dc5b
l10n: Updated German (de) translation to 94% (Kaan Akşit)
...
New status: 594 messages complete with 14 fuzzies and 20 untranslated.
Transmitted-via: Transifex (translate.pardus.org.tr).
2010-06-04 10:47:14 +00:00
Ozan Çağlayan
37b1d9a377
actionsapi: Update copyright dates
2010-06-03 10:35:07 +00:00
Ozan Çağlayan
90e91bcce9
actionsapi/scons: Pass -j option to enable parallel builds
2010-06-03 10:31:45 +00:00
Ozan Çağlayan
0d2565019f
l10n: Improve 2 messages and their translations
2010-06-03 06:16:09 +00:00
Fatih Aşıcı
9525afca3c
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.
Changes since 2.3
-----------------
fatih (4):
rng: Allow 'critical' as a value for Type tag
repodb: Fix use of compressed local repositories
repodb: Do not check compatibility if distro info is not included
scripts/make-changelog: Replace [at]'s with @ char and use tab char for indentation
2010-05-30 20:04:33 +00:00
Fatih Aşıcı
1664fbc2d3
scripts/make-changelog: Replace [at]'s with @ char and use tab char for indentation
2010-05-30 19:54:58 +00:00
Fatih Aşıcı
43f01c4989
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 19:41:26 +00:00
Fatih Aşıcı
62403a40c4
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-30 19:41:24 +00:00
Fatih Aşıcı
129e2f2591
rng: Allow 'critical' as a value for Type tag
2010-05-27 08:53:47 +00:00
Fatih Aşıcı
0fe53eb3dd
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.
Changes since 2.3_rc1
---------------------
fatih (7):
install: Call flush/fsync for critical pisi files
repodb: Do not fail when Distribution tag is missing
repodb: Do not search index files of local repos in /var/lib/pisi
scripts: Add a script to generate ChangeLog files from svn log
scripts/make-changelog: Write bug report links
changelog: Rename old ChangeLog file
Remove NEWS file and update MANIFEST.in
ozan.caglayan (1):
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-27 08:49:07 +00:00
Fatih Aşıcı
18a3cce7e5
Remove NEWS file and update MANIFEST.in
2010-05-27 08:33:24 +00:00
Fatih Aşıcı
a883c70865
changelog: Rename old ChangeLog file
2010-05-27 08:29:30 +00:00
Fatih Aşıcı
8877a9b27d
scripts/make-changelog: Write bug report links
2010-05-27 08:28:16 +00:00
Fatih Aşıcı
19cb04d75f
scripts: Add a script to generate ChangeLog files from svn log
2010-05-27 08:15:14 +00:00
Fatih Aşıcı
687e529728
repodb: Do not search index files of local repos in /var/lib/pisi
...
BUG:FIXED:13156
2010-05-26 13:11:04 +00:00
Fatih Aşıcı
773a4740a0
repodb: Do not fail when Distribution tag is missing
2010-05-26 08:47:58 +00:00