From 1ea08bfcd2a1e8071854e2c4b95410737630da15 Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Mon, 14 Oct 2024 03:07:31 -0400 Subject: [PATCH] Update `Makefile` to use `GitoxideLabs` URLs For the `update-curl-fixtures` rule. Two kinds of URLs are changed: - Old `Byron/gitoxide` URLs changed to `GitoxideLabs/gitoxide`. - The `Byron/foo` URL, used to obtain a 404 response, is changed to `GitoxideLabs/foo`, which likewise does not exist. Running `make update-curl-fixtures`, stashing, applying the change committed here, then running `make update-curl-fixtures` again and doing a cursory comparison to the stash indicates that this change appears not to have broken `update-curl-fixtures`. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index cb35d878817..9ccf1bfc36c 100644 --- a/Makefile +++ b/Makefile @@ -141,12 +141,12 @@ $(baseline_asset_fixture): sed -i '' 's/master/main/g' $$(find . -type f) transport_fixtures = gix-transport/tests/fixtures -base_url = https://github.com/Byron/gitoxide.git +base_url = https://github.com/GitoxideLabs/gitoxide.git update-curl-fixtures: ## use curl to fetch raw fixtures for use in unit test. Changes there might break them curl -D - -L "$(base_url)/info/refs?service=git-upload-pack" > $(transport_fixtures)/v1/http-handshake.response curl -D - -H 'Git-Protocol: version=2' -L "$(base_url)/info/refs?service=git-upload-pack" > $(transport_fixtures)/v2/http-handshake.response - curl -H 'User-Agent: git/oxide-0.1.0' -D - -H 'Git-Protocol: version=1' -L "https://github.com/Byron/foo/info/refs?service=git-upload-pack" > $(transport_fixtures)/http-401.response - curl -D - -H 'Git-Protocol: version=1' -L "https://github.com/Byron/gitoxide/info/refs?service=git-upload-pack" > $(transport_fixtures)/http-404.response + curl -H 'User-Agent: git/oxide-0.1.0' -D - -H 'Git-Protocol: version=1' -L "https://github.com/GitoxideLabs/foo/info/refs?service=git-upload-pack" > $(transport_fixtures)/http-401.response + curl -D - -H 'Git-Protocol: version=1' -L "https://github.com/GitoxideLabs/gitoxide/info/refs?service=git-upload-pack" > $(transport_fixtures)/http-404.response update-assets: $(baseline_asset_fixture) ## refresh assets compiled into the binaries from their source -rm -Rf $(baseline_asset_dir)