pkgin/pkgin 19e826b. configure CHANGES.md

Release 26.4.0.
DeltaFile
+10-10configure
+4-0CHANGES.md
+1-1configure.ac
+15-113 files

pkgin/pkgin 6e4aa39. actions.c

upgrade: Fix core package tool upgrade step.

When a core package dependency had an available upgrade, the core package
upgrade was triggered, but if the core packages themselves were only being
refreshed then they were excluded, leading to confusing behaviour.

Instead only check for upgrades for the core packages themselves, though
if any of them do have an upgrade then we may as well perform refreshes
of other core packages at the same time.
DeltaFile
+43-58actions.c
+43-581 files

pkgin/pkgin 40ca7ef. pkg_str.c

pkg_str: Avoid find_preferred_pkg memory leak.
DeltaFile
+2-0pkg_str.c
+2-01 files

pkgin/pkgin a617645. impact.c pkgin.h

impact: Make calculate_action public.
DeltaFile
+1-1impact.c
+1-0pkgin.h
+2-12 files

pkgin/pkgin b1743be. configure CHANGES.md

Release 26.2.0.
DeltaFile
+10-10configure
+4-0CHANGES.md
+1-1configure.ac
+15-113 files

pkgin/pkgin 663d38c. summary.c

summary: Support pkg_summary.zst.
DeltaFile
+10-5summary.c
+10-51 files

pkgin/pkgin deeb151. configure CHANGES.md

Release 26.1.0.
DeltaFile
+10-10configure
+5-0CHANGES.md
+1-1configure.ac
+16-113 files

pkgin/pkgin 18a1447. impact.c actions.c

upgrade: Fix issue with pkgtool upgrades.

The dependency calculations weren't correct when considering just the
pkgtools, and packages that were refreshed due to an upgrade did not
have their dependencies considered, resulting in missing packages during
the install phase.
DeltaFile
+38-6impact.c
+28-0actions.c
+66-62 files

pkgin/pkgin 04b9800. configure CHANGES.md

Release 25.10.0.
DeltaFile
+10-10configure
+5-0CHANGES.md
+1-1configure.ac
+16-113 files

pkgin/pkgin ec13189. autoremove.c

autoremove: Ensure lpkg keep is set correctly.

Ordinarily this is set during initialisation based on the pkgin db,
however if the pkgdb changed since the last run and an update was
performed then the in-memory entry wouldn't be set correctly, resulting
in "pkg_add -A" being used for all packages, even though all the other
data was correct.

Fixes issue seen where manual pkg_add (or in fact any pkgdb operation)
prior to an upgrade would result in packages incorrectly being marked as
autoremove.  The test suite has been updated to trigger this case in
https://github.com/TritonDataCenter/pkgin-test-suite/commit/0a61ddc9.
DeltaFile
+2-0autoremove.c
+2-01 files

pkgin/pkgin 7fbdf97. configure aclocal.m4

Release 25.7.0.
DeltaFile
+391-141configure
+298-131aclocal.m4
+52-33Makefile.in
+49-28missing
+28-12compile
+9-8depcomp
+827-3532 files not shown
+835-3548 files

pkgin/pkgin aff7674. actions.c

upgrade: Ignore refresh for package tool upgrades.

The reason for performing packaging tool upgrades first is to bring in
fixes or improvements that may be required for the next upgrade.  Having
them upgraded separately first and requiring two runs when they are only
being refreshed quickly gets annoying as, due to pkgsrc velocity, it
happens on pretty much every upgrade when tracking trunk.
DeltaFile
+14-3actions.c
+14-31 files

pkgin/pkgin c4f0510external dewey.c

dewey: Ensure source code is UTF-8.
DeltaFile
+1-1external/dewey.c
+1-11 files

pkgin/pkgin 0f9268a.github/workflows build-pkgin-tags.yml

github: Define SED for libfetch.
DeltaFile
+1-0.github/workflows/build-pkgin-tags.yml
+1-01 files

pkgin/pkgin e967578. configure CHANGES.md

Release 25.5.2.
DeltaFile
+10-10configure
+4-0CHANGES.md
+1-1configure.ac
+15-113 files

pkgin/pkgin 8fbca61. tools.c

tools: Use strlcat().
DeltaFile
+2-2tools.c
+2-21 files

