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

Update plugin code for use with Mau v3 #28

Merged
merged 5 commits into from
Sep 6, 2023
Merged

Update plugin code for use with Mau v3 #28

merged 5 commits into from
Sep 6, 2023

Conversation

lgiordani
Copy link
Collaborator

This creates a new version of the package that uses Mau v3.

@lgiordani lgiordani requested a review from justinmayer August 14, 2023 21:45
@lgiordani
Copy link
Collaborator Author

@justinmayer when you have 5 minutes this is ready. I had some issues with tests, but I fixed them now. Thanks!

@lgiordani
Copy link
Collaborator Author

@justinmayer pretty please? 😹 🙏

@justinmayer justinmayer changed the title Changed code to use Mau3 Update code for use with Mau v3 Sep 5, 2023
@justinmayer justinmayer changed the title Update code for use with Mau v3 Update plugin code for use with Mau v3 Sep 5, 2023
Copy link
Contributor

@justinmayer justinmayer left a comment

Choose a reason for hiding this comment

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

Hey Leonardo. It has been a busier-than-expected summer, so I apologize for the delay in taking a look at this PR.

In addition to the comment I made about not manually fiddling with the version number, there are a number of updated plugin-related "best practices" that I would like to make before the next release of this plugin, assuming that is okay with you. You can see what some of those changes are by looking at the changes I've made to the Cookiecutter Pelican plugin template.

I will make those proposed changes in a separate branch and PR so that you can have a look and tell me what you think.

pyproject.toml Outdated
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pelican-mau-reader"
version = "2.0.0"
version = "3.0.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

When using AutoPub to manage publishing releases, it is important not to manually touch the version number. Otherwise, what will happen is that AutoPub will increment it automatically to version 4.0.0, which is presumably not what you want to do for the imminent upcoming release of this plugin. 😊

Copy link
Collaborator Author

@lgiordani lgiordani Sep 5, 2023

Choose a reason for hiding this comment

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

@justinmayer thanks. Honestly, I completely forgot I changed that. I will revert the change. I'll wait for your other PR with the proposed changes, then when that is merged I will rebase this one. Thanks!

Copy link
Contributor

Choose a reason for hiding this comment

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

I submitted #29, which I fear brings changes that will require a non-trivial rebase for you. If that is the case, I'm so sorry! 😅

@justinmayer
Copy link
Contributor

The aforementioned PR has been merged, so this PR is ready to be rebased onto current main whenever you have a moment. 😊

@lgiordani
Copy link
Collaborator Author

@justinmayer I preferred not to rebase, I manually moved my changes to a new branch and force pushed. The amount of changes was limited and I felt it was faster this way. Ready to be reviewed!

Copy link
Contributor

@justinmayer justinmayer left a comment

Choose a reason for hiding this comment

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

Looks good! Well done, sir. Bravo! 👏

@lgiordani
Copy link
Collaborator Author

@justinmayer I can't remember the process here. Shall I add here the file to release a major version or shall I first merge and then send a PR with that file?

@justinmayer
Copy link
Contributor

While either technique will work equally well, if it were me, I would probably add the RELEASE.md file to this branch/PR and then merge it.

@lgiordani lgiordani merged commit 9d7eed6 into main Sep 6, 2023
12 checks passed
@lgiordani lgiordani deleted the support-mau3 branch September 6, 2023 11:23
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.

2 participants