Re: [Tails-dev] [PATCH] config/amnesia: use --show-field over sed filtering.

2015-09-10 Thread sajolida
anonym:
> On 09/09/2015 01:37 AM, Chris Lamb wrote:
>> Attached is the following:
>>
>>   commit 6c1c6e20ac22c4c15517d7b231fe0dd1714db8e0
>>   Author: Chris Lamb 
>>   Date:   Wed Sep 9 00:13:21 2015 +0100
>>   
>>   config/amnesia: use --show-field over sed filtering.
> 
> Unfortunately -S/--show-field isn't available in the dpkg-parsechangelog
> available in Debian Wheezy, and we still want to support building Tails
> on that target (notably since our Vagrant-based build system still is
> stuck on that version). We should naturally do this move once we stop
> supporting that target.

NB: I'm putting back Chris in copy as I'm not sure he (or she) is in the
list.

Thanks for investigating this anonym. Maybe we should create a Redmine
ticket to store this patch for when it will become relevant? Do we have
anything related to the build on Wheezy in Redmine?
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.


Re: [Tails-dev] [PATCH] config/amnesia: use --show-field over sed filtering.

2015-09-10 Thread Chris Lamb
> Maybe we should create a Redmine ticket to store this patch for when
> it will become relevant?

Too much overhead - let's just leave it; nothing is broken right now and
it's unlikely to be break silently in the future. :)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.


[Tails-dev] [PATCH] config/amnesia: use --show-field over sed filtering.

2015-09-08 Thread Chris Lamb
Hi,

Attached is the following:

  commit 6c1c6e20ac22c4c15517d7b231fe0dd1714db8e0
  Author: Chris Lamb 
  Date:   Wed Sep 9 00:13:21 2015 +0100
  
  config/amnesia: use --show-field over sed filtering.
  
  Signed-off-by: Chris Lamb 
  
   config/amnesia | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
From 6c1c6e20ac22c4c15517d7b231fe0dd1714db8e0 Mon Sep 17 00:00:00 2001
From: Chris Lamb 
Date: Wed, 9 Sep 2015 00:13:21 +0100
Subject: [PATCH] config/amnesia: use --show-field over sed filtering.

Signed-off-by: Chris Lamb 
---
 config/amnesia | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/amnesia b/config/amnesia
index 437ccdf..fc0028d 100644
--- a/config/amnesia
+++ b/config/amnesia
@@ -32,7 +32,7 @@ fi
 # Compute the current Amnesia's version once for all
 AMNESIA_NOW="`date --utc '+%Y%m%dT%H%MZ'`"
 AMNESIA_TODAY="`date '+%Y%m%d'`"
-AMNESIA_VERSION="`dpkg-parsechangelog | sed -n 's/^Version: //p'`"
+AMNESIA_VERSION="`dpkg-parsechangelog -SVersion`"
 AMNESIA_FULL_VERSION="${AMNESIA_VERSION} - ${AMNESIA_TODAY}"
 
 # Developpers' data used by git-dch, debcommit and friends in the release script
-- 
2.5.1

___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.

Re: [Tails-dev] [PATCH] config/amnesia: use --show-field over sed filtering.

2015-09-08 Thread anonym
On 09/09/2015 01:37 AM, Chris Lamb wrote:
> Hi,

Hi!

> Attached is the following:
> 
>   commit 6c1c6e20ac22c4c15517d7b231fe0dd1714db8e0
>   Author: Chris Lamb 
>   Date:   Wed Sep 9 00:13:21 2015 +0100
>   
>   config/amnesia: use --show-field over sed filtering.

Unfortunately -S/--show-field isn't available in the dpkg-parsechangelog
available in Debian Wheezy, and we still want to support building Tails
on that target (notably since our Vagrant-based build system still is
stuck on that version). We should naturally do this move once we stop
supporting that target.

Cheers!

___
Tails-dev mailing list
Tails-dev@boum.org
https://mailman.boum.org/listinfo/tails-dev
To unsubscribe from this list, send an empty email to 
tails-dev-unsubscr...@boum.org.