Commit Graph

14 Commits

Author SHA1 Message Date
Andrea Bedini
cbd0c5da8f
Minimal test suite (#81)
* Minimal test suite

- Add support for urls with file: schema; both absolute (file:/path) and
  relative (file:path) paths are supported.

- Log curl invocation in case of failure

- Rename fetchRemoteAsset to fetchURL

- Add verbosity flag

- Bump GHC to 9.4.7

- Bump flake inputs

* Apply suggestions from code review

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>

* Add short option '-v' for '--verbosity'

* Whitespace

* Add comment explaining why the dot

* Rename withFixture to inTemporaryDirectoryWithFixture

* Small refactor of PrepareSource

* Rename TarballSource to URISource

- Move sourceUrl to Foliage.Meta.packageVersionSourceToUri

* Simplify inTemporaryDirectoryWithFixture

* Document tar and cp flags

* Reformat

---------

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
2023-09-15 12:18:30 +08:00
Andrea Bedini
0d0603b0d3 Stick to GHC minor versions 2023-05-30 13:27:51 +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
4255bd1f13 Bump index-state and remove workaround for tomland version bounds 2023-03-17 11:38:38 +08:00
Andrea Bedini
2c7342d3d0 Fixes 2023-03-03 15:13:13 +08:00
Andrea Bedini
0993761f7f Clean up 2023-01-29 12:27:04 +08:00
Andrea Bedini
4bb1b290a9 Bump compiler 2022-12-21 16:39:11 +08:00
Andrea Bedini
b13ecafb31 Merge remote-tracking branch 'new' 2022-10-05 15:13:15 +08:00
Andrea Bedini
1a91935397 Too new 2022-08-31 13:32:11 +02:00
Andrea Bedini
203e9a0fb3 Fix rewritePackageVersion 2022-08-31 13:17:05 +02:00
Andrea Bedini
b46d214034 Update bounds 2022-08-19 11:53:02 +02:00
Andrea Bedini
1490db2604
Add flake.nix 🙀 2022-04-11 16:48:04 +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
56cb0535ab
Embed hackage-repo-tool 2022-03-11 16:19:35 +08:00