Risha,

On Friday, November 15, 2024 10:18:53 PM MST Risha Nayaz wrote:
> Dear Debian Mentors,
> 
> I am packaging a Python-based tool, `holehe`, and I am encountering 
persistent
> errors during the build process that I have been unable to resolve. I would
> greatly appreciate your guidance.
> 
> ### Problem Description:
> 1. `lintian` reports the following errors:
>    - `E: holehe changes: bad-distribution-in-changes-file unstable`
> 
> 2. Despite trying the following, the errors persist:
>    - Changing the distribution in `debian/changelog` to `experimental` or
> `unstable`. - Running `debclean` and rebuilding the package.
> 
> ### Repository:
> - Salsa: https://salsa.debian.org/rishanayaz/holehe.git
> 
> ### Additional Information:
> - I am using `dpkg-buildpackage` and `lintian` for building and checking.
> 
> I would be grateful for any advice or pointers to help me resolve this issue
> and proceed with my packaging. Please let me know if further information is
> needed.

I think the first place to start is that your debian/watch file can’t find any 
releases.

$ uscan --download-current-version
uscan warn: In debian/watch no matching hrefs for version 1.61 in watch line
  https://github.com/megadose/holehe/releases .*/archive/v?(\d\S*)\.tar\.gz

$ uscan -vv
uscan info: uscan (version 2.24.2) See uscan(1) for help
uscan info: Scan watch files in .
uscan debug: Found ./debian
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="holehe" version="1.61-1" (as seen in debian/changelog)
uscan info: package="holehe" version="1.61" (no epoch/revision)
uscan info: ./debian/changelog sets package="holehe" version="1.61"
uscan info: Process watch file at: debian/watch
    package = holehe
    version = 1.61
    pkg_dir = .
uscan debug: parse line opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/holehe-
$1.tar.gz/ https://github.com/megadose/holehe/releases .*/archive/v?(\d\S*)
\.tar\.gz
uscan info: opts: filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/holehe-$1.tar.gz/
uscan info: line: https://github.com/megadose/holehe/releases .*/archive/v?
(\d\S*)\.tar\.gz
uscan info: Parsing filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/holehe-$1.tar.gz/
uscan info: line: https://github.com/megadose/holehe/releases .*/archive/v?
(\d\S*)\.tar\.gz
uscan debug: $self->{'pgpmode'}=default, $self->{'pgpsigurlmangle'}=undef
uscan info: Last orig.tar.* tarball version (from debian/changelog): 1.61
uscan info: Last orig.tar.* tarball version (dversionmangled): 1.61
uscan debug: watch file has:
    $base        = https://github.com/megadose/holehe/releases
    $filepattern = .*/archive/v?(\d\S*)\.tar\.gz
    $lastversion = 1.61
    $action      = 
    mode         = http
    pgpmode      = default
    versionmode  = newer
    $site        = https://github.com
    $basedir     = /megadose/holehe/
uscan debug: line: search()
uscan info: Requesting URL:
   https://github.com/megadose/holehe/releases
uscan info: Matching pattern:
   (?:(?:https://github.com)?\/megadose\/holehe\/)?.*/archive/v?(\d\S*)
\.tar\.gz
uscan debug: Resolving urls with query part unimplemented
uscan warn: In debian/watch no matching files for watch line
  https://github.com/megadose/holehe/releases .*/archive/v?(\d\S*)\.tar\.gz 
[Devscripts::Uscan::http: 135]
uscan info: Scan finished

You might take a look at the GitHub section of:

https://wiki.debian.org/debian/watch#GitHub

-- 
Soren Stoutner
so...@debian.org

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to