lix/src/libstore
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
..
builtins Fix build 2020-08-06 21:04:31 -05:00
binary-cache-store.cc Separate store configs from the implems 2020-09-16 13:53:08 +02:00
binary-cache-store.hh Add (StoreConfig*) casts to work around a GCC bug 2020-09-16 13:53:09 +02:00
build.cc Add a name to the stores 2020-09-16 13:53:09 +02:00
builtins.hh
content-address.cc Merge branch 'misc-ca' of https://github.com/obsidiansystems/nix 2020-08-05 16:50:05 +02:00
content-address.hh Factor out commonality between nix-prefetch-url and nix-store --add-fixed 2020-07-10 13:21:37 +02:00
crypto.cc
crypto.hh
daemon.cc nix-daemon: Lower verbosity of restricted setting warning 2020-09-14 13:48:51 +02:00
daemon.hh Separate auth and logic for the daemon 2020-08-12 15:22:33 +00:00
derivations.cc Rename Derivation::pathOpt to Derivation::path 2020-09-15 15:21:39 +00:00
derivations.hh Rename Derivation::pathOpt to Derivation::path 2020-09-15 15:21:39 +00:00
dummy-store.cc Add a name to the stores 2020-09-16 13:53:09 +02:00
export-import.cc Minimize the usage of Hash::dummy 2020-08-06 18:31:48 +00:00
filetransfer.cc Fetch commits from github/gitlab using Auth header 2020-09-16 13:46:48 -04:00
filetransfer.hh Fetch commits from github/gitlab using Auth header 2020-09-16 13:46:48 -04:00
fs-accessor.hh
gc.cc Remove gc-check-reachability 2020-09-03 11:30:15 +02:00
globals.cc Complete the toJSON instance for Setting<T> 2020-09-16 13:53:08 +02:00
globals.hh Fetch commits from github/gitlab using Auth header 2020-09-16 13:46:48 -04:00
http-binary-cache-store.cc Add a name to the stores 2020-09-16 13:53:09 +02:00
legacy-ssh-store.cc Add (StoreConfig*) casts to work around a GCC bug 2020-09-16 13:53:09 +02:00
local-binary-cache-store.cc Fix build issues with gcc 2020-09-16 13:53:09 +02:00
local-fs-store.cc toStorePath(): Return a StorePath and the suffix 2020-07-13 16:25:48 +02:00
local-store.cc Document the new store hierarchy 2020-09-16 13:53:09 +02:00
local-store.hh Add a name to the stores 2020-09-16 13:53:09 +02:00
local.mk Merge remote-tracking branch 'origin/master' into flakes 2020-06-17 10:26:52 +02:00
machines.cc Make system-features a store setting 2020-08-12 18:13:00 +00:00
machines.hh Make system-features a store setting 2020-08-12 18:13:00 +00:00
misc.cc Rename drv output querying functions, like master 2020-08-20 18:14:12 +00:00
names.cc Move names.{cc,hh} to libstore 2020-06-11 15:42:18 +02:00
names.hh Move names.{cc,hh} to libstore 2020-06-11 15:42:18 +02:00
nar-accessor.cc Merge remote-tracking branch 'origin/master' into markdown 2020-07-31 16:07:04 +02:00
nar-accessor.hh NarAccessor: Run in constant memory 2020-07-13 17:30:42 +02:00
nar-info-disk-cache.cc Minimize the usage of Hash::dummy 2020-08-06 18:31:48 +00:00
nar-info-disk-cache.hh
nar-info.cc Minimize the usage of Hash::dummy 2020-08-06 18:31:48 +00:00
nar-info.hh Minimize the usage of Hash::dummy 2020-08-06 18:31:48 +00:00
nix-store.pc.in
optimise-store.cc unsigned long long -> uint64_t 2020-07-30 13:34:04 +02:00
parsed-derivations.cc Make system-features a store setting 2020-08-12 18:13:00 +00:00
parsed-derivations.hh Make system-features a store setting 2020-08-12 18:13:00 +00:00
path-info.hh Minimize the usage of Hash::dummy 2020-08-06 18:31:48 +00:00
path.cc toStorePath(): Return a StorePath and the suffix 2020-07-13 16:25:48 +02:00
path.hh Merge remote-tracking branch 'origin/master' into substitute-other-storedir 2020-07-02 11:14:04 -04:00
pathlocks.cc
pathlocks.hh
profiles.cc addPermRoot(): Remove indirect flag 2020-09-03 11:29:34 +02:00
profiles.hh createGeneration(): Take a StorePath 2020-09-03 11:06:56 +02:00
references.cc Squashed get CA derivations building 2020-08-07 19:51:55 +00:00
references.hh Squashed get CA derivations building 2020-08-07 19:51:55 +00:00
remote-fs-accessor.cc toStorePath(): Return a StorePath and the suffix 2020-07-13 16:25:48 +02:00
remote-fs-accessor.hh toStorePath(): Return a StorePath and the suffix 2020-07-13 16:25:48 +02:00
remote-store.cc Fix build issues with gcc 2020-09-16 13:53:09 +02:00
remote-store.hh Add a name to the stores 2020-09-16 13:53:09 +02:00
s3-binary-cache-store.cc Fix the s3 store 2020-09-16 13:53:09 +02:00
s3-binary-cache-store.hh Revert "Remove putBytes" 2020-08-04 15:56:10 +02:00
s3.hh
sandbox-defaults.sb
sandbox-minimal.sb
sandbox-network.sb
schema.sql
serve-protocol.hh
sqlite.cc Merge remote-tracking branch 'origin/master' into flakes 2020-06-17 10:26:52 +02:00
sqlite.hh Merge remote-tracking branch 'origin/master' into flakes 2020-06-17 10:26:52 +02:00
ssh-store.cc Fix build issues with gcc 2020-09-16 13:53:09 +02:00
ssh.cc Revert the enum struct change 2020-06-18 22:11:26 +00:00
ssh.hh
store-api.cc Remove useless exception copy 2020-09-16 14:00:21 +02:00
store-api.hh Fix build issues with gcc 2020-09-16 13:53:09 +02:00
worker-protocol.hh Merge pull request #3859 from obsidiansystems/drv-outputs-map-allow-missing 2020-08-20 16:49:23 +02:00