Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modd: deprecate #84056

Closed
wants to merge 1 commit into from
Closed

modd: deprecate #84056

wants to merge 1 commit into from

Conversation

branchvincent
Copy link
Member

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

To use go 1.17 for #83413, x/sys needs to be upgraded (see cortesi/modd#103). However, the patch isn't directly usable as the latest release isn't using modules and we've had no response from cortesi/modd#96.

I first tried applying cortesi/devd@4ab3fc9, but that fails due to a symlink:

patch: **** File vendor/github.com/bmatcuk/doublestar/test/b/symlink-dir is not a regular file -- can't patch

any other alternatives here?

@BrewTestBot BrewTestBot added the go Go use is a significant feature of the PR or issue label Aug 26, 2021
@branchvincent branchvincent changed the title modd: depend on go@1.15 modd: support on go 1.17 Aug 26, 2021
This was referenced Aug 26, 2021
Formula/modd.rb Outdated
def install
ENV["GOPATH"] = buildpath
ENV["GO111MODULE"] = "auto"
(buildpath/"src/github.com/cortesi/modd").install buildpath.children
cd "src/github.com/cortesi/modd" do
system "go", "build", *std_go_args, "./cmd/modd"
system "dep", "ensure", "-vendor-only"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we want to go back to dep, I'd rather deprecate the formula and let it use an older go version until it's eventually removed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works for me, it's disappointing because master still sees commits just no tagged release in 2+ years. maybe that's common in the go community

@BrewTestBot BrewTestBot added the formula deprecated Formula deprecated label Aug 28, 2021
@branchvincent branchvincent changed the title modd: support on go 1.17 modd: deprecate Aug 28, 2021
@BrewTestBot
Copy link
Member

🤖 A scheduled task has triggered a merge.

@branchvincent branchvincent deleted the modd branch August 28, 2021 16:22
@github-actions github-actions bot added the outdated PR was locked due to age label Sep 28, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
formula deprecated Formula deprecated go Go use is a significant feature of the PR or issue outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants