Re: Port update and consumers bump

From: Mathieu Arnold <mat_at_freebsd.org>
Date: Sat, 07 Oct 2023 11:47:54 UTC
On Sat, Oct 07, 2023 at 12:51:59PM +0200, Kurt Jaeger wrote:
> Hi!
> 
> > I'm working on x11-toolkits/wxgtk32 update.
> > 
> > What's the correct method to do this wotk since it involves bumping
> > consumers?
> > Can't find it in Porter's handbook.
> > 
> > For now I did:
> > 
> > 1. Update x11-toolkits/wxgtk32 and test build
> > 2. Build consumers `portgrep -o USE_WX 3.2`
> > 3. Run test some of consumers
> > 
> > I've noticed that Tools/scripts/bump-revision.sh exists but I've never used
> > it.
> 
> To find the depending ports, cd to the ports git checkout:
> 
> grep -Rl '<cat>/<port>' [a-ce-z]* d[a-hj-z]* > /tmp/list

git grep -l would probably be faster, also, it would ignore the
distfiles directory as it is not in git. (took my a while to understand
why you were ignoring "di*" as I have not had a distfiles directory in
my ports work directory for ages.)

> 
> Check the list, if no errors are in the list, then:
> 
> Tools/scripts/bump-revision.sh `cat /tmp/list`


-- 
Mathieu Arnold