Hey.

2017-03-18 Thread Samantha Meek
Hello, Please can you handle a project for me?
Thanks
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: [PATCH] Prefer experimental over unstable/sid when calculating "diffoscope in Debian" version.

2017-03-18 Thread Chris Lamb
Holger Levsen wrote:

> > You can also merge from the "pypi-diffoscope-experimental" branch of
> > https://github.com/lamby/jenkins.debian.net if that is more convenient.
> 
> cool, thanks! picked & deployed!

No problem :)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


Re: [PATCH] Prefer experimental over unstable/sid when calculating "diffoscope in Debian" version.

2017-03-18 Thread Holger Levsen
On Sat, Mar 18, 2017 at 07:15:23PM +, Chris Lamb wrote:
>   diffoscope_distribution_test.sh: Prefer experimental over unstable/sid 
> when calculating "diffoscope in Debian" version.
>   diffoscope_distribution_test.sh: Match distribution exactly (eg. reject 
> "buildd-experimental")
> You can also merge from the "pypi-diffoscope-experimental" branch of
> https://github.com/lamby/jenkins.debian.net if that is more convenient.

cool, thanks! picked & deployed!


-- 
cheers,
Holger


signature.asc
Description: Digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

[PATCH] Prefer experimental over unstable/sid when calculating "diffoscope in Debian" version.

2017-03-18 Thread Chris Lamb
Hi,

Attached is the following:

  commit 8760e9cf7965152e04d57e36eaee89e8752c7c92
  Author: Chris Lamb 
  Date:   Sat Mar 18 19:12:28 2017 +
  
  diffoscope_distribution_test.sh: Prefer experimental over unstable/sid 
when calculating "diffoscope in Debian" version.
  
  Signed-off-by: Chris Lamb 
  
   bin/diffoscope_distribution_test.sh | 9 -
   1 file changed, 8 insertions(+), 1 deletion(-)
  
  commit b4c1a238cc160e9a03cab02ec9a8f84564d1b08e
  Author: Chris Lamb 
  Date:   Sat Mar 18 19:13:06 2017 +
  
  diffoscope_distribution_test.sh: Match distribution exactly (eg. reject 
"buildd-experimental")
  
  Signed-off-by: Chris Lamb 
  
   bin/diffoscope_distribution_test.sh | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)


You can also merge from the "pypi-diffoscope-experimental" branch of
https://github.com/lamby/jenkins.debian.net if that is more convenient.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
From b4c1a238cc160e9a03cab02ec9a8f84564d1b08e Mon Sep 17 00:00:00 2001
From: Chris Lamb 
Date: Sat, 18 Mar 2017 19:13:06 +
Subject: [PATCH 2/2] diffoscope_distribution_test.sh: Match distribution
 exactly (eg. reject "buildd-experimental")

Signed-off-by: Chris Lamb 
---
 bin/diffoscope_distribution_test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/diffoscope_distribution_test.sh b/bin/diffoscope_distribution_test.sh
index 6a27a087..a80050da 100755
--- a/bin/diffoscope_distribution_test.sh
+++ b/bin/diffoscope_distribution_test.sh
@@ -69,7 +69,7 @@ check_whohas() {
 #
 for SUITE in 'experimental' 'unstable|sid'
 do
-	DIFFOSCOPE_IN_DEBIAN=$(rmadison diffoscope|egrep "${SUITE}"| awk '{print $3}' || true)
+	DIFFOSCOPE_IN_DEBIAN=$(rmadison diffoscope|egrep " ${SUITE} "| awk '{print $3}' || true)
 
 	if [ "$DIFFOSCOPE_IN_DEBIAN" != "" ] ; then
 		break
-- 
2.11.0

From 8760e9cf7965152e04d57e36eaee89e8752c7c92 Mon Sep 17 00:00:00 2001
From: Chris Lamb 
Date: Sat, 18 Mar 2017 19:12:28 +
Subject: [PATCH 1/2] diffoscope_distribution_test.sh: Prefer experimental over
 unstable/sid when calculating "diffoscope in Debian" version.

Signed-off-by: Chris Lamb 
---
 bin/diffoscope_distribution_test.sh | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/bin/diffoscope_distribution_test.sh b/bin/diffoscope_distribution_test.sh
index a5808bec..6a27a087 100755
--- a/bin/diffoscope_distribution_test.sh
+++ b/bin/diffoscope_distribution_test.sh
@@ -67,7 +67,14 @@ check_whohas() {
 #
 # main
 #
-DIFFOSCOPE_IN_DEBIAN=$(rmadison diffoscope|egrep '(unstable|sid)'| awk '{print $3}' || true)
+for SUITE in 'experimental' 'unstable|sid'
+do
+	DIFFOSCOPE_IN_DEBIAN=$(rmadison diffoscope|egrep "${SUITE}"| awk '{print $3}' || true)
+
+	if [ "$DIFFOSCOPE_IN_DEBIAN" != "" ] ; then
+		break
+	fi
+done
 
 case $1 in
 	PyPI)	check_pypi
-- 
2.11.0

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds