[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: mailer.py: Problem with substitution

From: Stefan Wimmer <swimmer_at_gx.nl>
Date: 2004-10-13 16:07:26 CEST

* C. Michael Pilato <cmpilato@collab.net> [2004-10-12 18:37]:
>> let me describe the situation: I have 1 repository for projects
                                                                               
                            
>> with a lot of sub-projects and I'd like to be able to show the
                                                                               
                            
>> sub-project name in the subject of the commit mails. But I get
                                                                               
                            
>> error messages if I try to use the substitution functionality from
                                                                               
                            
>> mailer.conf :(
                                                                               
                            
>
                                                                               
                            
> Sorry, I meant to respond to your mail earlier. The solution is that
                                                                               
                            
> you need to use individual sections in mailer.conf for each of your
                                                                               
                            
> projects, not a pattern-matching attempt.
                                                                               
                            
>
                                                                               
                            
> Were I you, I'd made a per-repository mailer.conf file. This file
                                                                               
                            
> would have all the default values setup appropriately for all the
                                                                               
                            
> projects in the repository. Then, for each project, you have a
                                                                               
                            
> section for overriding the repository:
                                                                               
                            
>
                                                                               
                            
> [defaults]
                                                                               
                            
> for_repos = /subversion/projects/projects
                                                                               
                            
> ...
                                                                               
                            
>
                                                                               
                            
> [project1]
                                                                               
                            
> for_path = project1
                                                                               
                            
> commit_subject_prefix = [project1]
                                                                               
                            
>
                                                                               
                            
> [project2]
                                                                               
                            
> for_path = project2
                                                                               
                            
> commit_subject_prefix = [project2]
                                                                               
                            
>
                                                                               
                            
> ...
                                                                               
                            

Hello Michael,

many thanks for your response :)

If I understand you right this means that I can't use sort of an automatic
proces for using specific subjects depending on the path of the commited
item :(

The idea was to use only 1 big repository for all projects and enable
the developers to add their new projects in the root of the repository
and let the mailer.conf do the automagical assignment of the correct
subject without needing to add new entries in the mailer.conf every time
a new project is added ...

No go though :(

But thanks for your advice
Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 13 16:07:52 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.