-
Notifications
You must be signed in to change notification settings - Fork 17
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
Following guidance for release testing outputs confusing git errors #29
Comments
It is not on any particular tree, but you are saying that the |
The repo from the failed clone contains stuff. gapinski@flexion-mac-C02FCBVSMD6N usnistgov % cd OSCAL-failed-1.0.5-clone
gapinski@flexion-mac-C02FCBVSMD6N OSCAL-failed-1.0.5-clone % ls -l
total 408
-rw-r--r-- 1 gapinski staff 3211 Jun 15 11:06 CODE_OF_CONDUCT.md
-rw-r--r-- 1 gapinski staff 16472 Jun 15 11:06 CONTRIBUTING.md
-rw-r--r-- 1 gapinski staff 5255 Jun 15 11:06 LICENSE.md
-rw-r--r-- 1 gapinski staff 5287 Jun 15 11:06 README.md
-rw-r--r-- 1 gapinski staff 8458 Jun 15 11:06 README_validations.md
-rw-r--r-- 1 gapinski staff 1138 Jun 15 11:06 USERS.md
drwxr-xr-x 15 gapinski staff 480 Jun 15 11:06 build
drwxr-xr-x 5 gapinski staff 160 Jun 15 11:06 content
drwxr-xr-x 7 gapinski staff 224 Jun 15 11:06 decisions
drwxr-xr-x 14 gapinski staff 448 Jun 15 11:06 docs
-rw-r--r-- 1 gapinski staff 609 Jun 15 11:06 git-cheat-sheet.md
drwxr-xr-x 5 gapinski staff 160 Jun 15 11:06 json
-rw-r--r-- 1 gapinski staff 128540 Jun 15 11:06 slides-2023-02-09.pdf
drwxr-xr-x 9 gapinski staff 288 Jun 15 11:06 src
-rw-r--r-- 1 gapinski staff 7144 Jun 15 11:06 versioning-and-branching.md
-rw-r--r-- 1 gapinski staff 5699 Jun 15 11:08 x
drwxr-xr-x 5 gapinski staff 160 Jun 15 11:06 xml
gapinski@flexion-mac-C02FCBVSMD6N OSCAL-failed-1.0.5-clone % git status
Not currently on any branch.
nothing to commit, working tree clean
gapinski@flexion-mac-C02FCBVSMD6N OSCAL-failed-1.0.5-clone % Looks like the v1.0.5 tag — which is not the same as the release-1.0.5 branch — fails during the clone. I had some related confusion here. |
The The repository is still in a functional state, but operations like I also agree that the existence of release branches vs. tagged release commits leads to some additional confusion that should be addressed within the document or the branch structure readme. |
@nikitawootten-nist maybe we adapt the instructions (since these instructions are the pre-requisite part) and be more explicit with branch checkout? git clone --recurse-submodules https://github.com/usnistgov/OSCAL.git
git checkout release-1.0.5 Should we move forward with this issue and consider it a request to tweak like that? |
This morning conversation was regarding 1.0.5 testing.
Or just clone main and checkout branch or tag. I presume, perhaps wrongly, that the branch is of more interest than the pre-release. |
Describe the bug
The suggested method of obtaining a clone of the OSCAL repo at the 1.0.5 release level results in the following:
Example shell output:
Goals
release-1.0.5
branch and correspondingv1.0.5
tagAcceptance Criteria
Who is the bug affecting
Me. Possibly others.
What is affected by this bug
Documentation
How do we replicate this issue
See bug description above.
Expected behavior (i.e. solution)
A
git clone
which results in the repo at the desired (v1.0.5) branch.Other comments
git clone --recurse-submodules https://github.com/usnistgov/OSCAL.git --branch release-1.0.5
does not incur an error, nor doesgit clone --recurse-submodules https://github.com/usnistgov/OSCAL.git --branch release-1.0.5
.Revisions
The text was updated successfully, but these errors were encountered: