update hackage package url to use community pages
This commit is contained in:
parent
4c6af669eb
commit
7efe962fb7
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user