Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1102267

Bug#1010570: binaries in source without related source

From Tino Mettler <tino.mettler@tikei.de>
Newsgroups linux.debian.bugs.dist
Subject Bug#1010570: binaries in source without related source
Date 2022-05-04 23:10 +0200
Message-ID <EjupX-dfcm-1@gated-at.bofh.it> (permalink)
References (7 earlier) <EjsHv-de73-3@gated-at.bofh.it> <EjsRb-dea5-1@gated-at.bofh.it> <EjtDz-deHL-9@gated-at.bofh.it> <EjoXf-dbLS-3@gated-at.bofh.it> <EjtDz-deHL-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Am Wed, May 04, 2022 at 22:12:20 +0200 schrieb Tino Mettler:
> Am Wed, May 04, 2022 at 15:17:05 -0400 schrieb Antoine Beaupré:
> 
> [...]
> 
> > maybe we could just use a +ds tarball then. add the files to redact in
> > debian/copyright and then uscan will just do the right thing for us, no
> > need to worry about the git stuff.
> 
> We need the images/ and tips/ folders from the upstream git repository.
> 
> This script would work. I already prepared a package using the +dfsg upstream
> source generated by the script. The resources are compiles during
> build, the result looks good.

I forgot to git add the upgrade.py. Furthermore, Damon mentioned
install.py. And yes, it contains another binary blob (the same ZIP
archive as upgrade.py, I guess).

Here is an improved script:

#!/bin/sh -ex

git reset --hard $1
VERSION=$(sed '/^-------------/,$d' CHANGES.md | tail -n 1 | cut -d' ' -f1)

echo > upgrade.py
echo > install.py
git add upgrade.py install.py
git rm raphodo/qrc_resources.py
git commit -m "Remove source files with embedded binary blobs"

git archive HEAD --prefix=rapid-photo-downloader-$VERSION/ -o ../rapid-photo-downloader_${VERSION}+dfsg.orig.tar.xz

Regards,
Tino

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1010570: binaries in source without related source Antoine Beaupre <anarcat@debian.org> - 2022-05-04 17:20 +0200
  Bug#1010570: binaries in source without related source Tino Mettler <tino.mettler@tikei.de> - 2022-05-04 18:00 +0200
    Bug#1010570: binaries in source without related source Antoine Beaupré <anarcat@orangeseeds.org> - 2022-05-04 19:10 +0200
      Bug#1010570: binaries in source without related source Tino Mettler <tino.mettler@tikei.de> - 2022-05-04 19:40 +0200
        Bug#1010570: binaries in source without related source Tino Mettler <tino.mettler@tikei.de> - 2022-05-04 20:10 +0200
          Bug#1010570: binaries in source without related source Antoine Beaupré <anarcat@orangeseeds.org> - 2022-05-04 20:30 +0200
            Bug#1010570: binaries in source without related source Tino Mettler <tino.mettler@tikei.de> - 2022-05-04 21:20 +0200
              Bug#1010570: binaries in source without related source Antoine Beaupré <anarcat@debian.org> - 2022-05-04 21:30 +0200
                Bug#1010570: binaries in source without related source Tino Mettler <tino.mettler@tikei.de> - 2022-05-04 22:20 +0200
                Bug#1010570: binaries in source without related source Tino Mettler <tino.mettler@tikei.de> - 2022-05-04 23:10 +0200
                Bug#1010570: binaries in source without related source Tino Mettler <tino.mettler@tikei.de> - 2022-05-05 10:40 +0200
                Bug#1010570: binaries in source without related source Tino Mettler <tino.mettler@tikei.de> - 2022-05-05 10:40 +0200
                Bug#1010570: binaries in source without related source Antoine Beaupré <anarcat@debian.org> - 2022-05-05 15:30 +0200
        Bug#1010570: binaries in source without related source Antoine Beaupré <anarcat@orangeseeds.org> - 2022-05-04 20:10 +0200
  Bug#1010570: binaries in source without related source Tino Mettler <tino.mettler@tikei.de> - 2022-05-05 22:00 +0200
    Bug#1010570: binaries in source without related source Antoine Beaupré <anarcat@orangeseeds.org> - 2022-05-05 22:20 +0200
  Bug#1010570: binaries in source without related source Tino Mettler <tino.mettler@tikei.de> - 2022-05-06 11:00 +0200
    Bug#1010570: binaries in source without related source Antoine Beaupré <anarcat@orangeseeds.org> - 2022-05-06 15:10 +0200

csiph-web