Something is wrong with the gh-pages branch
When I pull the latest gh-branches using git switch gh-pages and run git status I get the following modifications:
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: v3.0.1/annexes/SPDX-Lite/index.html
modified: v3.0.1/annexes/SPDX-license-expressions/index.html
modified: v3.0.1/licenses/CC-BY-3.0/index.html
modified: v3.0.1/licenses/Community-Spec-1.0/index.html
modified: v3.1-dev/annexes/SPDX-Lite/index.html
modified: v3.1-dev/annexes/SPDX-license-expressions/index.html
modified: v3.1-dev/licenses/CC-BY-3.0/index.html
modified: v3.1-dev/licenses/Community-Spec-1.0/index.html
To make sure this wasn't just my local issue, I deleted the spdx-spec and re-cloned it - same issue.
The problem appears to be in the GitHub repo.
Unfortunately, I can't restore, reset, remove, clear cache etc - to switch back to main I have to delete the directory and re-clone.
Curious is anyone else is able to reproduce this behavior.
I have got similar issue:
I run:
git checkout --track upstream/gh-pages
Then:
git status
And got this:
Refresh index: 100% (7335/7335), done.
On branch gh-pages
Your branch is up to date with 'upstream/gh-pages'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: 3-draft/annexes/SPDX-Lite/index.html
modified: 3-draft/annexes/SPDX-license-expressions/index.html
modified: 3-draft/licenses/CC-BY-3.0/index.html
modified: 3-draft/licenses/Community-Spec-1.0/index.html
modified: 3.0-RC1/annexes/SPDX-Lite/index.html
modified: 3.0-RC1/annexes/SPDX-license-expressions/index.html
modified: 3.0-RC1/licenses/CC-BY-3.0/index.html
modified: 3.0-RC1/licenses/Community-Spec-1.0/index.html
modified: 3.0-RC2/annexes/SPDX-Lite/index.html
modified: 3.0-RC2/annexes/SPDX-license-expressions/index.html
modified: 3.0-RC2/licenses/CC-BY-3.0/index.html
modified: 3.0-RC2/licenses/Community-Spec-1.0/index.html
modified: 3.0.1-dev/annexes/SPDX-Lite/index.html
modified: 3.0.1-dev/annexes/SPDX-license-expressions/index.html
modified: 3.0.1-dev/licenses/CC-BY-3.0/index.html
modified: 3.0.1-dev/licenses/Community-Spec-1.0/index.html
modified: 3.0.1-draft/annexes/SPDX-Lite/index.html
modified: 3.0.1-draft/annexes/SPDX-license-expressions/index.html
modified: 3.0.1-draft/licenses/CC-BY-3.0/index.html
modified: 3.0.1-draft/licenses/Community-Spec-1.0/index.html
modified: 3.0.1/annexes/SPDX-Lite/index.html
modified: 3.0.1/annexes/SPDX-license-expressions/index.html
modified: 3.0.1/licenses/CC-BY-3.0/index.html
modified: 3.0.1/licenses/Community-Spec-1.0/index.html
modified: 3.0/annexes/SPDX-Lite/index.html
modified: 3.0/annexes/SPDX-license-expressions/index.html
modified: 3.0/licenses/CC-BY-3.0/index.html
modified: 3.0/licenses/Community-Spec-1.0/index.html
modified: 3.1-dev/annexes/SPDX-Lite/index.html
modified: 3.1-dev/annexes/SPDX-license-expressions/index.html
modified: 3.1-dev/licenses/CC-BY-3.0/index.html
modified: 3.1-dev/licenses/Community-Spec-1.0/index.html
modified: 3.1/annexes/SPDX-Lite/index.html
modified: 3.1/annexes/SPDX-license-expressions/index.html
modified: 3.1/licenses/CC-BY-3.0/index.html
modified: 3.1/licenses/Community-Spec-1.0/index.html
modified: latest/annexes/SPDX-Lite/index.html
modified: latest/annexes/SPDX-license-expressions/index.html
modified: latest/licenses/CC-BY-3.0/index.html
modified: latest/licenses/Community-Spec-1.0/index.html
modified: v3-draft/annexes/SPDX-Lite/index.html
modified: v3-draft/annexes/SPDX-license-expressions/index.html
modified: v3-draft/licenses/CC-BY-3.0/index.html
modified: v3-draft/licenses/Community-Spec-1.0/index.html
modified: v3.0-RC1/annexes/SPDX-Lite/index.html
modified: v3.0-RC1/annexes/SPDX-license-expressions/index.html
modified: v3.0-RC1/licenses/CC-BY-3.0/index.html
modified: v3.0-RC1/licenses/Community-Spec-1.0/index.html
modified: v3.0-RC2/annexes/SPDX-Lite/index.html
modified: v3.0-RC2/annexes/SPDX-license-expressions/index.html
modified: v3.0-RC2/licenses/CC-BY-3.0/index.html
modified: v3.0-RC2/licenses/Community-Spec-1.0/index.html
modified: v3.0.1-dev/annexes/SPDX-Lite/index.html
modified: v3.0.1-dev/annexes/SPDX-license-expressions/index.html
modified: v3.0.1-dev/licenses/CC-BY-3.0/index.html
modified: v3.0.1-dev/licenses/Community-Spec-1.0/index.html
modified: v3.0.1-draft/annexes/SPDX-Lite/index.html
modified: v3.0.1-draft/annexes/SPDX-license-expressions/index.html
modified: v3.0.1-draft/licenses/CC-BY-3.0/index.html
modified: v3.0.1-draft/licenses/Community-Spec-1.0/index.html
modified: v3.0.1/annexes/SPDX-Lite/index.html
modified: v3.0.1/annexes/SPDX-license-expressions/index.html
modified: v3.0.1/licenses/CC-BY-3.0/index.html
modified: v3.0.1/licenses/Community-Spec-1.0/index.html
modified: v3.0/annexes/SPDX-Lite/index.html
modified: v3.0/annexes/SPDX-license-expressions/index.html
modified: v3.0/licenses/CC-BY-3.0/index.html
modified: v3.0/licenses/Community-Spec-1.0/index.html
modified: v3.1-dev/annexes/SPDX-Lite/index.html
modified: v3.1-dev/annexes/SPDX-license-expressions/index.html
modified: v3.1-dev/licenses/CC-BY-3.0/index.html
modified: v3.1-dev/licenses/Community-Spec-1.0/index.html
modified: v3.1/annexes/SPDX-Lite/index.html
modified: v3.1/annexes/SPDX-license-expressions/index.html
modified: v3.1/licenses/CC-BY-3.0/index.html
modified: v3.1/licenses/Community-Spec-1.0/index.html
Untracked files:
(use "git add <file>..." to include in what will be committed)
.python-version
docs/
It took 2.96 seconds to enumerate untracked files.
See 'git help status' for information on how to improve this.
no changes added to commit (use "git add" and/or "git commit -a")
#1269 may solve this, after merge + running the publication workflow once.
I just tried out the new publication workflow - unfortunately, still the same issue. I deleted the old local git repo clone, re-cloned, switched to gh-pages and ran git status. Following is the result:
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: v3.0.1/annexes/SPDX-Lite/index.html
modified: v3.0.1/annexes/SPDX-license-expressions/index.html
modified: v3.0.1/licenses/CC-BY-3.0/index.html
modified: v3.0.1/licenses/Community-Spec-1.0/index.html
modified: v3.1-dev/annexes/SPDX-Lite/index.html
modified: v3.1-dev/annexes/SPDX-license-expressions/index.html
modified: v3.1-dev/licenses/CC-BY-3.0/index.html
modified: v3.1-dev/licenses/Community-Spec-1.0/index.html
Thanks Gary. I will look again at this. I think there's some patterns on this. Will investigate.