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

Repair step list and execution from occ #29830

Merged
merged 1 commit into from
Feb 14, 2019
Merged

Repair step list and execution from occ #29830

merged 1 commit into from
Feb 14, 2019

Conversation

tomneedham
Copy link
Contributor

occ maintenance:repair --list and occ maintenance:repair --single "OC\Repair\MoveAvatarOutsideHome"

Question: Should we force enable maintenance mode?

@tomneedham tomneedham added this to the development milestone Dec 13, 2017
@tomneedham tomneedham self-assigned this Dec 13, 2017
Copy link
Contributor

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

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

Cool thing. Expecting codecov complains. Needs tests.

@codecov
Copy link

codecov bot commented Dec 13, 2017

Codecov Report

Merging #29830 into master will increase coverage by 0.27%.
The diff coverage is 90.24%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #29830      +/-   ##
============================================
+ Coverage     64.81%   65.08%   +0.27%     
- Complexity    18375    18385      +10     
============================================
  Files          1199     1199              
  Lines         69574    69610      +36     
  Branches       1282     1282              
============================================
+ Hits          45091    45304     +213     
+ Misses        24110    23933     -177     
  Partials        373      373
Flag Coverage Δ Complexity Δ
#javascript 53.08% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 66.47% <90.24%> (+0.3%) 18385 <9> (+10) ⬆️
Impacted Files Coverage Δ Complexity Δ
lib/private/Repair/MoveAvatarOutsideHome.php 44.82% <ø> (+44.82%) 8 <0> (ø) ⬇️
core/register_command.php 0% <0%> (ø) 0 <0> (ø) ⬇️
lib/private/Repair.php 80% <100%> (+54.11%) 21 <1> (ø) ⬇️
core/Command/Maintenance/Repair.php 90.51% <94.8%> (+90.51%) 29 <8> (+10) ⬆️
apps/files_trashbin/lib/Expiration.php 96.55% <0%> (-1.73%) 29% <0%> (ø)
...eratedfilesharing/lib/Controller/OcmController.php 66.06% <0%> (-0.21%) 30% <0%> (ø)
lib/private/Server.php 86.54% <0%> (+0.23%) 253% <0%> (ø) ⬇️
lib/private/Repair/RepairMismatchFileCachePath.php 98.05% <0%> (+1.16%) 51% <0%> (ø) ⬇️
lib/private/AllConfig.php 94.52% <0%> (+1.36%) 43% <0%> (ø) ⬇️
lib/private/Repair/RepairUnmergedShares.php 30% <0%> (+1.66%) 41% <0%> (ø) ⬇️
... and 15 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 ce83d92...771474e. Read the comment docs.

@PVince81 PVince81 modified the milestones: development, planned Jan 12, 2018
@felixboehm felixboehm modified the milestones: development, planned Apr 10, 2018
@PVince81
Copy link
Contributor

abandoned PR ? moving to triage for rescheduling

@PVince81
Copy link
Contributor

@tomneedham do you intend to finish this some day or should we take over ?

@PVince81 PVince81 added this to the backlog milestone Feb 8, 2019
@karakayasemi
Copy link
Contributor

karakayasemi commented Feb 10, 2019

  • the repair steps of applications added to list option (the dav app has repair steps).
  • only --list option run if the server is not in maintenance mode.
  • I refactored code a bit and added tests.

@tomneedham, @PVince81 please review. I will squash my commit after review.

@karakayasemi
Copy link
Contributor

@ownclouders rebase

@ownclouders
Copy link
Contributor

Hey! I'm GitMate.io! This pull request is being rebased automatically. Please DO NOT push while rebase is in progress or your changes would be lost permanently ⚠️

@karakayasemi
Copy link
Contributor

unrelated UI test fail. Rebased to try one more time.

@ownclouders
Copy link
Contributor

Automated rebase with GitMate.io was successful! 🎉

@karakayasemi
Copy link
Contributor

@VicDeo all issues are addressed. Please review again.

Copy link
Member

@VicDeo VicDeo left a comment

Choose a reason for hiding this comment

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

Let's wait for CI

@VicDeo VicDeo merged commit e44173a into master Feb 14, 2019
@delete-merged-branch delete-merged-branch bot deleted the occ-repair branch February 14, 2019 11:23
@VicDeo
Copy link
Member

VicDeo commented Feb 14, 2019

@PVince81 backport?

@PVince81
Copy link
Contributor

@karakayasemi please backport

@phil-davis
Copy link
Contributor

Backport stable10 #34499

@pmaier1
Copy link
Contributor

pmaier1 commented Apr 9, 2019

Has this been documented?

@karakayasemi
Copy link
Contributor

karakayasemi commented Apr 9, 2019

I could not find any ticket for documentation. Raised in here: owncloud/docs#946

@lock lock bot locked as resolved and limited conversation to collaborators Apr 15, 2020
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.

8 participants