-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
occ files:scan fix groups with comma, plus tests #31719
Conversation
Codecov Report
@@ Coverage Diff @@
## master #31719 +/- ##
============================================
+ Coverage 63.92% 63.93% +<.01%
Complexity 18542 18542
============================================
Files 1169 1169
Lines 69831 69833 +2
Branches 1267 1267
============================================
+ Hits 44641 44649 +8
+ Misses 24821 24815 -6
Partials 369 369
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this behaviour is expected 👍
@tomneedham @patrickjahns @DeepDiver1975 @PVince81 @ anyone else - Tom had a question about if group ids (names) can contain commas - #31578 (comment) Answer: yes they can, and they at least work in the Provisioning API Next question: Is it a requirement that group ids (names) can contain a comma? If yes, then merge this. (It at least demonstrates working behavior in 1 area) If no, then there would be a whole path to go down to "ban the comma". |
and adjust |
4013530
to
c476fae
Compare
This gets rid of all those places that try to |
c476fae
to
0be9e4f
Compare
@tomneedham @PVince81 @DeepDiver1975 please review. |
0be9e4f
to
7a72bcd
Compare
@DeepDiver1975 @PVince81 @tomneedham
becomes:
The
This makes things consistent. Whatever I do, there is a backward-compatibility break, because Please review. |
@phil-davis I allowed to change the headline to a better text. |
Document relevant, please open a doc Issue/PR |
Doc PR https://github.com/owncloud/documentation/issues/4215 already exists |
@phil-davis |
👎 on backporting - this will break API. API breakage only on major updates - this goes into oc11/master only for the rest: 👍 |
Backport in PR #32242 for commits that are adding Provisioning API and Unit Test cases that already pass. The last 2 commits that change the |
Backporting work is done here, so removing backport-request label. |
@phil-davis will there be a PR that goes into stable10 even on hold for oc11, else this one gets lost completely in any sense and devides master and stable10. |
@mmattel oc11 will be a branch called stable11 that gets created off master at some time near when oc11 is "about to happen". The backward-compatibility breaks will not end up in oc10, because they break backward-compatibilty. That is the semver definition for versioning. |
I added the |
The last 2 commits have now been backported to |
Description
files_scan
command so that the groups to scan are not put in a comma-separated list. Instead, list the groups to be scanned like--group=foo --group=bar
- this allows specifying group names that contain commas.Related Issue
#31578
#31835
Motivation and Context
@tomneedham asked if comma is allowed in group names - this demonstrates that it works in the Provisioning API.
How Has This Been Tested?
Local test runs
Types of changes
Checklist: