Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Oct 2023 12:42:39 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        Moin Rahman <bofh@freebsd.org>
Cc:        Kurt Jaeger <pi@freebsd.org>, FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: Port update and consumers bump
Message-ID:  <CAFDf7UJ3FqfUtCyQWcPFShz4WhOqNgD4s0h0e%2BMUaT_ftu2cGQ@mail.gmail.com>
In-Reply-To: <1212FFB4-B9D2-4303-8817-82542F94DE53@freebsd.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000051520106071edbb7
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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 <bofh@freebsd.org> escreveu no dia s=C3=A1bado, 7/10/2023 =C3=
=A0(s) 12:16:

>
>
> > 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.
>
> > 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 neve=
r
> 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
Nuno Teixeira
FreeBSD Committer (ports)

--00000000000051520106071edbb7
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>git grep is cool for an AND condition.<br></div><div>=
<br></div><div>git grep -l -e USE_WX --and -e 3.2 | sed s,/Makefile,,</div>=
<div><br></div><div>I will check list and then run bump-revision.sh on list=
 created.</div><div><br></div><div>Thanks<br></div></div><br><div class=3D"=
gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Moin Rahman &lt;<a href=
=3D"mailto:bofh@freebsd.org">bofh@freebsd.org</a>&gt; escreveu no dia s=C3=
=A1bado, 7/10/2023 =C3=A0(s) 12:16:<br></div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204=
);padding-left:1ex"><br>
<br>
&gt; On Oct 7, 2023, at 1:09 PM, Nuno Teixeira &lt;<a href=3D"mailto:eduard=
o@freebsd.org" target=3D"_blank">eduardo@freebsd.org</a>&gt; wrote:<br>
&gt; <br>
&gt; Hello Kurt,<br>
&gt; <br>
&gt; On git ports root:<br>
&gt; <br>
&gt; grep -Rl &#39;x11-toolkits/wxgtk32&#39; [a-ce-z]* d[a-hj-z]* &gt; /tmp=
/list<br>
&gt; <br>
&gt; Gives an empty list file.<br>
&gt; <br>
&gt; Do I missing something?<br>
YES. Please search for USE_WX.<br>
<br>
&gt; Kurt Jaeger &lt;<a href=3D"mailto:pi@freebsd.org" target=3D"_blank">pi=
@freebsd.org</a>&gt; escreveu no dia s=C3=A1bado, 7/10/2023 =C3=A0(s) 11:52=
:<br>
&gt; Hi!<br>
&gt; <br>
&gt; &gt; I&#39;m working on x11-toolkits/wxgtk32 update.<br>
&gt; &gt;<br>
&gt; &gt; What&#39;s the correct method to do this wotk since it involves b=
umping<br>
&gt; &gt; consumers?<br>
&gt; &gt; Can&#39;t find it in Porter&#39;s handbook.<br>
&gt; &gt;<br>
&gt; &gt; For now I did:<br>
&gt; &gt;<br>
&gt; &gt; 1. Update x11-toolkits/wxgtk32 and test build<br>
&gt; &gt; 2. Build consumers `portgrep -o USE_WX 3.2`<br>
&gt; &gt; 3. Run test some of consumers<br>
&gt; &gt;<br>
&gt; &gt; I&#39;ve noticed that Tools/scripts/bump-revision.sh exists but I=
&#39;ve never used<br>
&gt; &gt; it.<br>
&gt; <br>
&gt; To find the depending ports, cd to the ports git checkout:<br>
&gt; <br>
&gt; grep -Rl &#39;&lt;cat&gt;/&lt;port&gt;&#39; [a-ce-z]* d[a-hj-z]* &gt; =
/tmp/list<br>
&gt; <br>
&gt; Check the list, if no errors are in the list, then:<br>
&gt; <br>
&gt; Tools/scripts/bump-revision.sh `cat /tmp/list`<br>
&gt; <br>
&gt; --<br>
&gt; pi@FreeBSD.org=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0+49 171 3101372=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Now what ?<br>
&gt; <br>
&gt; <br>
&gt; --<br>
&gt; Nuno Teixeira<br>
&gt; FreeBSD Committer (ports)<br>
<br>
</blockquote></div><br clear=3D"all"><br><span class=3D"gmail_signature_pre=
fix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"l=
tr"><span style=3D"color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committ=
er (ports)</span></div></div>

--00000000000051520106071edbb7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UJ3FqfUtCyQWcPFShz4WhOqNgD4s0h0e%2BMUaT_ftu2cGQ>