gwillem / magento-malware-scanner

Scanner, signatures and the largest collection of Magento malware
GNU General Public License v3.0
679 stars 153 forks source link

change source package format to native #187

Closed vdloo closed 6 years ago

vdloo commented 6 years ago

makes it easier to rebuild the same release after changing the packaging, for example:

sed -i '1 s/mwscan (\(.*\))\+/mwscan (\1-byte1)/g' debian/changelog  # bump upstream package version and add -byte suffix

would create 'python-mwscan_20180228.120927-byte1_all.deb' with gbp buildpackage --git-pbuilder --git-dist=xenial --git-arch=amd64 --git-debian-branch=master -us -uc -sa --git-ignore-new , but without setting the format to native you'd get this error "gbp:error: upstream/20180228.120927 is not a valid treeish" as it tries to look for a (non existing) upstream tarball.

see https://wiki.debian.org/Projects/DebSrc3.0

gwillem commented 6 years ago

Cheers!