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

Bazel: choose tags or commit, when parsing dependencies.yaml #654

Conversation

golovasteek
Copy link
Contributor

@golovasteek golovasteek commented Apr 28, 2024

Describe your changes

Now bazel dep_tool, Is able to decide if the commit or tag is used as a reference and generate the *.bzl files accordingly.
There is a limitation: commit should we always be a full 40-character string, otherwise it's treated as a tag.

Issue ticket number and link

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • I read the contribution documentation and made sure that my changes meet its requirements

@golovasteek golovasteek force-pushed the bazel/make_choose_tags_or_commit_automatically branch from 6a05978 to 9b7e856 Compare April 28, 2024 06:39
….yaml

Now bazel dep_tool, Is able to decide if the commit or tag is used as a reference and generate the
*.bzl files accordingly.
There is a limitiation: commit should we always be a full 40-character string, otherwise it's treated as a tag.

Signed-off-by: Evgeny Petrov <evgeny@epetrov.net>
@golovasteek golovasteek force-pushed the bazel/make_choose_tags_or_commit_automatically branch from 9b7e856 to 3f16961 Compare April 28, 2024 06:41
@golovasteek
Copy link
Contributor Author

This should prevent issues like this one: #652 (comment)

Copy link
Contributor

@SirVer SirVer left a comment

Choose a reason for hiding this comment

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

good solution I think.

@hikinggrass
Copy link
Contributor

Looks like your last commit addressing the comment in dependencies.yaml is missing the DCO sign-off, once that's sorted this can be merged

Signed-off-by: Evgeny Petrov <evgeny@epetrov.net>
@golovasteek golovasteek force-pushed the bazel/make_choose_tags_or_commit_automatically branch from 30f6d52 to 2350601 Compare May 8, 2024 07:58
@hikinggrass hikinggrass merged commit 4fee565 into EVerest:main May 8, 2024
5 checks passed
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.

None yet

4 participants