Thomas, When should I expect github mirrors to be updated?
I have a presentation starting in about 6 hours. I was thinking of updating the slides for the repository links if possible. Anyways, I have slides pointing to the older repo if you think that mirror update would take time. ~ Yogi On 4 June 2016 at 07:11, P. Taylor Goetz <ptgo...@gmail.com> wrote: > Cosmetically nice, but not strictly necessary. Committers only really need > to update the remote. > > I see pull requests from repos with incubator in the name often, and it > doesn't pose a problem. > > -Taylor > > > On Jun 3, 2016, at 9:16 PM, David Yan <da...@datatorrent.com> wrote: > > > > That's some serious shell scripting. > > Also, I suggest that everyone changes their github fork names from > > incubator-apex-(.*) to apex-$1. > > > > You can do this by going to: > > https://github.com/{git-username}/incubator-apex-core/settings > > https://github.com/{git-username}/incubator-apex-malhar/settings > > https://github.com/{git-username}/incubator-apex-site/settings > > > > David > > > > On Fri, Jun 3, 2016 at 5:33 PM, Sasha Parfenov <sa...@datatorrent.com> > > wrote: > > > >> The following will update your remotes automatically. Go to the root of > >> the repository you need to update from incubator to top level and > execute: > >> > >> > >> for remote in `git remote`; do new_url=`git config --get > remote.$remote.url > >> | sed 's|incubator-||'`; echo $remote $new_url; git remote set-url > $remote > >> $new_url; done; > >> > >> > >> > >> Example: > >> > >> > >> $ cd incubator-apex-malhar (master) > >> $ git remote -v > >> origin > https://git-wip-us.apache.org/repos/asf/incubator-apex-malhar.git > >> (fetch) > >> origin > https://git-wip-us.apache.org/repos/asf/incubator-apex-malhar.git > >> (push) > >> apache-git git://git.apache.org/incubator-apex-core.git (fetch) > >> apache-git git://git.apache.org/incubator-apex-core.git (push) > >> mirror g...@github.com:apache/incubator-apex-malhar.git (fetch) > >> mirror g...@github.com:apache/incubator-apex-malhar.git (push) > >> sashadt g...@github.com:sashadt/incubator-apex-malhar.git (push) > >> sashadt g...@github.com:sashadt/incubator-apex-malhar.git (fetch) > >> > >> $ for remote in `git remote`; do new_url=`git config --get > >> remote.$remote.url | sed 's|incubator-||'`; echo $remote $new_url; git > >> remote set-url $remote $new_url; done; > >> origin https://git-wip-us.apache.org/repos/asf/apex-malhar.git > >> apache-git git://git.apache.org/apex-core.git > >> mirror g...@github.com:apache/apex-malhar.git > >> sashadt g...@github.com:sashadt/apex-malhar.git > >> > >> $ git remote -v > >> origin https://git-wip-us.apache.org/repos/asf/apex-malhar.git (fetch) > >> origin https://git-wip-us.apache.org/repos/asf/apex-malhar.git (push) > >> apache-git git://git.apache.org/apex-core.git (fetch) > >> apache-git git://git.apache.org/apex-core.git (push) > >> mirror g...@github.com:apache/apex-malhar.git (fetch) > >> mirror g...@github.com:apache/apex-malhar.git (push) > >> sashadt g...@github.com:sashadt/apex-malhar.git (push) > >> sashadt g...@github.com:sashadt/apex-malhar.git (fetch) > >> > >> > >> $ cd .. && mv incubator-apex-malhar apex-malhar > >> > >> > >> > >> > >> Thanks, > >> Sasha > >> > >>> On Fri, Jun 3, 2016 at 5:17 PM, David Yan <da...@datatorrent.com> > wrote: > >>> > >>> The following commands may be handy: > >>> > >>> git remote set-url apache > >>> https://git-wip-us.apache.org/repos/asf/apex-core.git/ > >>> git remote set-url apache > >>> https://git-wip-us.apache.org/repos/asf/apex-malhar.git/ > >>> git remote set-url apache > >>> https://git-wip-us.apache.org/repos/asf/apex-site.git/ > >>> > >>> David > >>> > >>> On Fri, Jun 3, 2016 at 4:48 PM, Thomas Weise <tho...@datatorrent.com> > >>> wrote: > >>> > >>>> The ASF git repos are done, github mirrors should follow shortly. > >>>> > >>>> You may need to change your remotes and mirroring may be interrupted > >> for > >>> a > >>>> while. > >>>> > >>>> Thanks, > >>>> Thomas > >> >