Skip to content

Update the help output for the occ files:scan command#29581

Merged
PVince81 merged 1 commit into
masterfrom
update-occ-files_scan-help-output
Nov 29, 2017
Merged

Update the help output for the occ files:scan command#29581
PVince81 merged 1 commit into
masterfrom
update-occ-files_scan-help-output

Conversation

@settermjd

@settermjd settermjd commented Nov 15, 2017

Copy link
Copy Markdown
Contributor

Description

Ensures that the descriptions for all commands in occ help files:scan are rendered consistently, and grammatically correct.

Related Issue

#29580.

Motivation and Context

The help output for occ files:scan renders inconsistently, both for capitalisation at the start of sentences, as well as for full-stops at the end of sentences. This decreases the readability of the command's output and detracts from a completely professional appearance.

How Has This Been Tested?

Re-ran the test suite.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests have passed.

Also Relates To

owncloud-archive/documentation#3542

@settermjd settermjd self-assigned this Nov 15, 2017
@settermjd settermjd requested a review from PVince81 November 15, 2017 12:24
@DeepDiver1975 DeepDiver1975 added this to the development milestone Nov 15, 2017
@settermjd settermjd force-pushed the update-occ-files_scan-help-output branch from b60282d to 7ba0e73 Compare November 15, 2017 13:44
@settermjd

Copy link
Copy Markdown
Contributor Author

In hindsight, I think I should have created this PR as a series of commits, and not one great big one.

@settermjd settermjd force-pushed the update-occ-files_scan-help-output branch from 7ba0e73 to b48ba99 Compare November 15, 2017 13:57
@codecov

codecov Bot commented Nov 15, 2017

Copy link
Copy Markdown

Codecov Report

Merging #29581 into master will decrease coverage by 0.7%.
The diff coverage is 51.38%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #29581      +/-   ##
============================================
- Coverage     62.47%   61.77%   -0.71%     
+ Complexity    17544    17482      -62     
============================================
  Files          1045     1047       +2     
  Lines         57770    57723      -47     
============================================
- Hits          36092    35657     -435     
- Misses        21678    22066     +388
Impacted Files Coverage Δ Complexity Δ
core/Command/Security/ImportCertificate.php 0% <0%> (ø) 4 <0> (ø) ⬇️
core/Command/Security/ListRoutes.php 0% <0%> (ø) 27 <0> (ø) ⬇️
core/Command/User/Enable.php 0% <0%> (-100%) 4 <0> (ø)
core/Command/L10n/CreateJs.php 0% <0%> (ø) 19 <0> (ø) ⬇️
core/Command/Maintenance/Repair.php 0% <0%> (ø) 19 <0> (ø) ⬇️
core/Command/Encryption/Status.php 0% <0%> (ø) 3 <0> (ø) ⬇️
core/Command/Status.php 0% <0%> (ø) 2 <0> (ø) ⬇️
core/Command/User/Add.php 0% <0%> (-55.3%) 16 <0> (ø)
core/Command/User/ListUsers.php 0% <0%> (-100%) 4 <0> (ø)
core/Command/User/Disable.php 0% <0%> (-100%) 4 <0> (ø)
... and 96 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a277026...b9cf787. Read the comment docs.

Comment thread core/Command/User/SyncBackend.php Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You missed a capital "L" and full-stop here?

@phil-davis

Copy link
Copy Markdown
Contributor

Seems "a good thing" to me.

@mmattel

mmattel commented Nov 15, 2017

Copy link
Copy Markdown
Contributor

👍

Comment thread core/Command/User/ListUserGroups.php Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe: „Lists the groups a user belongs to“

Comment thread core/Command/User/ListUsers.php Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe: ...contains the optional search pattern

@DeepDiver1975

Copy link
Copy Markdown
Member

@ownclouders rebase

@ownclouders

Copy link
Copy Markdown
Contributor

Hey! This pull request is being rebased automatically. Please DO NOT push while rebase is in progress or your changes would be lost!

@ownclouders

Copy link
Copy Markdown
Contributor

Automated rebase was successful!

@mmattel

mmattel commented Nov 20, 2017

Copy link
Copy Markdown
Contributor

@settermjd mind to complete the PR so it can be finally reviewed and merged before 10.0.4 gets released ?
The open doc PR is depending on this one too...

@mmattel

mmattel commented Nov 24, 2017

Copy link
Copy Markdown
Contributor

@settermjd any updates on the open comments ?

@mmattel

mmattel commented Nov 29, 2017

Copy link
Copy Markdown
Contributor

@PVince81 is it normal hat drone takes 18h and is still not finished...?
(Edit: after drone beeing open for +20h, squashed which restarted testing)

@mmattel mmattel force-pushed the update-occ-files_scan-help-output branch from c2b2c72 to b9cf787 Compare November 29, 2017 09:30
@PVince81

Copy link
Copy Markdown
Contributor

@mmattel I heard about some hardware issues on which Drone and Jenkins run... I hope we can sort this out soon.

@mmattel

mmattel commented Nov 29, 2017

Copy link
Copy Markdown
Contributor

@PVince81 glory, test passed 😄. Mind to give your (hopefully positive) review so it can be merged?

@PVince81 PVince81 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic! Consistency FTW!

👍

@PVince81 PVince81 merged commit 5c0803e into master Nov 29, 2017
@PVince81 PVince81 deleted the update-occ-files_scan-help-output branch November 29, 2017 13:07
@PVince81

Copy link
Copy Markdown
Contributor

@settermjd please backport to stable10 for 10.0.5

@mmattel

mmattel commented Dec 22, 2017

Copy link
Copy Markdown
Contributor

@settermjd I have not seen the backport (or missed it...), may I remind you and can you refrence from the backport to here respectively to #29580, thanks

@phil-davis

Copy link
Copy Markdown
Contributor

Backport stable10 #29959
(it was an easy cherry-pick with no conflicts)

@mmattel

mmattel commented Dec 22, 2017

Copy link
Copy Markdown
Contributor

thx @phil-davis

@settermjd

Copy link
Copy Markdown
Contributor Author

Thanks for the help @mmattel @phil-davis. Confirmed as working in a local installation of 10.0.4.

@lock

lock Bot commented Aug 1, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants