Commit Graph

4868 Commits

Author SHA1 Message Date
Fatih Aşıcı e09a912efe 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 16:51:03 +00:00
Fatih Aşıcı 0a947fbdd8 specfile: Refactor get_update_actions to simplify its usage 2010-05-13 13:50:03 +00:00
Transifex SVN Submitter a13c0691e8 l10n: Updated Italian (it) translation to 77% (Davide Siciliano)
New status: 485 messages complete with 60 fuzzies and 77 untranslated.

Transmitted-via: Transifex (translate.pardus.org.tr).
2010-05-13 12:36:07 +00:00
Fatih Aşıcı a16ab5a1fe installdb: Cleanup reverse dependency info when adding/removing a package 2010-05-13 11:23:06 +00:00
Fatih Aşıcı 42728fb7ba installdb: Use a dictionary for reverse dep info
Bumped cache version in order to avoid crashes with old caches.
2010-05-13 11:23:04 +00:00
Fatih Aşıcı c395fd478a 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-13 11:23:02 +00:00
Transifex SVN Submitter 0b13842607 l10n: Updated French (fr) translation to 93% (Philippe Svetoslavsky)
New status: 590 messages complete with 22 fuzzies and 16 untranslated.

Transmitted-via: Transifex (translate.pardus.org.tr).
2010-05-10 13:53:43 +00:00
Transifex SVN Submitter b57349a112 l10n: Updated French (fr) translation to 91% (Philippe Svetoslavsky)
New status: 575 messages complete with 31 fuzzies and 22 untranslated.

Transmitted-via: Transifex (translate.pardus.org.tr).
2010-05-10 13:46:01 +00:00
Fatih Aşıcı 8ce34f239e 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 22:11:00 +00:00
Fatih Aşıcı 837839abc8 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-05-07 22:06:12 +00:00
Transifex SVN Submitter 7a1c39192d l10n: Updated Turkish (tr) translation to 100% (H. İbrahim Güngör)
New status: 628 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translate.pardus.org.tr).
2010-05-07 11:56:03 +00:00
Fatih Aşıcı 1c35f8bffe 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-30 11:50:28 +00:00
Fatih Aşıcı 3c223f21b7 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-27 17:29:55 +00:00
Fatih Aşıcı d6849c5b88 scripts/update-po: Do not wrap lines and sort by file
I hope this helps reducing the sizes of transifex commits.
2010-04-13 19:59:38 +00:00
Serdar Dalgıç ae01e179cf scripts: update python docstrings and start implementing net_update function. 2010-04-13 12:46:24 +00:00
Ozan Çağlayan ffa7fc4879 Implement lsbINFO() to get LSB information of the distribution 2010-04-13 10:38:35 +00:00
Transifex SVN Submitter eb905994ad l10n: Updated Dutch (Flemish) (nl) translation to 100%
User: Antoon Tolboom

New status: 628 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translate.pardus.org.tr).
2010-04-12 13:13:30 +00:00
Fatih Aşıcı ea6c6527fc l10n: Cleanup tr.po 2010-04-11 14:35:02 +00:00
Transifex SVN Submitter c7e7fed14e l10n: Updated Turkish (tr) translation to 100%
User: Fatih Aşıcı

New status: 628 messages complete with 0 fuzzies and 0 untranslated.

Transmitted-via: Transifex (translate.pardus.org.tr).
2010-04-11 14:30:28 +00:00
Fatih Aşıcı a8a2036178 l10n: Update messages 2010-04-11 14:02:38 +00:00
Fatih Aşıcı 6ea46772cb scripts: Do not extract docstrings in optparse module 2010-04-11 14:02:36 +00:00
Fatih Aşıcı c25e0d703d scripts: Fix update-po.sh script
This fixes the untranslated strings in --help output.
2010-04-11 11:07:38 +00:00
Fatih Aşıcı d244e15cdd Remove empty directory 2010-04-11 10:44:11 +00:00
Fatih Aşıcı bdbad8a1de scripts: Move all scripts into scripts directory 2010-04-11 10:40:04 +00:00
Fatih Aşıcı 19c1b0c528 scripts: Move repo-related scripts out of pisi tree 2010-04-11 10:34:35 +00:00
Transifex SVN Submitter 867c7c8e0a l10n: Updated Dutch (Flemish) (nl) translation to 97%
User: H. İbrahim Güngör

New status: 608 messages complete with 12 fuzzies and 5 untranslated.

Transmitted-via: Transifex (translate.pardus.org.tr).
2010-04-10 20:51:50 +00:00
Fatih Aşıcı 4b458c26ec 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-04-06 09:05:36 +00:00
Fatih Aşıcı d5426f6451 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.

BUG:FIXED:12536
2010-03-31 12:04:11 +00:00
Fatih Aşıcı 88a181516e build/install: Fix exception handling in case of invalid version strings 2010-03-30 13:56:09 +00:00
Klemens Häckel c2da60f07b update of some new spanish language strings (kh) 2010-03-28 23:38:41 +00:00
Fatih Aşıcı e134aa2f44 po: Add missing end of line character in Turkish translation 2010-03-26 14:27:14 +00:00
Fatih Aşıcı 7b299457d5 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.

Changes since 2.3_alpha1
------------------------
atolboo (1):
      Dutch language update of /trunk/pisi/po.nl.po

fatih (43):
      Thinko fix: Old and new file hashes might be different.
      Fix concatenation error
      More consistent messages
      Optimize get_package_requirements a little
      Little optimization for Install class
      Refactor reverseDependencyUpdate search
      Accelerate iteration to find security updates
      Use brightred for error messages
      Add make_version function
      Add split_version function to split version, release and build parts of a package version
      index: If the build numbers are same, use the release number.
      api: Do not use Version class for full package versions
      version: Modify Version class to use make_version
      tests: Remove release numbers from version strings as they are no longer supported
      api: Remove unused variable
      atomicoperations: Use make_version instead of Version class
      Return immediately if a condition is not satisfied
      Use make_version instead of Version class
      repodb: Reduce the number of calls to piksemel.parse
      repodb: Make error messages translatable
      upgrade: Do not call get_replaces twice
      packagedb: Accelerate get_replaces
      installdb: Store package node and use it later to reach sub-nodes
      util: Add utility functions to print a list of strings by columns
      cli/upgrade: Print package lists in a more readable format
      cli/update-repo: Use ui.action to print 'Updating repository:' message
      cli/upgrade: Replace a ui.info with ui.status
      specfile: Initial bits for Type tags and Action attributes
      Add support to specify update types and actions for each sub-package
      specfile: Replace get_update_types_and_actions function with faster ones
      specfile: Rename targetPackage attribute in Action tags as target
      dtd,rng: Update DTD and RelaxNG shemas for the recently added features
      upgrade: Use a single loop for finding packages to be upgraded
      upgrade: Check the reverse dependencies of installed packages
      cli/install,upgrade: Colorize package size info
      upgrade: Remove redundant variable
      cli/install: Make package lists more readable and colorize messages
      cli/remove,upgrade: Revise safety switch messages
      cli/upgrade: Show packages that need serviceRestart and systemRestart before upgrade
      build: Copy additional source files when a build step is given too
      upgrade: Take all deps into account for the correct upgrade order
      db: Remove repodb members to avoid caching of RepoDB instance
      po: Update for new messages

ozan.caglayan (8):
      Use delta suffix value from constants.py
      Use constants from constants.py
      Add forgotten log
      Those given parameters are nonsense and noop. Just give DESTDIR to install() for correct installation into sandbox.
      Don't use underscores for filenames in infodir
      Add ability to rename System.Service scripts
      Don't install blacklisted system.base packages on update and new package install
      Implement configure()

patrik (1):
      Swedish translation

sdalgic (3):
      add a prototype python script for GPG Key management in Pisi. Being adopted from apt-key script in apt. A step in Package Signing ;)
      add some file_existence checks, implement add, del, update func. , some improvements in the code.. Still Prototypesvn diff
      implement list_keys, list_fingerprints, export and exportall parts.
2010-03-24 14:34:52 +00:00
Fatih Aşıcı 4b74656b62 po: Update for new messages 2010-03-24 14:23:13 +00:00
Fatih Aşıcı 0ad9c9e676 db: Remove repodb members to avoid caching of RepoDB instance 2010-03-24 13:51:22 +00:00
Ozan Çağlayan 2a512e804f Implement configure() 2010-03-23 08:18:48 +00:00
Fatih Aşıcı f8fe17886e 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 22:17:58 +00:00
Fatih Aşıcı c4534dec08 build: Copy additional source files when a build step is given too 2010-03-22 13:50:47 +00:00
Serdar Dalgıç 97afd12be5 implement list_keys, list_fingerprints, export and exportall parts. 2010-03-22 13:40:48 +00:00
Serdar Dalgıç 8ce9c7603d add some file_existence checks, implement add, del, update func. , some improvements in the code.. Still Prototypesvn diff 2010-03-22 10:40:10 +00:00
Fatih Aşıcı 210f847d32 cli/upgrade: Show packages that need serviceRestart and systemRestart before upgrade 2010-03-22 09:27:12 +00:00
Fatih Aşıcı 9190b025b6 cli/remove,upgrade: Revise safety switch messages 2010-03-21 23:11:42 +00:00
Fatih Aşıcı 07cd4e46d2 cli/install: Make package lists more readable and colorize messages 2010-03-21 22:35:15 +00:00
Fatih Aşıcı 33c71193ab upgrade: Remove redundant variable 2010-03-21 20:35:33 +00:00
Fatih Aşıcı d375422e20 cli/install,upgrade: Colorize package size info 2010-03-21 19:39:55 +00:00
Fatih Aşıcı 5937fb2e1b upgrade: Check the reverse dependencies of installed packages 2010-03-21 19:33:59 +00:00
Fatih Aşıcı 6fb91c85a3 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-21 18:59:21 +00:00
Serdar Dalgıç 1ba2c793f5 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 14:54:11 +00:00
Ozan Çağlayan c239218579 Don't install blacklisted system.base packages on update and new package install 2010-03-18 13:15:48 +00:00
Fatih Aşıcı acb57ef231 dtd,rng: Update DTD and RelaxNG shemas for the recently added features 2010-03-18 12:14:27 +00:00
Fatih Aşıcı 33eb3ea1d1 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 11:40:07 +00:00