Skip to content

changing the name of remote is not possible #274

@supervisitor

Description

@supervisitor

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions