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

Github wiki subtree merged in wiki/ #57

Merged
merged 132 commits into from
Nov 23, 2017

Conversation

anarcat
Copy link
Contributor

@anarcat anarcat commented Nov 22, 2017

Merge wiki into docs/ directory

This was performed with:

git clone https://github.com/Git-Mediawiki/Git-Mediawiki.wiki.git
cd Git-Mediawiki.wiki
git filter-branch --tree-filter 'mkdir -p docs ; mv *.md docs/' HEAD
cd ../Git-Mediawiki
git remote add -f wiki ../Git-Mediawiki.wiki
git merge --allow-unrelated wiki/master

This was prefered over a subtree merge because history is followed
properly. It is a known issue that subtree merges cannot follow
history:

https://stackoverflow.com/a/14448022/2408130

Closes: #9

@anarcat anarcat force-pushed the in-tree-manual branch 5 times, most recently from 01c8943 to b73848b Compare November 22, 2017 23:53
@anarcat anarcat requested a review from moy November 23, 2017 00:02
@anarcat
Copy link
Contributor Author

anarcat commented Nov 23, 2017

this merge is now ready for review - once this is merged, I guess we should just delete or disable the wiki somehow.

This was performed with:

    git clone https://github.com/Git-Mediawiki/Git-Mediawiki.wiki.git
    cd Git-Mediawiki.wiki
    git filter-branch --tree-filter 'mkdir -p docs ; mv *.md docs/' HEAD
    cd ../Git-Mediawiki
    git remote add -f wiki ../Git-Mediawiki.wiki
    git merge --allow-unrelated wiki/master

This was prefered over a subtree merge because history is followed
properly. It is a known issue that subtree merges cannot follow
history:

https://stackoverflow.com/a/14448022/2408130
@anarcat
Copy link
Contributor Author

anarcat commented Nov 23, 2017

i redid the merge using a filter-branch technique because the previous subtree merge approach fails to follow history properly.

@anarcat anarcat merged commit adef51f into Git-Mediawiki:master Nov 23, 2017
@anarcat anarcat deleted the in-tree-manual branch November 23, 2017 02:40
@moy
Copy link
Collaborator

moy commented Nov 23, 2017

Nice. Note that the wiki contained a lot of drafty or not up-to-date stuff. The user-manual is the only really important part. It's nice to have other pages in our history but it'd also be nice to do a bit of cleanup.

@anarcat
Copy link
Contributor Author

anarcat commented Nov 23, 2017

well, yes, there is an infinity of improvements to do everywhere. I'm just trying to fix the obvious stuff i have in my pipeline that follow from the move from core git. and it's not easy to just keep up with that so "cleanups" will wait until someone else (tm) steps in to do those. ;)

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

Successfully merging this pull request may close these issues.