From nobody Sun Oct 06 15:18:15 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XM5X50wBrz5YBpb for ; Sun, 06 Oct 2024 15:18:29 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XM5X441RNz4Cw8 for ; Sun, 6 Oct 2024 15:18:28 +0000 (UTC) (envelope-from adamw@adamw.org) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-6e25f3748e0so35280297b3.0 for ; Sun, 06 Oct 2024 08:18:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamw-org.20230601.gappssmtp.com; s=20230601; t=1728227907; x=1728832707; darn=freebsd.org; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=3ABt7aqTZ7L72qeQV53rUKBw3RvtTdldGWbJUHPJSlE=; b=ZUqK88rXha8IUtW7jK1Uu9AUJofXD/MQnPLWgp55krI/KPTYvZXoqdLESNhnn+j4Hb 7SsHeOXC/l7ldnWkNtsGAt0x53pk56wtjp6CTgDAvZiyatPvsK0NzwmzXFKWnBI4wKTK 9T6ecNb+dPkWV3/sIYAhsmvORRb3eV7uMsvpN/BpmuRl49kJoP7rmqq8MGmNazEVh+8N N14vRl3JIU5ot1KQlHFhpq8osUHmbuAZ0Llq1A1yyomP5ajQlHh87XTW68Srjyowyy7g jd09VR/RiD9a+Aj9+Unzlp9afAkVzvF7jXW5+p+3eeNefdTlAFkWmIwo6eU16u6ngTOI OGXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728227907; x=1728832707; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3ABt7aqTZ7L72qeQV53rUKBw3RvtTdldGWbJUHPJSlE=; b=OiwLnbVQDL9G/pMohOlYlr5zqx7XYbXPv0tqgOO3vIndcrlt840KB0fzCmXqzk0U2Q /PLt6Gl8RQ2IqNkjA0nOGlKEPetIqQb9wUxRwrrPeUjFjK8rIWPB4ZmCzYJC3jLSqS11 9bydB1HoqkpF7sC4zrfTqhGShVcLh6XGz3L4KPjkqC64ZEJU30DDmDeZ1cimEChtqJ4o l+7RgB4b1l/9DbT6+rF5P3n1xuNUxd8HBXJjacTSvp2V0ZvgXhXy2Ziz46OAQetsl/fH x71RQhPT2F4bJhKhnTM9nqwp7h/CjEPaOyQOdrD3/96yi5PpigMxcfTWmPDSRAmiOf0K KwUA== X-Forwarded-Encrypted: i=1; AJvYcCV0pbM6O6U5fzPewVQiuhDSWH5eh2sffO8pF6OeWswinstDZrv/a5nXhWh4J/XxWmUdkRzHKW8HYRQUBVPp1x40dfEGT9PC@freebsd.org X-Gm-Message-State: AOJu0YwhDQfTWWqPXAvCi3UfJfxYvg8rrlFJchhSjWLefDPQ/WSYfn/K Un/Wydkshlc9V4UPNnIn2lSX7KOjdk7mUzWy4VvdqlwF9qFPDvIgQyG6pii94vM= X-Google-Smtp-Source: AGHT+IFabsIKawLvC5sZ0WPPqAL4j/0DYrNUAHXsgTGdGkJEthwd6oz5ehE3mxCnr4o2OPQdl/7H/w== X-Received: by 2002:a05:690c:ec1:b0:686:1240:621a with SMTP id 00721157ae682-6e2c728a26emr73792567b3.31.1728227907433; Sun, 06 Oct 2024 08:18:27 -0700 (PDT) Received: from smtpclient.apple (syn-097-095-035-145.res.spectrum.com. [97.95.35.145]) by smtp.gmail.com with ESMTPSA id 00721157ae682-6e2d926b466sm6913617b3.15.2024.10.06.08.18.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 06 Oct 2024 08:18:26 -0700 (PDT) Content-Type: multipart/alternative; boundary=Apple-Mail-2DA2A383-DB50-43BF-96BB-D8FE898367DC Content-Transfer-Encoding: 7bit From: Adam Weinberger List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org Mime-Version: 1.0 (1.0) Subject: Re: git: 116fd79ff844 - main - lang/go123: Update to 1.23.2 Date: Sun, 6 Oct 2024 11:18:15 -0400 Message-Id: References: Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org In-Reply-To: To: Ashish SHUKLA X-Mailer: iPad Mail (22A3354) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4XM5X441RNz4Cw8 X-Spamd-Bar: ---- --Apple-Mail-2DA2A383-DB50-43BF-96BB-D8FE898367DC Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > On Oct 5, 2024, at 18:17, Ashish SHUKLA wrote: >=20 > =EF=BB=BFOn Sun Oct 7, 2024 at 12:04 AM CEST, Adam Weinberger wrote: >> I=E2=80=99d really like to, but TBH I can=E2=80=99t figure out the right i= ncantation to match the correct ports. If anybody can tell me how to do it c= orrectly, I=E2=80=99d much appreciate it. >=20 > While being at the root of my ports clone, and /usr/ports updated (along w= ith > latest INDEX present), I would use following to bump, and add the > changes to git index: >=20 > # switch to a different branch (to prevent accidents on main branch) > =E2=9D=AF git checkout -b bump/go >=20 > # bump ports > =E2=9D=AF grep -F go123-1.23.1 /usr/ports/INDEX-14 |awk '-F|' '{ print $2;= }' | sed -e 's,/usr/ports/,,' -e '/lang\/go123/d' |sort |uniq |xargs -r -n 1= -Ix sh -c 'portedit bump-revision -i x && git add x/Makefile' >=20 > # review the changes > =E2=9D=AF git diff --cached >=20 > # commit the changes > =E2=9D=AF git commit ... >=20 > # merge the bump/go commit made above to the main branch > =E2=9D=AF git checkout main > =E2=9D=AF git cherry-pick bump/go >=20 > # purge bump/go branch, and push > =E2=9D=AF git branch -D bump/go > =E2=9D=AF git push origin main >=20 >>=20 >>=20 >> =E2=80=94 >> Adam Weinberger >> adamw@adamw.org >> https://www.adamw.org >>=20 >> > On Oct 5, 2024, at 17:58, Ashish SHUKLA wrote: >> > > =EF=BB=BFOn Sat Oct 5, 2024 at 6:16 PM CEST, Adam Weinberger wrote: >> >> The branch main has been updated by adamw: >> >> >> URL: https://cgit.FreeBSD.org/ports/commit/?id=3D116fd79ff844c2432f= 59f1fe970c6954382af827 >> >> >> commit 116fd79ff844c2432f59f1fe970c6954382af827 >> >> Author: Adam Weinberger >> >> AuthorDate: 2024-10-05 16:16:03 +0000 >> >> Commit: Adam Weinberger >> >> CommitDate: 2024-10-05 16:16:03 +0000 >> >> >> lang/go123: Update to 1.23.2 >> > > Are you also planning to bump PORTREVISION of dependent ports ? >> > > Thanks! >> > -- >> > Ashish SHUKLA >> > >=20 > -- > Ashish SHUKLA > Thanks for this! I=E2=80=99ve never used portfmt before, and I was trying to= accomplish it with Tools/scripts/bumprevision. The dependent ports are now b= umped. Thanks again! # Adam =E2=80=94 Adam Weinberger adamw@adamw.org https://www.adamw.org --Apple-Mail-2DA2A383-DB50-43BF-96BB-D8FE898367DC Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
= On Oct 5, 2024, at 18:17, Ashish SHUKLA <ashish@freebsd.org> wrote:
=EF=BB=BF= On Sun Oct 7, 2024 at 12:04 AM CEST, Adam Weinberger wrote:
=
I=E2=80=99d really like to, but TBH I can=E2= =80=99t figure out the right incantation to match the correct ports. If anyb= ody can tell me how to do it correctly, I=E2=80=99d much appreciate it.

