[full-ci] Implement persistent major version workflow (v2)#40531
[full-ci] Implement persistent major version workflow (v2)#40531
Conversation
|
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
535b1ae to
87a9f50
Compare
fa544e8 to
dcc11e4
Compare
dcc11e4 to
6a89560
Compare
|
💥 Acceptance tests pipeline webUITags-chrome-mariadb10.2-php7.4 failed. The build has been cancelled. |
55478be to
db9c74b
Compare
4759a06 to
f1ccbce
Compare
|
https://drone.owncloud.com/owncloud/core/37534/9/7 |
|
https://drone.owncloud.com/owncloud/core/37534/143/18 |
|
By default, CI gets killed as soon as one pipeline fails. |
6cdf487 to
91acbb6
Compare
|
@phil-davis would you mind having a look into https://drone.owncloud.com/owncloud/core/37551/142/17 ? I quite cannot scratch my head what is the problem, my change has nothing to do with Tags Tab, it touches only Versions Tab. Also backend logic nowhere touches tags logic. Would be quite grateful 🙏🏻 can this be somehow related to 22985c0#diff-13542e9bb43fdf30fda1d9e9c04815936a6b19e6ab005b5c444c740f8e66646d (which is related to this exact feature) ? |
91acbb6 to
32e04a5
Compare
|
@phil-davis started adjusting other acceptance tests due to the fact that PROPFIND now also returns current version and noncurrent version, plus restore logic changed. And... found out that in one case there is a bug in my implementation ( |
93e183c to
2a75559
Compare
5cc9921 to
a36fb61
Compare
|
Kudos, SonarCloud Quality Gate passed! |
jvillafanez
left a comment
There was a problem hiding this comment.
Might need a squash, but code looks ok.
|
@mrow4a pls add the change that you proposed in docs in config_sample_php_parameters here in core. I will then do a |
|
Confirmed fixed in 10.12.0-rc.3
|








Description
Remark: For reviews, please keep in mind that this code is many years old with lots of legacies, I tried as much as I can not to refactor the code too much in order to avoid regressions and fit this change into OC10 release according to semver.
This PR introduces the following enhancements:
Change no. 4: Current version of the file now can be published, which increases major version tag.

Change no. 5: Each new edit of the file would create noncurrent versions. The ones tagged with major version due to publishing, will be persisted long term and it wont be subject to any retention policies

Related Issue
How Has This Been Tested?
Enable the feature and test generating new versions e.g. in shared folder on a document with TextEditor/OnlyOffice/Collabora
Types of changes
Checklist:
Example
test1creates a fileshared/nest/test1.txt, version tab showscurrentlabel on the latest versiontest2updates a fileshared/nest/test1.txttwo times, that creates two noncurrent versionstest2publishes latest versionshared/nest/test1.txt, and thus would prevent expiry in the future. File is now marked withpersistentlabel