spdx-spec icon indicating copy to clipboard operation
spdx-spec copied to clipboard

Something is wrong with the gh-pages branch

Open goneall opened this issue 4 months ago • 4 comments

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.

goneall avatar Aug 29 '25 17:08 goneall

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")

bact avatar Sep 11 '25 13:09 bact

#1269 may solve this, after merge + running the publication workflow once.

bact avatar Sep 11 '25 14:09 bact

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

goneall avatar Sep 12 '25 18:09 goneall

Thanks Gary. I will look again at this. I think there's some patterns on this. Will investigate.

bact avatar Sep 12 '25 19:09 bact