./pkgtools/pkgchkxx, Complete rewrite of pkg_chk and pkg_rolling-replace in C++

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.2.4, Package name: pkgchkxx-0.2.4, Maintainer: pkgsrc-users

pkgchkxx and pkgrrxx are complete rewrites of pkgsrc pkg_chk and
pkg_rolling-replace respectively. These are functionally compatible but run
faster.

This implementation achieves better performance by using a faster language,
better algorithms, and making use of many CPUs whenever possible.


Master sites:

Filesize: 532.848 KB

Version history: (Expand)


CVS history: (Expand)


   2025-01-18 15:15:56 by Masatake Daimon | Files touched by this commit (2)
Log message:
pkgtools/pkgchkxx: Update to 0.2.4

## 0.2.4 -- 2025-01-18

* `pkgrrxx -u` now displays a progress bar while checking for outdated
  packages, if `stderr` is a tty.
* Fix an issue where `pkgchkxx -u` can access invalidated memory and then
  crash. The bug was introduced at version 0.2.2. Reported by @ryoon [#9]
  and @0323pin [#10].
* Fix the formatting of `pkgchkxx` displaying commands to run. There was a
  space missing between time and command.
* Fix `pkgchkxx -un` not simulating the effect of `pkg_delete -r`. The same
  issue exists in the original `pkg_chk` but it'd be nice to fix it.
   2025-01-16 15:52:17 by Masatake Daimon | Files touched by this commit (2)
Log message:
pkgtools/pkgchkxx: Update to 0.2.3

## 0.2.3 -- 2025-01-16

* Gave up on the `fast-clean` option. `pkgrrxx` previously attempted to
  simulate what `make clean` does instead of just running it, because
  running `make` is slow. But it turned out to be a losing battle due to
  subtlety around `${WRKOBJDIR}` so we just run `make clean` now. Issue
  reported by @schmonz [#6]
   2025-01-15 16:19:34 by Masatake Daimon | Files touched by this commit (2)
Log message:
pkgtools/pkgchkxx: Update to 0.2.2

## 0.2.2 -- 2025-01-16

* Fix an issue where `pkgchkxx -u -q` scans and prints outdated packages
  twice, reported by @pfr-dev [#5]
* Fix an issue where `pkgchkxx -u` deletes outdated packages but then fails
  to install their newer versions. This was broken from the beginning of
  `pkgchkxx` and it's a good thing that nobody bothered to use this mode
  (as opposed to `pkgrrxx`).
* Fix a build failure on platforms where `posix_spawn(3)` is unavailable,
  and either `execvpe(3)` or `execve(2)` is also missing, reported by
  @schmonz [#7].
* Fix a potential issue where encountering an error condition could make
  programs die with SIGABRT instead of exitting gracefully.
   2024-06-09 10:12:14 by Masatake Daimon | Files touched by this commit (1)
Log message:
pkgtools/pkgchkxx: Remove redundant unique_ptr from USE_CXX_FEATURES, suggested \ 
by gdt@
   2024-05-26 12:39:42 by Masatake Daimon | Files touched by this commit (2)
Log message:
pkgtools/pkgchkxx: Update to 0.2.1

## 0.2.1 -- 2024-05-26

* Fix compilation on Linux (Fedora 40), patch by @bsiegert [#3]
* Fix a bug in 0.2 where defining `${WRKOBJDIR}` in `mk.conf` makes
  `pkgrrxx` fail to clean `WRKDIR`, reported by @schmonz [#4]
   2024-04-22 05:22:37 by Masatake Daimon | Files touched by this commit (2) | Package updated
Log message:
pkgtools/pkgchkxx: Update to 0.2

* Performance improvement: `pkgchkxx -s` no longer invokes `make update
  CLEANDEPENDS=yes` but now uses `make update
  DEPENDS_TARGET='package-install clean'`.
* Performance improvement: `pkgrrxx` by default now removes working
  directories directly instead of running `make clean`, which is slow. You
  can disable this optimization with a configure option
  `--disable-fast-clean`.
* Performance improvement: Tools now use `posix_spawn(3)` on platforms
  where it exists, and fall back to `fork` & `exec` where it doesn't.
* `pkgrrxx` now shows the number of entries in each non-empty TODO list, to
  give the user some clue about the time it's going to take.
* Fixed an issue where `RR> ` could be printed twice depending on how the
  C++ compiler optimized the code.
   2024-01-03 13:32:59 by Greg Troxel | Files touched by this commit (4)
Log message:
pkgtools/*: revbump for libfetch

libfetch's recent behavior change can be viewed as a bugfix or as an
ABI change.  pkg_install vendors libfetch from the sources, for
bootstrapping reasons and thus needs a revbump.  For consistency and
to reduce confusion, also bump the other two packages that depend on
it.
   2024-01-01 14:39:05 by Benny Siegert | Files touched by this commit (4)
Log message:
New package, pkgtools/pkgchkxx. From wip.

pkgchkxx and pkgrrxx are complete rewrites of pkgsrc pkg_chk and
pkg_rolling-replace respectively. These are functionally compatible but run
faster.

This implementation achieves better performance by using a faster language,
better algorithms, and making use of many CPUs whenever possible.