openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Seidel <matthias.sei...@hamburg.de>
Subject Re: Code Changes [Was [resolution] svn migration plan]
Date Tue, 06 Aug 2019 21:15:10 GMT
Hi Mechtilde,

Am 03.08.19 um 13:56 schrieb Mechtilde:
> Hello,
>
> I looked into
>
> main/solenv/bin/modules/SvnRevision.pm:39
>
> There we have to change the condition for the "Revision ID"

We should not change it but rather expand the logic.

This way builds before the "git switch" would still take the git-svn-id
and builds after would take the git hash.

>
> Instead of the condition for the git-svn-id we should take the hash
> which followed to the word "commit" in the first line.
>
> Here is an ouput with git show HEAD from last commit in AOO42X
>
> 1. commit 7b7ead25a5e14edc410cfd3b24d145ab38514b11 (HEAD -> AOO42X,
> origin/AOO42X)
> 2. Author: Matthias Seidel <mseidel@apache.org>
> 3. Date:   Fri Aug 2 18:45:56 2019 +0000
> 4.
> 5.    Merged r1864263 from trunk
> 6.
> 7.    Cleaned up whitespace, reordered Increase/Decrease Indent in sidebar
> 8.
> 9.    git-svn-id:
> https://svn.apache.org/repos/asf/openoffice/branches/AOO42X@1864280
> 13f79535-47bb-0310-9956-ffa450edef68
>
> I added the line numbers for better reading.
>
> Can someone wrote the right Regular Expression in Perl.

If I knew how to do it, it would be already done... ;-)

Regards,

   Matthias

>
> Kind regards
>


Mime
View raw message