Build recipes don't expand svn keywords

Bug #780916 reported by Darxus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

https://code.launchpad.net/~darxus/+recipe/spamassassin-daily

This contains svn keywords: $LastChangedDate$ and $LastChangedRevision$
Because they aren't expanded, the X-Spam-Checker-Version header inserted by builds from it end up broken.

Relevant code lines as retrieved via svn client:

$SUB_VERSION = (split(/\s+/,'$LastChangedDate: 2010-03-30 08:02:18 -0400 (Tue, 30 Mar 2010) $ updated by SVN'))[1];
       ('r' . qw{$LastChangedRevision: 929098 $ updated by SVN}[1]));

Same lines built with this recipe:

$SUB_VERSION = (split(/\s+/,'$LastChangedDate$ updated by SVN'))[1];
       ('r' . qw{$LastChangedRevision$ updated by SVN}[1]));

Tags: recipe
Revision history for this message
William Grant (wgrant) wrote :

The buildds probably need bzr-svn installed, and may need a config file to turn on the expansion.

Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
William Grant (wgrant)
tags: added: recipe
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This would require bzr-svn to be installed on the clients, as well as some way to propagate what files to expand keywords on.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.