-
Notifications
You must be signed in to change notification settings - Fork 10
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
Support for local development #11
Comments
Hey Chris, there is actually a simpler way to work around this. Makefile variables can be overridden, so instead of editing
This behavior is a bit unexpected. I agree it should be documented somewhere. |
As for pointing at alternative OSCAL source repositories, currently you would have to edit the
The ladder has some interesting properties, such as allowing the Makefile to ensure the user has initialized the submodule (unless it has been overridden). |
Thanks. I need to make another feature branch this afternoon and start work, so I'll reset and try this out. |
This approach seems to be working for me. I've adjusted the generate_modeldoc script and Makefile to support the local OSCAL repo part, and I'll push it up as a feature branch sometime today for consideration. I need to add something to the readme on how to use. |
Awesome, if possible I'd like to also amend the script to optionally not use a worktree (just use the provided oscal folder without making a temporary copy) |
The solution indicated by @nikitawootten-nist needs to be tested and documented in the README with examples of how to:
Alternatively, the script can be modified under this issue, to accept an environment variable to override the OSCAL source directory |
While working on the mapping feature branches, I encountered a few issues that aren't really bugs, but dev experience improvements that we might need to consider. It is possible I could have overlooked setting an environment variable to address some of this.
My workaround
In order to accomplish this:
list_revisions.sh
and echoed my own branch names, and commented out the other branches.support/OSCAL
to my local OSCAL repo.If there is a way to use the environment variables to accomplish this, it might just need to be added to the README. It looks like
OSCAL_DIR
andREVISIONS
would be the ones, but not sure if they truly support being passed from the command line.The text was updated successfully, but these errors were encountered: