Skip to content

Commit 1ea08bf

Browse files
committed
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`.
1 parent 507579e commit 1ea08bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,12 @@ $(baseline_asset_fixture):
141141
sed -i '' 's/master/main/g' $$(find . -type f)
142142

143143
transport_fixtures = gix-transport/tests/fixtures
144-
base_url = https://github.com/Byron/gitoxide.git
144+
base_url = https://github.com/GitoxideLabs/gitoxide.git
145145
update-curl-fixtures: ## use curl to fetch raw fixtures for use in unit test. Changes there might break them
146146
curl -D - -L "$(base_url)/info/refs?service=git-upload-pack" > $(transport_fixtures)/v1/http-handshake.response
147147
curl -D - -H 'Git-Protocol: version=2' -L "$(base_url)/info/refs?service=git-upload-pack" > $(transport_fixtures)/v2/http-handshake.response
148-
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
149-
curl -D - -H 'Git-Protocol: version=1' -L "https://github.com/Byron/gitoxide/info/refs?service=git-upload-pack" > $(transport_fixtures)/http-404.response
148+
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
149+
curl -D - -H 'Git-Protocol: version=1' -L "https://github.com/GitoxideLabs/gitoxide/info/refs?service=git-upload-pack" > $(transport_fixtures)/http-404.response
150150

151151
update-assets: $(baseline_asset_fixture) ## refresh assets compiled into the binaries from their source
152152
-rm -Rf $(baseline_asset_dir)

0 commit comments

Comments
 (0)