Re: Custom commit message when tagging?
Eric Minick <[email protected]> Tue, 02 May 2006 08:43:55 -0600
| Newsgroups | gmane.comp.java.anthill |
|---|---|
| Message-ID | <[email protected]> |
Wrong list there Curtis :).
What Curtis described is how this should be done in Anthill Pro.
What I believe you could do in OS is modify your repository driver's
label pagelet. Pagelets are much like JSP pages but without taglibs and
not tied to HTTP.
From your description, I'm guess you are using Subversion. The change
to the pagelet would be something like:
1) Add a project name variable to the list near the top of the file
(after password):
String projectName = pp.getProperty(ProjectProperties.PROJECT_NAME);
2) Change the command:
svn copy --non-interactive -m "Copied by Anthill for <%=
projectName %>" etc etc
The pagelets are found in conf/profiles/<your OS>/<your driver>
Cheers,
Eric
Curtis Yanko wrote:
>
> I know that when you use the labeling script it can be set. So... in
> theory (I haven't done it but might dabble now that it came up) we can
> have the script extract a property and use it to set the comment or
> simply hand code the comment (which is how it is done in the example).
>
> - Curtis Yanko
> Uniprise Technologies
> Mail Route: CT028-11SB
> Internet email: [email protected]
> Office 860.702.9059
> Cell 860.729.8171
>
>
>
> *"Andy Levy" <[email protected]>*
> Sent by: anthill-bounces-QRS84+L55VVJU0hlZIk5wmXnswh1EIUO@public.gmane.org
>
> 05/02/2006 09:19 AM
> Please respond to
> Anthill user list <[email protected]>
>
>
>
> To
> "Anthill user list" <[email protected]>
> cc
>
> Subject
> [Anthill] Custom commit message when tagging?
>
>
>
>
>
>
>
>
>
> Is it possible to set the commit message when Anthill tags a build, on
> a per-project basis? I'd like to be able to have one project commit
> with "Tagging build for BETA deployment" and another use "Tagging
> build for PROD deployment" for example. Currently I only have "Copied
> by Anthill" and have to look at what tag was created to determine what
> actually was tagged.
> _______________________________________________
> Anthill mailing list
> Anthill-IWHQxnLZ/[email protected]
> http://lists.urbancode.com/mailman/listinfo/anthill
>
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity to
> which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
> that any dissemination, distribution or copying of this e-mail is
> prohibited. If you have received this e-mail in error, please notify the
> sender by replying to this message and delete this e-mail immediately.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Anthill mailing list
>Anthill-IWHQxnLZ/[email protected]
>http://lists.urbancode.com/mailman/listinfo/anthill
>
>