Skip to content

Subcommand add and sub #160

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

Open
wants to merge 34 commits into
base: main
Choose a base branch
from

Conversation

u-train
Copy link
Contributor

@u-train u-train commented Jun 17, 2023

Closes #74.

u-train added 6 commits June 16, 2023 17:25
Very useful function that'll be used in the future.:
We're going to need this for add/remove
u-train added 23 commits June 18, 2023 00:32
Now that VersionReq is bumped, we have the carot
Carot is omitted by default if it's the only comparator.
Turbofish is kinda disgusting.
It used to ignore the last pair of keys since it wasn't inclusive.
Meaning, e.g if there was 2 keys, it would start at 1.
It would iterate while it was less than length - 1 = 1.
1 < 1 == false.
It would allow any versionreq despite it being invalid.
Fixed.
Let's move as_table_name to utils, since it really shouldn't
be publicly exposed. Maybe.
- Tests were fixed to support this.
- PackageSpec.name() was added
- add::PackageParam allows for aliases to specified.
- Added logging for whenever alias failed to match
- If a dependency table becomes empty, it's deleted
- Logging removal now specifies realm no matter what.
- Changed AliasTarget to PackageParam
- Ambigious alias now error
@u-train u-train marked this pull request as ready for review July 2, 2023 03:17
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.

Command to easily add a dependency
2 participants