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
Running make gh-pages locally deletes copies of previous submissions #424
Comments
The This is all designed around the GitHub flow, where branches are generally temporarily created in order to drive pull requests. For local branches, the However, if there are a lot of branches in flight, there is a cleanup process. Any branch that has not been updated in the past So, given that the branch no longer exists, the cleanup is run when the files are more than 30 days old. Then, your new branch is created. Because of the similarities, git is marking the removal and addition as a rename (though git doesn't really have any innate concept of a rename, that's just a UX thing). There is also a cleanup process that trims the history of the You can control this behaviour by setting larger values for By the way, naming a branch |
But I have not created a branch |
Strange. I don't recall building something that put something on gh-pages from a tag.
That should happen without your intervention after 30 days (though it will only happen when there is activity on the repository that causes builds to run, so it might be later than that). |
Let me start by saying, it is unclear to me how the template works, so this might not be coherent.
I have added a new branch
intro-example
to a spec https://github.com/CxRes/prep. Now the Github actions did not update to include this branch. I am not sure what triggers the action.Next, I tried to manually update gh-pages locally by running make gh-pages locally on the
intro-example
branch. This deletes the 'draft-gupta-httpbis-per-resource-events-00' from the gh-pages branch presumably because it is not a branch but a tag, even though it was automatically generated at the time of submission of that draft (without a corresponding branch being generated in the repo) and still exist on the homepage. The console output is shown belowInstead the locally generated gh-pages homepage now contains
intro-example
branch only (other than main of course). This seems wrong and I am reluctant to push this version to GitHub! A submitted draft should not just be deleted, not before it expires at least. Is this a bug?The text was updated successfully, but these errors were encountered: