Merge ~bryce/ubuntu-dev-tools:update-maintainer-recursive into ubuntu-dev-tools:master
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 622f550cc9c21545348b22cb7c6e163aced1ef83 | ||||
Proposed branch: | ~bryce/ubuntu-dev-tools:update-maintainer-recursive | ||||
Merge into: | ubuntu-dev-tools:master | ||||
Diff against target: |
34 lines (+15/-1) 1 file modified
update-maintainer (+15/-1) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mattia Rizzolo | Needs Fixing | ||
Review via email: mp+386415@code.staging.launchpad.net |
Description of the change
Allow running ubuntu-maintainer inside the debian/ directory.
1. Current default behavior works as before:
~/pkg/
CHANGES CHANGES.ru LICENSE README auto/ conf/ configure* contrib/ debian/ html/ man/ src/
~/pkg/
The Maintainer email is set to an ubuntu.com address. Doing nothing.
$ u-m --help | grep -A2 debian-directory
-d PATH, --debian-
2. New behavior makes it work in debian/ and subdirs (up to 6 levels):
~/pkg/Nginx/
~/pkg/Nginx/
The Maintainer email is set to an ubuntu.com address. Doing nothing.
~/pkg/Nginx/
-d PATH, --debian-
~/pkg/Nginx/
The Maintainer email is set to an ubuntu.com address. Doing nothing.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
Thank you for the review mapreri.
That's a good point, as a user might have a ~/debian/ directory for their debian work. I've adjusted the code to include your recommendation.
stirling: ~/ubuntu/ Dovecot/ dovecot- gu$ mkdir ~/debian ~/ubuntu/ Dovecot/ dovecot- gu$ update-maintainer ~/ubuntu/ Dovecot/ dovecot- gu$ mv debian/ debian-foo ~/ubuntu/ Dovecot/ dovecot- gu$ update-maintainer
stirling:
The package targets Debian. Doing nothing.
stirling:
stirling:
No control file found in ./debian.