Skip to content

Switch to new license Manager - #347

Merged
phil-davis merged 2 commits into
masterfrom
new-licensing
Jul 29, 2020
Merged

phil-davis merged 2 commits into
masterfrom
new-licensing

Conversation

@micbar

@micbar micbar commented Jul 24, 2020 •

Copy link
Copy Markdown
Contributor

Description

  • Switch to new license manager
  • Raise minimum dependency to 10.5

To do

  • Fix tests

@pmaier1

@micbar
micbar requested a review from mrow4a July 24, 2020 08:25
@micbar micbar self-assigned this Jul 24, 2020
@micbar
micbar force-pushed the new-licensing branch 2 times, most recently from 3bae69e to ca7663e Compare July 24, 2020 08:39
@phil-davis

phil-davis commented Jul 24, 2020 •

Copy link
Copy Markdown
Contributor

In the description: "Run acceptance tests on php7.2 an php7.4"

That is already happening - codestyle, phpunit and acceptance tests are all running on PHP 7.2, 7,3, 7.4
So that point is not happening in this PR.

@micbar

micbar commented Jul 24, 2020

Copy link
Copy Markdown
Contributor Author

@phil-davis I needed to remove the tests on latest

We need to re enable after the core release

@pmaier1 pmaier1 mentioned this pull request Jul 24, 2020
3 of 5 tasks
@phil-davis

Copy link
Copy Markdown
Contributor

@phil-davis I needed to remove the tests on latest

We need to re enable after the core release

👍 this had to be done on all repos that have min-version 10.5

Some time after 10.5.0 release becomes "latest" core, there will be a dozen repos to have tests against "latest" core enabled again.

@micbar

micbar commented Jul 24, 2020

Copy link
Copy Markdown
Contributor Author

@phil-davis Created #348

@codecov

codecov Bot commented Jul 24, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #347 into master will increase coverage by 0.39%.
The diff coverage is 37.50%.

Impacted file tree graph

@@             Coverage Diff             @@
##             master    #347      +/-   ##
===========================================
+ Coverage      5.77%   6.17%   +0.39%     
+ Complexity      309     308       -1     
===========================================
  Files            14      14              
  Lines          1195    1199       +4     
===========================================
+ Hits             69      74       +5     
+ Misses         1126    1125       -1     
Impacted Files Coverage Δ Complexity Δ
lib/AppInfo/Application.php 46.87% <0.00%> (-1.52%) 17.00 <0.00> (ø)
lib/AppConfig.php 40.62% <100.00%> (+14.81%) 15.00 <1.00> (-1.00) ⬆️

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 2b61a53...0bb87ce. Read the comment docs.

Comment thread lib/AppConfig.php Resolved
@phil-davis
phil-davis requested a review from mrow4a July 24, 2020 09:28

@mrow4a mrow4a 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.

approving assuming consequence that next app release wont be compatible with <= oc10.4.X

@mrow4a

mrow4a commented Jul 26, 2020

Copy link
Copy Markdown
Contributor

Weird I cannot use the app with new License Manager:

➜  octest git:(master) ✗ ls lib/private/License   
BasicLicense.php   ILicense.php       LicenseFetcher.php LicenseManager.php MessageService.php

I get this

Exception: {\"Exception\":\"OCP\\\\AppFramework\\\\QueryException\",\"Message\":\"Could not resolve uid! Class uid does not exist or error resolving constructor arguments: Could not resolve LicenseManager! Class LicenseManager does not exist\

I will try to figure out what is wrong with your PR

@mrow4a

mrow4a commented Jul 26, 2020

Copy link
Copy Markdown
Contributor

@micbar @pmaier1 fixed richdocuments, but requires merging owncloud/core#37728

Tested with secure view
Zrzut ekranu 2020-07-26 o 10 26 17

@micbar

micbar commented Jul 27, 2020

Copy link
Copy Markdown
Contributor Author

Core PR is merged. The new daily master tarballs are build this night.

So tomorrow the CI should pass.

@phil-davis
phil-davis self-requested a review July 29, 2020 07:24
@phil-davis

Copy link
Copy Markdown
Contributor

Rebased so CI includes the test change in #349

@phil-davis
phil-davis merged commit 6b0e58a into master Jul 29, 2020
@delete-merged-branch
delete-merged-branch Bot deleted the new-licensing branch July 29, 2020 08:16
@HanaGemela HanaGemela mentioned this pull request Jul 29, 2020
16 of 31 tasks
@jnweiger jnweiger mentioned this pull request Dec 22, 2021
24 of 30 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants