Skip to content

scalar: add --<verb>-cache-server-url options#849

Open
derrickstolee wants to merge 2 commits intomicrosoft:vfs-2.53.0from
derrickstolee:scalar-gvfs-verb
Open

scalar: add --<verb>-cache-server-url options#849
derrickstolee wants to merge 2 commits intomicrosoft:vfs-2.53.0from
derrickstolee:scalar-gvfs-verb

Conversation

@derrickstolee
Copy link

@derrickstolee derrickstolee commented Jan 25, 2026

In #836, we implemented custom gvfs..cache-server config options that allow existing enlistments to point specific GVFS Protocol verbs at different cache servers. However, that did not help at clone time.

This change adds ---cache-server-url options to 'scalar clone' to allow initial clones to take advantage of different cache servers.

The intended use here is to take advantage of new cache server infrastructure as each protocol endpoint is deployed independently.

  • This change only applies to interactions with Azure DevOps and the
    GVFS Protocol.

@derrickstolee derrickstolee changed the base branch from vfs-2.52.0 to vfs-2.53.0 February 3, 2026 13:29
In git#836, we implemented custom gvfs.<verb>.cache-server config options
that allow existing enlistments to point specific GVFS Protocol verbs at
different cache servers. However, that did not help at clone time.

This change adds --<verb>-cache-server-url options to 'scalar clone' to
allow initial clones to take advantage of different cache servers.

The intended use here is to take advantage of new cache server
infrastructure as each protocol endpoint is deployed independently.

Signed-off-by: Derrick Stolee <stolee@gmail.com>
@derrickstolee derrickstolee marked this pull request as ready for review February 3, 2026 14:06
Now that we are testing the --<verb>-cache-server options in t9210, we need
to be more careful about our variable names to ensure those created in
t9210-scalar.sh are different from those set in lib-gvfs-helper.sh. For this
we:

* Rename variables to use ORIGIN_* for those that host Git repo data.
* Update server output files to have more specific names.
* Avoid using the default test server port when possible, in preference for
  a positive shift-by-10k.

Signed-off-by: Derrick Stolee <stolee@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant