[rb-general] [Git][reproducible-builds/diffoscope][master] Limit .dsc and .buildinfo file matching to files in ASCII format. (Closes:...

Mattia Rizzolo mapreri at gmail.com
Sat Nov 23 18:20:32 UTC 2019


Just... I'm pretty sure python3-debian handles utf8 just fine, at the very
least.

On Sat, 23 Nov 2019, 6:51 pm Chris Lamb, <gitlab at salsa.debian.org> wrote:

> Chris Lamb pushed to branch master at Reproducible Builds / diffoscope
> <https://salsa.debian.org/reproducible-builds/diffoscope> Commits:
>
>    - *ab342790
>    <https://salsa.debian.org/reproducible-builds/diffoscope/commit/ab342790d824d1683d8f7654c570b810e3540274>*
>    by Chris Lamb *at 2019-11-23T17:51:06Z*
>
>    Limit .dsc and .buildinfo file matching to files in ASCII format. (Closes: reproducible-builds/diffoscope#77)
>
>
> 1 changed file:
>
>    - diffoscope/comparators/debian.py
>    <#m_-1825202084557878326_6e9ba94e7492bb3557b65284d13a9dd94a843708>
>
> Changes:
> - *diffoscope/comparators/debian.py*
> <https://salsa.debian.org/reproducible-builds/diffoscope/commit/ab342790d824d1683d8f7654c570b810e3540274#6e9ba94e7492bb3557b65284d13a9dd94a843708>
> ------------------------------
> ... ... @@ -166,6 +166,7 @@ class DebControlFile(File):
> 166 166
>
>  class DotChangesFile(DebControlFile):
>
> 167 167
>
>      DESCRIPTION = "Debian .changes files"
>
> 168 168
>
>      FILE_EXTENSION_SUFFIX = '.changes'
>
> 169
>
> +    FILE_TYPE_RE = re.compile(r'^ASCII text')
>
> 169 170
>
>   170 171
>
>      @classmethod
>
> 171 172
>
>      def recognizes(cls, file):
>
> ... ... @@ -262,6 +263,7 @@ class DotBuildinfoFile(DebControlFile):
> 262 263
>
>      DESCRIPTION = "Debian .buildinfo files"
>
> 263 264
>
>      CONTAINER_CLASS = DotBuildinfoContainer
>
> 264 265
>
>      FILE_EXTENSION_SUFFIX = '.buildinfo'
>
> 266
>
> +    FILE_TYPE_RE = re.compile(r'^ASCII text')
>
> 265 267
>
>   266 268
>
>      @classmethod
>
> 267 269
>
>      def recognizes(cls, file):
>
>
>> View it on GitLab
> <https://salsa.debian.org/reproducible-builds/diffoscope/commit/ab342790d824d1683d8f7654c570b810e3540274>.
>
> You're receiving this email because of your account on salsa.debian.org.
> If you'd like to receive fewer emails, you can adjust your notification
> settings.
> _______________________________________________
> rb-commits at lists.reproducible-builds.org mailing list
>
> To change your subscription options, visit
> https://lists.reproducible-builds.org/listinfo/rb-commits.
>
> To unsubscribe, send an email to
> rb-commits-unsubscribe at lists.reproducible-builds.org.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-general/attachments/20191123/669343b4/attachment.htm>


More information about the rb-general mailing list