usnistgov / oscal-cli

A simple open source command line tool to support common operations over OSCAL content.
Other
41 stars 19 forks source link

[EPIC] Package Management Support #49

Open aj-stein-nist opened 1 year ago

aj-stein-nist commented 1 year ago

User Story:

An an OSCAL tools developer, in order to efficiently and quickly make use of this CLI tool, I would to have versioned oscal-cli releases packaged for different operating systems and environments for rapid use and operation.

We already have a community Docker package from usnistgov/oscal-cli#45, but this is around operating system package support for the oscal-cli as a separate kind of request, although related.

Individual requests for package managers:

Goals:

NOTE: This is an epic. Do you want to see support for a particular package manager? Please add a comment, work to add an issue for discussing or tracking the merge of code for adding building your package in the CI/CD. NIST OSCAL staff that are maintainers of this repo can work to update the list below to track linked issues in the epic for specific package manager requests.

Dependencies:

{Describe any previous issues or related work that must be completed to start or complete this issue.}

Acceptance Criteria

aj-stein-nist commented 1 year ago

During today's Lunch with Devs call, @GaryGapinski is favorable to Linux package manager and finds them preferable to popular third-party macOS managers (e.g. homebrew, port from MacPorts). He recommended if possible, we find the optimal way to package the CLI for different Linux distributions with the most coverage (.deb for Ubuntu and Debian flavored Linux distros; .rpm for RedHat-flavored distros like RedHat, Fedora, CentOS, Amazon Linux, et cetera; potentially others).

Action-item from me: will add issues requesting .deb and .rpm generation separately, add tracker issues. If you are reading this and you want a different kind of Linux package manager package (like for OpenSuse or dare I say Arch Linux), you need to post to reply to this comment.

aj-stein-nist commented 1 year ago

Also, consider Chocolatey for Windows, per request from @Ikendiken in today's Lunch with Devs call.

Interested in other third-party package managers like winget? You need to reply to this comment separately and show interest!

DavidAllardyce commented 1 year ago

Yeah, Chocolatey and winget for Windows would be nice and, of course, NuGet is a must have for libs.

xee5ch commented 1 year ago

I would also enjoy asdf if that is possible.

xee5ch commented 1 year ago

I would also enjoy asdf if that is possible.

An alpha version of the asdf plugin for oscal-cli releases has been created by yours truly. Is there a desire @david-waltermire-nist to document these somewhere as it pertains to the repo here?