From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0EBE3C32771 for ; Mon, 26 Sep 2022 19:50:19 +0000 (UTC) Subject: Re: PR to fix WantedBy parsing of systemctl To: openembedded-core@lists.openembedded.org From: "Robert Henz" X-Originating-Location: Versailles, Kentucky, US (217.180.201.84) X-Originating-Platform: Linux Firefox 104 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Mon, 26 Sep 2022 12:50:09 -0700 References: In-Reply-To: Message-ID: <27206.1664221809231976757@lists.openembedded.org> Content-Type: multipart/alternative; boundary="OZ1VWA7X6mZ8i7hLlbIY" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 26 Sep 2022 19:50:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/171073 --OZ1VWA7X6mZ8i7hLlbIY Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I think I'm missing some context. Not really understanding what this script= is trying to accomplish I don't know what "remote branch" is vs "local bra= nch". Should "remote branch" be "master" and the local branch be the branch= with the change I want to make? Here's that script running with "set -x" t= urned on 1/2 way through... bobhenz@hound:~/src/openembedded-core$ scripts/create-pull-request -u badge= r + USER_RE=3D[A-Za-z0-9_.@][A-Za-z0-9_.@-]*$\? + PROTO_RE=3D[a-z][a-z+]*:// + GIT_RE=3D\(^\([a-z][a-z+]*://\)\?\)\([A-Za-z0-9_.@][A-Za-z0-9_.@-]*$\?@\)= \?\([^:/]*\)[:/]\(.*\) + REMOTE_URL=3Dhttps://github.com/BadgerTechnologies/openembedded-core + echo https://github.com/BadgerTechnologies/openembedded-core + sed s#\(^\([a-z][a-z+]*://\)\?\)\([A-Za-z0-9_.@][A-Za-z0-9_.@-]*$\?@\)\?\= ([^:/]*\)[:/]\(.*\)#\5# + REMOTE_REPO=3DBadgerTechnologies/openembedded-core + echo https://github.com/BadgerTechnologies/openembedded-core + sed s#\(^\([a-z][a-z+]*://\)\?\)\([A-Za-z0-9_.@][A-Za-z0-9_.@-]*$\?@\)\?\= ([^:/]*\)[:/]\(.*\)#git://\4/\5# + REMOTE_URL=3Dgit://github.com/BadgerTechnologies/openembedded-core + [ -z=C2=A0 ] + git branch + grep -e ^\* + cut -d=C2=A0 -f2 + BRANCH=3Dfix-wantedby-clearing + echo NOTE: Assuming remote branch 'fix-wantedby-clearing', use -b to over= ride. NOTE: Assuming remote branch 'fix-wantedby-clearing', use -b to override. + [ -z=C2=A0 ] + L_BRANCH=3DHEAD + echo NOTE: Assuming local branch HEAD, use -l to override. NOTE: Assuming local branch HEAD, use -l to override. + [ 0 -eq 1 ] + WEB_URL=3D + WEB_URL=3Dhttps://github.com/BadgerTechnologies/openembedded-core/tree/fi= x-wantedby-clearing + [ -n https://github.com/BadgerTechnologies/openembedded-core/tree/fix-wan= tedby-clearing ] + [=C2=A0 =3D 1 ] + wget --no-check-certificate -q https://github.com/BadgerTechnologies/open= embedded-core/tree/fix-wantedby-clearing -O /dev/null + [ 0 -ne 0 ] + [ -e pull-186156 ] + mkdir pull-186156 + [ -n=C2=A0 ] + git format-patch -M40 --subject-prefix=3DPATCH -n -o pull-186156 --thread= =3Dshallow --cover-letter master..HEAD + ls -A pull-186156 + [ -z 0000-cover-letter.patch 0001-Fix-WantedBy-processing.patch ] + [ -n=C2=A0 ] + echo pull-186156/0000-cover-letter.patch + CL=3Dpull-186156/0000-cover-letter.patch + PM=3Dpull-186156/pull-msg + + trgit -d --version [:alpha:][:space:]. + sed s/\(...\).*/\1/ + git version 2.25.1 + GIT_VERSION=3D225 + NEWER_GIT_VERSION=3D210 + [ 225 -lt 210 ] + git request-pull master git://github.com/BadgerTechnologies/openembedded-= core HEAD:fix-wantedby-clearing fatal: unable to connect to github.com: github.com[0: 140.82.113.3]: errno=3DConnection timed out warn: No match for commit b637a46f58b5adc7dcc76bdef90a7be8c8462df8 found at= git://github.com/BadgerTechnologies/openembedded-core warn: Are you sure you pushed 'fix-wantedby-clearing' there? + [ 1 -ne 0 ] + echo ERROR: git request-pull reported an error ERROR: git request-pull reported an error + rm -rf pull-186156 + exit 1 --OZ1VWA7X6mZ8i7hLlbIY Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable I think I'm missing some context. Not really understanding what this script= is trying to accomplish I don't know what "remote branch" is vs "local bra= nch". Should "remote branch" be "master" and the local branch be the branch= with the change I want to make? Here's that script running with "set -x" t= urned on 1/2 way through...

bobhenz@hound:~/src/openembedded-cor= e$ scripts/create-pull-request -u badger
+ USER_RE=3D[A-Za-z0-9_.@][A-= Za-z0-9_.@-]*$\?
+ PROTO_RE=3D[a-z][a-z+]*://
+ GIT_RE=3D\(^\([a-= z][a-z+]*://\)\?\)\([A-Za-z0-9_.@][A-Za-z0-9_.@-]*$\?@\)\?\([^:/]*\)[:/]\(.= *\)
+ REMOTE_URL=3Dhttps://github.com/BadgerTechnologies/openembedded-= core
+ echo https://github.com/BadgerTechnologies/openembedded-core+ sed s#\(^\([a-z][a-z+]*://\)\?\)\([A-Za-z0-9_.@][A-Za-z0-9_.@-]*$\?@\)= \?\([^:/]*\)[:/]\(.*\)#\5#
+ REMOTE_REPO=3DBadgerTechnologies/openembe= dded-core
+ echo https://github.com/BadgerTechnologies/openembedded-co= re
+ sed s#\(^\([a-z][a-z+]*://\)\?\)\([A-Za-z0-9_.@][A-Za-z0-9_.@-]*$= \?@\)\?\([^:/]*\)[:/]\(.*\)#git://\4/\5#
+ REMOTE_URL=3Dgit://github.c= om/BadgerTechnologies/openembedded-core
+ [ -z  ]
+ git bran= ch
+ grep -e ^\*
+ cut -d  -f2
+ BRANCH=3Dfix-wantedby= -clearing
+ echo NOTE: Assuming remote branch 'fix-wantedby-clearing',= use -b to override.
NOTE: Assuming remote branch 'fix-wantedby-cleari= ng', use -b to override.
+ [ -z  ]
+ L_BRANCH=3DHEAD
+ = echo NOTE: Assuming local branch HEAD, use -l to override.
NOTE: Assum= ing local branch HEAD, use -l to override.
+ [ 0 -eq 1 ]
+ WEB_UR= L=3D
+ WEB_URL=3Dhttps://github.com/BadgerTechnologies/openembedded-co= re/tree/fix-wantedby-clearing
+ [ -n https://github.com/BadgerTechnolo= gies/openembedded-core/tree/fix-wantedby-clearing ]
+ [  =3D 1 ]<= br />+ wget --no-check-certificate -q https://github.com/BadgerTechnologies= /openembedded-core/tree/fix-wantedby-clearing -O /dev/null
+ [ 0 -ne 0= ]
+ [ -e pull-186156 ]
+ mkdir pull-186156
+ [ -n  ]+ git format-patch -M40 --subject-prefix=3DPATCH -n -o pull-186156 --th= read=3Dshallow --cover-letter master..HEAD
+ ls -A pull-186156
+ = [ -z 0000-cover-letter.patch
0001-Fix-WantedBy-processing.patch ]
+ [ -n  ]
+ echo pull-186156/0000-cover-letter.patch
+ CL= =3Dpull-186156/0000-cover-letter.patch
+ PM=3Dpull-186156/pull-msg
+ + trgit -d --version
 [:alpha:][:space:].
+ sed s/\(...\= ).*/\1/
+ git version 2.25.1
+ GIT_VERSION=3D225
+ NEWER_GIT= _VERSION=3D210
+ [ 225 -lt 210 ]
+ git request-pull master git://= github.com/BadgerTechnologies/openembedded-core HEAD:fix-wantedby-clearing<= br />fatal: unable to connect to github.com:
github.com[0: 140.82.113.= 3]: errno=3DConnection timed out

warn: No match for commit b637a= 46f58b5adc7dcc76bdef90a7be8c8462df8 found at git://github.com/BadgerTechnol= ogies/openembedded-core
warn: Are you sure you pushed 'fix-wantedby-cl= earing' there?
+ [ 1 -ne 0 ]
+ echo ERROR: git request-pull repor= ted an error
ERROR: git request-pull reported an error
+ rm -rf p= ull-186156
+ exit 1 --OZ1VWA7X6mZ8i7hLlbIY--