[Git][reproducible-builds/diffoscope-website][master] Don't collapse spaces in some file formats due to newline handling.

Chris Lamb gitlab at salsa.debian.org
Thu May 28 14:19:29 UTC 2020



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope-website


Commits:
0228a533 by Chris Lamb at 2020-05-28T15:19:16+01:00
Don't collapse spaces in some file formats due to newline handling.

- - - - -


2 changed files:

- _data/diffoscope.yml
- update


Changes:

=====================================
_data/diffoscope.yml
=====================================
@@ -56,25 +56,25 @@ contributors:
 - Ximin Luo
 - Yasushi SHOJI
 description: 'File formats supported include: Android APK files, Android boot images,
-  AppleXcode mobile provisioning files, Berkeley DB database files, ColorSync colourprofiles
-  (.icc), Coreboot CBFS filesystem images, Dalvik .dex files, Debianbuildinfo files,
-  Debian .changes files, Debian source packages (.dsc), DeviceTree Compiler blob files,
-  ELF binaries, FreeDesktop Fontconfig cache files,FreePascal files (.ppu), GHC Haskell
-  .hi files, GIF image files, GNU R Rscriptfiles (.rds), GNU R database files (.rdb),
-  GPG keybox databases, Gettextmessage catalogues, Git repositories, Gnumeric spreadsheets,
-  Gzipped files,Hierarchical Data Format database, ISO 9660 CD images, JPEG images,
-  JSON files,Java .class files, Java .jmod modules, JavaScript files, LLVM IR bitcode
-  files,LZ4 compressed files, MacOS binaries, Microsoft Windows icon files, MicrosoftWord
-  .docx files, Mono ''Portable Executable'' files, Mozilla-optimized .ZIParchives,
-  Multimedia metadata, OCaml interface files, Ogg Vorbis audio files,OpenOffice .odt
-  files, OpenSSH public keys, OpenWRT package archives (.ipk),PDF documents, PGP signatures,
-  PGP signed/encrypted messages, PNG images,PostScript documents, Public Key Cryptography
-  Standards (PKCS) files (version#7), Rust object files (.deflate), SQLite databases,
-  SquashFS filesystems,TrueType font files, WebAssembly binary module, XML binary
-  schemas (.xsb), XMLfiles, XZ compressed files, ZIP archives, Zstandard compressed
-  files, ar(1)archives, bzip2 archives, character/block devices, cpio archives, directories,ext2/ext3/ext4/btrfs/fat
-  filesystems, symlinks, tape archives (.tar), tcpdumpcapture files (.pcap) and text
-  files.'
+  Apple Xcode mobile provisioning files, Berkeley DB database files, ColorSync colour
+  profiles (.icc), Coreboot CBFS filesystem images, Dalvik .dex files, Debian buildinfo
+  files, Debian .changes files, Debian source packages (.dsc), Device Tree Compiler
+  blob files, ELF binaries, FreeDesktop Fontconfig cache files, FreePascal files (.ppu),
+  GHC Haskell .hi files, GIF image files, GNU R Rscript files (.rds), GNU R database
+  files (.rdb), GPG keybox databases, Gettext message catalogues, Git repositories,
+  Gnumeric spreadsheets, Gzipped files, Hierarchical Data Format database, ISO 9660
+  CD images, JPEG images, JSON files, Java .class files, Java .jmod modules, JavaScript
+  files, LLVM IR bitcode files, LZ4 compressed files, MacOS binaries, Microsoft Windows
+  icon files, Microsoft Word .docx files, Mono ''Portable Executable'' files, Mozilla-optimized
+  .ZIP archives, Multimedia metadata, OCaml interface files, Ogg Vorbis audio files,
+  OpenOffice .odt files, OpenSSH public keys, OpenWRT package archives (.ipk), PDF
+  documents, PGP signatures, PGP signed/encrypted messages, PNG images, PostScript
+  documents, Public Key Cryptography Standards (PKCS) files (version #7), Rust object
+  files (.deflate), SQLite databases, SquashFS filesystems, TrueType font files, WebAssembly
+  binary module, XML binary schemas (.xsb), XML files, XZ compressed files, ZIP archives,
+  Zstandard compressed files, ar(1) archives, bzip2 archives, character/block devices,
+  cpio archives, directories, ext2/ext3/ext4/btrfs/fat filesystems, symlinks, tape
+  archives (.tar), tcpdump capture files (.pcap) and text files.'
 latest_release:
   date: 1590222686
   version: '145'


=====================================
update
=====================================
@@ -116,7 +116,7 @@ def get_debian_substvars(git_dir):
     for x in val.decode("utf-8").splitlines():
         key, _, val = x.partition("=")
 
-        data[key] = val.replace("${Newline}", "")
+        data[key] = val.replace("${Newline}", " ")
 
     return data
 



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope-website/-/commit/0228a5336bce894936baa99343a772162ca8d7c3

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope-website/-/commit/0228a5336bce894936baa99343a772162ca8d7c3
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/20200528/9782db52/attachment.htm>


More information about the rb-commits mailing list