On 2018-04-12 19:15, Ryan Schmidt wrote: > > On Apr 12, 2018, at 11:27, Rainer Müller wrote: > >> On 2018-04-12 17:42, Ryan Schmidt wrote: >>> On Apr 12, 2018, at 03:50, Clemens Lang wrote: >>>> >>>> Can you remove the -q flag and/or retry running git fetch? That should >>>> give us >>>> an idea what went wrong here. >>> >>> No change. No additional output is produced. >> >> The problem is that ${RBASE} is fetching from ${TBASE} on the local >> filesystem, > > Ah! I didn't realize we were doing that. > >> but the former did not fetch any tags. >> >> Hopefully fixed with: >> https://github.com/macports/macports-infrastructure/commit/db64051c6dce12135eeb8114c6f77f320d5097f8 > > This doesn't appear to have helped. > > 2018-04-12T17:09:42+0000 + '[' '!' -d > /Volumes/RAID/opt/local/var/rsync/macports ']' > 2018-04-12T17:09:42+0000 + '[' -d > /Volumes/RAID/var/tmp/mprsyncup/trunk/base/.git ']' > 2018-04-12T17:09:42+0000 + /opt/local/bin/git -C > /Volumes/RAID/var/tmp/mprsyncup/trunk/base pull -q > 2018-04-12T17:09:44+0000 + /opt/local/bin/git -C > /Volumes/RAID/var/tmp/mprsyncup/trunk/base fetch --tags > 2018-04-12T17:09:44+0000 + /bin/mkdir -p > /Volumes/RAID/opt/local/var/rsync/macports/trunk/base > 2018-04-12T17:09:45+0000 + /opt/local/bin/rsync -q -aIC --delete > /Volumes/RAID/var/tmp/mprsyncup/trunk/base/ > /Volumes/RAID/opt/local/var/rsync/macports/trunk/base > 2018-04-12T17:11:46+0000 + read -r RELEASE_URL > 2018-04-12T17:11:46+0000 + '[' -z > https://github.com/macports/macports-base/tags/v2.4.3 ']' > 2018-04-12T17:11:46+0000 + RBASE_CHANGED=1 > 2018-04-12T17:11:46+0000 + '[' -d > /Volumes/RAID/var/tmp/mprsyncup/release/base/.git ']' > 2018-04-12T17:11:47+0000 + cd /Volumes/RAID/var/tmp/mprsyncup/release/base > 2018-04-12T17:11:47+0000 + /opt/local/bin/git fetch --tags > 2018-04-12T17:11:48+0000 ++ /opt/local/bin/git rev-parse HEAD > 2018-04-12T17:11:48+0000 + > RBASE_OLD_REV=68708e1c5e2a4f21afa95e733c5d34cd0f5c71de > 2018-04-12T17:11:48+0000 ++ /usr/bin/basename > https://github.com/macports/macports-base/tags/v2.4.3 > 2018-04-12T17:11:48+0000 + /opt/local/bin/git checkout -q v2.4.3 > 2018-04-12T17:11:48+0000 error: pathspec 'v2.4.3' did not match any file(s) > known to git.
Please check: Is the v2.4.3 tag in TBASE now? $ git -C /Volumes/RAID/var/tmp/mprsyncup/trunk/base tag -l | grep v2.4.3 Expected: v2.4.3 Where is TBASE configured to sync from? $ git -C /Volumes/RAID/var/tmp/mprsyncup/trunk/base config remote.origin.url Expected: https://github.com/macports/macports-base.git What is TBASE configured to sync? $ git -C /Volumes/RAID/var/tmp/mprsyncup/trunk/base config remote.origin.fetch Expected: +refs/heads/*:refs/remotes/origin/* I tried to simulate this locally by deleting the v2.4.3 tag again, but it works for me: // start clean $ rm -rf /var/tmp/macports/ # initialize repos $ ./mprsyncup // reset to the state of 2.4.2 $ git -C /var/tmp/macports/trunk/base/ tag -d v2.4.3 $ git -C /var/tmp/macports/release/base/ tag -d v2.4.3 $ git -C /var/tmp/macports/release/base/ reset --hard v2.4.2 // sync again $ ./mprsyncup ... + '[' -d /var/tmp/macports/trunk/base/.git ']' + /opt/local/bin/git -C /var/tmp/macports/trunk/base pull -q + /opt/local/bin/git -C /var/tmp/macports/trunk/base fetch --tags + /bin/mkdir -p /var/tmp/rsync/macports/trunk/base + /opt/local/bin/rsync -q -aIC --delete /var/tmp/macports/trunk/base/ /var/tmp/rsync/macports/trunk/base + read -r RELEASE_URL + '[' -z https://github.com/macports/macports-base/tags/v2.4.3 ']' + RBASE_CHANGED=1 + '[' -d /var/tmp/macports/release/base/.git ']' + cd /var/tmp/macports/release/base + /opt/local/bin/git fetch --tags >From /var/tmp/macports/trunk/base * [new tag] v2.4.3 -> v2.4.3 ++ /opt/local/bin/git rev-parse HEAD + RBASE_OLD_REV=68708e1c5e2a4f21afa95e733c5d34cd0f5c71de ++ /usr/bin/basename https://github.com/macports/macports-base/tags/v2.4.3 + /opt/local/bin/git checkout -q v2.4.3 ++ /opt/local/bin/git rev-parse HEAD + RBASE_NEW_REV=a393413460aae5ac9749b994681381087089cdb5 + '[' 68708e1c5e2a4f21afa95e733c5d34cd0f5c71de = a393413460aae5ac9749b994681381087089cdb5 ']' + /bin/mkdir -p /var/tmp/rsync/macports/release/base + /opt/local/bin/rsync -q -aIC --delete /var/tmp/macports/release/base/ /var/tmp/rsync/macports/release/base Rainer