Skip to content

Only enforce schema limits for supported apps - #10555

Merged
blizzz merged 3 commits into
masterfrom
bugfix/10518/only-check-added-items
Jan 3, 2019
Merged

Only enforce schema limits for supported apps#10555
blizzz merged 3 commits into
masterfrom
bugfix/10518/only-check-added-items

Conversation

@nickvergessen

Copy link
Copy Markdown
Member

$infoParser = new InfoParser();
$info = $infoParser->parse($appPath . '/appinfo/info.xml');
if (!isset($info['dependencies']['database'])) {
$this->checkOracle = true;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

so by default we check always check oracle?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Yeah if the author did not define a db, you can install it on any. It a db is given the dependency check ensures it. So that mathes the logic here

@rullzerrullzer added this to the Nextcloud 15 milestone Aug 8, 2018
@rullzer

Copy link
Copy Markdown
Member

Lets do this properly for 15

@MorrisJobke

Copy link
Copy Markdown
Member

@nickvergessen Could you please rebase to fix the conflict?

@MorrisJobkeMorrisJobke added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Oct 2, 2018
@nickvergessen

nickvergessen commented Oct 8, 2018

Copy link
Copy Markdown
MemberAuthor

Done, the "conflict" was f5c63d7

@nickvergessen
nickvergessenforce-pushed the bugfix/10518/only-check-added-items branch from bba82f1 to 9af5d4cCompareOctober 8, 2018 10:58
@nickvergessennickvergessen added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Oct 8, 2018

@MorrisJobkeMorrisJobke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tested and works with shipped apps 👍

@MorrisJobke

Copy link
Copy Markdown
Member

Looks like some tests fail 🙈

@nickvergessen
nickvergessenforce-pushed the bugfix/10518/only-check-added-items branch from 9af5d4c to cc1253aCompareOctober 10, 2018 08:45
@MorrisJobke

Copy link
Copy Markdown
Member

Looks like some tests fail 🙈

Resolved.

@MorrisJobke

Copy link
Copy Markdown
Member

@rullzer @danielkesselberg @blizzz Mind to review this one?

@MorrisJobke

Copy link
Copy Markdown
Member

@nickvergessen@rullzer Should we do this now or wait for 16?

@MorrisJobkeMorrisJobke mentioned this pull request Nov 7, 2018
29 tasks
@nickvergessen

Copy link
Copy Markdown
MemberAuthor

I'm always in favor of it. but well I manually cross check that oracle still works via the notifications tests…

@MorrisJobkeMorrisJobke mentioned this pull request Nov 8, 2018
24 tasks
@MorrisJobke

Copy link
Copy Markdown
Member

Let's move it to 16 and merge it early this time.

@nickvergessen

Copy link
Copy Markdown
MemberAuthor

#12446 🙈

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen
nickvergessenforce-pushed the bugfix/10518/only-check-added-items branch from cc1253a to 85a0e10CompareDecember 17, 2018 12:52
@nickvergessen

Copy link
Copy Markdown
MemberAuthor

Rebased to re-execuite the tests, please merge soonish

@blizzz
blizzz merged commit 6895230 into masterJan 3, 2019
@blizzz
blizzz deleted the bugfix/10518/only-check-added-items branch January 3, 2019 13:18
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@nickvergessen@rullzer@MorrisJobke@blizzz