about summary refs log tree commit diff
path: root/RULES
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-06-25T19·25+0300
committerflokli <flokli@flokli.de>2024-06-26T04·51+0000
commitea6f51124108361d2e9946ba1122ba7384173722 (patch)
tree7287ceb8ee7678e03f5ff9a2feb8edb77c1ea9e6 /RULES
parent540e5669007a5f21b24bb8c63fd89756d0176866 (diff)
refactor(tvix/glue): return a parsed Url in NixFetchArgs r/8307
The only two consumers (fetchurl, fetchtarball) of these do try to parse
it as URL, so do it in the helper.

Update url_basename to take a &url::URL, not a &str.

Also update the test to use rstest for the fixtures to reduce some
boilerplate there.

Change-Id: I1f85fe2803060dc4423e673cb7b9f9bf799d09b9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11875
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
Tested-by: BuildkiteCI
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Diffstat (limited to 'RULES')
0 files changed, 0 insertions, 0 deletions