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

lib/versioner: base versions path to working dir (#4188) #4243

Closed
wants to merge 1 commit into from

Conversation

liusy182
Copy link
Contributor

@liusy182 liusy182 commented Jul 3, 2017

Purpose

base versions path to working dir (#4188)

Testing

base settings: In folder, advanced settings, "File Versioning" dropdown, choose "Stagger file versioning" option.

- Scenario 1:

Leave field "Versions Path" empty and save.

Expect staggered files to be synced to <<Folder Path>>/.stversions folder where <<Folder Path>> is the "Folder Path" value displayed in the same dialog.

- Scenario 2:

Give a absolute path in "Versions Path" field, E.g. "/tmp/testpath" and save.

Expect staggered files to be synced to the given path. E.g. "/tmp/testpath"

- Scenario 3:

Give a relative path in "Versions Path" field, E.g. "testpath" and save.

Expect staggered files to be synced to the path relative to "Folder Path", E.g. <<Folder Path>>/testpath

@calmh
Copy link
Member

calmh commented Jul 3, 2017

@st-jenkins retest this please

@calmh
Copy link
Member

calmh commented Jul 3, 2017

@liusy182 Thanks, looks good.

@calmh
Copy link
Member

calmh commented Jul 3, 2017

@st-jenkins retest this please

@calmh
Copy link
Member

calmh commented Jul 3, 2017

@st-review merge it please

lib/versioner: Interpret versions path relative to folder path (fixes #4188)

@st-review
Copy link

@calmh: Build status is pending. I'll wait until it goes green and then merge!

@st-review
Copy link

👌 Merged as 03c678a. Thanks, @liusy182!

@st-review st-review closed this Jul 3, 2017
st-review pushed a commit that referenced this pull request Jul 3, 2017
viable-hartman pushed a commit to viable-hartman/syncthing that referenced this pull request Aug 25, 2017
@st-review st-review added the pr-merged Legacy label used in the past for pull requests merged to the main tree label Jan 15, 2018
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Jul 15, 2018
@syncthing syncthing locked and limited conversation to collaborators Jul 15, 2018
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 pr-merged Legacy label used in the past for pull requests merged to the main tree
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants