Comments (2)
The warning is benign, so far as your gvfs clone is concerned. What's happening here is that you need to configure the server with some info that it needs to be able to respond to the /gvfs/config query. We are planning to change the server behavior so that it always returns a default response if you haven't configured anything, but that did not make it into RC2. I'll follow up shortly with more details about how to configure it yourself.
from vfsforgit.
@mrcaron: As sanoursa mentioned, we have a change in behavior in the pipeline so the default response will avoid that warning if you haven't configured anything explicitly. In the meantime, you can avoid the warning by configuring an all-encompassing version range on the server. The configuration of allowed GVFS client versions is done through the Git Repository Settings Policy, here are the steps to get that done (you'll need a REST client such as Postman):
- Check to make sure you don't have an existing Git Repository Settings Policy by running a
GET
tohttps://<host>/tfs/<collection>/<project>/_apis/policy/configurations
and looking for any entries with type Id"7ed39669-655c-494e-b4a0-a08b4da0fcce"
. - If there isn't an existing Git Repository Settings Policy then run a
POST
tohttps://<host>/tfs/<collection>/<project>/_apis/policy/configurations?api-version=3.1
with the following body (andapplication/json
Content-Type):
{
"isEnabled": true,
"isBlocking": true,
"settings": {
"scope": [{
"repositoryId": null
}],
"gvfsAllowedVersionRanges": [{
"min": {
"major": 0,
"minor": 0,
"build": 0,
"revision": 0
},
"max": null
}
]
},
"type": {
"id": "7ed39669-655c-494e-b4a0-a08b4da0fcce",
"displayName": "Git repository settings"
}
}
Note that the Json above sets the scope of the policy to all repos in the project. If you want this to apply to a specific repo then you can get the repo Id by navigating to https://<host>/tfs/<collection>/<project>/_apis/git/repositories/<reponame>
and substituting "repositoryId": null
above with "repositoryId":<Guid>
- If there's an existing Git Repository Settings policy that is scoped to your repo (or project that the repo belongs to) then you won't be able to create a new one and instead you need to modify the existing one by running a
PUT
tohttps://<host>/tfs/<collection>/<project>/_apis/policy/configurations/<policy number>?api-version=3.1
with the whole body of the existing policy plus the"gvfsAllowedVersionRanges"
element from the Json above.
Hope this helps, let me know if you have any questions.
from vfsforgit.
Related Issues (20)
- Failed to upgrade: Package signature validation failed HOT 1
- Broken links for articles about the details of VFS for Git HOT 5
- FastFetch fails to delete files in some circumstances
- Unattended install hangs on GVFS.Service.UI.exe HOT 1
- Can VFS work with LFS? HOT 1
- Race condition in BatchObjectDownloadStage HOT 2
- Fetching commits and trees from cache server...Failed. HOT 7
- Azure DevOps GVFS Error
- Missing entries in context menus (on Windows)
- Consider upgrading LibGit2Sharp.NativeBinaries as they are over 3 years old
- Cache folder grows boundlessly HOT 3
- Is there any way to get Xcode's source control to support vfs git? HOT 2
- Is the licensing problematic? HOT 2
- Where does VFS For Git Mount The Repos HOT 3
- Where does VFS For Git Mount The Repos HOT 1
- VFS for Git is incompatible with Azure DevOps OAuth
- Corrupt object tests failing with latest microsoft/git version
- No more options?
- AutoMount fails when ACLs on directory are note set correctly
- Git Restore Fails with "did not match any file(s) known to git" HOT 19
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vfsforgit.