Commit Graph

48 Commits

Author SHA1 Message Date
Fatih Aşıcı e00044fb94 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.

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)
2010-10-11 11:48:01 +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ı 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ı a883c70865 changelog: Rename old ChangeLog file 2010-05-27 08:29:30 +00:00
Ozan Çağlayan df45476f7f Don't use underscores for filenames in infodir 2010-03-09 11:49:17 +00:00
Ozan Çağlayan ca28553a27 Those given parameters are nonsense and noop. Just give DESTDIR to install() for correct installation into sandbox. 2010-03-08 12:57:42 +00:00
Ozan Çağlayan ab8ea0bf21 Add forgotten log 2010-03-08 12:56:18 +00:00
Fatih Aşıcı efb7697f9d Fix concatenation error
This is a regression introduced when the support for
Source/AdditionalFile support is added.
2010-03-03 12:37:40 +00:00
Fatih Aşıcı 27b54e74b8 Update ChangeLog 2010-03-01 08:04:15 +00:00
Fatih Aşıcı 757e7d97a7 Catch empty dirs when searching for abandoned files.
Always show abandoned files whether the --debug option is given or not.

BUG:FIXED:12342
2010-02-28 20:50:14 +00:00
Fatih Aşıcı ed8984ef4c Yet another place that doesn't take -D parameter into account 2010-02-28 19:12:50 +00:00
Fatih Aşıcı f5005bb796 Take -D parameter into account when looking for file permission changes 2010-02-28 19:00:36 +00:00
Fatih Aşıcı 63e6498b5f Take -D parameter into account when checking files 2010-02-28 18:50:18 +00:00
Fatih Aşıcı 10669a97c2 Update ChangeLog 2010-02-28 18:32:32 +00:00
Fatih Aşıcı 5504639ceb 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-27 19:29:09 +00:00
Fatih Aşıcı abd60acd98 Refactor get_file_type function 2010-02-22 17:56:03 +00:00
Fatih Aşıcı 07deed2a3f Remove the check for repository architecture
The current infrastructure doesn't allow a unified repository for multiple
architectures.
2010-02-22 08:01:29 +00:00
Serdar Dalgıç f290b85cd7 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-22 06:47:48 +00:00
Gökçen Eraslan 228b1080fa Replace FileError with ctx.ui.error since FileError is defined in pisitoolsfunctions. 2010-02-12 09:48:08 +00:00
Fatih Aşıcı 174db8b712 Allow comparing Version objects with strings 2010-02-05 14:53:02 +00:00
Ozan Çağlayan 3e29e3cf5f Handle possible None values for obj when the element is optional 2010-02-04 08:25:43 +00:00
Ozan Çağlayan acd139a10d pisi/component.py(Maintainer): Add Maintainer tag to components.xml. 2010-02-02 07:57:33 +00:00
Serdar Dalgıç 61d4c687e3 Handle urllib2 errors of dummy .part files created as a result of unreachable
translations.xml's. Fixes #12136.

Ilgili hatadaki 8. yorumda Isbaran'in yazdiklari sorunu acikliyor.

BUG:FIXED:12136
2010-01-26 13:38:06 +00:00
Ozan Çağlayan efb97cc392 Add support for reverse applying a patch with <Patch reverse="[tT]rue">.. 2010-01-23 13:22:07 +00:00
Gökçen Eraslan 2eb8943986 Do not ignore parameter in make method (eg. perl Build test). Tests of some perl modules have never run before this commit. 2010-01-22 12:37:45 +00:00
Ozan Çağlayan 8f5aa7e6ab Don't wait until packaging for borking about invalid version strings
- Current pisi borks about invalid version string just before creating .pisi file.
Move that check to __init__ in Builder to fail as early as possible.

- Also handle unknown keywords in version strings to not fail with unhandled
exceptions.
2010-01-19 13:14:11 +00:00
Ozan Çağlayan 186bfada9f Pisi error message sanitization
* pisi/specfile.py (_set_i18n): Handle parsing errors during
translations.xml reading.
* pisi/specfile.py (read_translations): Ignore source package
translations if <Name> is empty in translations.xml.
2010-01-19 12:08:10 +00:00
Ozan Çağlayan 3b8250b8bf Implement get.ARCH()
* pisi/actionsapi/get.py: Add ARCH() for getting host architecture.
Thanks to 64-bit team for pointing out this requirement.
2010-01-12 10:32:55 +00:00
Ozan Çağlayan 528ba418cc Support glob patterns in shelltools.unlink() 2010-01-04 08:00:20 +00:00
Faik Uygur 4a533ca0bd Revert change. pisi can not decide which operation to return. 2010-01-04 06:40:57 +00:00
Serdar Dalgıç f580227ec7 Do not give permission to takeback system to the initial state which is always pardus-cd repository is updated. . 2009-12-31 12:34:46 +00:00
Gökçen Eraslan 3bfa18848f Add changelog for CMake build type change. 2009-12-21 14:06:11 +00:00
Fatih Aşıcı fc877b2687 Fix exceptions raise after quitting history view. 2009-12-21 09:07:32 +00:00
Serdar Dalgıç dc960b4d2b change the ChangeLog 2009-12-16 13:28:55 +00:00
Serdar Dalgıç 978f3e2c10 add to the ChangeLog too. 2009-12-15 22:30:26 +00:00
Ozan Çağlayan fbb358f965 Make LocalName, Summary and Description optional for component.xml files 2009-12-15 08:46:39 +00:00
Serdar Dalgıç 269dec8c6b update these too. 2009-12-14 12:04:07 +00:00
Serdar Dalgıç 48179b333d Check individual packages' Distribution Release and architecture properties before installing them. 2009-12-11 21:16:09 +00:00
Serdar Dalgıç 479f10265b Raise meaningful warning when translations.xml has invalid XML.
BUG:FIXED:8969
2009-12-09 12:25:29 +00:00
Bahadır Kandemir 26d14982c7 Add package name to needs{Restart,Reboot} list if an update requires one of these actions.
IMHO, update_databases() method in Install class is suitable for this operation, feel free to move/refactor code if I'm wrong.
2009-12-08 15:20:35 +00:00
Bahadır Kandemir e8fa5bb1f6 Install DB changes and API methods for needs{Restart,Reboot} feature.
pisi.api.list_needs_{reboot,restart}()
pisi.api.add_needs_{reboot,restart}(package)
pisi.api.remove_needs_{reboot,restart}(package)
2009-12-07 21:05:30 +00:00
Bahadır Kandemir 73db8c6b8e Reverted AnyDep changes 2009-12-04 11:55:25 +00:00
Bahadır Kandemir ffbd4526e5 Fixed repo_version_bumped() ignoring with_version() argument. 2009-12-04 10:07:59 +00:00
Bahadır Kandemir 915d16cdec AnyDependency support added to with_dependencies() method. Simply give AnyDependency list as an argument. 2009-12-04 09:21:42 +00:00
Bahadır Kandemir d2e28e0bd5 *Size variables should be long. 2009-11-22 14:56:51 +00:00
Faik Uygur 692e7b043d update changelog 2009-11-09 10:04:59 +00:00
Ozan Çağlayan 94f85db8f1 Don't append dbginfo to the debug packages' partOf data 2009-10-15 17:25:54 +00:00
Faik Uygur aa33fae1d6 these too 2009-10-14 12:42:49 +00:00