On Jan 31, 2012, at 8:12 AM, Alan Condit wrote:

> Are our developer accounts automatically established on github or do we need 
> to do something??
> If we need to do something what?

you need to create.  also make sure that you are not working directly from the 
antlr/antlr4 repository. once you create your account, goto repository 
antlr/antlr4 and click the fork button, which will create a fork in your name 
acondit/antlr4. Then, this is what you will clone onto your local disk. for 
example, I use g...@github.com:parrt/antlr4.git as the address of my fork vs 
g...@github.com:antlr/antlr4.git

> Ter mentioned that he was going to establish "code" as the root for all the 
> packages just like it was
> in P4. Did that work out? 

The current directory structure is

antlr4/
        gunit/
        runtime/Java/
        tool/test
        tool/src

so you could map antlr4 anywhere you want on your disk. I did this:

$ mkdir antlr/code
$ cd antlr/code
$ git clone g...@github.com:parrt/antlr4.git

which makes the antlr4 dirt in the current directory.

> 
> For example my local repository for antlr was 
> ~/source/antlr3/acondit_localhost. When I cd to that directory
> I see the "code" directory. Do I establish ~/source/antlr3/acondit_localhost 
> as my local git repository
> or should I set ~/source/antlr3/acondit_localhost/code as my local git 
> repository?

see above.

> Do I need to clone the github repository or is there a way to sync my local 
> with github/antlr without re-downloading everything?

The procedure is to work directly from your fork repository. you can do 
anything you want without repository but you should work in the dev branch or a 
branch special to your features you are adding or something. to get something 
back into the master repository, you do a pull request from your dev branch to 
the antlr/antlr4 dev branch. I will then merge that in.

http://www.antlr.org/wiki/display/~admin/2012/01/28/Hello+github

 Basically we won't mess with master branch at the main repository until we do 
a release or we need to share  things among us. that would be the dev branch. 
So, as I finish working on a new feature, I will do a pull request myself to 
get my dev stuff into the main repository dev. eventually, we will merge that 
into the master of the main repository and tag it as a release.

Ter
_______________________________________________
antlr-dev mailing list
antlr-dev@antlr.org
http://www.antlr.org/mailman/listinfo/antlr-dev

Reply via email to