[Git][reproducible-builds/diffoscope-website][master] 2 commits: also recognize my diffoscope checkout that is one level deeper

Mattia Rizzolo (@mattia) gitlab at salsa.debian.org
Tue Feb 28 19:46:45 UTC 2023



Mattia Rizzolo pushed to branch master at Reproducible Builds / diffoscope-website


Commits:
472f8a56 by Mattia Rizzolo at 2023-02-28T19:47:51+01:00
also recognize my diffoscope checkout that is one level deeper

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -
6082b88d by Mattia Rizzolo at 2023-02-28T19:52:45+01:00
Update metadata and news to match release of version 237

Signed-off-by: Mattia Rizzolo <mattia at debian.org>

- - - - -


3 changed files:

- _data/diffoscope.yml
- + _posts/2023-02-28-diffoscope-237-released.md
- update


Changes:

=====================================
_data/diffoscope.yml
=====================================
@@ -101,5 +101,5 @@ description: 'File formats supported include: Android APK files, Android boot im
   image files, WebAssembly binary module, XML binary schemas (.xsb), XML files, XMLB
   files, XZ compressed files, ZIP archives and Zstandard compressed files.'
 latest_release:
-  date: 1676652521
-  version: '236'
+  date: 1677604569
+  version: '237'


=====================================
_posts/2023-02-28-diffoscope-237-released.md
=====================================
@@ -0,0 +1,18 @@
+---
+layout: post
+title: diffoscope 237 released
+author: Mattia Rizzolo <mattia at debian.org>
+---
+
+The diffoscope maintainers are pleased to announce the release of diffoscope
+version `237`. This version includes the following changes:
+
+```
+* autopkgtest: only install appt and dexdump on architectures where they are
+  available. (Closes: #1031297)
+* compartors/pdf:
+  + Drop backward compatibility assignment.
+  + Fix flake warnings, potentially reinstating PyPDF 1.x support (untested).
+```
+
+You find out more by [visiting the project homepage](https://diffoscope.org).


=====================================
update
=====================================
@@ -34,14 +34,16 @@ def main():
     src = "https://salsa.debian.org/reproducible-builds/diffoscope.git"
 
     # Prefer a local checkout if it exists
-    candidate = os.path.join(
-        os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
-        "diffoscope",
-        ".git",
-    )
-
-    if os.path.exists(candidate):
-        src = candidate
+    basepath = os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
+    candidates = [
+        os.path.join(*basepath, "diffoscope", ".git"),
+        os.path.join(*basepath, "diffoscope", "diffoscope", ".git"),
+    ]
+
+    for candidate in candidates:
+        if os.path.exists(candidate):
+            src = candidate
+            break
 
     with tempfile.TemporaryDirectory() as t:
         git_dir = os.path.join(t, "diffoscope")



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope-website/-/compare/84a15e9239d418aaebce1aceeac2796964e4b6a9...6082b88d6e3f2495ddfab5eb16e898afa9df2515

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope-website/-/compare/84a15e9239d418aaebce1aceeac2796964e4b6a9...6082b88d6e3f2495ddfab5eb16e898afa9df2515
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20230228/eb30df49/attachment.htm>


More information about the rb-commits mailing list