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

devbox: fix deduping packages and remove lo #37

Merged
merged 3 commits into from
Aug 30, 2022
Merged

devbox: fix deduping packages and remove lo #37

merged 3 commits into from
Aug 30, 2022

Conversation

gcurtis
Copy link
Collaborator

@gcurtis gcurtis commented Aug 29, 2022

Summary

Fix Devbox.Add to deduplicate packages instead of removing the ones with duplicates. Extract the two functions that we were using in lo to remove it as a dependency.

How was it tested?

go test

Fix Devbox.Add to deduplicate packages instead of removing the ones with
duplicates. Extract the two functions that we were using in lo to remove
it as a dependency.
Copy link
Contributor

@loreto loreto left a comment

Choose a reason for hiding this comment

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

LGTM

Although, I'd prefer if the implementations of unique and exclude are in a different file (or package). In general I'm trying to make sure devbox.go only (or primarily) contains the public interface to the library.

@gcurtis
Copy link
Collaborator Author

gcurtis commented Aug 29, 2022

Sounds good. I'll move them somewhere else before merging.

@gcurtis gcurtis merged commit fa25b9d into main Aug 30, 2022
@gcurtis gcurtis deleted the nolo branch August 30, 2022 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants