Re: anyone using git-svn for tomcat ?

2011-04-07 Thread Konstantin Kolinko
2011/4/8 Sylvain Laurent :
>
> On 7 avr. 2011, at 23:54, Konstantin Kolinko wrote:
>>
>> What content will be in your version of the file?
>
> mostly what we ave already ignored with svn props : eclipse-sepcific files, 
> the logs, work, temp directories...
>
> Otherwise, one can also run
> git svn show-ignore >> .git/info/exclude
>
> which saves a list of things that are ignored by svn to a local file that 
> will not be committed.
> Though it works, it is local to each repository and thus each developer 
> should run the command too...
>

OK, I understand.  I though of a glimpse on the actual proposed text
of the file (since you have something working?)

You can always go on and we will revert or amend if there is something
wrong or anybody vetoes. Though my two requirements would be, as I
mentioned
> 1) it need to have ASL header
> 2) it probably should be omitted from src distributions

Looking at [1] there are some differences vs. svn:externals. One is
that the patterns are actually global ones, like ".svn",  or "*~".

I wonder whether it will affect modules which is a subdirectory of
trunk at the moment.

man gitignore(5) at [2] also says "Patterns which a user wants git to
ignore in all situations (e.g., backup or temporary files generated by
the user’s editor of choice) generally go into a file specified by
core.excludesfile in the user’s ~/.gitconfig."



[1] https://svn.apache.org/repos/asf/hadoop/mapreduce/trunk/.gitignore

[2] http://www.kernel.org/pub/software/scm/git/docs/gitignore.html

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: anyone using git-svn for tomcat ?

2011-04-07 Thread Sylvain Laurent

On 7 avr. 2011, at 23:54, Konstantin Kolinko wrote:
> 
> What content will be in your version of the file?

mostly what we ave already ignored with svn props : eclipse-sepcific files, the 
logs, work, temp directories...

Otherwise, one can also run
git svn show-ignore >> .git/info/exclude

which saves a list of things that are ignored by svn to a local file that will 
not be committed.
Though it works, it is local to each repository and thus each developer should 
run the command too...
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: anyone using git-svn for tomcat ?

2011-04-07 Thread Konstantin Kolinko
2011/4/8 Sylvain Laurent :
> I just did my first commit on tomcat using git, it seems to work.

Congratulations.

>
> does it bother anyone if I add a .gitignore file in the SVN repository ?

I am not bothered much, though

1) it need to have ASL header
2) it probably should be omitted from src distributions

I googled whether other projects have it, "gitignore site:svn.apache.org"
here is some random example:
https://svn.apache.org/repos/asf/hadoop/mapreduce/branches/MR-279/.gitignore

What content will be in your version of the file?

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: anyone using git-svn for tomcat ?

2011-04-07 Thread Sylvain Laurent
I just did my first commit on tomcat using git, it seems to work.

does it bother anyone if I add a .gitignore file in the SVN repository ?

Sylvain

On 7 avr. 2011, at 22:57, Rainer Jung wrote:

> On 07.04.2011 22:35, Sylvain Laurent wrote:
>> Hello,
>> 
>> I'm trying out git at the moment and found this page 
>> http://wiki.apache.org/general/GitAtApache
>> Is anyone here using git in front of svn ? any problem, advice ?
> 
> I used it some time for the httpd sources. I like that it is easy to transfer 
> commits from the local repos to the ASF svn including commit log entry. The 
> patch format is also nice.
> 
> git-svn uses the svn perl bindings which produce crashes every now and then, 
> at least on my system. I didn't have any situation where the crash left over 
> inconsistent files or incomplete transactions. The crashes happen during 
> process cleanup.
> 
> Overall I liked it.
> 
> Regards,
> 
> Rainer
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
> 


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: anyone using git-svn for tomcat ?

2011-04-07 Thread Rainer Jung

On 07.04.2011 22:35, Sylvain Laurent wrote:

Hello,

I'm trying out git at the moment and found this page 
http://wiki.apache.org/general/GitAtApache
Is anyone here using git in front of svn ? any problem, advice ?


I used it some time for the httpd sources. I like that it is easy to 
transfer commits from the local repos to the ASF svn including commit 
log entry. The patch format is also nice.


git-svn uses the svn perl bindings which produce crashes every now and 
then, at least on my system. I didn't have any situation where the crash 
left over inconsistent files or incomplete transactions. The crashes 
happen during process cleanup.


Overall I liked it.

Regards,

Rainer

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



anyone using git-svn for tomcat ?

2011-04-07 Thread Sylvain Laurent
Hello,

I'm trying out git at the moment and found this page 
http://wiki.apache.org/general/GitAtApache 
Is anyone here using git in front of svn ? any problem, advice ?

Sylvain