Commit Graph

242 Commits

Author SHA1 Message Date
Andrea Bedini
ef3361c774
nix-based CI 2022-04-21 16:03:02 +08:00
Andrea Bedini
ab2ef08536
Flake tweaks 2022-04-21 15:39:52 +08:00
Andrea Bedini
5be1311662
Bail if no package metadata is found.
Closes #5.
2022-04-13 15:47:38 +08:00
Andrea Bedini
9b9e880850
Add license, tidy up 2022-04-11 17:25:56 +08:00
Andrea Bedini
1490db2604
Add flake.nix 🙀 2022-04-11 16:48:04 +08:00
Andrea Bedini
76c6e9b0dc
Document force-version 2022-04-01 13:02:12 +08:00
Andrea Bedini
1851bf4756
force-version has to win over patches 2022-04-01 13:01:45 +08:00
Andrea Bedini
d7f78543d4
Fix force-version implementation.
Now the tarballs are downloaded only once but now each package name and
version is unpacked independently in its own directory. Then patches are
applied there.
2022-04-01 12:52:14 +08:00
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
7942fa181e
Tidy up old notes 2022-03-31 15:01:17 +08:00
Andrea Bedini
fbcfab34e2
Clarify difference between patches and revisions 2022-03-30 16:46:05 +08:00
Andrea Bedini
ee36387424
Remove misleading paragraph 2022-03-30 15:39:29 +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
9017837e4c
README tweaks 2022-03-30 13:00:02 +08:00
Andrea Bedini
ea498db3a3
[build] patches folder doesn't have to exist 2022-03-30 12:56:17 +08:00
Andrea Bedini
0df2f1044d
Updated README 2022-03-30 12:56:01 +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
0de36f2782
Fix toml formatting 2022-03-30 10:21:25 +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
d0e739db8f
Add use case to README.md 2022-03-29 15:35:29 +08:00
Andrea Bedini
780b7c6cb1
Delete NOTES-HRT 2022-03-29 12:36:40 +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
8d09cfffcf
Fix keys handling 2022-03-11 17:41:07 +08:00
Andrea Bedini
2af2c24b1f
Fix invocation of RepoTool.bootstrapOrUpdate 2022-03-11 17:04:13 +08:00
Andrea Bedini
03c7683c13
A bit more verbose 2022-03-11 17:03:52 +08:00
Andrea Bedini
56cb0535ab
Embed hackage-repo-tool 2022-03-11 16:19:35 +08:00
Andrea Bedini
6b73537f79
Fix acquiring keys from the environment 2022-03-11 14:35:09 +08:00
Andrea Bedini
0622adc1f4
Strip release artifacts 2022-03-11 14:15:49 +08:00
Andrea Bedini
d2f2b3187b
Drop custom action
It's too much work.
2022-03-11 14:14:18 +08:00
Andrea Bedini
c732521394
Clean up 2022-03-11 13:57:33 +08:00
Andrea Bedini
3546211f6a
Tweaks 2022-03-11 13:54:26 +08:00
Andrea Bedini
73c3cafe43
Stub out GitHub Action [skip ci] 2022-03-11 13:16:05 +08:00
Andrea Bedini
7e230bb5b8
Automate releases 2022-03-11 10:59:27 +08:00
Andrea Bedini
7f882b4ef8
Update README.md 2022-03-09 23:09:42 +08:00
Andrea Bedini
25795c6d52
Release workflow 2022-03-09 22:55:51 +08:00
Andrea Bedini
6812d0e836
Tweaks 2022-03-09 21:55:26 +08:00
Andrea Bedini
db09a8d0f1
Create haskell.yml 2022-03-09 21:36:46 +08:00
Andrea Bedini
02259533dd
Initial commit 2022-03-09 21:29:23 +08:00