While being at the root of my port= s clone, and /usr/ports updated (along with
latest INDEX pre= sent), I would use following to bump, and add the
changes to= git index:

# switch to a different branch (= to prevent accidents on main branch)
=E2=9D=AF git checkout -= b bump/go

# bump ports
=E2=9D= =AF grep -F go123-1.23.1 /usr/ports/INDEX-14 |awk '-F|' '{ print $2; }' | se= d -e 's,/usr/ports/,,' -e '/lang\/go123/d' |sort |uniq |xargs -r -n 1 -Ix sh= -c 'portedit bump-revision -i x && git add x/Makefile'

# review the changes
=E2=9D=AF git diff= --cached

# commit the changes
=E2=9D=AF git commit ...

# merge the bu= mp/go commit made above to the main branch
=E2=9D=AF git che= ckout main
=E2=9D=AF git cherry-pick bump/go

# purge bump/go branch, and push
=E2=9D=AF= git branch -D bump/go
=E2=9D=AF git push origin main=



=E2=80=94
Adam Weinberger
ada= mw@adamw.org
https://= www.adamw.org
=
> On Oct 5, 2024, at 17:= 58, Ashish SHUKLA <ashish@freebsd.org> wrote:
<= blockquote type=3D"cite">> > =EF=BB=BFOn Sat Oct 5, 2024 at 6:16= PM CEST, Adam Weinberger wrote:
>> The branch main has been updated by adamw:
>> >> URL: https://cg= it.FreeBSD.org/ports/commit/?id=3D116fd79ff844c2432f59f1fe970c6954382af827
>> >> comm= it 116fd79ff844c2432f59f1fe970c6954382af827
>> Author:     Adam Weinber= ger <adamw@FreeBSD.org>
>> AuthorDate: 2024-10-05 16:16:03 +0000
>> Commit:     = Adam Weinberger <adamw@FreeBSD.org>
>> CommitDate: 2024-10-05 16:16:03 +0000
>> >>   = ; lang/go123: Update to 1.23.2
> > Are you also planning to bump PORTREVISION of depende= nt ports ?
> > T= hanks!
> --=
> Ashish SHUKLA
> <signature.asc>

--
Ashish SHUKLA=
<signature.asc>

Thank= s for this! I=E2=80=99ve never used portfmt before, and I was trying to acco= mplish it with Tools/scripts/bumprevision. The dependent ports are now bumpe= d. Thanks again!

# Adam


=E2=80=94
Adam Weinberger
adamw@adamw.org<= /div>
https://www.adamw.org

= --Apple-Mail-2DA2A383-DB50-43BF-96BB-D8FE898367DC--