You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@corinthia.apache.org by "Dennis E. Hamilton" <de...@acm.org> on 2014/12/17 18:19:40 UTC

Tips: Checking Out incubator-corinthia

Some observations on working with the current Git setup.

INCUBATOR-CORINTHIA MIRROR ON GITHUB

I don't see the mirror yet.  When it is present, it will be at 
<https://github.com/apache/incubator-corinthia>.

An easy way to work with that repository is to fork it to your own GitHub project.  That makes pull requests to Apache incubator-corinthia easy to make.  NOTE: Pull requests are only accepted from individuals who have filed individual contributor license agreements (iCLAs) at the Apache Software Foundation.  You do not surrender any rights with the iCLA, but it gives the ASF non-exclusive, irrevocable rights to use your contribution in all of the usual ways, including release under the Apache License version 2.0.  

An alternative to pull requests is creation of a diff between your local commits and the Apache incubator-corinthia mirror.  Diffs can be submitted as patches, best attached to an issue on the Corinthia JIRA issue tracker.  Small patches do not require an iCLA.  To make more substantial contributions, an iCLA is the best route.

INCUBATOR-CORINTHIA AT APACHE

The primary repository is at <https://git-wip-us.apache.org/repos/asf/incubator-corinthia.git>.  

Making a local clone is easy.  I used TortoiseGit to make a local clone on my Windows desktop system, specifying the "stable" branch as part of the clone request.  After that succeeded, I made a checkout request for branch "develop" which set that branch as current.

It is also possible to use the GitHub for Windows application to manage your check-ins and also any synchronization with the repository at Apache.  You will have to tell GitHub you are creating a repository rather than cloning one if you have already cloned it.  GitHub for Windows will recognize the existing repository at the location you specify and list it as an "Other" (non-GitHub) repository.  Do not let GitHub for Windows create a .gitattributes file, specify "none" instead.  I forgot to do that and then had to revert it.

If you are a committer, you can sync between the local clone and the Apache repository by providing your Apache committer ID and password.  Non-committers can use the patch-submission route.  To make pull requests, the use of a GitHub fork of the mirror may be more straightforward.

 - Dennis
 
-----Original Message-----
From: Peter Kelly [mailto:pmkelly@apache.org] 
Sent: Wednesday, December 17, 2014 06:45
To: dev@corinthia.incubator.apache.org
Subject: Re: Subscribed

> On 17 Dec 2014, at 9:07 pm, jan i <ja...@apache.org> wrote:
> 
> Peter just uploaded the code at wip-us.apache.org. I will send out a mail
> later once it is mirrored to github.

The actual URL is https://git-wip-us.apache.org/repos/asf/incubator-corinthia.git <https://git-wip-us.apache.org/repos/asf/incubator-corinthia.git>

If you do a direct clone of this right now it will give you an error about ‘no branch’. We have two - stable and develop. You can check out as follows:

git checkout -b develop https://git-wip-us.apache.org/repos/asf/incubator-corinthia.git <https://git-wip-us.apache.org/repos/asf/incubator-corinthia.git>

—
Dr Peter M. Kelly
pmkelly@apache.org

PGP key: http://www.kellypmk.net/pgp-key <http://www.kellypmk.net/pgp-key>
(fingerprint 5435 6718 59F0 DD1F BFA0 5E46 2523 BAA1 44AE 2966)



Re: Tips: Checking Out incubator-corinthia

Posted by jan i <ja...@apache.org>.
On 17 December 2014 at 18:19, Dennis E. Hamilton <de...@acm.org>
wrote:
>
> Some observations on working with the current Git setup.
>
> INCUBATOR-CORINTHIA MIRROR ON GITHUB
>
> I don't see the mirror yet.  When it is present, it will be at
> <https://github.com/apache/incubator-corinthia>.
>
give it 24 hours to catch up.


>
> An easy way to work with that repository is to fork it to your own GitHub
> project.  That makes pull requests to Apache incubator-corinthia easy to
> make.  NOTE: Pull requests are only accepted from individuals who have
> filed individual contributor license agreements (iCLAs) at the Apache
> Software Foundation.  You do not surrender any rights with the iCLA, but it
> gives the ASF non-exclusive, irrevocable rights to use your contribution in
> all of the usual ways, including release under the Apache License version
> 2.0.
>
> An alternative to pull requests is creation of a diff between your local
> commits and the Apache incubator-corinthia mirror.  Diffs can be submitted
> as patches, best attached to an issue on the Corinthia JIRA issue tracker.
> Small patches do not require an iCLA.  To make more substantial
> contributions, an iCLA is the best route.
>
> INCUBATOR-CORINTHIA AT APACHE
>
> The primary repository is at <
> https://git-wip-us.apache.org/repos/asf/incubator-corinthia.git>.
>
> Making a local clone is easy.  I used TortoiseGit to make a local clone on
> my Windows desktop system, specifying the "stable" branch as part of the
> clone request.  After that succeeded, I made a checkout request for branch
> "develop" which set that branch as current.
>
> It is also possible to use the GitHub for Windows application to manage
> your check-ins and also any synchronization with the repository at Apache.
> You will have to tell GitHub you are creating a repository rather than
> cloning one if you have already cloned it.  GitHub for Windows will
> recognize the existing repository at the location you specify and list it
> as an "Other" (non-GitHub) repository.  Do not let GitHub for Windows
> create a .gitattributes file, specify "none" instead.  I forgot to do that
> and then had to revert it.
>
> If you are a committer, you can sync between the local clone and the
> Apache repository by providing your Apache committer ID and password.
> Non-committers can use the patch-submission route.  To make pull requests,
> the use of a GitHub fork of the mirror may be more straightforward.
>
You can have your github id become part of the apache organisation. Your
apache Id and github id needs to be added to a file in committers, then it
will happen after a short while.

Should you be interested but dont have patience to use svn (or find the
right place), then send me an email with
    apache id, github id
and I will add it.

rgds
jan i.

Ps. Dennis@ thanks for a good explanation.

>
>  - Dennis
>
> -----Original Message-----
> From: Peter Kelly [mailto:pmkelly@apache.org]
> Sent: Wednesday, December 17, 2014 06:45
> To: dev@corinthia.incubator.apache.org
> Subject: Re: Subscribed
>
> > On 17 Dec 2014, at 9:07 pm, jan i <ja...@apache.org> wrote:
> >
> > Peter just uploaded the code at wip-us.apache.org. I will send out a
> mail
> > later once it is mirrored to github.
>
> The actual URL is
> https://git-wip-us.apache.org/repos/asf/incubator-corinthia.git <
> https://git-wip-us.apache.org/repos/asf/incubator-corinthia.git>
>
> If you do a direct clone of this right now it will give you an error about
> ‘no branch’. We have two - stable and develop. You can check out as follows:
>
> git checkout -b develop
> https://git-wip-us.apache.org/repos/asf/incubator-corinthia.git <
> https://git-wip-us.apache.org/repos/asf/incubator-corinthia.git>
>
> —
> Dr Peter M. Kelly
> pmkelly@apache.org
>
> PGP key: http://www.kellypmk.net/pgp-key <http://www.kellypmk.net/pgp-key>
> (fingerprint 5435 6718 59F0 DD1F BFA0 5E46 2523 BAA1 44AE 2966)
>
>
>