lix/src/libfetchers
Greg Hale a303c0b6dc Fetch commits from github/gitlab using Auth header
`nix flake info` calls the github 'commits' API, which requires
authorization when the repository is private. Currently this request
fails with a 404.

This commit adds an authorization header when calling the 'commits' API.
It also changes the way that the 'tarball' API authenticates, moving the
user's token from a query parameter into the Authorization header.

The query parameter method is recently deprecated and will be disallowed
in November 2020. Using them today triggers a warning email.
2020-09-16 13:46:48 -04:00
..
attrs.cc Remove TreeInfo 2020-05-30 00:44:11 +02:00
attrs.hh Remove TreeInfo 2020-05-30 00:44:11 +02:00
cache.cc Backport libfetchers from the flakes branch 2020-04-07 09:03:14 +02:00
cache.hh Shut up a clang warning 2020-07-03 14:50:07 +02:00
fetchers.cc Remove optionality in ValidPathInfo::narInfo 2020-08-05 14:42:48 -04:00
fetchers.hh Fetch commits from github/gitlab using Auth header 2020-09-16 13:46:48 -04:00
git.cc Don't try to parse signature check as commit timestamp 2020-08-13 17:44:42 -07:00
github.cc Fetch commits from github/gitlab using Auth header 2020-09-16 13:46:48 -04:00
indirect.cc Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix into better-ca-parse-errors 2020-07-16 17:28:52 +00:00
local.mk StorePath: Rewrite in C++ 2020-06-16 14:28:41 +02:00
mercurial.cc Fix indentation 2020-07-31 01:07:59 +00:00
path.cc Rename two hash constructors to proper functions 2020-07-01 18:34:18 -04:00
registry.cc Fetch commits from github/gitlab using Auth header 2020-09-16 13:46:48 -04:00
registry.hh Remove TreeInfo 2020-05-30 00:44:11 +02:00
tarball.cc Fetch commits from github/gitlab using Auth header 2020-09-16 13:46:48 -04:00