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

feat: add list utils #512

Merged
merged 3 commits into from
Sep 21, 2023
Merged

feat: add list utils #512

merged 3 commits into from
Sep 21, 2023

Conversation

mgred
Copy link
Contributor

@mgred mgred commented Sep 5, 2023

This adds functions to work with lists from bzlparty/lib_common as discussed in #495.

I removed the occurs functions, this is not needed because of the in-operator.

Please let me know if I should add more tests/documentation.

Type of change

  • New feature or functionality (change which adds functionality)

For changes visible to end-users

  • Relevant documentation has been updated

Test plan

  • New test cases added

Copy link
Collaborator

@alexeagle alexeagle left a comment

Choose a reason for hiding this comment

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

LGTM, will let @kormide look too

lib/private/lists.bzl Outdated Show resolved Hide resolved
lib/private/lists.bzl Outdated Show resolved Hide resolved
lib/private/lists.bzl Outdated Show resolved Hide resolved
lib/private/lists.bzl Outdated Show resolved Hide resolved
@mgred
Copy link
Contributor Author

mgred commented Sep 19, 2023

@alexeagle thanks for taking the time to make some extra work

@kormide thanks for your review I really like your suggestions and will adopt them ❤️

@mgred mgred requested a review from kormide September 20, 2023 00:19
Copy link
Collaborator

@kormide kormide left a comment

Choose a reason for hiding this comment

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

LGTM

@kormide
Copy link
Collaborator

kormide commented Sep 20, 2023

Looks like this just needs a rebase to fix the test errors.

@mgred mgred force-pushed the add-list-functions branch 2 times, most recently from 6c03bef to 54dfffb Compare September 20, 2023 19:42
@kormide kormide merged commit 45986f0 into bazel-contrib:main Sep 21, 2023
24 checks passed
@mgred mgred deleted the add-list-functions branch September 21, 2023 18:04
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.

3 participants