-
Notifications
You must be signed in to change notification settings - Fork 315
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
clap-v4 support for hab
cli
#9330
base: main
Are you sure you want to change the base?
Commits on Aug 26, 2024
-
Starting with some `cfg` trickery to make sure we continue to build old stuff. Very very experimental. Signed-off-by: Abhijit Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7ba6932 - Browse repository at this point
Copy the full SHA 7ba6932View commit details -
Moved
KeyType
into it's own moduleSigned-off-by: Abhijit Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for db971cc - Browse repository at this point
Copy the full SHA db971ccView commit details -
Getting started with
hab pkg
commandsInitial skeleton for `hab pkg` command with Clap v4. This functionality gets enabled only with `v4` feature (off by default). Thus we continue to work with existing functionality. Signed-off-by: Abhijit Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab1cb83 - Browse repository at this point
Copy the full SHA ab1cb83View commit details -
Initial implementation of
hab pkg binds
The command `hab pkg binds <PKG_IDENT>` runs and the outputs with `clap-v2` and `clap-v4` are comparable. Early still, but we can now implement more commands like this. Signed-off-by: Abhijit Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5f92645 - Browse repository at this point
Copy the full SHA 5f92645View commit details -
- Initial implementation of `hab pkg binds` - Initial implementation of `hab pkg binlink` - Initial implementation of `hab pkg path` - Initial implementation of `hab pkg build` Signed-off-by: Abhijit Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0608919 - Browse repository at this point
Copy the full SHA 0608919View commit details -
Added a few more
hab pkg ...
commands- Added `hab pkg config` command - Added `hab pkg env` command - Added `hab pkg hash` command - Added `hab pkg header` command - Added `hab pkg info` command - Added `hab pkg verify` command Signed-off-by: Abhijit Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8bc998a - Browse repository at this point
Copy the full SHA 8bc998aView commit details -
Fixed issues while compiling on Linux
Signed-off-by: Abhijit Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c1b5c9c - Browse repository at this point
Copy the full SHA c1b5c9cView commit details -
Support for
pkg add bulkupload
commandAlso fixed issue with building on macos due to `#[cfg(....)]` in `do_build`. Signed-off-by: Abhijit Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e2481b3 - Browse repository at this point
Copy the full SHA e2481b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfdafa8 - Browse repository at this point
Copy the full SHA bfdafa8View commit details -
Removed the `hab bldr job` from `main_v2` Signed-off-by: Abhijit Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 15e125d - Browse repository at this point
Copy the full SHA 15e125dView commit details -
Implementation of more
hab pkg
commands- Implemented `hab pkg channels` command - Implemented `hab pkg demote` command - Implemented `hab pkg dependencies` command - Implemented `hab pkg download` command - Implemented `hab pkg promote` command Also added an API in `PackageSetFile` to get `Vec<PackageSet>` from the `toml` file. Signed-off-by: Abhijit Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 99b1c36 - Browse repository at this point
Copy the full SHA 99b1c36View commit details -
Implementation of
hab pkg list
commandSigned-off-by: Abhijit Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5d7cbed - Browse repository at this point
Copy the full SHA 5d7cbedView commit details -
It should be possible to make either `v2` or `v4` feature as default. Initially when we were using `v4`, `v2` was also being used. Now `v4` can be opted in stand alone without `v2`. This reduces number of compiled packages by about 15. Signed-off-by: Abhijit Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 814518d - Browse repository at this point
Copy the full SHA 814518dView commit details -
- `hab pkg exec` - `hab pkg export` - `hab pkg provides` - `hab pkg search` - `hab pkg sign` - `hab pkg upload` Signed-off-by: Abhijit Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4575396 - Browse repository at this point
Copy the full SHA 4575396View commit details -
All
hab pkg ...
commands completed- Added `hab pkg install` - Added `hab pkg uninstall` Signed-off-by: Abhijit Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7bbf772 - Browse repository at this point
Copy the full SHA 7bbf772View commit details -
1. Added Unit tests for `AuthToken` APIs we are using 2. Added Unit tests for `BldrUrl` APIs we are using 3. Added Unit tests for `PkgDownloadOptions` This covers unit tests for *new* logic we have written during the porting activities. Signed-off-by: Abhijit Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d161706 - Browse repository at this point
Copy the full SHA d161706View commit details -
Added validators for
hab pkg
commandSigned-off-by: Abhijit Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8af842e - Browse repository at this point
Copy the full SHA 8af842eView commit details -
Added proper usage for
hab pkg ...
commandsSigned-off-by: Abhijit Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba5a057 - Browse repository at this point
Copy the full SHA ba5a057View commit details -
Fixed a trivial unwrap-error bug
When exporting a package, if the given package does not exist in the specified channel (or default channel) we were unwrapping an error, rather than properly returning it. Signed-off-by: Abhijit Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ac1f582 - Browse repository at this point
Copy the full SHA ac1f582View commit details -
Fixes to issues found during testing - pass 1
Signed-off-by: Abhijit Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bd42815 - Browse repository at this point
Copy the full SHA bd42815View commit details