Re: [Trac] Git hooks script in bare repository

2012-08-29 Thread ynoslenav
Thank you. I'll put on my bare repository that post-receive script: 

https://gist.github.com/3380522

Em quarta-feira, 29 de agosto de 2012 14h19min02s UTC-3, Matthew Caron 
escreveu:
>
> On 08/29/2012 12:23 PM, ynoslenav wrote: 
> > Based on the configuration file below do you advise me to put it in the 
> > bare or local repository? My trac.ini file is configured to use the bare 
> > repository; The trac and bare repository are on the same server. 
>
> Assuming that everyone pushes to the "bare" repository, then I'd think 
> that is where you want to put it. 
>
> -- 
> Matthew Caron, Software Build Engineer 
> Sixnet, a Red Lion business | www.sixnet.com 
> +1 (518) 877-5173 x138 office 
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/ShemZbg-bxEJ.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Git hooks script in bare repository

2012-08-29 Thread Matthew Caron

On 08/29/2012 12:23 PM, ynoslenav wrote:

Based on the configuration file below do you advise me to put it in the
bare or local repository? My trac.ini file is configured to use the bare
repository; The trac and bare repository are on the same server.


Assuming that everyone pushes to the "bare" repository, then I'd think 
that is where you want to put it.


--
Matthew Caron, Software Build Engineer
Sixnet, a Red Lion business | www.sixnet.com
+1 (518) 877-5173 x138 office

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Git hooks script in bare repository

2012-08-29 Thread ynoslenav
Based on the configuration file below do you advise me to put it in the 
bare or local repository? My trac.ini file is configured to use the bare 
repository; The trac and bare repository are on the same server.  

Thanks!

[git]
> cached_repository = false
> git_bin = /usr/bin/git
> git_fs_encoding = utf-8
> persistent_cache = true
> shortrev_len = 6
> trac_user_rlookup = true
> use_committer_id = true
> use_committer_time = false
> wiki_shortrev_len = 7
> [repositories]
> .alias = mybase
> base.description = This is the ''main'' project mybase.
> base.dir = /opt/git/mybase.git
> base.hidden = true
> base.type = git
> base.url =




Em quarta-feira, 29 de agosto de 2012 12h20min49s UTC-3, Matthew Caron 
escreveu:
>
> On 08/29/2012 11:09 AM, ynoslenav wrote: 
> > To make connections between commits and tickets in which repository do i 
> > have to put the scripts post-receive and post-commit? bare or local 
> > repository or other? 
>
> I'd think it would depend on your setup. Where I work, we put them in 
> the repository on the server to which everyone pushes changes and 
> nightly builds are pulled from. 
>
> -- 
> Matthew Caron, Software Build Engineer 
> Sixnet, a Red Lion business | www.sixnet.com 
> +1 (518) 877-5173 x138 office 
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/b79wZB25hlwJ.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Git hooks script in bare repository

2012-08-29 Thread Matthew Caron

On 08/29/2012 11:09 AM, ynoslenav wrote:

To make connections between commits and tickets in which repository do i
have to put the scripts post-receive and post-commit? bare or local
repository or other?


I'd think it would depend on your setup. Where I work, we put them in 
the repository on the server to which everyone pushes changes and 
nightly builds are pulled from.


--
Matthew Caron, Software Build Engineer
Sixnet, a Red Lion business | www.sixnet.com
+1 (518) 877-5173 x138 office

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



[Trac] Git hooks script in bare repository

2012-08-29 Thread ynoslenav
To make connections between commits and tickets in which repository do i 
have to put the scripts post-receive and post-commit? bare or local 
repository or other?

thanks

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/AIwDyF5dO2sJ.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.