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

Guillotina 5 support #2

Merged
merged 10 commits into from
Jun 22, 2019
Merged

Guillotina 5 support #2

merged 10 commits into from
Jun 22, 2019

Conversation

vangheem
Copy link
Collaborator

No description provided.

@vangheem vangheem requested a review from bloodbare June 22, 2019 07:13
@@ -1,17 +1,21 @@
import os

from guillotina import configure
from guillotina.component import get_utility
from guillotina.contrib.catalog.pg import sqlq
Copy link
Member

Choose a reason for hiding this comment

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

We should not import contrib packages on modules, no ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Let me do some tests. Maybe we just need to make sure in guillotina this is okay and doesn't auto import it.

The the use-case of linkintegrity, pg catalog will always be enabled.

@codecov-io
Copy link

Codecov Report

Merging #2 into master will increase coverage by 2.67%.
The diff coverage is 87.8%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master      #2      +/-   ##
=========================================
+ Coverage   87.22%   89.9%   +2.67%     
=========================================
  Files          11      11              
  Lines         548     505      -43     
=========================================
- Hits          478     454      -24     
+ Misses         70      51      -19
Impacted Files Coverage Δ
guillotina_linkintegrity/__init__.py 100% <ø> (ø) ⬆️
guillotina_linkintegrity/install.py 0% <0%> (ø) ⬆️
guillotina_linkintegrity/tests/test_li.py 100% <100%> (ø) ⬆️
guillotina_linkintegrity/tests/fixtures.py 85.71% <100%> (+2.38%) ⬆️
guillotina_linkintegrity/tests/test_api.py 100% <100%> (ø) ⬆️
guillotina_linkintegrity/cache.py 100% <100%> (+20%) ⬆️
guillotina_linkintegrity/storage.py 83.33% <100%> (ø) ⬆️
guillotina_linkintegrity/api.py 89.47% <100%> (+1.23%) ⬆️
guillotina_linkintegrity/utils.py 83.41% <50%> (+0.83%) ⬆️
guillotina_linkintegrity/subscribers.py 94% <90.9%> (-1.46%) ⬇️

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 6ee4e2a...66f442a. Read the comment docs.

@vangheem
Copy link
Collaborator Author

See plone/guillotina#555

@vangheem vangheem merged commit 54a64b6 into master Jun 22, 2019
@vangheem vangheem deleted the g5 branch June 22, 2019 09:19
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.

None yet

3 participants