Skip to content
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

The wrong commit is being used for latest #1785

Closed
akutz opened this issue Oct 22, 2015 · 8 comments · Fixed by #3913
Closed

The wrong commit is being used for latest #1785

akutz opened this issue Oct 22, 2015 · 8 comments · Fixed by #3913
Labels
Support Support question

Comments

@akutz
Copy link

akutz commented Oct 22, 2015

Hi,

I'm working on http://rexray.readthedocs.org/en/latest/, and for the second time in two days I've had to nuke the entire site and reimport it. What appears to be happening is that latest keeps identifying a two month old commit as the latest commit, and that's clearly incorrect. It's the same commit ID each time, https://github.com/emccode/rexray/tree/329311a4826f5f6e78c00cab5736d57407578a28, which is odd, right?

Recreating the project in RTD helps, but it's gone "bad" now twice, and I'd like to prevent it from happening it again. Thoughts? Suggestions?

@ericholscher ericholscher added the Support Support question label Nov 9, 2015
@hamiltron
Copy link

I am having the same issue. http://simpleaudio.readthedocs.org/en/latest/
It appears that the latest tagged commit is being used (like 'stable') instead of the HEAD of the master branch.

@agjohnson
Copy link
Contributor

@hamiltron builds look as I would expect for your project, they are grabbing the correct commits

@akutz same for rexray, though I see the latest version in RTD is/was actual a tag at some point? This might be causing issues, or could be a misidentification on RTD

Has this been a problem for either project since reporting?

@hamiltron
Copy link

@agjohnson, I had switched to having the 'master' branch version as the default as a workaround because the 'latest' version was stuck on an earlier commit. To see if the issue still exists, I re-enabled the 'latest' version, built both 'latest' and 'master', committed a small docs change, and built both again. Looks like they're updating correctly now.

I have noticed however, that the index page for the 'master' version shows a on old commit hash (2909744e) as the version: http://simpleaudio.readthedocs.org/en/master/ - it should be b7c11dd. The 'latest' version doesn't seem to have this problem.

@jaraco
Copy link
Contributor

jaraco commented May 1, 2017

I encountered this problem today. I had pushed and built yougov/velociraptor@bbfb3ce, then I force-pushed yougov/velociraptor@bd866b8. I then re-pushed bbfb3ce and subsequent commits such as yougov/velociraptor@1de35d7. Yet RTD continues to build bd866b8 over and over again.

@jaraco
Copy link
Contributor

jaraco commented May 1, 2017

I tried changing the repo URL to another project and back, but even doing that triggered a build of the same commit.

@jaraco
Copy link
Contributor

jaraco commented May 1, 2017

Aha - setting the "Default branch" on the project to master seems to have done the trick.

@stsewd
Copy link
Member

stsewd commented Jan 16, 2018

I wasn't able to reproduce this issue on my local instance. I think this other issue is related #2032. Probably happens when force a push (commits/tags)?

@stsewd
Copy link
Member

stsewd commented Apr 9, 2018

Everyone having this problem, it is a bug (more information on #3887). The current solution is recreating the project (the same name can be used)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Support question
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants