You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/03/30 16:06:09 UTC

[GitHub] [couchdb-documentation] florianb opened a new issue #512: Edit on GitHub-link gets an 404

florianb opened a new issue #512: Edit on GitHub-link gets an 404
URL: https://github.com/apache/couchdb-documentation/issues/512
 
 
   Clicking on "Edit on GitHub" f.e. at this page: https://docs.couchdb.org/en/stable/index.html
   returns an 404-error.
   
   ## Expected Behavior
   I hoped i'd be redirected to the according GitHub-page.
   
   ## Current Behavior
   404
   
   ## Possible Solution
   I guess there's just a linkpath or something like that broken - give me a hint and i'll try to provide a PR.
   
   ## Steps to Reproduce (for bugs)
   1. go to https://docs.couchdb.org/en/stable/index.html
   2. click "Edit on GitHub" in the upper right corner.
   
   ## Context
   Tried to fix the documentation.
   
   ## Your Environment
   FF 75.0b9 (64-bit) on Ubuntu 19
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb-documentation] florianb commented on issue #512: Edit on GitHub-link gets an 404

Posted by GitBox <gi...@apache.org>.
florianb commented on issue #512: Edit on GitHub-link gets an 404
URL: https://github.com/apache/couchdb-documentation/issues/512#issuecomment-606478843
 
 
   Thanks a lot @wohali - it might be possible to manually set the target version of stable using [Automation Rules/Actions](https://docs.readthedocs.io/en/stable/automation-rules.html#actions).
   
   It would be possible to map `stable` to f.e. `latest` or the given version number. To be able to do that i'd say that must be tightly integrated into the build process (using f.e. `envsubst`) to avoid future bugs.
   
   If you'd like to see something like that, give me a hint - i'd probably give it a try.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb-documentation] wohali commented on issue #512: Edit on GitHub-link gets an 404

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #512: Edit on GitHub-link gets an 404
URL: https://github.com/apache/couchdb-documentation/issues/512#issuecomment-606126472
 
 
   Looks like https://github.com/readthedocs/readthedocs.org/issues/1820 is the core issue here.
   
   It should have been fixed per that issue report, but we're still seeing the bad behaviour: `stable` is a tag that points to this commit: f009601a which GH refuses to display (because that's the tag hash, not the commit hash.)
   
   We had to move to `stable` being a tag for our release process. We can't go back to letting RTD determine what the latest semver tag is because we tag the documentation before we release now, meaning RTD "stable" may point to an unreleased version of documentation that can confuse users. (This happened for a few weeks during the 3.0.0 release cycle.)
   
   If you're able to sleuth this further, let me know.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb-documentation] wohali commented on issue #512: Edit on GitHub-link gets an 404

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #512: Edit on GitHub-link gets an 404
URL: https://github.com/apache/couchdb-documentation/issues/512#issuecomment-606113300
 
 
   Hey @florianb ,
   
   This is a readthedocs.org bug. The problem seems to be the commit they've chosen for the `stable` version. All the other versions bring up the correct "Edit on GitHub" link.
   
   I'll take ths one.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb-documentation] wohali commented on issue #512: Edit on GitHub-link gets an 404

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #512: Edit on GitHub-link gets an 404
URL: https://github.com/apache/couchdb-documentation/issues/512#issuecomment-606665617
 
 
   Hi @florianb ,
   
   Sadly, that won't work, for two reasons.
   
   The first is `stable` is already pointing at the same checkout as `3.0.0`. In fact this is how I did it manually:
   
   ```
   git checkout 3.0.0
   git tag <options> stable
   git push origin --tags
   ```
   
   The problem is that reference RTD is picking up is the tag hash, not the referred to git hash.
   
   The second problem with your approach - which wouldn't change anything anyway - is because Apache explicitly disallows any automated action that changes the code repository. This is due to legal reasons necessary to protect the Foundation. I can dig up the LEGAL ticket on this if you need more clarification.
   
   What's necessary here is to figure out why the fix in readthedocs/readthedocs.org#1820 isn't working for us.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [couchdb-documentation] florianb commented on issue #512: Edit on GitHub-link gets an 404

Posted by GitBox <gi...@apache.org>.
florianb commented on issue #512: Edit on GitHub-link gets an 404
URL: https://github.com/apache/couchdb-documentation/issues/512#issuecomment-606113928
 
 
   Thank you very much @wohali - give me a hint if i can help out!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services