Skip to content

Revert "Dispatch upgradeAppStoreApps event"#27729

Merged
PVince81 merged 3 commits into
masterfrom
revert-27648-update-from-market
Oct 13, 2017
Merged

Revert "Dispatch upgradeAppStoreApps event"#27729
PVince81 merged 3 commits into
masterfrom
revert-27648-update-from-market

Conversation

@PVince81

@PVince81 PVince81 commented Apr 24, 2017

Copy link
Copy Markdown
Contributor

Reverts #27648 and some cleanup for upgrade process.

As suggested in #27711 (comment)

@VicDeo

@PVince81

Copy link
Copy Markdown
Contributor Author

Hmm, might as well cleanup the remaining unneeded code.

Comment thread lib/private/Updater.php
OC_App::disable($app);
$disabledApps[]= $app;
$this->emit('\OC\Updater', 'incompatibleAppDisabled', [$app]);
continue;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@VicDeo should we still keep this ? I'm not sure if a full revert is a good idea.

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.

@PVince81 yes, looks like this part had a logic flaw before

@PVince81

Copy link
Copy Markdown
Contributor Author

If we revert this it seems some of the workflow will change, so might need a full retest of the update code.

@PVince81 PVince81 modified the milestones: 10.0.1, 10.0 Apr 26, 2017
@PVince81

Copy link
Copy Markdown
Contributor Author

@VicDeo can you finish this for 10.0.1 ? Seems we'll need to keep some logic.

@PVince81

PVince81 commented May 4, 2017

Copy link
Copy Markdown
Contributor Author

@VicDeo please finish this if applicable, else close

@VicDeo

VicDeo commented May 4, 2017

Copy link
Copy Markdown
Contributor

@PVince81 @DeepDiver1975 do we need auto disable as a last line of defence?
If not, I would just kill disabling/reenabling here at once

@PVince81 PVince81 modified the milestones: 10.0.2, 10.0.1 May 19, 2017
@PVince81 PVince81 modified the milestones: 10.0.2, 10.0.3 May 26, 2017
@PVince81

PVince81 commented Jul 4, 2017

Copy link
Copy Markdown
Contributor Author

UnresolvableWord: audisable

@VicDeo

VicDeo commented Jul 4, 2017

Copy link
Copy Markdown
Contributor

@PVince81 oh. it should sound like auto-disable

@PVince81

PVince81 commented Jul 4, 2017

Copy link
Copy Markdown
Contributor Author

@VicDeo auto-disable on update ? I think we removed that... currently the only auto-disable that's left is if the app throws an exception in app.php, and that's during app load, not install

@VicDeo

VicDeo commented Jul 4, 2017

Copy link
Copy Markdown
Contributor

@PVince81 not exactly.
We removed disabling of all non-shipped apps.
While incompatible apps are still disabled here.

Another story that reaching this point is blocked by repair step.

@PVince81

PVince81 commented Jul 4, 2017

Copy link
Copy Markdown
Contributor Author

ah yes... incompatible apps... yes, let's disable these automatically

@PVince81

PVince81 commented Aug 9, 2017

Copy link
Copy Markdown
Contributor Author

moving to "planned"

@PVince81 PVince81 modified the milestones: planned, development Aug 9, 2017
@VicDeo VicDeo force-pushed the revert-27648-update-from-market branch from c851797 to 7ecab71 Compare September 21, 2017 13:40
@VicDeo

VicDeo commented Sep 22, 2017

Copy link
Copy Markdown
Contributor

Rebased.
Lines 345-356 look pretty useless to me after a rebase

@VicDeo

VicDeo commented Sep 22, 2017

Copy link
Copy Markdown
Contributor

@PVince81 I'm feeling like killing more code here.
Incompatibility check has been moved into before upgrade repair step. So at least checkAppsRequirements is just a useless crap. There is no need in such duplication

@PVince81

Copy link
Copy Markdown
Contributor Author

@VicDeo sounds good

@VicDeo VicDeo force-pushed the revert-27648-update-from-market branch 2 times, most recently from f76154d to 9014586 Compare October 12, 2017 13:48
@VicDeo

VicDeo commented Oct 12, 2017

Copy link
Copy Markdown
Contributor

Rebased. Squashed.

@VicDeo VicDeo force-pushed the revert-27648-update-from-market branch from 9014586 to f46cb38 Compare October 12, 2017 20:04
@PVince81

Copy link
Copy Markdown
Contributor Author

👍 apps are still properly fetched from the market

@PVince81 PVince81 merged commit 37fd974 into master Oct 13, 2017
@PVince81 PVince81 deleted the revert-27648-update-from-market branch October 13, 2017 12:42
@PVince81

Copy link
Copy Markdown
Contributor Author

@VicDeo please backport to stable10

@VicDeo

VicDeo commented Oct 13, 2017

Copy link
Copy Markdown
Contributor

Stable10: #29249

@lock

lock Bot commented Aug 2, 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 2, 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.

2 participants