Andrea Bedini
56f8b81838
Display conditionals correctly
2023-05-29 15:27:22 +08:00
Andrea Bedini
e51484454e
Display build dependencies better
2023-05-29 13:41:39 +08:00
Andrea Bedini
1f899fe101
Add build dependencies to package pages
...
Closes #59
2023-05-29 13:41:07 +08:00
Andrea Bedini
eb0e97d919
Merge pull request #60 from input-output-hk/tidy-up
...
Tidy-up
2023-05-24 11:50:19 +08:00
Andrea Bedini
dd3934c99d
Backtrack on previous change an use cabal-install for sdists
2023-05-24 11:35:34 +08:00
Andrea Bedini
42a2e7f52f
Merge remote-tracking branch 'origin/main' into tidy-up
2023-05-23 14:37:11 +08:00
Andrea Bedini
a32da0b49c
Tidy-up
...
- Bump Cabal-syntax to 3.10
- Drop Distribution.PackageDescription.FieldGrammar.Copy
- Drop cabal-install dependency
- Tidy up bounds
2023-05-23 14:31:46 +08:00
Andrea Bedini
9a1eaafe73
Merge pull request #56 from yvan-sraka/show-public-keys
...
Fix #13 : create keys should show the public keys
2023-05-15 17:54:23 +08:00
Andrea Bedini
8fef0cd997
Fix up, print root keys but create the other keys too
2023-05-15 17:51:26 +08:00
Andrea Bedini
01a693789f
Merge branch 'main' into show-public-keys
2023-05-15 17:10:06 +08:00
Andrea Bedini
6c39112cf1
Merge pull request #49 from yvan-sraka/deprecated-versions
...
Fix #18 : add support for deprecated-versions
2023-05-15 17:01:46 +08:00
Yvan Sraka
f40673352f
Update app/Foliage/HackageSecurity.hs
...
Co-authored-by: Andrea Bedini <andrea@andreabedini.com>
2023-05-15 10:58:44 +02:00
Andrea Bedini
4cafbe75a1
Improve deprecation label on the webpages
...
- Add label also to revisions
- Resize the label on package versions page
2023-05-15 15:23:36 +08:00
Andrea Bedini
4f706f9bd9
Fix page formatting issue
2023-05-15 15:06:46 +08:00
Andrea Bedini
64f1578369
Restore integrity validation for datatables.js
...
Likely disabled by accident.
2023-05-15 14:58:44 +08:00
Andrea Bedini
285c8e31b1
Comments and formatting
2023-05-15 14:43:16 +08:00
Andrea Bedini
754a1c1bd7
Remove dead code
2023-05-15 14:12:42 +08:00
Andrea Bedini
a93eb62daa
Add more comments
2023-05-15 14:12:22 +08:00
Yvan Sraka
59e0d72cb9
Fix #13 : create keys should show the public keys
2023-05-05 15:43:42 +02:00
Yvan Sraka
73a787ef4f
Merge branch 'main' into deprecated-versions
2023-05-03 10:47:23 +02:00
Andrea Bedini
acc0f88727
Merge pull request #54 from andreabedini/more-systems
...
Rework flake
2023-05-03 15:33:27 +08:00
Andrea Bedini
521e3975a1
Drop static build on aarch64-linux
...
There's no hope.
2023-05-03 14:55:58 +08:00
Andrea Bedini
a6c9aa819a
Rework again
2023-05-03 12:32:07 +08:00
Andrea Bedini
dd93a9e757
Rework things
2023-04-27 18:00:59 +08:00
Andrea Bedini
9948cc7d56
Add comments about revisions timestamps
2023-04-24 22:40:56 +08:00
Andrea Bedini
9c142e3702
Properly render version ranges
2023-04-24 22:26:13 +08:00
Andrea Bedini
62789a17e8
Revisions at the same time as publication is allowed
...
(Apparently)
2023-04-24 22:23:24 +08:00
Andrea Bedini
16d75ecc16
Rework the metadata validation
2023-04-24 22:09:17 +08:00
Andrea Bedini
33edc7773d
Put a bandage on cmdImportIndex
2023-04-24 11:52:03 +08:00
Yvan Sraka
7da6927247
Fix #18 : add support for deprecated-versions
...
Co-authored-by: Andrea Bedini <andrea@andreabedini.com>
2023-04-20 16:45:08 +02:00
Andrea Bedini
1d0bdae9c1
Revert "Restrict flake to x86_64-linux"
...
This reverts commit ae45f208a2
.
2023-04-20 13:40:01 +08:00
Andrea Bedini
586b692c5c
Update hackage-nix independently from haskell-nix
2023-03-22 13:23:34 +08:00
Andrea Bedini
4255bd1f13
Bump index-state and remove workaround for tomland version bounds
2023-03-17 11:38:38 +08:00
Andrea Bedini
234f8fcbf1
Maybe fix issue
2023-03-10 13:29:22 +08:00
Andrea Bedini
20049b1e81
Merge pull request #37 from andreabedini/add-consistency-check
...
Add consistency check
2023-03-07 11:45:36 +08:00
Andrea Bedini
b5e4f43dd2
Fix revisions timestamp on package page
2023-03-03 18:48:14 +08:00
Andrea Bedini
ae45f208a2
Restrict flake to x86_64-linux
2023-03-03 16:55:03 +08:00
Andrea Bedini
1e38db2bfb
Merge branch 'update_flake_lock_action' into add-consistency-check
2023-03-03 16:43:03 +08:00
Andrea Bedini
3b0acac2c3
Drop the shell tools because nothing works
2023-03-03 16:40:42 +08:00
Andrea Bedini
2e5acb44df
Bump again
2023-03-03 15:13:16 +08:00
Andrea Bedini
2c7342d3d0
Fixes
2023-03-03 15:13:13 +08:00
Andrea Bedini
164217b7fb
Dance around compiler versions
2023-03-03 14:14:52 +08:00
Andrea Bedini
3e99be2211
Better diagnostics
...
- Fold most of getPackageVersions into preparePackageVersion
We pass to preparePackageVersion the metadata file we are dealing with
so it can be mentioned in case of errors.
- Replace `fail` by `error`. Shake uses exceptions to signal build
failures. It turns out `error` gets displayed slightly better when
caught by shake. Also we can use it in pure code.
2023-03-03 12:30:37 +08:00
Andrea Bedini
899a79cd53
Parsing the cabal file should go in preparePackageVersion
2023-03-03 08:51:33 +08:00
Andrea Bedini
5a3d546bdc
Add more comments
2023-03-03 08:46:07 +08:00
Andrea Bedini
7ec1fb6ef2
Use NonEmpty to avoid partiality
2023-03-03 08:23:01 +08:00
Andrea Bedini
9a4d097cde
Rework internals and add consistency check
...
The function preparePackageVersion is now responsible for doing
everything we need to do to be able to include the package in the index.
The function also returns a denormalised view of the package information
which can be taken as a proof that everything is consistent.
2023-03-03 08:15:19 +08:00
Andrea Bedini
4b6fed5d6a
Drop PackageVersionMeta
...
It's not the right abstraction
2023-03-03 08:15:19 +08:00
Andrea Bedini
eaff46e671
Whitespace
2023-03-03 08:15:19 +08:00
Andrea Bedini
b35bbd26c9
More resiliant code
2023-03-03 08:15:19 +08:00