Commit Graph

82 Commits

Author SHA1 Message Date
Andrea Bedini
30124364b3 Update README 2022-09-29 16:01:21 +02:00
Andrea Bedini
9151ec36b2 Implement GitHub backend 2022-09-29 15:49:42 +02:00
Andrea Bedini
cbb726a6f5 Avoid partial functions 2022-09-29 15:49:07 +02:00
Andrea Bedini
301cb1781d Refactor readKeysAt' 2022-09-23 12:05:22 +02:00
Andrea Bedini
32d1345276 Removing cabal.project is now unnecessary 2022-09-22 13:32:23 +02:00
Andrea Bedini
5c24681da8 Make sdist with cabal-install internals 2022-09-22 12:12:16 +02:00
Andrea Bedini
c0811e6037 Remove leftover 2022-09-22 11:32:55 +02:00
Andrea Bedini
f41412a65a Factor out current package description 2022-09-22 11:27:27 +02:00
Andrea Bedini
2da1cffdb7 Introduce some path helpers 2022-09-22 11:22:17 +02:00
Andrea Bedini
c166412ff9 Fix issues with outputdir 2022-09-19 16:28:14 +02:00
Andrea Bedini
03a8fe471d Add option to not sign the index 2022-09-19 15:33:50 +02:00
Andrea Bedini
c0f316f462 Update README.md 2022-09-16 08:44:04 +02:00
Andrea Bedini
ad5baf1feb Update README.md 2022-09-16 08:42:51 +02:00
Andrea Bedini
1a91935397 Too new 2022-08-31 13:32:11 +02:00
Andrea Bedini
f22d7b7828 Update flake.lock 2022-08-31 13:19:34 +02:00
Andrea Bedini
203e9a0fb3 Fix rewritePackageVersion 2022-08-31 13:17:05 +02:00
Andrea Bedini
80bcb8333c Add cachix to flake.nix 2022-08-23 16:34:39 +02:00
Andrea Bedini
c1dcd3b958 Use IOG new cache 2022-08-23 14:49:35 +02:00
Andrea Bedini
bbeaaf16fe Use with-utf8 2022-08-23 14:11:15 +02:00
Andrea Bedini
df2fb98a1e Update flake.lock 2022-08-22 11:15:11 +02:00
Andrea Bedini
b46d214034 Update bounds 2022-08-19 11:53:02 +02:00
Andrea Bedini
ed579a6b20
Give user explicit control over signatures expiry 2022-06-08 10:39:46 +08:00
Andrea Bedini
efa761e221
Cabal does require the trailing slash. 2022-05-30 14:26:01 +08:00
Andrea Bedini
6489104a91
Tweaks 2022-05-26 11:09:23 +08:00
Andrea Bedini
4ff84f10db
Remove leftover file 2022-05-19 15:03:43 +08:00
Andrea Bedini
6d346c5212
Rename ImportHackage to ImportIndex 2022-05-19 15:03:42 +08:00
Andrea Bedini
da34087e9a
Don't reinvent Cabal types 2022-05-19 14:51:27 +08:00
Andrea Bedini
f9fc67df4d
Start work to support preferred versions 2022-05-19 14:42:41 +08:00
Andrea Bedini
ec63788bdb
Use Cabal to rewrite package versions 2022-05-18 12:12:20 +08:00
Andrea Bedini
d4a9adab79
Don't run nix flake check 2022-05-16 19:22:13 +08:00
Andrea Bedini
a294e93c97
Use IOG cache 2022-05-16 18:01:44 +08:00
Andrea Bedini
8f3c76a262
Improve flake.nix 2022-05-16 17:54:15 +08:00
Andrea Bedini
4af477a937
Update README.md 2022-05-16 17:35:13 +08:00
Andrea Bedini
88e7bba9d5
Make revisions timestamps mandatory
Also introduce sanity checks for the following cases

- Package timestamp is later than any revision timestamp
- Package has no timestamp but has revisions

The above cases do not make any sense and are considered invalid.
2022-05-16 17:23:18 +08:00
Andrea Bedini
934e4e8261
Tweaks 2022-05-16 16:55:43 +08:00
Andrea Bedini
8a2e571404
Use a custom rule for remote assets 2022-05-16 14:48:02 +08:00
Andrea Bedini
2d0dbbca5b
Update flake.lock 2022-05-16 11:06:16 +08:00
Andrea Bedini
e19c4fc871
Bump base bound 2022-05-02 10:57:12 +08:00
Andrea Bedini
a0bdb8dc9e
[nix] strip foliage executable 2022-04-21 17:51:38 +08:00
Andrea Bedini
50bdae7254
Update cachix/install-nix-action 2022-04-21 16:31:31 +08:00
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