cupt (1.5.14.1) unstable; urgency=low

  * Cupt:
    - Config:
      - Fixed ignoring 'APT::Never-MarkAuto-Sections' option.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Sat, 25 Sep 2010 22:17:33 +0300

cupt (1.5.14) unstable; urgency=low

  * doc:
    - cupt_vs_apt:
      - Documented not handling the difference between 'specific' and
        'general' APT pin types. (Closes: #586347)
  * Cupt:
    - Cache:
      - ArchitecturedRelation:
        - Implemented architecture wildcards support. (Closes: #587354)
  * debian/control:
    - Bumped Standards-Version to 3.9.0, no changes needed.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Thu, 08 Jul 2010 21:20:35 +0300

cupt (1.5.13) unstable; urgency=low

  * Cupt:
    - Cache:
      - Reading APT preferences: handle multiple package names, separated by
        spaces, correctly. Thanks to Julian Andres Klode for the report.
        (Closes: #585017)
    - System:
      - Worker:
        - Fixed passing version comparison result for pre-install hooks of
          version 2 in case of removals, re-installs and downgrades.
        - In case of circular actions error, suggest to add failed packages
          to 'cupt::worker::allow-indirect-upgrade' option.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Mon, 14 Jun 2010 21:45:29 +0300

cupt (1.5.12) unstable; urgency=low

  * Cupt:
    - System:
      - Worker:
        - Ignore Replaces when building new dependency edge because of
          Conlifcts. Dpkg purposedly violates the §7.6.2 of Debian policy.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Sun, 23 May 2010 16:43:41 +0300

cupt (1.5.11) unstable; urgency=low

  * Cupt:
    - Cache:
      - Parsing preferences: silently ignore files in preferences directory
        that don't conform to apt_preferences(5). Thanks to Eduard Bloch.
        (Closes: #578681)

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Sun, 02 May 2010 19:57:11 +0300

cupt (1.5.10) unstable; urgency=low

  * cupt
    - 'why': if received only one argument, assume --installed-only.
      Thanks to James Vega for spotting. (Closes: #577646)
    - 'show': add '(on hold)' to the 'Status' line if the package is on hold.
  * Cupt:
    - Download:
      - Manager:
        - Use ITIMER_VIRTUAL instead of ITIMER_REAL for ping signals.
        - Use dedicated pipe in ping signal handler. I believe, it
          Closes: #554620. Many thanks to James Vega.
    - Cache:
      - 'verify_signature': rewrote error handling, added missing input
        checks.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Sun, 18 Apr 2010 11:02:47 +0300

cupt (1.5.9) unstable; urgency=low

  * cupt:
    - help:
      - Clarified that 'safe-upgrade' command can remove automatically
        installed packages. Thanks to intrigeri@boum.org. (Closes: #575702)
    - Action preview prompt:
      - Display a warning in case of packages on hold to be modified.
  * Cupt:
    - Cache:
      - 'get_pin': obey version holds by default by honoring new
        'cupt::cache::obey-hold' option. Thanks to intrigeri@boum.org.
        (Closes: #575704)
      - Package:
        - Don't check binary architecture for installed packages. Thanks to
          Julian Andres Klode for the report. (Closes: #574819)
    - Config:
      - ISCConfigParser:
        - Allow '.' character in option names. Thanks to intrigeri@boum.org.
          (Closes: #575715)
      - Recognize 'apt::get::build-dep-automatic' option.
      - New 'cupt::cache::obey-hold' option.
    - System:
      - Worker:
        - Set the process umask to 022. Thanks to intrigeri@boum.org.
          (Closes: #575700)
    - Download:
      - Method:
        - 'get_acquire_suboption_for_uri': setting
          'acquire::<protocol>::[<host::]proxy' to "DIRECT" to disable it
          is now supported too.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Sat, 03 Apr 2010 17:56:29 +0300

cupt (1.5.8) unstable; urgency=low

  * Cupt:
    - Cache:
      - Fixed potential crash if some chunk in the index file doesn't contain
        valid Package line.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Sat, 20 Mar 2010 15:57:19 +0200

cupt (1.5.7) unstable; urgency=low

  * Cupt:
    - Config:
      - Added packages 'openoffice.org-common', 'openoffice.org-java-common',
        'openoffice.org-writer2latex' to the list of packages which are to be
        upgraded indirectly. Thanks to Michael Stapelberg. (Closes: #573038)
  * debian/control:
    - Bumped Standards-Version to 3.8.4, no changes needed.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Sat, 13 Mar 2010 09:37:37 +0200

cupt (1.5.6) unstable; urgency=low

  * Cupt:
    - Cache:
      - 'verify_signature': detect 'no public key' error from gpgv and display
        better error message in this case.
      - 'verify_signature': don't throw fatal error on unexpected messages
        from gpgv. Thanks to Jean-Christophe Dubacq for the report.
        (Closes: #570196)
      - 'verify_signature': recognize 'KEYEXPIRED' gpgv message in addition to
        'EXPSIG' and 'EXPKEYSIG' ones.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Sat, 20 Feb 2010 15:17:10 +0200

cupt (1.5.5) unstable; urgency=medium

  * Cupt:
    - Cache:
      - Parsing extended states: fixed exiting with error on empty file
        (a regression since 1.5.4). Fixes FTBFS. (Closes: #569387).
        Urgency is set to 'medium' because of this fix.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Thu, 11 Feb 2010 22:04:16 +0200

cupt (1.5.4) unstable; urgency=low

  * Cupt:
    - Cache:
      - Parsing extended states: don't choke on unexpected fields.
    - System:
      - Worker:
        - Scheduling dpkg call sequence: fixed the false positive of
          'unable to schedule circular actions: unpack ..., unpack...' error
          in cases when specified Replaces are enough to "beat" mutual
          conflicts problem.
    - Config:
      - Added the package 'openoffice.org-core' to the list of packages which
        are to be upgraded indirectly.
      - Added the option family 'DSelect::*'. (Closes: #568706)

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Mon, 08 Feb 2010 20:36:18 +0200

cupt (1.5.3) unstable; urgency=low

  * Cupt:
    - Download:
      - Manager:
        - Fixed crash when downloading URIs containing mangled symbols in
          debug mode.
    - Cache:
      - When parsing source lists, don't crash if a source line contains only
        one or two words.
    - Config:
      - get_list: return an empty list, not a list of one undefined entry in
        case of non-defined optional option.
    - Worker:
      - Fixed calculating dependencies for 'remove' subactions of upgrade
        actions of indirectly upgradeable packages.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Mon, 01 Feb 2010 20:47:06 +0200

cupt (1.5.2) unstable; urgency=low

  * Cupt:
    - Config:
      - Added packages 'openjdk-6-jre', 'openjdk-6-jre-lib' and
        'openjdk-6-jre-headless' to the list of broken packages which are to
        be upgraded indirectly. (Closes: #567436)

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Sun, 31 Jan 2010 12:52:07 +0200

cupt (1.5.1) unstable; urgency=low

  * Cupt:
    - System:
      - Worker:
        - 'change_system': perform download stage after determining dpkg call
          sequence.
        - Fixed the stupid long-standing bug with forgetting some action
          dependencies for relation expressions which involve several binary
          packages. Thanks to James Vega for spotting it. (Closes: #564724)
      - Resolvers/Native:
        - Significantly increased the penalty for removing installed packages.
        - Optimize building solution tree in case of actions that resolve
          conflicts with multiple packages that provide the same virtual
          package.
    - Config:
      - Added the 'aptlistbugs::*' option family. Thanks to Ryan Niebur.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Tue, 12 Jan 2010 14:02:06 +0200

cupt (1.5.0) unstable; urgency=low

  * cupt:
    - 'dist-upgrade': start completely new process in the second stage to fix
      the possible undefined behavior when libcupt-perl got upgrade in the
      first stage with the API changes.
    - 'depends': in recurse mode pick up only one new version for the relation
      expression by default, specify '--all-versions' to override.
  * Cupt:
    - Config:
      - New option family 'cupt::downloader::protocols::*::priority'.
      - New option family 'cupt::downloader::protocols::*::methods'.
      - New option family
        'cupt::downloader::protocols::*::methods::*::priority'.
    - Download:
      - Manager:
        - Sort URIs for the file by priorities.
      - Method:
        - Implemented choosing a method with maximum priority between several
          available ones.
    - System:
      - Resolvers/Native:
        - Adjusted calculating action weights so installing new version
          outweights non-upgrading another package in most cases, even
          automatically installed one. Thanks to James Vega. (Closes: #562797)
  * scripts/bash_completion:
    - Implemented bash completion for cupt program.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Sat, 02 Jan 2010 18:03:45 +0200

cupt (1.4.0) unstable; urgency=low

  * Cupt:
    - System:
      - Worker:
        - 'get_unpacked_sizes_preview': fixed a crash when purging the package
          in 'config-files' state but which has installation candidates.
          Thanks to Cyril Brulebois. (Closes: #559340)
      - Resolvers/Native:
        - Fixed the bug when soft dependencies were automatically removed in
          the start of resolving because of disappear of the parent packages
          and then weren't considered to keeping when other parent packages
          hierarchy declared a soft dependency on the package.
        - Apply 'automatically installed' penalty score to all versions of
          automatically installed packages, not only installed one.
        - Don't perform inner auto-removal before of main resolver cycles.
      - Resolvers/External:
        - Request: lowercased all fields.
        - Request: pass '>>' as '>' and '<<' as '<' in relation expressions.
        - Request: added the preable with a 'pin-priority' property
          declaration.
        - Request: 'problem' stanza is renamed to 'request'.
    - Download:
      - Methods/Debdelta:
        - Suppress standard output from debpatch.
    - Config:
      - [API break] 'set_regular_var': renamed to 'set_scalar'.
      - [API break] 'set_list_var': renamed to 'set_list'.
      - [API break] 'var': replaced by new methods 'get_string', 'get_number'
        and 'get_bool'.
    - Core:
      - Moved INIT block out to 'cupt' front-end.
    - Cache:
      - 'verify_signature': use gpgv, not gpg for checking.
      - BinaryVersion:
        - Fallback to 0 if the installed size is not defined. Thanks to
          Jean-Christophe Dubacq <jcdubacq1@free.fr>. (Closes: #560160)
  * debian/control:
    - Added the package 'gpgv' to Recommends of the 'libcupt-perl' package.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Tue, 15 Dec 2009 13:58:38 +0200

cupt (1.3.1) unstable; urgency=low

  * Cupt:
    - Config:
      - Added the option 'APT::Never-MarkAuto-Sections'.
      - Added the option family 'Aptitude::*'.
    - Cache:
      - 'verify_hash_sums': fixed the crash regression since 1.3.0. Thanks to
        Cyril Brulebois. (Closes: #557177)
    - Graph/TransitiveClosure:
      - Fixed calculating vertexes reachability for paths with length more
        than 2.
    - Worker:
      - While splitting heterogeneous actions, pay the first attention to
        action dependencies which are originated from 'Conflicts'. No longer
        pass '--force-conflicts' to dpkg. Thanks to James Vega.
        (Closes: #556650)
      - Mark the 'remove' subactions of upgrade/downgrade actions as fake.
      - Subsequently, don't try to "eat" some action dependencies anymore.
      - Don't merge unpack and configure subactions.
      - While splitting heterogeneous actions, ignore (after setting up
        '--force-breaks' and '--force-depends') reverse dependencies'
        breakages.
      - Allow circular dependencies between only 'configure' subactions, give
        up with an error on other ones.
      - Pass '--force-bad-path' to work around dpkg bug #558151.
    - Download:
      - Progresses/Console:
        - Fixed a divide-by-zero crash with zero-sized files. Thanks to
          James Vega. (Closes: #557661)

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Mon, 30 Nov 2009 15:23:28 +0200

cupt (1.3.0) unstable; urgency=low

  * cupt:
    - 'rdepends': memoize parsed versions.
    - Management actions:
      - Support '@<file>' syntax for reading arguments from files. The idea of
        the patch by Jean-Christophe Dubacq. (Closes: #554356)
    - Don't crash when run with no parameters (once again). Thanks to
      Didier Raboud. (Closes: #547952)
  * Cupt:
    - Cache:
      - 'get_satisfying_versions': don't sort result.
      - 'get_sorted_pinned_versions': removed ability to memoize it.
      - BinaryVersion:
        - Rewritten parsing the version entry using different approach.
          Speeded up parsing significantly.
        - New field 'others'.
        - [API break] 'homepage': removed, it now belongs to 'others' if
          supplied.
      - SourceVersion:
        - Rewritten parsing the version entry using different approach.
        - Support 'Binary' field span to multiple lines.
        - Support native packages with dashed version strings with a warning.
        - Recognize ".debian.tar.<ext>" files as diffs.
        - New field 'others'.
        - [API break] 'uploaders': became reference to array instead of string.
    - System:
      - Resolvers/Native:
        - Don't pre-schedule any relations for newly-installed versions, leave
          all work to main resolver. Also (Closes: #555209)
        - Don't try to remove the same unsynchronizeable package multiple
          times.
        - Fixed 'full' flavor of the resolver in non-debug mode.
        - Fixed too high factor for deleting unsynchronizeable packages.
        - Implemented shallow copying for solutions. Significantly reduces
          the average RAM footprint for a solution.
        - Don't try to remove the unsynchronizeable package if the stick is
          set.
        - Adjusted calculating action weights so installing an extra package
          gains almost nothing.
        - When 'cupt::resolver::synchronize-source-versions' is set, try use
          source versions if available to speed-up processing.
        - Don't perform re-synchronization if the source version has several
          appropriate binary versions.
        - Adjusted the effect of the 'cupt::resolver::quality-bar' option so
          it affects the less the longer solution is.
        - Significatly increased the penalty for non-installing the requested
          soft dependencies.
        - Implemented internal dependency graph to speed up processing
          solutions.
      - Worker:
        - Don't use File::Path module. Thanks to Bernd Zeimetz.
          (Closes: #553629)
        - Check that 'cupt::worker::archives-space-limit' is numeric. Thanks
          to Cyril Brulebois.
        - While splitting heterogeneous actions, set '--force-breaks' to all
          non-trivial actions in addition to '--force-depends'.
          Thanks to James Vega. (Closes: #556014)
        - Pass '--force-conflicts' to 'install' subaction of heterogeneous
          actions, the intermediate conflicts can still exist.
    - Config:
      - Fixed the typo to properly don't check option names for all
        'unattended-upgrade::*' options. Thanks to Jean-Christophe Dubacq.
        (Closes: #547951)
      - Changed the default value of the 'cupt::resolver::quality-bar' option
        from -250 to -50.
  * debian/control:
    - Restricted dependency of cupt on libcupt-perl to match minor version.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Sun, 15 Nov 2009 22:13:59 +0200

cupt (1.2.1) unstable; urgency=medium

  * cupt:
    - 'screenshots':
      - Launch a browser in "background" to display more than two packages
        simultaneously. Thanks to Pavel Chernyshev.
  * Cupt:
    - System:
      - Resolvers/Native:
        - Speeded up applying changes when only one resolution (in the
          solution thread) available.
    - Config:
      - Changed the default value of the 'cupt::resolver::quality-bar' option
        from -400 to -250 to prevent producing somewhat bad solutions under
        rare circumstances.
  * debian/control:
    - Added liblist-moreutils-perl to build-depends. Fixes FTBFS.
      Thanks to Lucas Nussbaum. Urgency is set to medium. (Closes: #552948)

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Fri, 30 Oct 2009 12:04:26 +0200

cupt (1.2.0) experimental; urgency=low

  * cupt:
    - New 'snapshot' subcommand.
    - 'satisfy':
      - Fixed taking architecture specifiers from the command-line into
        account.
  * Cupt:
    - Config:
      - New configuration option 'cupt::directory::state'.
      - New configuration option 'cupt::directory::state::snapshots'.
      - New configuration option 'cupt::worker::archives-space-limit'.
      - New configuration option 'cupt::worker::archives-space-limit::tries'.
    - System:
      - Worker:
        - Removed "locking" /var/lib/dpkg/lock, it's useless (noop).
        - Implemented Cupt lock.
        - New method 'save_system_snapshot'.
        - New method 'remove_system_snapshot'.
        - New method 'rename_system_snapshot'.
        - Do some reordering of generated dpkg call sequence to make
          'unpack' actions appear as late as possible.
        - 'change-system': honor 'cupt::worker::archives-space-limit' option.
      - Snapshots:
        - Introduced.
    - Cache:
      - New method 'get_path_of_extended_states'.
  * debian/control:
    - Added 'dpkg-dev' and 'dpkg-repack' to Suggests.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Tue, 27 Oct 2009 18:41:50 +0200

cupt (1.1.1) unstable; urgency=low

  * cupt:
    - 'search':
      - Fixed crash with '-n' option introduced in 1.1.0.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Fri, 23 Oct 2009 17:40:30 +0300

cupt (1.1.0) unstable; urgency=high

  * cupt:
    - Memoize parsed versions when managing packages and in shell mode.
      Reduced peak RAM usage by resolver. Reduced time spent in native
      resolver for non-trivial solutions.
    - Managing packages:
      - New option '--assume-yes|--yes|-y'.
    - New 'reinstall' subcommand.
  * Cupt:
    - Graph:
      - Introduced as reduced and optimized for Cupt re-implementation
        of some methods of Graph class.
    - System:
      - Worker:
        - Changed to work with Cupt::Graph module instead of CPAN Graph.
          Dramatically reduced time needed to generate dpkg call sequence in
          'change_system' method. Significantly reduced peak RAM usage in
          'change_system' method.
        - Honor the configuration option
          'cupt::worker::allow-indirect-upgrade' to work around packages with
          broken-by-design dependencies that make the package unupgradeable.
          Thanks to James Vega. Upload priority is set to 'high' due to this
          fix. (Closes: #551831)
      - Resolvers/Native:
        - Changed to work with Cupt::Graph module instead of CPAN Graph.
        - When determining whether related binary packages may be synchronized
          for 'cupt::resolver::synchronize-source-versions' option, fix
          possibly incorrect positive answer when there are at least 2 related
          binary packages and some of them have the same source version as
          the original binary package.
        - Prepare stick requests after possible dropping solutions due to
          'cupt::resolver::synchronize-source-versions' set to 'hard'. Gives
          more room for upgrades in some cases.
        - Honor the 'cupt::resolver::synchronize-source-versions::exceptions'
          configuration option.
        - When 'cupt::resolver::synchronize-source-versions' set to 'hard',
          allow removal of unsynchronizeable packages.
      - State:
        - Don't store version strings of installed packages, but request them
          from cache when needed.
    - Cache:
      - [API break] 'get_binary_packages': superseded by new
        'get_binary_package_names' method.
      - [API break] 'get_source_packages': superseded by new
        'get_source_package_names' method.
      - Create Cupt::Cache::Package objects only by demand. Reduced time to
        build a cache by 5-10%.
      - 'new': added the switch '-allow-reinstall'. 
      - Package:
        - Changed internal structure to hold additonal parameters.
        - [API break] 'o_binary_architecture': removed, not needed anymore.
        - New module option 'o_memoize' to memoize parsed versions.
    - Config:
      - Added the configuration variable 'apt::get::assume-yes'.
      - New configuration option 'cupt::console::assume-yes'.
      - New configuration option 'cupt::console::allow-untrusted'.
      - New configuration option
        'cupt::resolver::synchronize-source-versions::exceptions'.
      - New configuration option 'cupt::worker::allow-indirect-upgrade'.
  * Makefile.PL, debian/control:
    - Dropped the dependency on libgraph-perl.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Thu, 22 Oct 2009 11:42:58 +0300

cupt (1.0.0) unstable; urgency=low

  * cupt:
    - Action preview prompt:
      - Output also 'Suggests' relation expressions in 'leave unresolved'
        check.
      - Output unresolved dependencies for a dependency group <dep> only if
        the option 'cupt::resolver::keep-<dep>' is set to true.
    - Managing packages:
      - Fixed shell wildcards when scheduling removal of packages which
        are not installed.
  * Cupt:
    - Cache:
      - 'get_original_apt_pin': fixed clashing values which are
        substrings of other pin settings. Thanks to Jameson Graef Rollins
        <jrollins@finestructure.net>. (Closes: #549423)
    - System:
      - Worker:
        - Preparing downloads: don't attempt to create a directory for partial
          downloads when it doesn't exist and simulate mode is on.
  * doc:
    - cupt_vs_apt:
      - Mentioned 'cupt::update::compression-types' in differences.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Wed, 14 Oct 2009 18:25:27 +0300

cupt (1.0.0~rc1) unstable; urgency=low

  * cupt:
    - Don't crash when run with no parameters (again). Thanks to Patrick
      Schoenfeld. (Closes: #547952)
    - If the command isn't supplied, act as it was 'help'. Thanks to Patrick
      Schoenfeld for the suggestion.
    - 'shell':
      - Added extra space to the cupt shell prompt. Thanks to to Patrick
        Schoenfeld for the suggestion. (Closes: #548008)
      - Print help output if user typed only '?' as a command in a shell
        session. Thanks to to Patrick Schoenfeld. (Closes: #548010)
    - 'config-dump':
      - Print a semicolon after each option value.
      - Print values of list options in parseable form.
    - Managing packages:
      - Destroy resolver just after it produced a solution for worker.
        Reduces peak RAM usage by 1-2%.
  * Cupt:
    - Config:
      - Recognize 'apt::periodic::*' variables.
      - Recognize 'unattended-upgrade::*' variables.
      - Recognize 'apt::archives::*' variables.
      - Three above accidentally (Closes: #547951).
      - Report unknown option names in original case. Thanks to Robert Millan.
        (Closes: #548314)
      - New option family 'cupt::update::compression-types::*::priority'.
      - ISCConfigParser:
        - Parse \" as " in values. Thanks to Julian Andres Klode.
        - Fixed parsing non-first nested structures. Thanks to
          Oleg Tsybulskyi <alogic0@gmail.com>.
        - Implemented '#clear' directive.
    - Cache:
      - Strip last '/' character from base URI if present. Thanks to Patrick
        Schoenfeld. (Closes: #547953)
      - Parsing preferences: allow spaces between release expressions.
        Thanks to Julian Andres Klode. (Closes: #548051)
      - Speeded up 'Provides' pre-parsing. Reduced 15-25% of overall cache
        build time.
      - SystemState:
        - Speeded up 'Provides' pre-parsing. Reduced 5-10% of overall cache
          build time.
      - Package:
        'new': reduced 10-15% of time spent.
      - BinaryVersion:
        - 'new': fixed reading installed size in bytes.
        - 'new': use internal offsets for working with fields, reduces time
          spent by 20-30%.
        - 'new': verify that architecture is specified. (Closes: #548710)
    - Download:
      - Manager:
        - Added internal check for undefined results from post-action
          subroutines.
      - Progresses/Console:
        - Make sure that guessed terminal width is >= 80 characters.
    - System:
      - Worker:
        - 'update_release_and_index_data': fixed race condition when
          'cupt::update::keep-bad-signatures' is set to false, some release
          signature failed gpg check, and more than one index file is attached
          to corresponding Release.
        - 'update_release_and_index_data': honor new
          'cupt::update::compression-types::*::priority' options.
      - Resolvers/Native:
        - Print debug information when some solution path cannot be taken
          because of 'cupt::resolver::synchronize-source-versions' option set
          to 'hard'.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Sat, 03 Oct 2009 11:03:47 +0300

cupt (1.0.0~beta1) unstable; urgency=low

  * cupt:
    - Fixed the regression since 0.6.0 when reasons are selected to display
      and some reason is an unsatisfied pre-dependency. Thanks to
      Michael Stapelberg.
  * Cupt
    - Cache:
      - Require List::MoreUtils >= 0.23 directly in code too. Thanks to
        Michael Stapelberg for the suggestion.
    - System:
      - Worker:
        - Sort downloads alphabetically.
        - 'update_release_and_index_data': flip the return result to match the
          documentation.
        - 'update_release_and_index_data': honor
          'apt::update::post-invoke-success' option.
        - 'update_release_and_index_data': don't try to check signatures in
          simulate mode.
      - Worker:
        - 'change_system': produce more debug info when calling dpkg.
        - While splitting heterogeneous actions, set '--force-conflicts' dpkg
          option for unpack/install commands with more than one package as
          an argument even for safe-as-a-whole operations.
    - Config:
      - Added configuration variable 'apt::update::post-invoke-success'.
  * doc:
    - cupt_howto:
      - Added a paragraph with debug options to use when reporting problems.
  * debian/rules:
    - Fixed building with Perl 5.10.1.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Mon, 21 Sep 2009 15:12:50 +0300

cupt (0.6.5) unstable; urgency=low

  * cupt:
    - 'dist-upgrade': fixed the regression since 0.6.4 being not able to
      proceed package management tools upgrade successfully.
    - The option '--no-install-unpacked' went away. Now the all the packages
      within some interim state are scheduled for installation, but with no
      stick, so one can easily install other versions or delete them
      explicitly.
  * Cupt:
    - Download:
      - Manager:
        - Honor 'cupt::worker::simulate' option in the native way.
        - [API break] Advanced input parameters for 'download' subroutine to
          include optional short and long aliases.
        - [API break] Removed 'set_short_alias_for_uri' subroutine.
        - [API break] Removed 'set_long_alias_for_uri' subroutine.
    - System:
      - State:
        - Consider all packages except in states 'not-installed' and
          'config-files' as installed. They are full-right participants of
          dependency and worker management.
      - Worker:
        - Create partial directory for downloads when it doesn't exist.
          Thanks to Cyril Brulebois.
        - Don't try to check hash sums of Packages/Sources when no local file
          exists while deciding should we download Packages/Sources or not.
          Thanks to Cyril Brulebois. Thanks to James Vega.
          (Closes: #545685)
        - While splitting heterogeneous actions, set '--force-depends' dpkg
          option for commands with more than one package as argument even for
          safe-as-a-whole operations. Dpkg cannot handle gracefully them now
          in some cases. Thanks to James Vega. (Closes: #545496)
    - Config:
      - New option 'cupt::resolver::quality-bar'.
      - Added option 'apt::get::automaticremove'.
      - Added option 'apt::get::purge'.
      - Recognize option 'apt::get::show-upgraded'.
  * debian/control:
    - Updated my mail address.
    - Inserted versioned dependency on liblist-moreutils-perl (>= 0.23).
      Earlier versions had tricky bug in 'none' subroutine. Thanks to
      Cyril Brulebois.
    - Removed 'DM-Upload-Allowed' field, it's not needed anymore.

 -- Eugene V. Lyubimkin <jackyf@debian.org>  Sun, 13 Sep 2009 09:52:04 +0300

cupt (0.6.4) unstable; urgency=low

  * Cupt:
    - Config:
      - Recognize new APT 'acquire::compressiontypes::*' variables.
    - Download:
      - Methods/Curl:
        - Delete partially downloaded file and restart download if the server
          don't support resuming. Thanks to Bernd Zeimetz. (Closes: #544186)
    - System:
      - Resolvers/Native:
        - Display descriptive error message when manually selected version of
          package cannot be updated because of the option
          'cupt::resolver::synchronize-source-versions' set to 'hard'.
        - Don't fail to synchronize already sticked binary package with the
          same source version.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Mon, 31 Aug 2009 23:59:45 +0300

cupt (0.6.3) unstable; urgency=medium

  * cupt:
    - Don't crash on actions confirmation when the user answer is not
      available (end of file, read error etc.)
  * Cupt:
    - Download:
      - Methods/Curl:
        - Enable sharing cookies database and DNS cache for multiple
          downloads.
    - System:
      - Resolvers/Native:
        - Fixed a very tricky regression since 0.6.0 with passing status of
          packages to worker that causes the situation that some of
          automatically installed packages are not marked as such. If you
          installed something big with 0.6.{0-2} libcupt-perl versions, you
          will need to go and mark needed packages as automatically installed
          manually (e.g. using 'cupt markauto'). Sorry for the inconvenience.
          The urgency is set to 'medium' because of this fix.
  * doc/cupt_vs_apt:
    - Renewed to reflect changes in apt 0.7.23.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Thu, 27 Aug 2009 22:11:20 +0300

cupt (0.6.2) unstable; urgency=low

  * cupt:
    - New 'dist-upgrade' subcommand.
    - 'search':
      - Fixed the crash when some short description is not present.
        Thanks to James Vega. (Closes: #543598)
    - 'show':
      - Fixed the crash when some short description is not present.
  * Cupt:
    - System:
      - Worker:
        - Significant speed-up of run-time pre-dependency check.
        - Significant speed-up of processing the virtual action dependencies.
    - Cache:
      - Support 'none' value of the 'apt::acquire::translation' option.
    - Download:
      - Methods/Debdelta:
        - Explicitly pass new '--accept-unsigned' option to debdelta. We don't
          need debdelta signatures as resulted package is still checked using
          hash sums.
  * doc/*.pod:
    - Explicitly specified UTF-8 encoding. Patch by James Vega.
      (Closes: #543706)
  * debian/control:
    - libcupt-perl don't support debdelta (<< 0.31) anymore because of new
      debdelta signatures. Set Breaks accordinly.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Wed, 26 Aug 2009 20:13:30 +0300

cupt (0.6.1) unstable; urgency=low

  * Cupt:
    - Cache:
      - ArchitecturedRelation:
        - 'stringify': the architectures separator is the space, not the
          comma.
    - System:
      - Worker:
        - Turned the run-time pre-dependency check into a warning. One cannot
          surely say whether it's an error or not. Thanks to James Vega.
          (Closes: #543365)
  * debian/control:
    - The package 'libcupt-perl' now depends on 'liblist-moreutils-perl'.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Mon, 24 Aug 2009 23:22:32 +0300

cupt (0.6.0) unstable; urgency=low

  * cupt:
    - New 'version' (aliases: '--version', '-v') subcommand.
    - New 'help' (aliases: '--help', '-h') subcommand. (Closes: #540790)
    - 'showsrc':
      - Don't assume any of hash sum of package to de defined, check it.
        Thanks to Cyril Brulebois. (Closes: #541470)
    - New 'why' subcommand.
    - 'show':
      - Fix typo in code determining which hash sums are present.
    - 'satisfy':
      - Implemented unsatisfying relation expressions (by appending the minus
        sign) too.
    - 'rdepends':
      - Pre-build reverse dependencies index at start. Reduces time of
        one-shot rdepends call by ~2 times and dramatically reduces overall
        time in case of recursive rdepends.
  * Cupt:
    - Cache:
      - Package:
        - Fixed another crash when merging two source versions with equal
          version strings. Thanks to Cyril Brulebois.
      - BinaryVersion:
        - Fixed reading 'Task' field.
        - Don't warn on non-existent 'Priority' field, policy does not
          mandate it.
      - SourceVersion, BinaryVersion:
        - [API break] Changed internal storage from hash to array, introduced
          mutator methods (fields). Documented all fields.
        - Don't choke if 'Section' field is not defined.
        - [API break] The field 'avail_as' has been renamed to 'available_as'.
      - ArchitecturedRelation:
        - 'unarchitecture_relation_expressions': fixed skipping architectures
          for [!a !b ... !z] cases. Thanks to Cyril Brulebois.
          (Closes: #542609)
    - System:
      - Resolvers/Native:
        - Don't synchronize source packages if the option
          'cupt::resolver::synchronize-source-versions' is set to 'none'.
        - Fixed a minor regression since 0.3.0 in determining version weight,
          including "essentialness" of the version.
        - Fixed a crash when performing a deep search for versions that have
          other than original version have, but still satisfiable
          pre-dependency relation expression.
        - Check Recommends/Suggests only when all hard dependencies are
          satisfied.
        - Resolver doesn't unconditionally pre-install Recommends and/or
          Suggests of manually installed/upgraded/downgraded packages
          (if 'apt::install-recommends' and 'apt::install-suggests' turned on,
          respectively) anymore. This change has two main consequences:
          + The common pinning/resolver rules are now applied to
            Recommends/Suggests of manually specified packages too. Besides of
            grown inner flexibility, you can now pin out specific packages or
            versions you don't like.
          + If you upgrade/downgrade the package which has unsatisfied
            Recommends/Suggests and the old and new version of the package
            has the same relation expression, resolver won't try to change
            anything.
      - Worker:
        - Don't pass --force-conflicts to 'install' subaction of heterogeneous
          actions, all conflicts should be already resolved at that stage.
        - Perform unconditional merge if 'unpack' action is dependent
          (directly or indirectly) on appropriate 'configure' one.
        - Detect the packages that break Pre-Depends in inavoidable way, list
          them and exit with an error.
        - Fixed a crash while re-checking hash sums of existing archives
          (introduced after 0.5.2). Thanks to Cyril Brulebois.
          (Closes: #542612)
    - Core:
      - 'version_string_regex': allow debian part of the version contain '_',
        however Cupt::Cache::Package will print a warning in this case.
        (Closes: #541268)
  * debian/control:
    - Made 'cupt' binary package depend on sensible-utils which is not
      essential.
    - Bumped 'Standards-Version' to 3.8.3, no changes needed.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Fri, 21 Aug 2009 21:25:43 +0300

cupt (0.5.2) unstable; urgency=low

  * cupt:
    - Fixed a regression since 0.5.1 when using '+' and '-' expression
      suffixes.
  * Cupt:
    - System:
      - Worker:
        - While building action dependencies graph, deal properly with
          'abc' depends on 'x | y | ...' cases when 'x' is going to be
          removed and 'y' is going to be installed. Thanks to Daniel Moerner.
          (Closes: #539953)
        - While building action dependencies graph, ensure that if the action
          dependency has even one "not eat" property it won't be lost even in
          complicated merge scenarios (Closes: #540957).
        - While splitting heterogeneous actions, don't require additional dpkg
          flags not for 'configure' action, but for last one, which may differ.
    - Config:
      - Added configuration option 'dir::etc::preferencesparts'.
    - Cache:
      - Honor 'dir::etc::preferencesparts' option.
    - Download:
      - Manager,Method,Methods/Debdelta:
        - Implemented debdelta integration. Big thanks to A Mennucc1.
      - Progress:
        - New method 'get_overall_downloaded_size'.
      - Progresses/Console:
        - Print also overall downloaded size on exit.
        - Print 'failed to download' messages as warnings, not as errors.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Tue, 11 Aug 2009 12:26:18 +0300

cupt (0.5.1) unstable; urgency=medium

  * cupt:
    - Exit immediately when nothing to do (for management actions).
      Thanks to Didier 'OdyX' Raboud.
    - Shell wildcars '*' and '?' are now supported in binary/source package
      expressions. (Closes: #539732)
  * Cupt:
    - Config:
      - 'set_regular_var': fixed recognizing the value 'false' as false.
        Thanks to Michael Stapelberg. (Closes: #539730)
    - Cache:
      - Package:
        - Fixed a crash when merging two source versions with equal version
          strings. Thanks to Michael Stapelberg.
      - 'policy_version': don't assume that package contains valid versions,
        pre-check it. Thanks to Didier 'OdyX' Raboud.
      - 'get_original_apt_pin': consider only first successful pin match, as
        declared in apt_preferences(5). Thanks to Didier 'OdyX' Raboud.
      - New method 'get_source_packages'.
    - System:
      - Worker:
        - While building dependency graph, also count Conflicts/Breaks that
          belong to packages going to be removed/purged. The urgency is set to
          'medium' because of this fix. Thanks to Michael Stapelberg.
          (Closes: #539729)
    - Download:
      - Methods/File:
        - Support 'copy' scheme, and do full copying only for it. For 'file'
          scheme do only symlinking. Thanks to Michael Stapelberg.
          (Closes: #539733)
    - Core:
      - New free subroutine 'glob_to_regex'.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Tue, 04 Aug 2009 20:58:34 +0300

cupt (0.5.0) unstable; urgency=low

  * cupt:
    - Fixed a regression since 0.4.0 when trying to 'remove' non-installed
      packages (for insuring that they won't be installed).
    - New 'shell' subcommand.
  * Cupt:
    - System:
      - Worker:
        - 'update_release_and_index_data': always delete possible partial
          chunks of Release files and their gpg signatures before downloads.
        - don't even attempt to "eat" the action dependencies
          that were originated by Conflicts/Breaks, doing this could break
          action sequence order. Thanks to Cyril Brulebois. (Closes: #539256)
    - Cache:
      - 'verify_signature': don't error but only warn when gpg doesn't give
        enough info for some reason. Thanks to Cyril Brulebois.
      - don't hardcode archive 'experimental' for Releases that should be
        pinned as 'not for automatic upgrades', but use 'NotAutomatic' flag
        in the Release file instead.
      - New method 'set_config'.
      - BinaryVersion:
        - Fall back with a warning to priority 'extra' if the priority isn't
          specified.
    - Config:
      - Recognize 'acquire::pdiffs' option, though it's unsupported.
      - New method 'clone'.
  * debian/control:
    - Added Vcs-* headers.
    - Bumped debhelper build-dependency to (>= 7.0.50) to use overrides.
  * debian/rules:
    - Simplified defining PERL variable. Patch by Cyril Brulebois.
    - Use $(PERL) instead of 'perl' to install PODs. Patch by Cyril Brulebois.
    - Dramatically reduced size of the rules, thanks to dh7 override magic.
      Patch by Cyril Brulebois.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Sun, 02 Aug 2009 22:13:31 +0300

cupt (0.4.0.1) unstable; urgency=low

  * Typo fix: 'syncroniz*' -> 'synchroniz*'.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Thu, 23 Jul 2009 23:20:01 +0300

cupt (0.4.0) unstable; urgency=medium

  * cupt
    - Allowed to purge packages with no installation candidates.
  * Cupt:
    - System:
      - Worker:
        - 'get_unpacked_sizes_preview': fixed crash when purging a package
          that has no installation candidates.
        - 'update_release_and_index_data': don't check hash sums for indexes
          in simulate mode to "proceed" all actions, not only Release-related
          ones.
      - Resolver:
        - Generate an error when attempting to schedule more than one action
          on the same package.
        - Honor the 'cupt::resolver::synchronize-source-versions' option.
    - Config:
      - Added 'apt::acquire::translation' configuration option.
      - New 'cupt::resolver::synchronize-source-versions' configuration option.
      - The option 'cupt::resolver::defer-triggers' now defaults to false due
        to unfixed dpkg bug (#526774) that can cause upgrade breakage.
    - Cache:
      - BinaryVersion:
        - Implemented localized descriptions support.
      - ArchitecturedRelation:
        - Fixed parsing of architectured relation expressions which contain
          relation sign.
      - Package:
        - Fixed error while parsing 'Architecture: any' source version,
          introduced in version 0.3.2. Urgency is set to 'medium' because of
          this fix.
      - New method 'get_download_entries_of_localized_descriptions'.
    - Core:
      - 'compare_hash_sums': fixed to return true for equal hash sums.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Thu, 23 Jul 2009 22:57:51 +0300

cupt (0.3.3) unstable; urgency=medium

  * Cupt:
    - Cache:
      - Relation:
        - The '>' and '<' compatibility operators now work as really expected.
          Thanks to Ryan Niebur for report. The urgency is set to medium
          because of this fix.
    - Config:
      - [Ryan Niebur] Support APT_CONFIG environment variable.
    - System:
      - State:
        - [Ryan Niebur] Parsing status file: if grep found nothing in the
          file, this is not an error.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Mon, 13 Jul 2009 20:34:02 +0300

cupt (0.3.2) unstable; urgency=low

  * cupt:
    - 'search':
      - Fixed searching in installed packages.
    - 'rdepends':
      - Output also a version of reverse-depending packages.
      - Consider all available versions, not only policy one.
    - 'depends':
      - Consider all available versions, not only policy one.
    - 'source', 'showsrc', 'build-dep':
      - Implemented binary-to-source mapping as second-chance try if supplied
        source package doesn't exist. Thanks to Steve Cotton.
    - 'source':
      - Verify hash sums for .dsc files too.
  * Cupt:
    - Cache:
      - BinaryVersion:
        - Require only one hash sum to be specified.
      - SourceVersion:
        - Require only one hash sum to be specified for each of part.
      - Package:
        - Emit a warning when throwing away duplicating version with
          non-matched hash sums.
        - Introduce 'o_binary_architecture' flag to filter out versions with
          unwanted binary architectures.
      - 'get_original_apt_pin': don't attempt to pin source versions by source
         package names, they are applicable only to binary versions.
      - Parsing release info: don't require codename to be specified.
      - Parsing release info: don't require version to be specified.
      - Parsing release info: don't require description to be specified.
      - 'verify_hash_sums': advanced to verify only hash sums specified in
        parameter.
      - 'get_download_entries_of_index_list': allow all whitespace characters
        between fields.
      - 'get_download_entries_of_index_list': require only one hash sum to be
        specified for each download entry.
      - 'verify_signature': fixed a crash when gpg unexpectedly didn't return
        anything from pipe.
    - Core:
      - New free subroutine 'are_hash_sums_present'.
      - New free subroutine 'compare_hash_sums'.
    - System:
      - Resolvers/Native:
        - Fixed a crash when using 'satisfy_relation_expression' and
          'unsatisfy_relation_expression' methods with
          'cupt::resolver::track-reasons' option enabled.
      - Worker:
        - 'update_release_and_index_data': fixed wrapping errors in child
           processes.
        - 'get_unpacked_sizes_preview': fixed a crash when purging packages in
          'config-files' state.
        - 'change_system': polished to make it able to correctly purge packages
          in 'config-files' state.
        - 'update_release_and_index_data': call update post-actions even there
          were some non-crtical errors in childs.
        - 'update_release_and_index_data': delete dangling partial index files
          if Release file has been changed since the last run of this method.
    - Download:
      - Methods/Curl:
        - Honor 'acquire::retries' option instead of hardcoded one.
    - Config:
      - Added configuration option 'acquire::retries'.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Fri, 10 Jul 2009 15:02:00 +0300

cupt (0.3.1) unstable; urgency=low

  * cupt:
    - New 'policysrc' subcommand.
  * Cupt:
    - Download:
      - Progress:
        - New method 'get_overall_estimated_time'.
      - Progresses/Console:
        - Display estimated time while downloading.
    - Cache:
      - SourceVersion:
        - Don't choke on native Debian source packages.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Sun, 05 Jul 2009 12:30:47 +0300

cupt (0.3.0) unstable; urgency=low

  * cupt:
    - New 'showsrc' subcommand.
    - New 'build-dep' subcommand.
    - New 'source' subcommand.
  * Cupt:
    - Cache:
      - ArchitecturedRelation:
        - Implemented.
      - SourceVersion:
        - Implemented.
      - Package:
        - 'get_versions': generate exception if there are no valid version
          entries for the package.
      - New method 'get_source_package'.
      - 'get_pin': fixed to not attempt to obtain installed version for source
        packages.
      - Parsing source lists: allow all whitespace characters between fields.
        Patch by Didier 'OdyX' Raboud <didier@raboud.com>. (Closes: #535520)
      - Parsing source lists: don't assume that /etc/apt/sources.list exists.
        Thanks to Didier 'OdyX' Raboud <didier@raboud.com>. (Closes: #535600)
      - Parsing source lists: process only files that have '.list' suffix in
        sources.list.d subdirectory.
        Thanks to Didier 'OdyX' Raboud <didier@raboud.com>.
      - New free subroutine 'verify_hash_sums'.
      - Parsing release info: set Label to '' when it's not specified. Fixes
        crash when pinning by label.
        Thanks to Didier 'OdyX' Raboud <didier@raboud.com>.
      - 'get_original_apt_pin': fixed pinning by release properties of several
        versions of the package. Thanks to Didier 'OdyX' Raboud.
    - System:
      - Resolver,Resolvers/Native,Resolvers/External:
        - New method 'unsatisfy_relation_expression'.
      - Resolvers/Native:
        - Don't consider Essential packages as candidates for auto-removal.
          Thanks to Didier 'OdyX' Raboud and Steve Cotton.
        - Fixed considering 'apt::neverautoremove' option when trying to
          auto-remove packages. Thanks to Didier 'OdyX' Raboud.
    - Download:
      - Manager:
        - Worker process: fixed race condition in sending error of the last
          download to progress.
    - Core:
      - 'version_string_regex': allow upstream part of the version start with
        a non-digit symbol, however Cupt::Cache::Package will print a warning
        in this case. Thanks to Steve Cotton. (Closes: #535514)
  * po:
    - getpot: specified UTF-8 encoding for input files, fixing xgettext error.
      Thanks to Frederik Schwarzer <schwarzerf@gmail.com>.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Sat, 04 Jul 2009 19:01:58 +0300

cupt (0.2.3) unstable; urgency=medium

  * Cupt:
    - System:
      - Worker:
        - 'update_release_and_index_data': fixed downloading of non-compressed
          indexes.
        - 'update_release_and_index_data': fixed removing downloaded file after
          uncompressing.
        - 'update_release_and_index_data': remove the downloaded Release.gpg if
          signature verification failed and 'cupt::update::keep-bad-signatures'
          is false (this is the default setting) for the compatibility with APT.
          Thanks to Goswin von Brederlow <goswin-v-b@web.de>.
          (Closes: #533753). Urgency is set to 'medium' because of this fix.
        - 'update_release_and_index_data': download index file even if
          signature download/check failed.
      - Resolvers/Native:
        - Reworked solution rank system.
        - Dropped 'first-good' solution chooser. It can be mimicked by setting
          'max-solution-count' option to 1.
        - Run cleaning auto-installed packages also before resolving, aiming
          to reduce number of solutions resolver should work with.
        - Made "zero" line for actions 400 points less, affecting ordering
          solutions for processing for default 'fair' resolver type. Leads to
          significant (several times) speed-up for some cases. Makes possible
          to obtain at least one solution for some hard queries (like removing
          core system components).
        - Fixed erroneous auto-removing of some dependencies which were brought
          by 'satisfy' query.
    - Download:
      - Manager:
        - Enabled basic HTTPS protocol support.
        - IPC is rewritten using UNIX sockets instead of fifos.
      - Progress:
        - Changed speed-o-meter accuracy to 4 seconds (previous value was
          2 seconds).
      - Methods/Curl:
        - Added basic handling of transitive download errors.
    - Cache:
      - New free subroutine 'verify_signature'.
      - BinaryVersion:
        - [API break] Renamed field 'source_name' to 'source_package_name'.
        - Added a check for hash sums presence. Thanks to
          Goswin von Brederlow <goswin-v-b@web.de>.
        - Added a check for version string presence.
    - Config:
      - Added configuration option 'apt::cache-limit'. Thanks to
        Goswin von Brederlow <goswin-v-b@web.de>. (Closes: #533752)
      - New configuration option 'cupt::update::keep-bad-signatures'.
  * debian/control:
    - Bumped Standards-Version to 3.8.2, no changes needed.
    - Changed Homepage to wiki.debian.org/Cupt.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Sun, 21 Jun 2009 18:42:49 +0300

cupt (0.2.2) unstable; urgency=low

  * Cupt:
    - System:
      - Resolvers/Native:
        - When applying resolve actions, stick packages more aggressively.
      - Worker:
        - 'clean_archives': fixed callback before actual deletion.
        - 'clean_archives': delete only '.deb's.
        - 'clean_archives': fixed error message when deletion failed.
    - Core:
      - Comparing version strings: fixed comparison of versions like 'ab' and
        'ab5'.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Fri, 05 Jun 2009 19:40:19 +0300

cupt (0.2.1) unstable; urgency=low

  * cupt:
    - New 'screenshots' subcommand.
    - New 'clean' subcommand.
    - New 'autoclean' subcommand.
    - Implemented the option '--quiet'.
  * Cupt:
    - System:
      - Worker:
        - New 'clean_archives' method.
        - 'update_release_and_index_data': fixed deleting download progress
          immediately after end of all child processes.
        - 'update_release_and_index_data': don't download Packages/Sources
          when we know they are unchanged by provided hash sums.
      - Resolvers/Native:
        - Fixed dropping solutions by normalized score, not by the original one.
        - Fixed auto-removing of packages which resolver marked to change, but
          in the end they became unneeded anyway.
    - Cache:
      - BinaryVersion:
        - Always set 'source_version_string' field.
    - Config:
      - Added configuration option 'quiet'.
      - New configuration option 'debug::downloader'.
    - Download:
      - Progresses/Console:
        - Don't output progress meter when standard output is not a TTY.
      - Manager:
        - Worker thread: honor 'debug::downloader' configuration option.
        - Worker thread: fixed stucking in some complex conditions.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Tue, 02 Jun 2009 11:34:28 +0300

cupt (0.2.0) unstable; urgency=low

  * cupt:
    - New 'update' subcommand.
  * doc/cupt.1.pod:
    - Mentioned how to set list configuration option.
  * doc/cupt_howto.7.pod:
    - Added.
  * Cupt:
    - System:
      - Resolver*:
        - Merged an infrastructure to allow multiple resolvers to co-exist in
          future.
      - Worker:
        - [API break] 'do_actions' renamed to 'change_system'.
        - New method 'update_release_and_index_data'.
        - Honor 'dpkg::options' option.
    - Download:
      - Manager:
        - Worker thread: handle duplicated download requests that come when
          the original download request is not yet completed. This use case is
          possible 'update' action.
        - Worker thread: handle concurrent request of the same URI properly.
        - Worker thread: pass correct URI to download progress in case of
          ACKed download.
        - 'download' method: switched to modern interface of File::Temp,
          getting rid of compatibility one.
        - 'download' method: use POSIX::mkfifo instead of calling 'mkfifo'
          program.
        - 'download' method: return final download result back to worker
          thread only if this was requested.
        - New forwarding methods 'set_long_alias_for_uri' and
          'set_short_alias_for_uri'.
    - Cache:
      - 'get_pin' method: divided into 'get_original_apt_pin' and 'get_pin'
        methods.
      - New 'get_index_entries' method.
      - New 'get_path_of_release_list' method.
      - New 'get_path_of_index_list' method.
      - New 'get_download_entries_of_index_list' method.
      - New 'get_download_uri_of_release_list' method.
      - Honor 'debug::gpgv' config option to print some debug info while
        verifying signatures.
    - Config:
      - Added configuration option 'dpkg::options'.
      - New configuration option 'debug::gpgv'.
  * debian/control:
    - Recommended 'bzip2' for compressed indexes.
    - Suggested 'lzma' for compressed indexes.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Fri, 29 May 2009 22:29:13 +0300

cupt (0.1.4) unstable; urgency=low

  * cupt:
    - 'policy' subcommand:
      - Fixed old code referrings to 'gettext'.
    - Fixed skipping option-like arguments when searching for a command.
    - Implemented option '--show-reasons' for management actions.
    - New 'copyright' subcommand, similar to 'changelog' subcommand. Currently
      implemented only for installed packages and official Debian and Ubuntu
      repositories.
    - 'changelog', 'copyright' subcommands: work around dropping an epoch from
      version strings in links to Debian/Ubuntu pages.
    - The option '--install-unpacked' went away in favor of new
      '--no-install-unpacked' one, installing unpacked packages is now the
      default.
  * Cupt:
    - System:
      - Resolver:
        - Fixed erroneous autovivification of package entries which are not
          installed when checking for sticks of candidate versions than can
          satisfy forward dependencies.
        - Fixed wrong sharing 'fake satisfied' entries between package entries
          in different solution branches.
        - Honor 'cupt::resolver::track-reasons' configuration option.
      - Worker:
        - APT mangles ':' chars in names of deb archives. Cupt doesn't do the
          same. So, to pick up debs downloaded by libapt, worker now generates
          symlinks from 'right' names to 'mangled' names whenever possible.
        - Moved downloading stage to start of 'do_actions' method.
        - Reverted "Don't introduce action loops when uniting 'remove' and
          'unpack' actions".
        - Instead, tried to drop extraneous action interdepedencies by using and
          checking saved relation info and merging 'unpack' with 'configure'.
        - And, since unconditional merging 'unpack' with 'configure' can
          introduce another dependency loops, perform merge only if the
          operation can "eat" some dependencies.
        - In case some package have only 'configure' action without 'unpack',
          check for conflicts too in a straightforward way.
        - In the series of heterogeneous actions pass '--force-conflicts' to
          the '--unpack' and '--install'.
        - Generate stdin version 2 for the 'dpkg::pre-install-pkgs' hook for
          all hooks declared, not only for apt-listchanges.
        - Implemented the installs, downgrades and removes for the stdin
          version 2 for the 'dpkg::pre-install-pkgs' hook.
    - Config:
      - New configuration option 'cupt::resolver::track-reasons'.
    - Cache:
      - New free subroutine 'get_path_of_debian_copyright'.
      - When parsing release data, require first symbol of version to be digit.
  * doc:
    - cupt.1:
      - Renewed the list of supported APT configuration options.
      - Mentioned the way to send bug reports and IRC discussion channel.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Sun, 24 May 2009 12:02:24 +0300

cupt (0.1.3) unstable; urgency=low

  * debian/control:
    - Fixed misspelled Recommends 'liblocale-gettext-perl'.
    - Allow DM uploads.
  * cupt:
    - 'show' subcommand:
      - Show also source version if present.
    - 'changelog' subcommand:
      - Use source version for fetching remote changelogs if present. Fixes
        determining remote path for versions that had a binary-only rebuild(s).
    - 'policy' subcommand:
      - When called without arguments, print available Releases.
    - Exclude superfluous 'use Locale::gettext', Cupt::Core module do all
      needed manipulations to provide gettext. Thanks to
      David Broome <dbroome@gmail.com>. (Closes: #529167)
  * Cupt:
    - Cache:
      - New method 'get_binary_release_data'.
      - New method 'get_source_release_data'.
      - Include base URI in release info.
      - Installed versions of packages now have archive 'installed',
        codename 'now', vendor 'dpkg' in release info.
      - BinaryVersion:
        - New field 'source_package_version'. It's got filled when the source
          version for package differs from the binary one.
      - Pkg:
        - [API break] Renamed to 'Package'.
        - [API break] Renamed method 'versions' to 'get_versions'.
      - Skip 'Explanation: ' lines when parsing preferences. Thanks to
        Stefano Zacchiroli <zack@debian.org>.
    - Download:
      - Manager, Methods/*:
        - Changed "success" error message from '0' to ''.
      - Manager:
        - Worker thread and 'download' method: now worker thread returns info
          had the download been processed before or not, and 'download' won't
          run post-action for already processed downloads; this change should
          avoid future race conditions when the multiple downloads of the same
          file with enabled postprocessing were scheduled.
        - Worker thread and 'download' method: delay sending result to
          download progress before 'download' acked the result
          (i.e. run post-check for it).
      - Method:
        - New free subroutine 'get_acquire_suboption_for_uri' which honors
          per-host settings.
    - Config:
      - Per-host suboption of 'acquire::*::timeout' is now supported.
    - System:
      - Worker:
        - 'do_actions': perform dpkg lock (if needed) before all other
          prepare actions, not before modifying system.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Mon, 18 May 2009 00:28:09 +0300

cupt (0.1.2) experimental; urgency=low

  * cupt:
    - 'markauto'/'unmarkauto' subcommands:
      - Don't require worker at compilation stage. Speeds up compilation a bit.
    - Implemented '--no-remove' option for management actions.
    - Implemented '--no-auto-remove' option for management actions.
    - Selecting a version for binary package:
      - Allow '-' symbols in distribution names.
    - Properly output error when no command specified.
    - Use '#/usr/bin/env perl' for portability. Thanks to
      Michael Stapelberg <michael@stapelberg.de>.
    - New 'changelog' subcommand. Currently implemented only for installed
      packages and official Debian and Ubuntu repositories.
  * Cupt:
    - Core:
      - 'mydie', 'myerr', 'mywarn' subroutines now print to STDERR. Thanks to
        Stefano Zacchiroli <zack@debian.org>.
      - New subroutine 'is_version_string_native'.
    - Download:
      - Manager:
        - [API break] 'download' method: now one should specify array of URIs,
          not single URI for each download entry. Enables mirroring feature.
        - Advanced error message in download size check.
      - Methods/Curl:
        - Detect HTTP/FTP/HTTPS error codes.
        - Put HTTP/FTP/HTTPS response codes into error messages.
        - Don't put Curl internal error codes into error messages.
        - Follow HTTP redirects if the option
          'acquire::http::allow-redirects' is set to true.
      - Progress:
        - 'get_overall_download_percent': fixed division by zero when
          estimated total is zero.
      - Progresses/Console:
        - Enable auto-flushing when printing to the terminal.
    - System:
      - Worker:
        - Adapted to to changes in 'download' method of download manager.
        - Send also base URI to download progress so it can display it.
        - Give back transparent versioned 'remove','unpack','configure'
          actions and versionful check. Heavy hacks didn't guarantee full
          correctness, no reason to have them anymore.
        - Don't introduce action loops when uniting 'remove' and 'unpack'
          actions. This has to fix upgrading of packages containing
          'Pre-Depends' dependencies finally.
        - Put also installed and downgraded packages to package list version 1
          output for hooks. Dpkg-preconfigure should now work fully under Cupt.
        - Honor 'dpkg::pre-invoke' option.
        - Advanced error output for dpkg 'pre' actions.
        - Honor 'dpkg::post-invoke' option.
      - Resolver:
        - Use 'cupt::resolver::no-remove' option instead of 'no-remove' internal
          param.
        - Use 'cupt::resolver::type' option instead of 'resolver-type' internal
          param.
        - Check 'cupt::resolver::type' option for validity.
        - Use 'cupt::resolver::max-solution-count' option instead of
          'max-solution-cont' internal param.
        - [API break] Removed 'set_params' method, it is not needed anymore.
    - Cache:
      - Typo fix: 'incorrent' -> 'incorrect'. Thanks to
        Stefano Zacchiroli <zack@debian.org>.
      - Implemented 'easy' type of sources.list entry. Thanks to
        Stefano Zacchiroli <zack@debian.org>.
      - Don't choke on empty-for-us index files. Thanks to
        Stefano Zacchiroli <zack@debian.org>.
      - Fixed determining path for storing list file for indexes whose protocol
        doesn't have '//', e.g. 'file'.
        Thanks to Michael Stapelberg <michael@stapelberg.de>.
      - Warn, don't error, when description is not present in Release file.
      - New free subroutine 'get_path_of_debian_changelog'.
      - BinaryVersion:
        - [API break] Advanced return value for 'uris' method.
        - 'uris' method: filter duplicates.
    - Config:
      - New configuration option 'cupt::resolver::no-remove'.
      - New configuration option 'cupt::resolver::type'.
      - New configuration option 'cupt::resolver::max-solution-count'.
      - Changed default value for option
        'cupt::downloader::max-simultaneous-downloads' from 3 to 2.
      - Warn, don't error, on setting unknown list option, just like for
        regular options. Thanks to Stefano Zacchiroli <zack@debian.org>.
      - Skip broken parts of config files and warn, don't immediately stop.
      - Added the configuration option 'dpkg::pre-invoke'.
      - Added the configuration option 'dpkg::post-invoke'.
      - Added the configuration options 'rpm::pre-invoke' and
        'rpm::post-invoke'.
      - New configuration option 'acquire::http::allow-redirects'.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Sun, 10 May 2009 13:23:25 +0300

cupt (0.1.1.1) experimental; urgency=low

  * debian/control:
    - Put libwww-curl-perl to Build-Depends-Indep so t/file_method.t can load
      it.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Fri, 01 May 2009 01:49:41 +0300

cupt (0.1.1) experimental; urgency=low

  * doc/cupt.1.pod:
    - Added 'Author' section.
  * cupt:
    - Action preview prompt:
      - Generate additional warning when deleting essential packages.
      - Require typing the confirmation phrase for really dangerous actions.
      - Changed 'installed' -> 'INSTALLED' for untrusted packages warning.
    - 'satisfy' subcommand:
      - Now accepts sequences of relation expressions divided by commas within
        one argument.
    - 'config-dump' subcommand:
      - Added a mode to print a value of only one configuration option.
    - 'show' subcommand:
      - Changed 'PreDepends' -> 'Pre-Depends' in output.
    - Implemented option '--installed-only' for some query actions.
    - Implemented option '--download-only' for management actions.
  * Cupt:
    - Core:
      - 'human_readable_size_string': don't print fractional part for small
        float values.
    - Download:
      - Method, Methods/*:
        - [API break] 'sub_callback' in 'perform', added fetched bytes
          parameter for 'downloading' callback
        - Various documentation improvements.
      - Manager:
        - Road all progress requests through own pipe, not directly.
        - Update progress meter several times during a second.
        - Made more strings translatable.
      - Progress:
        - New method 'get_start_time'.
        - New method 'get_long_alias_for_uri'.
        - New method 'get_short_alias_for_uri'.
        - [API break] The control and flow logic was moved from
          Progresses/Console to 'progress' method.
        - New method 'hook' for subclasses.
        - New method 'get_overall_download_progress'.
        - New accessor/mutator 'download_entries'.
        - New method 'get_download_speed'.
        - New class-wide parameter variable 'o_download_speed_accuracy';
        - Various documentation improvements.
      - Progresses/Console:
        - Substituted obsoleted 'progress' method with new 'hook' method.
        - Fixed dangling, wrong-placed console cursor.
        - Also output download speed.
        - Output count of downloaded bytes for each package in
          human-readable form too (in addition to all size bytes count for
          package). In four words, "10829837/15.9MiB" -> '10.1MiB/15.9MiB'.
    - System:
      - Worker:
        - Honor 'cupt::worker::download-only' option.
        - Added 'debug::worker' config option to print some debug info.
        - Bump Pre-Depends requirements to 'configure' to make sure to not
          violate Debian Policy.
        - Merge all 'unpack' + 'configure' actions into 'install' action
          unconditionally.
        - Don't create fake 'remove' actions, just use existing 'install'
          ones instead. This should resolve problems with scheduling
          upgrading packages containing 'Pre-Depends'.
        - Made all inter-action relations unversioned, this should ensure that
          all 'install' -> 'remove' and 'remove' -> 'install' dependencies are
          not underestimated.
        - Ensure that download manager is destroyed before processing the
          result of downloads.
    - Config:
      - New option 'cupt::worker::download-only', defaults to false.
      - Use value of 'dir::bin::dpkg', not plain 'dpkg' to obtain
        archirecture.
      - The option 'gpgv::trustedkeyring' now defaults to
        '/var/lib/cupt/trusted.gpg'.
    - Cache:
      - Introduce the hack to copy APT's trusted keyring whenever possible to
        cupt's keyring place. It will be removed once key update mechanism
        would be implemented.
      - When checking signatures, generate proper error message if the keyring
        file doesn't exist.
      - Relation:
        - New free subroutine 'parse_relation_line' for parsing relation
          sequences.
  * debian/libcupt-perl.postinst:
    - Don't mess with /etc/apt/trusted.gpg for now. Instead copy it to cupt's
      own keyring place.
  * debian/libcupt-perl.prerm:
    - Introduced to clean up /var/lib/cupt directory.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Thu, 30 Apr 2009 23:19:35 +0300

cupt (0.1.0) experimental; urgency=low

  * Initial release. Dedicated to Pavel Chernyshov. Developers and advanced
    users only.

 -- Eugene V. Lyubimkin <jackyf.devel@gmail.com>  Tue, 07 Apr 2009 23:23:04 +0300
