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
Move documentation repository into /docs #1752
Comments
I'm in favor of this. It'll be a pity to lose the version history on that, though… I assume we take a snapshot of the code as it exists today and commit it to the Capistrano repo, then make one more commit to the documentation repo explaining the change? Per the con, in the past we've added docs with a version specifier. |
We could use https://saintgimp.org/2013/01/22/merging-two-git-repositories-into-one-repository-without-losing-file-history/ which I've had a positive experience with. I'm afraid however that it would completely nuke all tags, etc, since every ref after the first commit in the docu repo would be changed... :( |
OK, how about this? I spliced the entire history of the documentation repository on top of capistrano @ master. That means the capistrano history remains unmodified; all tags are still valid, etc. There are just a bunch of new commits that add Will that work? See: https://github.com/mattbrictson/capistrano/tree/merge-docs Or if we don't think we need to pollute the capistrano repo with the documentation commit history, we can just add |
Im on mobile but will try and have a look at the history andnsee if I can Summary: agree with the merge to docs/, would prefer keeping history if the (Sent from my Nexus 6, please forgive typos!) On Aug 24, 2016 03:16, "Matt Brictson" notifications@github.com wrote:
|
I'm not sure which I prefer, but it wouldn't be a bad option to simply pull the docs in with one large commit, and have the commit message reference the old repository. That way, anyone trying to figure out the history of a change can jump over to the old repo. |
I went through the 👍 |
this addresses the only worry I had... I'm not too precious about preserving doc history, or tags/etc so I like this solution a lot. LGTM |
In my working copy of the documentation repo, I created a branched called Then in my working copy of the capistrano repo, I added my documentation working copy as a remote called
Inspired by this post I found: https://ahmadatwi.me/2016/04/07/how-to-move-a-git-repository-to-subdirectory-of-another-repository/ |
I created a PR: #1753. |
There's also the problem of open issues and PRs in the documentation repository. Those will need to be closed and manually moved to the main capistrano repository, I guess? |
Yeah... Or do a sweep of merges and then walk through the process again. |
Maybe Github support will migrate them for us? Lee Hambley On 24 August 2016 at 17:40, William Johnston notifications@github.com
|
Maybe... I'm not sure how, as it would be a nasty merge conflict. And I assume the commit IDs for the docs have changed. |
Looks like the only 2 documentation pull requests are mine; I can recreate those if necessary. As for the issues, I like the idea of GitHub support doing it for us. 😀 Can you take the lead on that, @leehambley? |
Done (moved them manually using a tool from Google) |
@leehambley Thanks for moving the documentation issues! I created a new documentation label and tagged all of the issues you migrated. |
Docs have been merged! I think there are a few more tasks, which I will add to this issue as a checklist:
|
All done! The website is now being published from |
TODO
docs/
docs/ @ master
GitHub recently announced that GitHub pages can now be hosted within the
/docs
directory of a repository's master branch. There is no longer a technical limitation that requires us to maintain agh-pages
branch or a separatedocumentation
repo.What does the community think about moving the existing website GitHub pages documentation into a
/docs
directory of this project instead?Pros:
Cons:
/cc @leehambley @will-in-wi
The text was updated successfully, but these errors were encountered: