Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: Fix versioning path handling #7407

Merged
merged 1 commit into from
Feb 26, 2021

Conversation

imsodin
Copy link
Member

@imsodin imsodin commented Feb 25, 2021

The code in GUI uses a wrong key for the versioning path: It should be fsPath, but used is versionsPath. I changed the fs related options (path and type) to be members of VersioningConfiguration directly instead of the "free-form" string map entries. That doesn't prevent any such mixups in JS land, but at least makes it unambiguous in Go (and anything that will be based on the protos :) ).

@imsodin imsodin merged commit fff8805 into syncthing:main Feb 26, 2021
@imsodin imsodin deleted the all/fix-versioning-path branch February 26, 2021 11:04
@imsodin
Copy link
Member Author

imsodin commented Feb 26, 2021

While the bug is old, exposing the versioning path in the folder edit dialog is new to v1.14.0 - that's why it was detected now. Thus I'd release a v1.14.0-rc.3 with this PR plus #7384 (it's a small change and omitting would cause conflicts). Agreed? @AudriusButkevicius @calmh

@calmh
Copy link
Member

calmh commented Feb 26, 2021 via email

imsodin added a commit that referenced this pull request Feb 26, 2021
@calmh calmh added this to the v1.15.0 milestone Mar 3, 2021
@calmh calmh added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Aug 11, 2022
@syncthing syncthing locked and limited conversation to collaborators Aug 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants