Commit Graph

4854 Commits

Author SHA1 Message Date
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
Ozan Çağlayan 134f72f17c Add ability to rename System.Service scripts
<Provides>
  <COMAR script="iscsi-service.py" name="iscsi">System.Service</COMAR>
  <COMAR script="iscsid-service.py" name="iscsid">System.Service</COMAR>
</Provides>

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 10:04:09 +00:00
Fatih Aşıcı b7a13317dd specfile: Replace get_update_types_and_actions function with faster ones 2010-03-18 09:33:22 +00:00
Fatih Aşıcı 4d0d4f33f4 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.

    <Update release="30">
        <Date>2010-02-17</Date>
        <Version>2.4.18</Version>
        <Comment> ... </Comment>
        <Type package="libdrm-intel">security</Type>
        <Requires>
            <Action package="libdrm-nouveau">reverseDependencyUpdate</Action>
        </Requires>
        <Name>Fatih Aşıcı</Name>
        <Email>fatih@pardus.org.tr</Email>
    </Update>

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.

    <Update release="30">
        <Date>2010-02-17</Date>
        <Version>5.2.13</Version>
        <Comment> ... </Comment>
        <Requires>
            <Action package="mod_php" targetPackage="apache">serviceRestart</Action>
        </Requires>
        <Name>Fatih Aşıcı</Name>
        <Email>fatih@pardus.org.tr</Email>
    </Update>
2010-03-18 08:04:31 +00:00
Fatih Aşıcı 5e579badbc specfile: Initial bits for Type tags and Action attributes 2010-03-17 13:26:53 +00:00
Fatih Aşıcı 106d5f9042 cli/upgrade: Replace a ui.info with ui.status 2010-03-15 07:15:05 +00:00
Fatih Aşıcı 98d1046453 cli/update-repo: Use ui.action to print 'Updating repository:' message 2010-03-15 07:15:03 +00:00
Fatih Aşıcı 46453e32a4 cli/upgrade: Print package lists in a more readable format 2010-03-13 22:33:21 +00:00
Fatih Aşıcı e4ecd1c0aa util: Add utility functions to print a list of strings by columns 2010-03-13 22:22:52 +00:00
Fatih Aşıcı b9bdd70bab installdb: Store package node and use it later to reach sub-nodes 2010-03-13 22:04:22 +00:00
Patrik Karlsson 3226311721 Swedish translation 2010-03-13 08:34:29 +00:00
Anton Tolboom 53b09ca625 Dutch language update of /trunk/pisi/po.nl.po 2010-03-11 13:52:03 +00:00
Fatih Aşıcı 7762204df5 packagedb: Accelerate get_replaces 2010-03-09 12:33:31 +00:00
Ozan Çağlayan df45476f7f Don't use underscores for filenames in infodir 2010-03-09 11:49:17 +00:00
Fatih Aşıcı 673f9ca873 upgrade: Do not call get_replaces twice 2010-03-08 13:26:16 +00:00