You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I configured different servers and named them according to different rules. After that I wanted to clean and standardize the naming. So I exported my configuration to do the renaming with a text editor. But after importing the edited file I got the frustration! All servers with a "pass =" entry did not work anymore. e.g.:
this I'm able to rename: [TheNameIwantToChange] type = http ... url = https://user:password@server.example.com/path
... because the login and pass is plain coded into the URL, so when I change this at the editor to something like this: [TheNewName] type = http ... url = https://user:password@server.example.com/path
... it is still working!
but some like this: [TheNameIwantToChange] type = webdav ... pass = 37102c6627b16d9cbc491aa56326f9d7
... will not work after I change the name to something like this: [TheGreatNewName] type = webdav ... pass = 37102c6627b16d9cbc491aa56326f9d7
... because after the name change, the pass-line must be this: pass = b1437804b63514c28a778455fa3a5e7e
So I suspect that the name of remote is stored in this "pass"... which makes the configuration a bit unmanageable. Could this be changed? It would also have the advantage that you could insert new remotes in the editor via copy&paste, and much more...
The text was updated successfully, but these errors were encountered:
I configured different servers and named them according to different rules. After that I wanted to clean and standardize the naming. So I exported my configuration to do the renaming with a text editor. But after importing the edited file I got the frustration! All servers with a "pass =" entry did not work anymore. e.g.:
this I'm able to rename:
[TheNameIwantToChange]
type = http
...
url = https://user:password@server.example.com/path
... because the login and pass is plain coded into the URL, so when I change this at the editor to something like this:
[TheNewName]
type = http
...
url = https://user:password@server.example.com/path
... it is still working!
but some like this:
[TheNameIwantToChange]
type = webdav
...
pass = 37102c6627b16d9cbc491aa56326f9d7
... will not work after I change the name to something like this:
[TheGreatNewName]
type = webdav
...
pass = 37102c6627b16d9cbc491aa56326f9d7
... because after the name change, the pass-line must be this:
pass = b1437804b63514c28a778455fa3a5e7e
So I suspect that the name of remote is stored in this "pass"... which makes the configuration a bit unmanageable. Could this be changed? It would also have the advantage that you could insert new remotes in the editor via copy&paste, and much more...
The text was updated successfully, but these errors were encountered: