[update-maintainer] Can't find control when under ./debian

Bug #1885233 reported by Bryce Harrington
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Fix Released
Undecided
Bryce Harrington

Bug Description

update-maintainer is fussy about only being run in the package's root:

    ~/nginx-gu/debian$ update-maintainer
    No control file found in ./debian.

The -d option provides a way to work around this, but is a tad awkward:

    ~/nginx-gu/debian$ update-maintainer -d../debian
    The Maintainer email is set to an ubuntu.com address. Doing nothing.

Packagers often work from in the debian/ dir itself so it would be convenient to scan up the directory tree (perhaps a few levels?)

Bryce Harrington (bryce)
description: updated
Mattia Rizzolo (mapreri)
Changed in ubuntu-dev-tools (Ubuntu):
assignee: nobody → Bryce Harrington (bryce)
status: New → In Progress
Bryce Harrington (bryce)
Changed in ubuntu-dev-tools (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-dev-tools - 0.177

---------------
ubuntu-dev-tools (0.177) unstable; urgency=medium

  [ Dan Streetman ]
  * Verify checksums for downloaded binary files
  * pullpkg: support pulling from Ubuntu upload queues

  [ Mattia Rizzolo ]
  * ubuntu-build:
    + Add support for riscv64.
  * syncpackge:
    + Fix the new flake8 E741. Closes: #963310

  [ Bryce Harrington ]
  * update-maintainer:
    + Try to recurse upwards to find a valid debian directory. LP: #1885233

 -- Mattia Rizzolo <email address hidden> Sun, 28 Jun 2020 15:52:27 +0200

Changed in ubuntu-dev-tools (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.