Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Oct 2023 13:49:02 +0200
From:      Moin Rahman <bofh@freebsd.org>
To:        Nuno Teixeira <eduardo@freebsd.org>
Cc:        Kurt Jaeger <pi@freebsd.org>, FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: Port update and consumers bump
Message-ID:  <ED261321-0966-498D-8B83-DF33295CD9DC@freebsd.org>
In-Reply-To: <CAFDf7UJ3FqfUtCyQWcPFShz4WhOqNgD4s0h0e%2BMUaT_ftu2cGQ@mail.gmail.com>
References:  <CAFDf7UJYt2TRfX3xqdzouPWi_mYhk6iSoosaN40D9Kh-JbBFSw@mail.gmail.com> <ZSE4T-J5EhunLJnd@fc.opsec.eu> <CAFDf7UKE4kQN_oib%2BnSsuOMA=TY8EHE37C%2Bha8pDrxrMvRYFTg@mail.gmail.com> <1212FFB4-B9D2-4303-8817-82542F94DE53@freebsd.org> <CAFDf7UJ3FqfUtCyQWcPFShz4WhOqNgD4s0h0e%2BMUaT_ftu2cGQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_3A755062-673E-48A0-95FE-84F776ACBE29
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8



> On Oct 7, 2023, at 1:42 PM, Nuno Teixeira <eduardo@freebsd.org> wrote:
>=20
> git grep is cool for an AND condition.
>=20
> git grep -l -e USE_WX --and -e 3.2 | sed s,/Makefile,,
This 3.2 search might be counterproductive as we have an option "3.0+" =
which also indicates 3.2 as a valid value.

My workflow is a bit different. I normally use rg/ripgrep.
For this case I would have done:
rg USE_WX --max-depth 3 -tmake --no-heading > /tmp/wx_list
will go through the list of file in an editor and make the final list =
for bumping.

> I will check list and then run bump-revision.sh on list created.
>=20
> Thanks
>=20
> Moin Rahman <bofh@freebsd.org> escreveu no dia s=C3=A1bado, 7/10/2023 =
=C3=A0(s) 12:16:
>=20
>=20
> > On Oct 7, 2023, at 1:09 PM, Nuno Teixeira <eduardo@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.
>=20
> > Kurt Jaeger <pi@freebsd.org> escreveu no dia s=C3=A1bado, 7/10/2023 =
=C3=A0(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`
> >
> > --
> > pi@FreeBSD.org         +49 171 3101372                  Now what ?
> >
> >
> > --
> > Nuno Teixeira
> > FreeBSD Committer (ports)
>=20
>=20
>=20
> --
> Nuno Teixeira
> FreeBSD Committer (ports)


--Apple-Mail=_3A755062-673E-48A0-95FE-84F776ACBE29
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmUhRa5fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE
Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA
vJEbUg/+PrGgo+bL9poa9lqXCYGOLEKASFm5MvAQweIEyw+vzT/K+VdD2vL10UT+
kKe8pY0nlckvvCkMYQ10u/ftXxrkcCixyAlvEYwqCkIUGMsdpWIPfKLCatlCriFj
3Lm5LYOiZFGnrkgiWNXsu+eKhZwKrE7w2RKMP0FAUZWof96wW5BS8kTw/o+j1TTO
8jzn+d2OHiqHcQtYW1+oRJHR/wfVUVTpgLzBOfFCxbegAGCkEgj95DvYCBlqAikC
6vOnzTPoefeO+MKa/KWEMfofljyoI0tvOsWORR2rdKuWa2DvnACH8EnRAJqaywTC
2i8AxUyiJGia8kE9ux8olIw44ybyvQA3T6qVRgII4ojuwbMxHauSSZ637uD7bQK6
LRadVCK3YnQIsskObAdGYFgDLKgHSVs1Vs7KcOu9gBs+7vlDr9Fav5zmSSBoqj3K
gMErKh/oLVhkvzaS80LcejOjtBd/vCZvoBN340svH06xer0RcE73kQMb7We5pg+T
e+T8RmdnzCIncY9D6HUkwQS309sfEQDU3JBiZiWh8FpY2YwBTsJkd8Gt1JoSJnSk
a+v0FufkqL5FBaqAW33ajOc9Zgi1+Gaurd37Pi3eMU1aREoLFro78fxWaTUIgbC2
3YWhZIWnDpKwrNh2liDzI66VsA9Qnjp98+WzSFEsCm0DB92OFfA=
=f0J7
-----END PGP SIGNATURE-----

--Apple-Mail=_3A755062-673E-48A0-95FE-84F776ACBE29--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ED261321-0966-498D-8B83-DF33295CD9DC>