diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2009-09-30 18:27:34 +0200 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2009-09-30 18:27:34 +0200 |
commit | 403bbb4e0a7060dc7fe7482ea932eb2d3fb95231 (patch) | |
tree | cb84acbdadcba81dce945f2dc058c3f01cdba8a3 | |
parent | License code under GPL 2 or later (diff) | |
download | repositories-xml-format-403bbb4e0a7060dc7fe7482ea932eb2d3fb95231.tar.gz repositories-xml-format-403bbb4e0a7060dc7fe7482ea932eb2d3fb95231.tar.bz2 repositories-xml-format-403bbb4e0a7060dc7fe7482ea932eb2d3fb95231.zip |
Fix whitespace
-rw-r--r-- | extradata.py | 156 | ||||
-rw-r--r-- | feedextractors.py | 40 |
2 files changed, 98 insertions, 98 deletions
diff --git a/extradata.py b/extradata.py index 3c84fb8..117509f 100644 --- a/extradata.py +++ b/extradata.py @@ -8,86 +8,86 @@ QUALITY_EXPERIMENTAL = 'experimental' QUALITY_GRAVEYARD = 'graveyard' TRANSITION_DATA_EXTRA = { - 'bazaar':{ - 'owner':{ - 'name':'Mark Lee', - 'email':'malept@malept.com', - }, - 'feeds':[ - 'http://bazaar.launchpad.net/~serkan-kaba/serkan-overlay/mainline/atom', - ], - }, - 'lila-theme':{ - 'owner':{ - 'email':'fosstux@gmail.com', - }, - }, - 'rbu':{ - 'quality':QUALITY_EXPERIMENTAL, - 'owner':{ - 'name':'Robert Buchholz', - }, - }, - 'sping':{ - 'quality':QUALITY_EXPERIMENTAL, - 'owner':{ - 'name':'Sebastian Pipping', - }, - }, - 'jyujin':{'feeds':['http://git.jyujin.de/?p=portage-overlay.git;a=atom']}, - 'pioto-overlay':{'feeds':['http://git.pioto.org/gitweb/pioto-overlay.git?a=atom']}, - 'thousand-parsec':{'feeds':['http://git.thousandparsec.net/gitweb/gitweb.cgi?p=gentoo-overlay.git;a=atom']}, - 'hollow':{'feeds':['http://git.xnull.de/gitweb/?p=overlay.git;a=atom']}, - 'zen-overlay':{'feeds':['http://git.zen-sources.org/?p=portage-overlay.git;a=atom']}, - 'THE':{'feeds':['http://git.zen-sources.org/?p=THE.git;a=atom']}, - 'lxde':{'feeds':['http://bitbucket.org/yngwin/lxde-overlay/atom/']}, - 'njw':{'feeds':['http://git.njw.me.uk/cgit/cgit.cgi/njw-gentoo-local/atom/?h=master']}, - 'oss-overlay':{'feeds':['http://hg.atheme.org/users/majeru/portage-overlay/atom-log']}, - 'devnull':{'feeds':['http://hg.core.ws/devnull/atom-log']}, - 'mamona':{'feeds':['http://rsalveti.net/git/?p=mamona-overlay;a=atom']}, - 'voyageur':{'feeds':['http://cafarelli.fr/websvn/rss.php?repname=voyageur-overlay&path=&isdir=1']}, - 'akoya':{'feeds':['https://hg.poildetroll.net/gentoo/overlay/atom-log']}, - 'pd-overlay':{'feeds':['http://sourceforge.net/export/rss2_keepsake.php?group_id=180376']}, - 'tryton':{'feeds':['http://hg.tryton.org/hgwebdir.cgi/tryton-overlay/atom-log']}, - 'sabayon':{'feeds':['http://gitweb.sabayon.org/?p=overlay.git;a=atom']}, + 'bazaar':{ + 'owner':{ + 'name':'Mark Lee', + 'email':'malept@malept.com', + }, + 'feeds':[ + 'http://bazaar.launchpad.net/~serkan-kaba/serkan-overlay/mainline/atom', + ], + }, + 'lila-theme':{ + 'owner':{ + 'email':'fosstux@gmail.com', + }, + }, + 'rbu':{ + 'quality':QUALITY_EXPERIMENTAL, + 'owner':{ + 'name':'Robert Buchholz', + }, + }, + 'sping':{ + 'quality':QUALITY_EXPERIMENTAL, + 'owner':{ + 'name':'Sebastian Pipping', + }, + }, + 'jyujin':{'feeds':['http://git.jyujin.de/?p=portage-overlay.git;a=atom']}, + 'pioto-overlay':{'feeds':['http://git.pioto.org/gitweb/pioto-overlay.git?a=atom']}, + 'thousand-parsec':{'feeds':['http://git.thousandparsec.net/gitweb/gitweb.cgi?p=gentoo-overlay.git;a=atom']}, + 'hollow':{'feeds':['http://git.xnull.de/gitweb/?p=overlay.git;a=atom']}, + 'zen-overlay':{'feeds':['http://git.zen-sources.org/?p=portage-overlay.git;a=atom']}, + 'THE':{'feeds':['http://git.zen-sources.org/?p=THE.git;a=atom']}, + 'lxde':{'feeds':['http://bitbucket.org/yngwin/lxde-overlay/atom/']}, + 'njw':{'feeds':['http://git.njw.me.uk/cgit/cgit.cgi/njw-gentoo-local/atom/?h=master']}, + 'oss-overlay':{'feeds':['http://hg.atheme.org/users/majeru/portage-overlay/atom-log']}, + 'devnull':{'feeds':['http://hg.core.ws/devnull/atom-log']}, + 'mamona':{'feeds':['http://rsalveti.net/git/?p=mamona-overlay;a=atom']}, + 'voyageur':{'feeds':['http://cafarelli.fr/websvn/rss.php?repname=voyageur-overlay&path=&isdir=1']}, + 'akoya':{'feeds':['https://hg.poildetroll.net/gentoo/overlay/atom-log']}, + 'pd-overlay':{'feeds':['http://sourceforge.net/export/rss2_keepsake.php?group_id=180376']}, + 'tryton':{'feeds':['http://hg.tryton.org/hgwebdir.cgi/tryton-overlay/atom-log']}, + 'sabayon':{'feeds':['http://gitweb.sabayon.org/?p=overlay.git;a=atom']}, } # List more or less from current <http://overlays.gentoo.org/> TRANSITION_DATA_PROJECTS = set(( - 'cell', - 'efika', - 'emacs', - 'finnish', - 'gnome', - 'gnustep', - 'hardened-development', - 'java-overlay', - 'kde-testing', - 'kolab', - 'mozilla', - 'mysql-testing', - 'nx', - 'perl-experimental', - 'php-4', - 'php-experimental', - 'php-testing', - 'postgresql-experimental', - 'postgresql-testing', - 'powerpc', - 'python', - 'rox', - 'ruby', - 'science', - 'sunrise', - 'toolchain', - 'vdr-devel', - 'vdr-experimental', - 'vdr-testing', - 'vdr-xine', - 'vmware', - 'voip', - 'vps', - 'webapps-experimental', - 'xen', - 'xfce-dev', + 'cell', + 'efika', + 'emacs', + 'finnish', + 'gnome', + 'gnustep', + 'hardened-development', + 'java-overlay', + 'kde-testing', + 'kolab', + 'mozilla', + 'mysql-testing', + 'nx', + 'perl-experimental', + 'php-4', + 'php-experimental', + 'php-testing', + 'postgresql-experimental', + 'postgresql-testing', + 'powerpc', + 'python', + 'rox', + 'ruby', + 'science', + 'sunrise', + 'toolchain', + 'vdr-devel', + 'vdr-experimental', + 'vdr-testing', + 'vdr-xine', + 'vmware', + 'voip', + 'vps', + 'webapps-experimental', + 'xen', + 'xfce-dev', )) diff --git a/feedextractors.py b/feedextractors.py index eb19759..0d73673 100644 --- a/feedextractors.py +++ b/feedextractors.py @@ -5,56 +5,56 @@ import re FEED_EXTRACTORS = [] def _register_feed_extractor(pattern, format): - regex = re.compile(pattern) - FEED_EXTRACTORS.append({'regex':regex, 'format':format}) - + regex = re.compile(pattern) + FEED_EXTRACTORS.append({'regex':regex, 'format':format}) + # git://github.com/dang/kvm.git # http://github.com/feeds/dang/commits/kvm/master _register_feed_extractor( - '^[^ ]+://github.com/([^/]+)/([^/]+)(?:.git)?$', - 'http://github.com/feeds/\\1/commits/\\2/master') + '^[^ ]+://github.com/([^/]+)/([^/]+)(?:.git)?$', + 'http://github.com/feeds/\\1/commits/\\2/master') # git://gitorious.org/gentoo-multimedia/gentoo-multimedia.git # http://gitorious.org/gentoo-multimedia.atom _register_feed_extractor( - '^[^ ]+://gitorious.org/([^/]+)/[^/]+(?:.git)?$', - 'http://gitorious.org/\\1.atom') + '^[^ ]+://gitorious.org/([^/]+)/[^/]+(?:.git)?$', + 'http://gitorious.org/\\1.atom') # git://git.overlays.gentoo.org/dev/alexxy.git # http://git.overlays.gentoo.org/gitweb/?p=dev/alexxy.git;a=atom _register_feed_extractor( - '^[^ ]+://git.overlays.gentoo.org/(dev|proj)/([^/]+)(?:.git)?$', - 'http://git.overlays.gentoo.org/gitweb/?p=\\1/\\2.git;a=atom') + '^[^ ]+://git.overlays.gentoo.org/(dev|proj)/([^/]+)(?:.git)?$', + 'http://git.overlays.gentoo.org/gitweb/?p=\\1/\\2.git;a=atom') # git://repo.or.cz/dottout.git # http://repo.or.cz/w/dottout.git?a=rss _register_feed_extractor( - '^[^ ]+://repo.or.cz/([^/]+)(?:.git)?$', - 'http://repo.or.cz/w/\\1.git?a=rss') # atom broken currently + '^[^ ]+://repo.or.cz/([^/]+)(?:.git)?$', + 'http://repo.or.cz/w/\\1.git?a=rss') # atom broken currently # http://gentoo-china-overlay.googlecode.com/svn/trunk/ # http://code.google.com/feeds/p/gentoo-china-overlay/svnchanges/basic _register_feed_extractor( - '^[^ ]+://([^ ]+).googlecode.com/svn/.*$', - 'http://code.google.com/feeds/p/\\1/svnchanges/basic') + '^[^ ]+://([^ ]+).googlecode.com/svn/.*$', + 'http://code.google.com/feeds/p/\\1/svnchanges/basic') # https://arcon.googlecode.com/hg/ # http://code.google.com/feeds/p/arcon/hgchanges/basic _register_feed_extractor( - '^[^ ]+://([^ ]+).googlecode.com/hg/.*$', - 'http://code.google.com/feeds/p/\\1/hgchanges/basic') - + '^[^ ]+://([^ ]+).googlecode.com/hg/.*$', + 'http://code.google.com/feeds/p/\\1/hgchanges/basic') + # git://git.goodpoint.de/overlay-sping.git # http://git.goodpoint.de/?p=overlay-sping.git;a=atom _register_feed_extractor( - '^[^ ]+://git.goodpoint.de/([^/]+)(?:.git)?$', - 'http://git.goodpoint.de/?p=\\1.git;a=atom') + '^[^ ]+://git.goodpoint.de/([^/]+)(?:.git)?$', + 'http://git.goodpoint.de/?p=\\1.git;a=atom') # svn://overlays.gentoo.org/proj/toolchain # http://overlays.gentoo.org/proj/toolchain/timeline _register_feed_extractor( - '^svn://overlays.gentoo.org/(dev|proj)/([^/]+)(?:/.*)?$', - 'http://overlays.gentoo.org/\\1/\\2/timeline') + '^svn://overlays.gentoo.org/(dev|proj)/([^/]+)(?:/.*)?$', + 'http://overlays.gentoo.org/\\1/\\2/timeline') |