- Use Case : Ignoring .buildinfo file from .changes file
- Interface :
--hide-buildinfo
or--hide=buildinfo
(Not--hide=*.buildinfo
since there's only one buildinfo file)
This file contains hidden or 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 <[email protected]> | |
Changed-By: Satyam Zode <[email protected]> |
This file contains hidden or 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 | |
├── Date | |
│ @@ -1 +1 @@ | |
│ -Tue, 21 Jun 2016 19:44:37 +0530 | |
│ +Tue, 22 Jun 2016 19:44:37 +0530 | |
╵ |
This file contains hidden or 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 052512d..704e436 100644 | |
--- a/diffoscope/comparators/debian.py | |
+++ b/diffoscope/comparators/debian.py | |
@@ -166,15 +166,11 @@ class DotChangesFile(DebControlFile): | |
continue | |
# Find whether files are identical or not. | |
+ | |
differences = super(DotChangesFile, self).compare(other) |
This file contains hidden or 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/tests/comparators/test_debian.py b/tests/comparators/test_debian.py | |
index 627e0af..0561ccf 100644 | |
--- a/tests/comparators/test_debian.py | |
+++ b/tests/comparators/test_debian.py | |
@@ -33,6 +33,7 @@ from diffoscope.presenters.text import output_text | |
TEST_DOT_CHANGES_FILE1_PATH = os.path.join(os.path.dirname(__file__), '../data/test1.changes') | |
TEST_DOT_CHANGES_FILE2_PATH = os.path.join(os.path.dirname(__file__), '../data/test2.changes') | |
+TEST_DOT_CHANGES_FILE3_PATH = os.path.join(os.path.dirname(__file__), '../data/test3.changes') | |
TEST_DEB_FILE1_PATH = os.path.join(os.path.dirname(__file__), '../data/test1.deb') |
This file contains hidden or 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/tests/comparators/test_debian.py b/tests/comparators/test_debian.py | |
index 86e70c2..d9396e1 100644 | |
--- a/tests/comparators/test_debian.py | |
+++ b/tests/comparators/test_debian.py | |
@@ -35,6 +35,8 @@ TEST_DOT_CHANGES_FILE1_PATH = os.path.join(os.path.dirname(__file__), '../data/t | |
TEST_DOT_CHANGES_FILE2_PATH = os.path.join(os.path.dirname(__file__), '../data/test2.changes') | |
TEST_DEB_FILE1_PATH = os.path.join(os.path.dirname(__file__), '../data/test1.deb') | |
TEST_DEB_FILE2_PATH = os.path.join(os.path.dirname(__file__), '../data/test2.deb') | |
+TEST_DOT_BUILDINFO_FILE1_PATH = os.path.join(os.path.dirname(__file__), '../data/test1.buildinfo') | |
+TEST_DOT_BUILDINFO_FILE2_PATH = os.path.join(os.path.dirname(__file__), '../data/test2.buildinfo') |
- apkdiff :
-
URL : https://github.com/WhisperSystems/Signal-Android/blob/master/apkdiff/apkdiff.py
-
How it works : apkdiff is used to check the reproduciblity of Signal app (https://github.com/WhisperSystems/Signal-Android/wiki/Reproducible-Builds)
-
What it ignores: apkfiff ignores three types of files from .apk packages
- CERT.SF - signature file
- CERT.RSA - the real signature file with certificate
-
MANIFEST.MF - manifest file
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
class WgetFile: | |
""" WgetFile is a File Data Container object """ | |
def __init__ ( | |
self, | |
name, | |
content, #Removed default argument | |
timestamp=None, | |
rules=None |
This file contains hidden or 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
#!/usr/bin/env python3 | |
from sys import exit | |
from test.ftp_test import FTPTest | |
from test.base_test import FTP | |
from misc.wget_file import WgetFile | |
import os | |
""" | |
This test ensures that Wget recursive download from FTP Server | |
""" |
NewerOlder