go ports: fetch renamed vendors from their current repo - #34580
Open
jrjsmrtn wants to merge 1 commit into
Open
Conversation
|
Notifying maintainers: |
Member
|
How is it that distfiles.macports.org serves the new tarball? Also, |
jrjsmrtn
force-pushed
the
fix-smartystreets-assertions
branch
from
September 9, 2026 17:28
e062587 to
7a36674
Compare
Six vendored projects moved to a new GitHub owner. GitHub embeds the repository name in the top-level directory of the tarball it generates, so the bytes changed while the commit did not. Updating the checksums alone is not enough, and for some entries is wrong: distfiles.macports.org still holds the pre-rename tarball under some of these names and the post-rename one under others, so a recorded value can match the mirror or upstream but not both. Naming the current repo gives the distfile a name no stale copy answers to. Each extracted tarball was compared against a checkout of its pinned ref; all are identical, so only the packaging changed. Closes: https://trac.macports.org/ticket/73098
jrjsmrtn
force-pushed
the
fix-smartystreets-assertions
branch
from
September 9, 2026 18:19
7a36674 to
fb80f39
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Six vendored projects moved to a new GitHub owner:
smartystreets/assertions→smarty,imdario/mergo→darccio,jtolds/gls→jtolio,hajimehoshi/oto→ebitengine,zyedidia/micro→micro-editor,go-survey/survey→AlecAivazis.GitHub embeds the repository name in the tarball's top-level directory, so the bytes
changed while the commit did not.
Updating the checksums alone is wrong for some of these:
distfiles.macports.orgstill serves the pre-rename tarball for
imdario-mergo-*andjtolds-gls-*but thepost-rename one for
smartystreets-assertions-*, so a recorded value can match themirror or upstream but not both. That is why these fail only when the mirror is
missed. Naming the current repo gives the distfile a name no stale copy answers to.
Found by resolving all 1040 GitHub repos vendored by go ports through the API. Ports
whose vendors are also stale but which fail to build for unrelated reasons are left
out:
mos,mos-devel,leaf,gomodctlandkubevalpin agolang.org/x/systhat no longer compiles, and
pleasefails ingopsutil's cgo.Type(s)
Tested on
macOS 26.6.2 25G83 arm64
Xcode 26.6 17F113
Verification
Have you
port lint?sudo port -vs install?sudo port destrootpasses for all seven afterport clean --dist, which is the coldstate CI fetches in. Each extracted tarball was diffed against a checkout of its
pinned ref and is identical, so only the packaging changed. Three remaining
port lintwarnings are pre-existing and identical on master. Trace mode is unavailable onthis arm64 machine, so
-vsrather than-vst. Patch written with AI assistance; Ican explain and defend every line.