lix/src/libfetchers
Théophane Hufschmitt e68676e6c8 Fix the parsing of the sourcehut refs file
Since a26be9f3b8, the same parser is used
to parse the result of sourcehut’s `HEAD` endpoint (coming from [git
dumb protocol]) and the output of `git ls-remote`. However, they are very
slightly different (the former doesn’t specify the current reference
since it’s implied to be `HEAD`).

Unify both, and make the parser a bit more robust and understandable (by
making it more typed and adding tests for it)

[git dumb protocol]: https://git-scm.com/book/en/v2/Git-Internals-Transfer-Protocols#_the_dumb_protocol
2022-05-04 14:38:59 +02:00
..
attrs.cc Fix conversion from JSON to fetch attributes 2021-01-05 02:06:25 +00:00
attrs.hh fix error: 'optional' in namespace 'std' does not name a template type 2021-06-02 18:09:03 +08:00
cache.cc libfetchers: Rename immutable -> locked 2022-02-24 18:09:00 +01:00
cache.hh libfetchers: Rename immutable -> locked 2022-02-24 18:09:00 +01:00
fetch-settings.cc Move some stuff from Settings to a new FetchSettings. 2022-03-01 01:39:25 +00:00
fetch-settings.hh Point to new github oauth docs url 2022-03-06 17:01:14 -06:00
fetchers.cc don't assume that rev is a SHA1 hash 2022-04-07 19:49:47 +02:00
fetchers.hh libfetchers: Rename immutable -> locked 2022-02-24 18:09:00 +01:00
git.cc Fix the parsing of the sourcehut refs file 2022-05-04 14:38:59 +02:00
github.cc Fix the parsing of the sourcehut refs file 2022-05-04 14:38:59 +02:00
indirect.cc InputScheme::fetch(): Return a StorePath instead of a Tree 2022-02-16 11:14:01 +01:00
local.mk Don't overwrite user provided lib*_LDFLAGS 2021-08-25 08:59:19 -07:00
mercurial.cc Avoid fmt when constructor already does it 2022-04-19 01:44:11 +00:00
path.cc libfetchers: remove obsolete filesystem #include 2022-03-15 12:32:11 +01:00
registry.cc Move some stuff from Settings to a new FetchSettings. 2022-03-01 01:39:25 +00:00
registry.hh Style tweaks 2021-07-07 10:02:55 +02:00
tarball.cc libfetchers: Rename immutable -> locked 2022-02-24 18:09:00 +01:00