lix/src/libfetchers
Qyriad ebd00b2d0b libfetchers: fix URL logging
8c06b7b43¹ made libfetchers log the URL being fetched just before the
actual fetch, particularly in case something freezes. This used the base
URL, to not include query parameters, as the Nixpkgs lib tests assume
that stderr logs will be equal across shallow and non-shallow git
fetches (and shallow fetches have the ?shallow=1 query parameter).

8c06b7b43 assumed that the `base` field of ParsedURL would be populated,
as the comment simply says "URL without query/fragment"... but
apparently it is not populated when the URL being fetched is *already*
fetched, which caused libfetchers to log things like

fetching gitlab input ''

which is. silly. but you know, busted lix be busted.

Anyway, with this commit we just remove the query params before printing
instead, which seems to do the right thing

[1]: 8c06b7b431

Change-Id: I9b9988992029aa6abef786f20b66e68c2ebb97d4
2024-05-25 19:37:38 -06:00
..
attrs.cc Fix conversion from JSON to fetch attributes 2021-01-05 02:06:25 +00:00
attrs.hh Allow tarball URLs to redirect to a lockable immutable URL 2023-06-13 14:17:45 +02:00
cache.cc libfetchers: fallback to memory SQLite if fs IO fails 2024-05-21 09:30:25 -06:00
cache.hh Input: Replace markFileChanged() by putFile() 2024-03-25 15:30:36 +00:00
fetch-settings.cc Move some stuff from Settings to a new FetchSettings. 2022-03-01 01:39:25 +00:00
fetch-settings.hh Deprecate the online flake registries and vendor the default registry 2024-05-18 12:27:23 +10:00
fetch-to-store.cc Merge pull request #9634 from 9999years/combine-abstract-pos-and-pos 2024-03-05 23:46:18 -07:00
fetch-to-store.hh pragma once and ///@file everything missing it 2024-04-08 15:40:12 -07:00
fetchers.cc libfetchers: fix URL logging 2024-05-25 19:37:38 -06:00
fetchers.hh Merge pull request #8817 from iFreilicht/flake-update-lock-overhaul 2024-03-25 17:36:24 -06:00
git.cc Input: Replace markFileChanged() by putFile() 2024-03-25 15:30:36 +00:00
github.cc remove extraneous cache entry from github fetcher 2024-04-21 10:46:05 +00:00
indirect.cc Input: Replace markFileChanged() by putFile() 2024-03-25 15:30:36 +00:00
lix-fetchers.pc.in packaging: rename nixexpr -> lixexpr and so on 2024-05-23 16:45:23 -06:00
mercurial.cc Input: Replace markFileChanged() by putFile() 2024-03-25 15:30:36 +00:00
meson.build packaging: rename nixexpr -> lixexpr and so on 2024-05-23 16:45:23 -06:00
path.cc Input: Replace markFileChanged() by putFile() 2024-03-25 15:30:36 +00:00
registry.cc Deprecate the online flake registries and vendor the default registry 2024-05-18 12:27:23 +10:00
registry.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
tarball.cc add and fix -Wignored-qualifiers 2024-05-09 07:08:44 -06:00