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

Re: Export Code and do something

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 3 Sep 2009 08:56:14 -0400

Please don't top-post.

On Thu, Sep 3, 2009 at 08:50, Alexander Wahl<mail_at_alexproject.de> wrote:
> Hi Andy,
>
> thanks. Script-writing is no problem. My problem is how to tell subversion
> that this particular script has to be called if user exports something from
> the tags directory?  I am still rookie with subversion :-)

Do it the other way around. You're not going to "tell" Subversion
anything (you can't), you're going to tell your users to always use
your export script instead of a plain svn export.

> On Thu, 3 Sep 2009 08:38:11 -0400, Andy Levy <andy.levy_at_gmail.com> wrote:
>> On Thu, Sep 3, 2009 at 07:03, Alexander Wahl<mail_at_alexproject.de> wrote:
>>> On Thu, 3 Sep 2009 06:35:08 -0400, Andy Levy <andy.levy_at_gmail.com>
>> wrote:
>>>> On Thu, Sep 3, 2009 at 06:14, Alexander Wahl<mail_at_alexproject.de>
>> wrote:
>>>>> Hello,
>>>>>
>>>>> we "tag" stable versions of our Code with svn. Code uploaded to the
>>>>> customers website is only exported from "tags"-directory in svn. Want
>> I
>>>>> want to do is: whenever code is exported from "tags" I want to replace
>> a
>>>>> string in a config-file to the actual "tag"-revision.
>>>>>
>>>>> It's purpose is, to know in the future which Rev. is on the customers
>>>> site.
>>>>> I can do that with keywords $REV$, but this can only be done
>> client-side
>>>>> and I am search for a mechanism which I can implement on the
>> svn-server
>>>>> side.
>>>>>
>>>>> How to you "mark" your code which is deployed to the customer?
>>>>
>>>> Add the following to your export process.
>>>> http://subversion.tigris.org/faq.html#version-value-in-source
>>>>
>>>
>>> Thanks for the hint. We do not use any deployment tool like phing,ant or
>>> maven. So we do only a "svn export".
>>
>> So write a script around svn export that does it.
>>
>> ------------------------------------------------------
>>
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2390624
>>
>> To unsubscribe from this discussion, e-mail:
>> [users-unsubscribe_at_subversion.tigris.org].
> --
> ----------------------------------------------------------------------
> a l e x p r o j e c t
> ==== web architecture
>
> Alexander Wahl
> Dipl. Informationswirt(FH)
> Achalmstr. 17
> 73553 Alfdorf, Germany
>
> cellphone: +49 (0)179-7891005
> web      : www.alexproject.de
> mail     : mail_at_alexproject.de
> ----------------------------------------------------------------------
> Privileged/Confidential Information may be contained in this message. If
> you are not the addressee indicated in this message (or responsible for
> delivery of the message to such person), you may not copy or deliver this
> message to anyone. In such case, you should destroy this message, and
> notify us immediately. If you or your employer does not consent to Internet
> E-Mail messages of this kind, please advise us immediately. Opinions,
> conclusions and other information expressed in this message are not given
> or endorsed by my firm or employer unless otherwise indicated by an
> authorized representative independent of this message.
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2390628
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2390634

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-03 14:58:27 CEST

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.