Skip to content

Fix `rules` traceback on --defaultless

Anatoli Babenia requested to merge abitrolly/dh-make:patch-1 into master

This fixes the failure.

$ dh_make --indep --createorig --yes --defaultless
Maintainer Name     : anatoli
Email-Address       : anatoli@unknown
Date                : Thu, 19 Nov 2020 13:11:54 +0300
Package Name        : amend
Version             : 0.1
License             : blank
Package Type        : defaultless
Skipping creating ../amend_0.1.orig.tar.xz because it already exists
Currently there is not top level Makefile. This may require additional tuning
Traceback (most recent call last):
  File "/usr/bin/dh_make", line 858, in <module>
    main()
  File "/usr/bin/dh_make", line 853, in main
    do_debianize(args, subs)
  File "/usr/bin/dh_make", line 827, in do_debianize
    os.chmod('rules', 0o755)
FileNotFoundError: [Errno 2] No such file or directory: 'rules'

Not related, but because there is no other feedback means. What do you think about detecting Full Name + email from Git? And taking this as a priority from system defined login name?

Edited by Anatoli Babenia

Merge request reports

Loading