Skip to content

Document shard_count for go_test, and fix a few broken links#1361

Merged
jayconrod merged 1 commit intobazel-contrib:masterfrom
ixdy:shard_count-docs
Mar 2, 2018
Merged

Document shard_count for go_test, and fix a few broken links#1361
jayconrod merged 1 commit intobazel-contrib:masterfrom
ixdy:shard_count-docs

Conversation

@ixdy
Copy link
Copy Markdown
Contributor

@ixdy ixdy commented Mar 1, 2018

Documents the functionality added in #1259.

Copy link
Copy Markdown
Collaborator

@jayconrod jayconrod left a comment

Choose a reason for hiding this comment

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

Thanks!

@jayconrod jayconrod merged commit dca42b1 into bazel-contrib:master Mar 2, 2018
yushan26 pushed a commit to yushan26/rules_go that referenced this pull request Jun 16, 2025
…ib#1382)

This adds a changelog in a keepachanglog.com style format.

It's initially populated with currently unreleased behavior and the last
release's (0.24.0) changes.

Work towards bazel-contrib#1361
yushan26 pushed a commit to yushan26/rules_go that referenced this pull request Jun 16, 2025
This largely covers how to introduce a breaking change.

It also attempts to clarify what is or isn't a breaking change.

Closes bazel-contrib#1424
Work towards bazel-contrib#1361
yushan26 pushed a commit to yushan26/rules_go that referenced this pull request Jun 16, 2025
This just writes down our support policies and puts them in a single
location in the hosted
docs. Summarized:

* Bazel version support is as discussed from the maintainers meeting:
upcoming,
  current, and last versions
* Reference the Bazel rule compatibility guidelines (always having an
incremental
  path to upgrade)
* Described what experimental features mean.
* Only support the latest rules_python version; older ones are best
effort.
* Only support platforms CI can run.

Work towards bazel-contrib#1361
yushan26 pushed a commit to yushan26/rules_go that referenced this pull request Jun 16, 2025
Before this PR the users could not override how the hermetic toolchain
is downloaded when in `bzlmod`. However, the same APIs would be
available to users using `WORKSPACE`. With this we also allow root
modules to restrict which toolchain versions the non-root modules, which
may be helpful when optimizing the CI runtimes so that we don't waste
time downloading multiple `micro` versions of the same `3.X` python
version, which most of the times have identical behavior.

Whilst at it, tweak the `semver` implementation to allow for testing of
absence of values in the original input.

Work towards bazel-contrib#2081 and this should be one of the last items that are
blocking bazel-contrib#1361 from the API point of view.

Replaces bazel-contrib#2151.

---------

Co-authored-by: Richard Levasseur <richardlev@gmail.com>
yushan26 pushed a commit to yushan26/rules_go that referenced this pull request Jun 16, 2025
…azel-contrib#2257)

This avoids the tag being added when it doesn't need to be, which can
look confusing to users without context about what it means.

Work towards bazel-contrib#1361
yushan26 pushed a commit to yushan26/rules_go that referenced this pull request Jun 16, 2025
This is documenting the current state and closing the last remaining
TODO items for 1.0 release.

Work towards bazel-contrib#1361.

---------

Co-authored-by: Greg Roodt <groodt@gmail.com>
Co-authored-by: Richard Levasseur <richardlev@gmail.com>
yushan26 pushed a commit to yushan26/rules_go that referenced this pull request Jun 16, 2025
…ontrib#2389)

With this PR we are changing the defaults in the upcoming `0.39`
version, and
if all goes well, the release after that will be `1.0`.

Work towards bazel-contrib#1361
yushan26 pushed a commit to yushan26/rules_go that referenced this pull request Jun 16, 2025
…azel-contrib#2406)

Before this PR we would shell out to `uname` on UNIX systems to get the
`arch`
of the toolchain - on Windows we would not need to do it because there
used to
be only a single Windows platform. With this change we can correctly
support
the resolution of the python interpreter on various platforms and I have
also
added an env variable to customize the selection, so that users can use
`musl`
or a `freethreaded` interpreter if they wish.

As part of this change, I have restricted visibility of the config
settings
used in the toolchain alias repo so that we are creating fewer targets.
This is
a very good time to do this before `1.0.0`.

Fixes bazel-contrib#2145
Work towards bazel-contrib#2276
Work towards bazel-contrib#2386
Work towards bazel-contrib#1211 to unblock bazel-contrib#2402
Work towards bazel-contrib#1361

---------

Co-authored-by: Richard Levasseur <richardlev@gmail.com>
yushan26 pushed a commit to yushan26/rules_go that referenced this pull request Jun 16, 2025
Alternatives have existed for a long time and we just ensure that
we remove before the 1.0 release.

Summary:
- remove pip_install_dependencies
- remove DEFAULT_PYTHON_VERSION from interpreters.bzl

Work towards bazel-contrib#1361
yushan26 pushed a commit to yushan26/rules_go that referenced this pull request Jun 16, 2025
…el-contrib#2407)

Remove the deprecated symbol and use the default `pip` extension in
`rules_python` to pull `twine` as part of the dependencies.

Work towards bazel-contrib#1361
Fixes bazel-contrib#2268 for all the users by default
yushan26 pushed a commit to yushan26/rules_go that referenced this pull request Jun 16, 2025
Fixes bazel-contrib#1361
Closes bazel-contrib#2459 as won't do

---------

Co-authored-by: Richard Levasseur <richardlev@gmail.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.

3 participants