berberman / arch-hs

Distribute hackage packages to archlinux
MIT License
19 stars 4 forks source link

Add URL in arch-hs-diff output #7

Closed felixonmars closed 4 years ago

felixonmars commented 4 years ago

(Actually it should reuse the logic in Core.hs:

  _url <- case fromShortText $ homepage cabal of
    "" -> fromJust . repoLocation <=< head' $ sourceRepos cabal
    x -> return x

But it's beyond my very limited haskell skill to really do that...

berberman commented 4 years ago

Take a look at getUrl in Utils.hs :rocket: