Files
lix/src/libstore
Eelco Dolstra 462421d345 Backport libfetchers from the flakes branch
This provides a pluggable mechanism for defining new fetchers. It adds
a builtin function 'fetchTree' that generalizes existing fetchers like
'fetchGit', 'fetchMercurial' and 'fetchTarball'. 'fetchTree' takes a
set of attributes, e.g.

  fetchTree {
    type = "git";
    url = "https://example.org/repo.git";
    ref = "some-branch";
    rev = "abcdef...";
  }

The existing fetchers are just wrappers around this. Note that the
input attributes to fetchTree are the same as flake input
specifications and flake lock file entries.

All fetchers share a common cache stored in
~/.cache/nix/fetcher-cache-v1.sqlite. This replaces the ad hoc caching
mechanisms in fetchGit and download.cc (e.g. ~/.cache/nix/{tarballs,git-revs*}).

This also adds support for Git worktrees (c169ea5904).
2020-04-07 09:03:14 +02:00
..
2019-11-06 00:52:38 +01:00
2020-03-24 13:26:37 +01:00
2019-09-22 21:57:05 +02:00
2020-02-28 18:07:10 +01:00
2020-03-20 22:12:30 +01:00
2020-03-30 15:30:19 +02:00
2019-04-01 21:09:35 +02:00
2019-12-10 22:06:05 +01:00
2017-12-16 00:49:31 +01:00
2019-12-10 22:06:05 +01:00
2019-03-14 14:11:12 +01:00
2020-03-04 13:56:17 +01:00
2016-10-06 17:00:52 +02:00
2018-12-07 23:55:38 +01:00
2020-03-24 14:34:47 +01:00
2020-03-24 14:34:47 +01:00
2020-02-07 13:01:48 +01:00