This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Format: 1.8 | |
Date: Tue, 22 Jun 2016 19:44:37 +0530 | |
Source: aolserver4 | |
Binary: aolserver4-daemon aolserver4-core aolserver4-dev aolserver4-doc | |
Architecture: amd64 all | |
Version: 4.5.1-18.0~reproducible1.0~reproducible1 | |
Distribution: UNRELEASED | |
Urgency: medium | |
Maintainer: Francesco Paolo Lovergine <frankie@debian.org> | |
Changed-By: Satyam Zode <satyamzode@gmail.com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Format: 1.8 | |
Date: Tue, 21 Jun 2016 19:44:37 +0530 | |
Source: aolserver4 | |
Binary: aolserver4-daemon aolserver4-core aolserver4-dev aolserver4-doc | |
Architecture: amd64 all | |
Version: 4.5.1-18.0~reproducible1.0~reproducible1 | |
Distribution: UNRELEASED | |
Urgency: medium | |
Maintainer: Francesco Paolo Lovergine <frankie@debian.org> | |
Changed-By: Satyam Zode <satyamzode@gmail.com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
satyam@satyamz:~/debian/satyamz-guest/project/reproducible-builds/diffoscope/bin$ ./diffoscope aolserver4/b1/aolserver4_4.5.1-18.0~reproducible1.0~reproducible1_amd64.changes aolserver4/b2/aolserver4_4.5.1-18.0~reproducible1.0~reproducible1_amd64.changes | |
--- aolserver4/b1/aolserver4_4.5.1-18.0~reproducible1.0~reproducible1_amd64.changes | |
+++ aolserver4/b2/aolserver4_4.5.1-18.0~reproducible1.0~reproducible1_amd64.changes | |
├── Files | |
│ @@ -1,6 +1,8 @@ | |
│ | |
│ 36e93c15d8de929d1513f5385f7e10e3 26568 debug extra aolserver4-core-dbgsym_4.5.1-18.0~reproducible1.0~reproducible1_amd64.deb | |
│ 15065141cf6c72156a647fdf7bc40858 275560 web optional aolserver4-core_4.5.1-18.0~reproducible1.0~reproducible1_amd64.deb | |
│ 68c9520b022f89300196b54c1c90dcf5 4894 debug extra aolserver4-daemon-dbgsym_4.5.1-18.0~reproducible1.0~reproducible1_amd64.deb | |
│ 7d78fe13989763fe6cad2dccfd9bc8e9 164854 web optional aolserver4-daemon_4.5.1-18.0~reproducible1.0~reproducible1_amd64.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/diffoscope/comparators/debian.py b/diffoscope/comparators/debian.py | |
index 9c12f3d..9f4bfae 100644 | |
--- a/diffoscope/comparators/debian.py | |
+++ b/diffoscope/comparators/debian.py | |
@@ -147,6 +147,17 @@ class DotChangesFile(DebControlFile): | |
file._deb822 = changes | |
return True | |
+ def compare(self, other, source=None): | |
+ try: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Pdb) differences | |
<Difference /tmp/pytest-of-satyam/pytest-0/test_dot_changes_different_con0/d/test_4.changes -- /tmp/pytest-of-satyam/pytest-0/test_dot_changes_different_con0/b/test_1.changes [<Difference Description -- Description []>, <Difference Files -- Files []>, <Difference test_2.buildinfo -- test_2.buildinfo []>]> | |
(Pdb) differences.details | |
[<Difference Description -- Description []>, <Difference Files -- Files []>, <Difference test_2.buildinfo -- test_2.buildinfo []>] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/diffoscope/comparators/debian.py b/diffoscope/comparators/debian.py | |
index 9c12f3d..2578503 100644 | |
--- a/diffoscope/comparators/debian.py | |
+++ b/diffoscope/comparators/debian.py | |
@@ -147,6 +147,14 @@ class DotChangesFile(DebControlFile): | |
file._deb822 = changes | |
return True | |
+ def compare(self, other, source=None): | |
+ differences = super().compare(other, source) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From d74f65cd06492ee5edca2f38e1ee1ad52ca33ddd Mon Sep 17 00:00:00 2001 | |
From: Satyam Zode <satyamzode@gmail.com> | |
Date: Sun, 21 Aug 2016 22:34:39 +0530 | |
Subject: [PATCH] Improve behaviour of diffoscope while comparing .changes | |
files | |
compare() method returns differences which includes `.buildinfo` | |
differences by default. | |
One would want to ignore `.buildinfo` differences if all files in | |
`Files` as well as all other fields of `.changes` files are same. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/diffoscope/comparators/gzip.py b/diffoscope/comparators/gzip.py | |
index fff03e5..876418f 100644 | |
--- a/diffoscope/comparators/gzip.py | |
+++ b/diffoscope/comparators/gzip.py | |
@@ -25,6 +25,7 @@ import collections | |
from diffoscope import logger, tool_required | |
from diffoscope.difference import Difference | |
from diffoscope.comparators.utils import Archive, get_compressed_content_name | |
+from diffoscope.config import Config | |
This document describes process for creating contributing to openebs/external-storage project. At a very high level, the process to contribute and improve is pretty simple:
- Submit an Issue describing your proposed change
- Create your development branch
- Commit your changes
- Submit your Pull Request
- Sync
openebs/external-storage
repository