[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: Alexander Wahl <mail_at_alexproject.de>
Date: Thu, 03 Sep 2009 14:59:19 +0200

<b26be6d90909030335p239f0b89g84ea6ac41f94316a_at_mail.gmail.com>
<9d27feb178603a9bbf310e60e84695bd_at_www.alexproject.de>
<b26be6d90909030538t6e570e08had57e55b5e2a3735_at_mail.gmail.com>
<9a21c7eb27f0f91486b4018064ff3d13_at_www.alexproject.de> <b26be6d90909030556v7e178c08o8256066e9bed0bba_at_mail.gmail.com>
Message-ID: <2af29a8711f48f64455e6df0f1f00a50_at_www.alexproject.de>
X-Sender: mail_at_alexproject.de
Received: from intra.diacc.de [62.152.178.186] with HTTP/1.1 (POST); Thu, 03
        Sep 2009 14:59:19 +0200
User-Agent: RoundCube Webmail/0.1
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit

On Thu, 3 Sep 2009 08:56:14 -0400, Andy Levy <andy.levy_at_gmail.com> wrote:
> Please don't top-post.
Sorry. Also rookie with mailinglists. Try to avoid this in the future.
>
> 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.

Thanks. That was that hint i needed. If I can tell svn to to something as
someone makes an export I rather write a script that does the export + the
replacements for me. Thanks a lot.
>
>> 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?dsForumId65&dsMessageId#90624
>>>
>>> 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?dsForumId65&dsMessageId#90628
>>
>> 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=2390636
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-03 15:01:21 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.