Rewriting update-maintainer

Raphaël Pinson raphink at gmail.com
Fri Dec 17 23:44:25 UTC 2010


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?


Raphaël
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20101218/12ae56e1/attachment.htm 


More information about the ubuntu-devel mailing list