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

Treat sub-items like items in @linkintegrity #1714

Merged
merged 19 commits into from
Oct 18, 2023
Merged

Treat sub-items like items in @linkintegrity #1714

merged 19 commits into from
Oct 18, 2023

Conversation

jaroel
Copy link
Member

@jaroel jaroel commented Sep 27, 2023

[X] Needs plone/plone.app.linkintegrity#95

Breaking: this changes the shape of an endpoint.

…eaches" attribute in @linkintegrity endpoint response

Signed-off-by: Roel Bruggink <[email protected]>
@jaroel jaroel requested a review from sneridagh September 27, 2023 15:55
@netlify
Copy link

netlify bot commented Sep 27, 2023

Deploy Preview for plone-restapi canceled.

Name Link
🔨 Latest commit a5ebc3b
🔍 Latest deploy log https://app.netlify.com/sites/plone-restapi/deploys/652f922dc24b320008c3362d

@sneridagh
Copy link
Member

LGTM - Except for the breaking, I know this sucks, but I'd rather try not to trigger a breaking change. @tisto your call.

@tisto
Copy link
Member

tisto commented Sep 28, 2023

@sneridagh if we have a breaking change, we have a breaking change. No harm in that. We will just do a plone.restapi 10 release...

If you are using semver you shouldn't be afraid to bump a major version :)

@tisto
Copy link
Member

tisto commented Sep 28, 2023

@jaroel I did not really look into the code. Question up front: can we write the plone.restapi code in a way that it will still work if plone.app.querystring is not the latest version? I am ok with a breaking change release of plone.restapi. Though, I wouldn't want to introduce a hard dependency on a plone.app.querystring version if possible.

@jaroel
Copy link
Member Author

jaroel commented Sep 28, 2023

@tisto the shape of plone.app.linkintegrity's data has not changed, not a problem. You'll see some duplicate entries in the modal, but that's what the new stuff is for.

@tisto
Copy link
Member

tisto commented Sep 29, 2023

@jenkins-plone-org please run jobs

@jaroel jaroel requested a review from davisagli October 2, 2023 14:52
@jaroel jaroel changed the title Expose the sources + their target instead of just some sources in "breaches" attribute in @linkintegrity endpoint response Treat sub-items like items in @linkintegrity Oct 2, 2023
Copy link
Member

@davisagli davisagli left a comment

Choose a reason for hiding this comment

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

@jaroel One question, and I think you need to update the sample response that goes in the docs, but yeah, that looks more promising.

@jaroel
Copy link
Member Author

jaroel commented Oct 3, 2023

@jaroel One question, and I think you need to update the sample response that goes in the docs, but yeah, that looks more promising.

Afaict the request and response haven't changed?

@davisagli
Copy link
Member

Afaict the request and response haven't changed?

@jaroel Uh right, I was thinking wrong.

Looks good to me now.

@tisto
Copy link
Member

tisto commented Oct 16, 2023

@jenkins-plone-org please run jobs

@tisto
Copy link
Member

tisto commented Oct 16, 2023

@jaroel p.a.linkintegrity has been release with a fix. Do you want to amend this PR before merging and releasing?

@jaroel
Copy link
Member Author

jaroel commented Oct 16, 2023

@jaroel p.a.linkintegrity has been release with a fix. Do you want to amend this PR before merging and releasing?

@tisto Could you release plone.app.linkintegrity 3.x too (with the backport)? Then I can remove the skipUnless. We can also land this work first and then change after. Dealer's choice.

@tisto
Copy link
Member

tisto commented Oct 16, 2023

@jaroel here you go:

https://pypi.org/project/plone.app.linkintegrity/3.6.2/

@jaroel
Copy link
Member Author

jaroel commented Oct 17, 2023

@jenkins-plone-org please run jobs

@jaroel jaroel requested a review from davisagli October 18, 2023 07:28
Copy link
Contributor

@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

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

Clean up change notes for reStructuredText syntax and rendering of GitHub username links.

CHANGES.rst Outdated Show resolved Hide resolved
CHANGES.rst Outdated Show resolved Hide resolved
CHANGES.rst Outdated Show resolved Hide resolved
news/1714.bugfix Outdated Show resolved Hide resolved
tisto and others added 4 commits October 18, 2023 09:48
Co-authored-by: Steve Piercy <[email protected]>
Co-authored-by: Steve Piercy <[email protected]>
Co-authored-by: Steve Piercy <[email protected]>
Co-authored-by: Steve Piercy <[email protected]>
CHANGES.rst Outdated Show resolved Hide resolved
Copy link
Contributor

@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

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

Thank you!

@tisto
Copy link
Member

tisto commented Oct 18, 2023

@jenkins-plone-org please run jobs

@tisto tisto merged commit 1d899d8 into main Oct 18, 2023
19 checks passed
@tisto tisto deleted the distinct-breaches branch October 18, 2023 09:13
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.

5 participants