Commit Graph

12 Commits

Author SHA1 Message Date
Andrea Bedini
4e333ef49f
Implement force version
Doesn't quite work because srcDir is unique by url, so if you have the
same url with different versions, things will collide. This is a bug
that might affect patching too.
2022-03-31 15:02:00 +08:00
Andrea Bedini
3a0e89b41e
[build] fix patches
I was applying patches only when making the source distribution but
patches might modify the cabal file which goes into the index (yes one
should use revisions for that).

I am now applying patches right after I have the package source.
2022-03-30 15:05:08 +08:00
Andrea Bedini
ea498db3a3
[build] patches folder doesn't have to exist 2022-03-30 12:56:17 +08:00
Andrea Bedini
9fbdb23a5a
Fix bug in keys handling 2022-03-30 12:32:49 +08:00
Andrea Bedini
173ca46692
[build] support patching 2022-03-30 11:21:58 +08:00
Andrea Bedini
4f1ad7bbc4
[import-hackage] support filtering by package version 2022-03-30 11:17:22 +08:00
Andrea Bedini
f67ee84975
Input folder can be customised 2022-03-29 17:10:19 +08:00
Andrea Bedini
bf855dfbf1
Make timestamp optional 2022-03-29 16:38:10 +08:00
Andrea Bedini
080197e9e2
Big rewrite
1. Foliage takes as input a complete description of the index, where
   source distributions and revisions come with a timestamp. This allows
   us to recreate the entire index in a reproducible way.

2. Added a experimental command to import an index from a Hackage (as
   downloaded with Cabal). This was originally a testing/development
   need but there might be different use cases.
2022-03-28 17:18:27 +08:00
Andrea Bedini
5ce3fc0501
Remove accepting keys from the environment 2022-03-16 16:49:26 +08:00
Andrea Bedini
2af2c24b1f
Fix invocation of RepoTool.bootstrapOrUpdate 2022-03-11 17:04:13 +08:00
Andrea Bedini
56cb0535ab
Embed hackage-repo-tool 2022-03-11 16:19:35 +08:00