Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Help with subtrees #77

Open
podefr opened this issue Jul 20, 2015 · 6 comments
Open

Help with subtrees #77

podefr opened this issue Jul 20, 2015 · 6 comments

Comments

@podefr
Copy link
Contributor

podefr commented Jul 20, 2015

Hey,

@snostorm @tdd @yoannmoinet I'm calling the subtrees experts

I'm struggling with the subtrees thing we're trying to introduce. We've merged a couple of PRs recently into the website branch and I don't understand how to notify the iojs.org repository so that it gets the latest updates.

Here are the last two pull requests that we've merged into the website branch:
#73
#74

I noticed that we have a website branch that isn't listed on the list of branches on this iojs-fr repository, and a iojs-fr_website_subtree branch that I can't checkout locally. Why is that? Is the ìojs-fr_website_subtree` branch designed to receive the latest changes or was created for something else?

Also, it seems that the commands that @snostorm mentioned should be executed on iojs.org for which we don't have write permissions:

git fetch iojs-fr website
git pull --squash -s subtree iojs-fr website
git commit -m "Updates iojs-fr content from iojs/iojs-fr#website"

What am I missing?

Thanks,
Olivier

@yoannmoinet
Copy link
Contributor

I've also started the process like 2 weeks ago, and messed up with the steps so I've stopped to not mess with anything.
I might be the one that created the iojs-fr_website_subtree branch.

I think we should wait for @snostorm to see what he would do with our branchs precisely, that would help to understand the steps.

And indeed these commands are to be executed on a iojs.org fork of your own, then, this will be your pull-request over there. (I think)

@podefr
Copy link
Contributor Author

podefr commented Jul 20, 2015

yeah the PR bit makes sense to get our changes in, but then what are the benefits of using subtrees? still confused :)

@yoannmoinet
Copy link
Contributor

I'm still a little confused too 😄 but I thought it was essentially to have a 'persistent' link between the two. And be able to modify ours to then push to theirs.

@snostorm
Copy link
Contributor

Hey, I'm formulating a better answer and digging in to the two branches in question.

Initial response:

In time, if we got enough i18n subtrees established, we could likely automate some of the importing to avoid the second PR.

@snostorm
Copy link
Contributor

For the sake of speed I can also just do the subtree steps for now and work to help document them better after?

@yoannmoinet
Copy link
Contributor

I'm ok with this @snostorm.
I don't see anything wrong if you document it and help us understand it 😅
Thanks for your help !

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

No branches or pull requests

3 participants