pkgin/pkgin 36aeacc. fsops.c

fsops: Fix format-truncation.
DeltaFile
+2-2fsops.c
+2-21 files

pkgin/pkgin 2295746. download.c

download: Fix uninitialized variable.
DeltaFile
+1-1download.c
+1-11 files

pkgin/pkgin f17297e. depends.c

depends: Fix uninitialized variable.
DeltaFile
+1-1depends.c
+1-11 files

pkgin/pkgin f63ec5e. impact.c

impact: Fix -Wparentheses.
DeltaFile
+1-1impact.c
+1-11 files

pkgin/pkgin 66925c2. impact.c

impact: Remove unused variables.
DeltaFile
+0-2impact.c
+0-21 files

pkgin/pkgin 266ac00. configure CHANGES.md

Release 25.5.1.
DeltaFile
+10-10configure
+4-0CHANGES.md
+1-1configure.ac
+15-113 files

pkgin/pkgin a4fa312. actions.c

actions: Ensure n is initialized to zero.
DeltaFile
+1-1actions.c
+1-11 files

pkgin/pkgin 9a60e36. configure CHANGES.md

Release 25.5.0.
DeltaFile
+10-10configure
+16-0CHANGES.md
+1-1configure.ac
+27-113 files

pkgin/pkgin cd66961. impact.c pkg_check.c

Overhaul CONFLICTS and SUPERSEDES.

Instead of simply rejecting incoming CONFLICTS (or worse, allowing the user
to continue!), if an incoming package conflicts with an installed package
then the installed package is marked for deletion.  This gives a much more
natural interaction when trying to install a package, with the user able to
see what effects will be taken prior to accepting to continue.

At the same time improve SUPERSEDES.  Previously they were only considered
for already-installed packages, and did not handle for example the recent
php-X.Y => phpXY-X.Y overhaul.  Now pkgin will search for the best remote
package that matches the PKGBASE of a package that SUPERSEDES an installed
package.  While not perfect, this is the best we can do with the currently
available pkg_summary(5) fields.
DeltaFile
+68-30impact.c
+16-49pkg_check.c
+6-21actions.c
+4-3pkgin.h
+2-3pkgindb_queries.c
+4-1pkglist.c
+100-1071 files not shown
+100-1097 files

pkgin/pkgin cfc7214. pkg_check.c

pkg_check: Overhaul pkg_met_reqs().

No functional change, but simplify the code a lot and improve comments.
DeltaFile
+30-34pkg_check.c
+30-341 files

pkgin/pkgin 4c235a6. impact.c actions.c

Overhaul CONFLICTS and SUPERSEDES.

Instead of simply rejecting incoming CONFLICTS (or worse, allowing the user
to continue!), if an incoming package conflicts with an installed package
then the installed package is marked for deletion.  This gives a much more
natural interaction when trying to install a package, with the user able to
see what effects will be taken prior to accepting to continue.

At the same time improve SUPERSEDES.  Previously they were only considered
for already-installed packages, and did not handle for example the recent
php-X.Y => phpXY-X.Y overhaul.  Now pkgin will search for the best remote
package that matches the PKGBASE of a package that SUPERSEDES an installed
package.  While not perfect, this is the best we can do with the currently
available pkg_summary(5) fields.
DeltaFile
+68-30impact.c
+6-21actions.c
+4-3pkgin.h
+2-3pkgindb_queries.c
+4-1pkglist.c
+0-2messages.h
+84-606 files

pkgin/pkgin 81e4c2f. sqlite_callbacks.c pkg_check.c

Move record_pattern_to_array() to sqlite_callbacks.

This will shortly be used in a different part of the code.
DeltaFile
+39-0sqlite_callbacks.c
+0-39pkg_check.c
+1-0pkgin.h
+40-393 files

pkgin/pkgin c79518d. pkg_check.c

pkg_check: Remove CHECK_PROVIDES.

Has never been enabled that I'm aware of, doesn't work, and will likely
need a bunch of work to make work properly anyway.
DeltaFile
+0-97pkg_check.c
+0-971 files

pkgin/pkgin 2b8d67e. pkg_check.c

pkg_check: Simplify using action_is_install().
DeltaFile
+2-5pkg_check.c
+2-51 files