juhp / hkgr

Hackager tool for releasing Haskell packages to Hackage
https://hackage.haskell.org/package/hkgr
GNU General Public License v3.0
29 stars 1 forks source link

feature request: subdirs #4

Open goolord opened 1 year ago

goolord commented 1 year ago

it's not uncommon to have a group of related libraries in one cabal.project, for example https://github.com/andrewthad/colonnade

it would be nice to be able to use hkgr to release these via hkgr publish colonnade, hkgr publish lucid-colonnade etc

juhp commented 1 year ago

Ah that is a good idea: I need to think about the implementation a bit

juhp commented 1 year ago

In your case (project) how would you want to deal with git tags? Currently hkgr pretty much demands git tagging (which can be more complicated in a multipackage repo), though perhaps that could be relaxed in certain cases.

goolord commented 1 year ago

https://github.com/yesodweb/persistent/releases is another such project, it seems like they tag releases based on the library they're updating and its version

juhp commented 9 months ago

Right this would require version tags to include the package name.

Unfortunately it is a rather non-trivial change, so I would need to find a block of time to work on it.