[Anthill-pro] SVN Repo path
Yanko, Curtis
curt_yanko at uhc.com
Wed Jun 11 11:38:05 CDT 2008
It would be really nice to have this list of module paths available as a
flattened list and build life property. Wink wink, nudge nudge, know
what I mean?
We are all about getting positive identification into are artifacts as
meta-data and have settled on:
- version w/build number (where buildnumber is the svn revision number)
- Date time (the fact that it is the same one used by SVN CO is a big
plus)
- The path the source was pulled from
In this way we feel that we have traceability from code in Production
straight to SVN without any need to look up or cross reference another
system. The fact that they would all jive with AHP is key as well
obviously but in internal discussion 'traceable to source' is seen as
the over arching goal.
===
-Curt
W: 860.702.9059
M: 860.881.2050
-----Original Message-----
From: Ryan Smith [mailto:rws at urbancode.com]
Sent: Wednesday, June 11, 2008 9:21 AM
To: Yanko, Curtis
Cc: AnthillPro user and support list.
Subject: Re: [Anthill-pro] SVN Repo path
Cool, I forgot the () at the end of getModuleArray.
Yanko, Curtis wrote:
> I got this to work:
>
> -Dsvn.url=${bsh:sourceConfig=BuildLifeLookup.getCurrent().getProfile()
> .g etSourceConfig(); module=sourceConfig.getModuleArray(); return
> sourceConfig.getRepository().getSvnRoot() + "/" + module[0].getUrl()}
>
>
> ===
> -Curt
> W: 860.702.9059
> M: 860.881.2050
>
> -----Original Message-----
> From: Ryan Smith [mailto:rws at urbancode.com]
> Sent: Wednesday, June 11, 2008 7:54 AM
> To: Yanko, Curtis
> Cc: AnthillPro user and support list.
> Subject: Re: [Anthill-pro] SVN Repo path
>
> Curtis,
>
> For Subversion, the source config can have multiple modules and
> hopefully you only have one to make this easier. You can complete the
> URL with:
>
> ${bsh:sourceConfig =
> BuildLifeLookup.getCurrent().getProfile().getSourceConfig();
> return sourceConfig.getRepository().getSvnRoot() + "/" +
> sourceConfig.getModuleArray[0].getUrl()}
>
>
> Yanko, Curtis wrote:
>
>> Ryan,
>>
>> I tried SourceConfig but it gave me the whole config. How do I get
>> the
>>
>
>
>> 'rest' of the svn url for the workflow?
>>
>>
>> ===
>> -Curt
>> W: 860.702.9059
>> M: 860.881.2050
>>
>> -----Original Message-----
>> From: anthill-pro-bounces at lists.urbancode.com
>> [mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Ryan
>> Smith
>> Sent: Tuesday, June 10, 2008 9:27 AM
>> To: AnthillPro user and support list.
>> Subject: Re: [Anthill-pro] SVN Repo path
>>
>> ${bsh:BuildLifeLookup.getCurrent().getProfile().getSourceConfig().get
>> R
>> ep
>> ository().getSvnRoot()}
>>
>> This gets the URL from the repository. Do you need to concatenate it
>> with the source config or module information?
>>
>> Ryan
>>
>> Yanko, Curtis wrote:
>>
>>
>>> Can I retrieve this value with a script (like grabbing a stamp) so
>>> I
>>>
>
>
>>> can pass it into builds to get in manifest?
>>>
>>> Also, a date/time stamp? I'll dig around the helper script stuff
>>> but
>>>
>
>
>>> I'm awful at this game!
>>>
>>>
>>> ===
>>> -Curt
>>> W: 860.702.9059
>>> M: 860.881.2050
>>>
>>>
>>>
>>> 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-pro mailing list
>>> Anthill-pro at lists.urbancode.com
>>> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>>>
>>>
>>>
>>>
>> _______________________________________________
>> Anthill-pro mailing list
>> Anthill-pro at lists.urbancode.com
>> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>>
>>
>> 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.
>
>>
>>
>
>
> 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.
>
>
>
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.
More information about the Anthill-pro
mailing list