apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Yan <da...@datatorrent.com>
Subject Re: Repositories are being renamed
Date Sat, 04 Jun 2016 01:16:19 GMT
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 <sasha@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  git@github.com:apache/incubator-apex-malhar.git (fetch)
> mirror  git@github.com:apache/incubator-apex-malhar.git (push)
> sashadt git@github.com:sashadt/incubator-apex-malhar.git (push)
> sashadt git@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 git@github.com:apache/apex-malhar.git
> sashadt git@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  git@github.com:apache/apex-malhar.git (fetch)
> mirror  git@github.com:apache/apex-malhar.git (push)
> sashadt git@github.com:sashadt/apex-malhar.git (push)
> sashadt git@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 <david@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 <thomas@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
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message