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

refactor: use http_archive for the stdlib list #2037

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

sitaktif
Copy link
Contributor

@sitaktif sitaktif commented Jul 4, 2024

The http_file repo rules relied on Github-specific per-file HTTP API. Change this to use an http_archive repo rule, which refers to a simple URL containing the source tarball for stdlib-list.

The release version of pypi/stdlib-list this is now pointing to is v0.10.0. This tag is slightly older than the original commit it was pointing to (8cbc2067a4a0f9eee57fb541e4cd7727724b7db4) but, as discussed in pypi/stdlib-list#122, the only differences are build or doc related, there are no differences in the sources (see the diff).

(Creating an associated issue didn't feel particularly useful but happy to do it if it's a mandatory part of the process!)

The `http_file` repo rules relied on Github-specific per-file HTTP API.
Change this to use an `http_archive` repo rule, which refers to a simple
URL containing the source tarball for stdlib-list.
@sitaktif sitaktif marked this pull request as ready for review July 4, 2024 10:48
@sitaktif sitaktif requested a review from f0rmiga as a code owner July 4, 2024 10:48
Copy link
Collaborator

@aignas aignas left a comment

Choose a reason for hiding this comment

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

LGTM, thanks a lot for the contribution!

@aignas aignas changed the title build: use http_archive for the stdlib list refactor: use http_archive for the stdlib list Jul 8, 2024
@aignas aignas added this pull request to the merge queue Jul 8, 2024
Merged via the queue into bazelbuild:main with commit d710539 Jul 8, 2024
3 checks passed
@sitaktif
Copy link
Contributor Author

sitaktif commented Jul 9, 2024

Thanks!

@sitaktif sitaktif deleted the http-archive-for-stdlib-list branch July 9, 2024 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants