From 7efe962fb79578778783985fd57c8999e581a02a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 29 Jan 2011 20:51:26 +1000 Subject: [PATCH] update hackage package url to use community pages --- hackage/hackage-fedora.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hackage/hackage-fedora.py b/hackage/hackage-fedora.py index fca9daa..1f21ef6 100755 --- a/hackage/hackage-fedora.py +++ b/hackage/hackage-fedora.py @@ -9,7 +9,7 @@ pkgdb = PackageDB() p = pkgdb.user_packages('haskell-sig') # exclude packages not in Hackage -packages = [pkg['name'] for pkg in p.pkgs if pkg['name'] not in ['cabal2spec','emacs-haskell-mode','ghc','ghc-gtk2hs','ghc-rpm-macros','haddock','haskell-platform','hugs98']] +packages = [pkg['name'] for pkg in p.pkgs if pkg['name'] not in ['cabal2spec','emacs-haskell-mode','ghc','ghc-gtk2hs','ghc-rpm-macros','haskell-platform','hugs98']] session = koji.ClientSession('http://koji.fedoraproject.org/kojihub') @@ -21,7 +21,7 @@ for pkg in packages: ver = latest[0]['version'] name = pkg.replace('ghc-','',1) print "%s-%s" % (name,ver) - result = "(\"%s\",\"%s\",Just \"https://admin.fedoraproject.org/pkgdb/acls/name/%s\")" % (name,ver,pkg) + result = "(\"%s\",\"%s\",Just \"https://admin.fedoraproject.org/community/?package=%s#package_maintenance\")" % (name,ver,pkg) outlist.append(result) f = open('Fedora', 'w')