-
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
[For 10.4] Filter app:list for just enabled or disabled apps #36520
Conversation
ToDo if this seems like "a good thing":
|
9780917
to
3917232
Compare
Codecov Report
@@ Coverage Diff @@
## master #36520 +/- ##
============================================
+ Coverage 64.66% 64.67% +0.01%
- Complexity 19049 19057 +8
============================================
Files 1269 1268 -1
Lines 74498 74504 +6
Branches 1311 1311
============================================
+ Hits 48171 48184 +13
+ Misses 25941 25934 -7
Partials 386 386
Continue to review full report at Codecov.
|
@phil-davis was it agreed to show the version numbers when no As far as I understood from #36165 (comment), the expectation was to not show any version number for disabled apps when simply running |
I don't know what has been "agreed". With the current code We could easily change the logic so that disabled app versions are only reported when the user specifically does |
I changed the logic so that the version of a disabled app is only displayed when
So you can get a full list of apps with versions by doing |
@micbar there has been various discussion about this in PR #36165 |
@micbar doco is reviewed and ready to merge. Go ahead with this? |
@phil-davis Yes, go ahead |
@micbar needs someone to review the code... |
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.
See comments, rest LGTM
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.
Just a few, minor, changes. I'll preemptively update https://github.com/owncloud/docs/pull/2144/files in line with my comments here.
e1d3d63
to
cc48f1f
Compare
@micbar this is ready for you or some developer person to review the code. |
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.
What about noting that version numbers are displayed, along with when they are displayed for disabled apps which were previously enabled?
Should we just do that in the docs? |
After reviewing owncloud/core#36520, I felt that the wording in this PR could be simpler still, hence this change.
Depending on how you look at it, both of these instances are docs. Some are "formal" docs, and some are informal. If the information's in one place, then it may be confusing if it's not in the other. Perhaps it's just me, but this is what I've found in a number of projects over the years, including ownCloud. |
Description
Add options to the
occ app:list
command to display just the enabled or disabled apps.This is on top of #36165
Motivation and Context
It is often convenient to be able to just display the enabled or disabled apps.
How Has This Been Tested?
Running acceptance tests locally.
Types of changes
Checklist: