On Sat, Dec 18, 2010 at 12:39 AM, Benjamin Drung <[email protected]> wrote:
> Am Freitag, den 17.12.2010, 18:29 -0500 schrieb Scott Kitterman: > > > > "Benjamin Drung" <[email protected]> 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
-- ubuntu-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
