Skip to content

Test Go 1.16beta1#2769

Merged
jayconrod merged 4 commits intobazel-contrib:masterfrom
jayconrod:test-116
Dec 23, 2020
Merged

Test Go 1.16beta1#2769
jayconrod merged 4 commits intobazel-contrib:masterfrom
jayconrod:test-116

Conversation

@jayconrod
Copy link
Copy Markdown
Collaborator

@jayconrod jayconrod commented Dec 23, 2020

  • Set GO111MODULE=off in go_info
  • Switched to Gazelle v0.22.3 which also includes fixes.

@google-cla google-cla bot added the cla: yes label Dec 23, 2020
@jayconrod jayconrod marked this pull request as ready for review December 23, 2020 20:33
@jayconrod jayconrod merged commit 8ee46c2 into bazel-contrib:master Dec 23, 2020
@jayconrod jayconrod deleted the test-116 branch December 23, 2020 20:35
jayconrod pushed a commit that referenced this pull request Dec 23, 2020
* Set `GO111MODULE=off` in `go_info`
* Switched to Gazelle `v0.22.3` which also includes fixes.
jayconrod pushed a commit that referenced this pull request Dec 23, 2020
* Set `GO111MODULE=off` in `go_info`
* Switched to Gazelle `v0.22.3` which also includes fixes.
yushan26 pushed a commit to yushan26/rules_go that referenced this pull request Jun 16, 2025
…b#2769)

This change fixes a bug in the `lock` rule where, when the package is at
the root level, the path to `requirements.txt` is constructed
incorrectly with a leading double slash (`//requirements.txt`), causing
it to be interpreted as an absolute path.

This change detects if the package is empty before constructing the
output path.

Work towards bazel-contrib#1975

---------

Co-authored-by: Ignas Anikevicius <240938+aignas@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant