haskell / haskell/cabal

support remote .cabal files in cabal info

Open
#794 0 comments 0 reactions 0 assignees View on GitHub
cabal-install: cmd/info old-milestone: ⊥ type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

(Imported from [Trac #804](http://hackage.haskell.org/trac/hackage/ticket/804), reported by @dcoutts on 2011-02-14)

Currently, cabal info supports local .cabal files and remote tarballs, but not remote .cabal files.

The [lscabal](http://hackage.haskell.org/package/lscabal) program supports remote .cabal file target like:

$ lscabal http://code.haskell.org/xmonad/xmonad.cabal

XMonad
XMonad.Main
Is this useful?

Presumably it would also need a more general query language to pull out the fields that the user is interested in.

Note that lscabal only lists exposed modules and only unconditional ones (e.g. not ones that are platform dependent).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.