-
Notifications
You must be signed in to change notification settings - Fork 116
Include an autoreleaser #254
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
Conversation
@atztogo , @lan496 Can you help with labeling some of the past issues, especially the Note:
Also there are a few release drafts if you can review a bit. Just delete unnecessary PRs and add a |
Codecov ReportPatch and project coverage have no change.
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## develop #254 +/- ##
========================================
Coverage 85.69% 85.69%
========================================
Files 23 23
Lines 6069 6069
========================================
Hits 5201 5201
Misses 868 868
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
ea3af84
to
c92d56c
Compare
Note: I would like to add Question: Where to link it to? |
Because we write the release note at
I don't know why we need to reset it. Can you explain a little more? |
Sure, this partially dependent on how softprops/action-gh-release. If it automatically diffs the last tag and appends the diff onto it, then we could use it as is. The issue is a) what happens at the initial setup (it's a draft so I guess it's not much of a concern to manually do it), b) it becomes confusing when there are two distinct differently formatted sections But if the action simply takes all the content, we would need a simple script to generate it according to the last tag/version. Looking at the examples again, I think it might be this case. As for
|
@LecrisUT Thanks for your detail explanation. Previous changelogs
I think these issues are not so serious that we do not need to reset or format the previous changelogs. Location of changelog files
Content of changelogs
I agree with this approach. |
Ok, I've opened #257 to discuss how we want to format the files. Otherwise, this PR is ready as it is. |
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
- name: Publish package to TestPyPI | ||
if: ${{ contains(github.ref, 'rc') }} | ||
# TODO: Maybe we can move this to main PyPI since it is marked rc | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.TEST_PYPI_API_TOKEN }} | ||
repository_url: https://test.pypi.org/legacy/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to move the rc
to the main PyPI? Since they are rc
releases, they will not be updated automatically unless specifed, e.g. check the TestPyPI history.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's enough to upload the rc
to TestPyPI if there are no demands to upload to the main PyPI.
I can't see overview of these works because works seem scattered into multiple PRs/issues and I don't understand some terminologies. @LecrisUT, could you summarize your direction? |
You mean around all the merged/open PRs or the ones that depend on this? For the former we can discuss them in #239, I'll go over the ones that depend on these.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I learned the fact that there are really many tools. |
To be honest, I am learning about them as it goes as well. I know about these from collaborating on random non-academic projects, and I reference them to see how they use them and what alternatives are more suited for this. Already though this project has had a good start with |
@LecrisUT, thank you very much! |
release.yml
workflow. Simplifies if statementsrelease.yml
is only called onvX.Y.Z
orvX.Y.Z-rcA
tags. It uploads to PyPI as well as creates a release draft (Check on my fork for example)Basically the workflow we need to change for this:
Main Changes
if necessary, release the releaseCloses: #251