[ANN] poldek 0.20

Pawel A.Gajda mis at pld.org.pl
Fri Oct 28 19:37:40 CEST 2005


This release introduces new series of poldek. Significant changes and
differences from 0.18.x series

Package repositories

  * repositories code has been redesigned and totally rewritten in the modular,
    plugin-like way, so is is quite easy to add support for new formats.

  * new 'pndir' is the default format now. It is based on tndb (cdb like) DBM
    library. To save bandwidth package descriptions (Description, Summary, etc)
    are stored in 2 separate files: first named packages.ndir.dscr with common
    (BuildHost, Distribution, etc) and "C" descriptions and second with all
    non-C descriptions).

  * 'hdrl' aka 'apt' format are update-able

  * support for Yum and Metadata XML repositories

  * repository indexes could be created in many formats at once using --mt
    switch, ex:


        $ poldek -s /foo/bar --mkdix --mt=pdir,pndir


  * indexes may be created from any index format, i.e conversion to to another
    format is supported, ex:


        $ poldek --st apt -s /foo/bar --mkidx=/ala/ma --mt=pdir


  * (re)creation of native poldek's indexes (pdir, pndir) is much faster now
    package headers are not loaded at all if package's file modification time
    is the same as saved one in existing index.

Installation related

  * uninstallation code has been rewritten and improved. Packages are removed
    with its reverse dependencies and in the right order, according to
    {pre,post}un requirements

  * poldek can perform 'to repository' installation, i.e packages are copied
    from source to destination repository with full dependency checking, ex:

        $ poldek -n ...  --dt pdir --destination /foo/bar/RPMS --upgrade-dist -v
        $ poldek -n ...  --dn name --upgrade-dist -v



Interactive mode

  * interactive mode commands are available directly from command line

       $ poldek --cmd ls foo
       $ ipoldek ls foo


  * command aliases are defined in external configuration file (Mariusz Mazur <
    mmazur a kernel pl>)

  * commands may be piped, ex:

         poldek> rsearch /poldek/ | ls -l


  * external commands are supported:

         poldek> rsearch /pol/ | !grep ^pol



Configuration

  * multi word option names may be written with spaces or underscore separator,
    i.e: both forms "this is = foo" and "this_is = foo" are valid.

  * default location of configuration file has been changed to "${_sysconfdir}/
    poldek/poldek.conf", old /etc location is still supported.

  * configuration file format has been changed to ini-like one. Sources and
    external file getters should be configured in its own sections "source" and
    "fetcher", see sample configs. Old configuration format is still supported.

  * environment variables in config files are expanded, for example:

       cachedir = $HOME/.cache


  * support for simple macros has been added to make configuration easier to
    write and read, for example:

       _arch   = i686
       _prefix = ftp://ftp.pld.org.pl/dists

       [source]
       type  = pdir
       name  = pld-ra
       path  = %{_prefix}/ra/PLD/%{_arch}/PLD/RPMS/

       [source]
       type  = pdir
       name  = pld-ra-updates
       path  = %{_prefix}/ra/updates/general/%{_arch}/


  * %include directive has been added, it can include both local and remote
    files:

       %include source.conf
       %include ftp://ftp.pld.org.pl/dists/ra/source.conf


    Remote files once downloaded are stored in cache directory. To
    resynchronize them with it's remote copy use --upconf option.

  * support for APT sources configuration has been added - new "load apt
    sources list" configuration option.

General

  * some command line switches has been changed, but all obsoleted switches are
    still supported *except* "-f" (not important IMO). Changes:

          0.18.x                     0.20
        ------------------------------------
       -f, --fast               => --skip-installed
       --mkidxz                 => --mkidx           (compression is on by default)
       --sidx, --sdir, --shdrl  =>                   (use --st=TYPE -s instead)
       --unique-pkg-names       => --uniq
       --shcmd                  =>                   (use --cmd or run ipoldek)


  * configuration options may be set from command line by -O switch, for
    example:

        $ poldek -Ovfile_external_compress=yes


  * PLD-FreeBSD port (ftp://beliar.pld-freebsd.org/dists/1.0/ready/i386/RPMS/)
    (Tomasz Trojanowski <tomek att uninet com pl>)

  * manual have been rewritten and enhanced

-- 
mis at pld.org.pl
http://team.pld.org.pl/~mis/poldek/



More information about the poldek mailing list