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

buildozer 4.0.0 + simplified build process #70924

Closed
wants to merge 2 commits into from
Closed

buildozer 4.0.0 + simplified build process #70924

wants to merge 2 commits into from

Conversation

vvvvv
Copy link
Contributor

@vvvvv vvvvv commented Feb 11, 2021

Currently buildozer fails to build and blocks #70446 and #70143 from moving forward.
The reason buildozer fails is the same reason described in #70921.

This update increases the version to 4.0.0 but also simplifies the build process.
The build no longer depends on bazelisk which should simplify things in the future.

  • Have you followed the guidelines for contributing?
  • 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 <formula>)?

@BrewTestBot BrewTestBot added go Go use is a significant feature of the PR or issue no ARM bottle Formula has no ARM bottle labels Feb 11, 2021
@vvvvv vvvvv mentioned this pull request Feb 11, 2021
5 tasks
Formula/buildozer.rb Outdated Show resolved Hide resolved
Comment on lines +26 to +36
(dir/"go.mod").write <<~EOS
module github.com/bazelbuild/buildozer
go 1.15
require (
github.com/bazelbuild/buildtools v0.0.0-20210208125002-752270cf2f52
github.com/golang/protobuf v1.4.3 // indirect
google.golang.org/protobuf v1.25.0 // indirect
)
EOS

(dir/"go.sum").write <<~EOS
Copy link
Member

Choose a reason for hiding this comment

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

We do not want to maintain these in the formula, please submit them upstream.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Then please remove buildozer, buildifier and charm-tools from being tested when a new go version is released.
Go 1.15.8 is being held hostage by packages that fail because of unrelated reasons to go.

@SMillerDev
Copy link
Member

I made #71330 to disable these, they're not worth the maintenance effort of rolling our own go.mod files etc

@SMillerDev SMillerDev closed this Feb 18, 2021
@BrewTestBot BrewTestBot added the outdated PR was locked due to age label Mar 21, 2021
@Homebrew Homebrew locked as resolved and limited conversation to collaborators Mar 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
go Go use is a significant feature of the PR or issue no ARM bottle Formula has no ARM bottle outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants