Rewriting update-maintainer

Benjamin Drung bdrung at ubuntu.com
Fri Dec 17 23:46:19 UTC 2010


Am Samstag, den 18.12.2010, 00:44 +0100 schrieb Raphaël Pinson:
> On Sat, Dec 18, 2010 at 12:39 AM, Benjamin Drung <bdrung at ubuntu.com>
> wrote:
>         Am Freitag, den 17.12.2010, 18:29 -0500 schrieb Scott
>         Kitterman:
>         >
>         > "Benjamin Drung" <bdrung at ubuntu.com> wrote:
>         >
>         > >Hi,
>         > >
>         > >I am going to rewrite update-maintainer (it's in the
>         ubuntu-dev-tools
>         > >package) to use python-debian. Looking at the current
>         version, I am not
>         > >sure what this tool should exactly do.
>         > >
>         > >I think update-maintainer should do following:
>         > >
>         > >1) Check if "ubuntu" is in the Debian version. Go on to the
>         next step
>         > >if
>         > >yes, otherwise say "Not an Ubuntu package - Nothing to do."
>         and exit.
>         > >
>         > >2) Check if the Maintainer email address has a
>         "@ubuntu.com" or
>         > >"@lists.ubuntu.com". Go on to the next step if no,
>         otherwise say
>         > >"Already maintained by Ubuntu" and exit.
>         >
>         > I believe this should substring match on ubuntu in the
>         domain part so
>         > kubuntu.org or ubuntustudio.org will match.
>         
>         
>         Good point. Should we be more strict than that? Check for
>         endswith("ubuntu.com") or endswith("ubuntu.org") or
>         endswith("ubuntustudio.org")?
>
> Probably endswith("canonical.com"), too? 

No, because dpkg-source will complain then.

-- 
Benjamin Drung
Ubuntu Developer (www.ubuntu.com) | Debian Maintainer (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20101218/91b713ab/attachment-0001.pgp 


More information about the ubuntu-devel mailing list