[Bug 284878] sysutils/topgrade: Update to 16.0.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 18 Feb 2025 14:56:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284878

            Bug ID: 284878
           Summary: sysutils/topgrade: Update to 16.0.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsd@scd-systems.net

Created attachment 257619
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=257619&action=edit
patch.diff

Hi,

Please commit the patch.diff to update topgrade to 16.0.2

Thanks in advance.

BTW:

Here are my code snippets for automated port-upgrade-make-diff.
Maybe you can automate this recurring task:

---
#!/bin/sh

new_version="16.0.2"
port_revision="0"

cd /usr/ports
git fetch --prune
git merge
cd sysutils/topgrade
git checkout main
git branch -D upgrade/topgrade-${new_version}
git checkout -b upgrade/topgrade-${new_version}

sed -i.bak -e "s#^DISTVERSION=\(.*\)#DISTVERSION=    ${new_version}#g" Makefile
sed -i.bak -e "s#^PORTREVISION=\(.*\)#PORTREVISION=    ${port_revision}#g"
Makefile

export BATCH=1
echo "Make: clean"
make clean
echo "Make: install-missing-packages"
make install-missing-packages
echo "Make: makesum"
make makesum
echo "Make: cargo-crates"
make cargo-crates > Makefile.crates
echo "Make: makesum"
make makesum
echo "Make: cargo-crates-licenses"
make cargo-crates-licenses
echo "Make: clean"
make clean
echo "Make: reinstall"
make reinstall

git commit -a -m "upgrade"
git diff main upgrade/topgrade-${new_version} > patch.diff
---


Best,
C.

-- 
You are receiving this mail because:
You are the assignee for the bug.