git grep is cool for an AND condition.

git grep -l -e USE_WX --and -e 3.2 | sed s,/Makefile,,

I will check list and then run bump-revision.sh on list created.

Thanks

Moin Rahman <b...@freebsd.org> escreveu no dia sábado, 7/10/2023 à(s) 12:16:

>
>
> > On Oct 7, 2023, at 1:09 PM, Nuno Teixeira <edua...@freebsd.org> wrote:
> >
> > Hello Kurt,
> >
> > On git ports root:
> >
> > grep -Rl 'x11-toolkits/wxgtk32' [a-ce-z]* d[a-hj-z]* > /tmp/list
> >
> > Gives an empty list file.
> >
> > Do I missing something?
> YES. Please search for USE_WX.
>
> > Kurt Jaeger <p...@freebsd.org> escreveu no dia sábado, 7/10/2023 à(s)
> 11:52:
> > 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
> >
> > Check the list, if no errors are in the list, then:
> >
> > Tools/scripts/bump-revision.sh `cat /tmp/list`
> >
> > --
> > p...@freebsd.org         +49 171 3101372                  Now what ?
> >
> >
> > --
> > Nuno Teixeira
> > FreeBSD Committer (ports)
>
>

-- 
Nuno Teixeira
FreeBSD Committer (ports)

Reply via email to