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

gha for release notes - #543 #604

Merged
merged 7 commits into from
Jun 16, 2024

Conversation

jGaboardi
Copy link
Member

gha for release notes - #543

Copy link

codecov bot commented Jun 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.0%. Comparing base (4037c70) to head (8c91d28).
Report is 44 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main    #604     +/-   ##
=======================================
+ Coverage   97.4%   98.0%   +0.6%     
=======================================
  Files         26      37     +11     
  Lines       4328    6068   +1740     
=======================================
+ Hits        4214    5946   +1732     
- Misses       114     122      +8     

Copy link
Member

@martinfleis martinfleis left a comment

Choose a reason for hiding this comment

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

On the categories, something like

  • API changes
  • Enhancements
  • Bug fixes
  • Deprecations
  • Documentation
  • Other

? I am not a fan of having type (e.g. enhancement) and content (e.g. preprocessing) mixed together. I also don't think that refactoring needs to be included as it should not affect user in any way.

.github/release.yml Show resolved Hide resolved
@@ -41,6 +41,16 @@ jobs:
draft: false
prerelease: false

- name: Create Release Notes
Copy link
Member

Choose a reason for hiding this comment

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

I suppose that this will conflict with Create GitHub Release above

Copy link
Member Author

Choose a reason for hiding this comment

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

I suppose that this will conflict with Create GitHub Release above

Yeah, more than likely. We will have to work that out iteratively seems like.

Copy link
Member

Choose a reason for hiding this comment

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

We need one or the other. Also note that removing the one above will break the last one which uses steps.create_release.outputs.upload_url. In any case, actions/create-release is archived so we shall find a new way of doing things.

Copy link
Member Author

Choose a reason for hiding this comment

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

I actually think things are more simple than I thought. We can simply prune down the current momepy action to get our desired result. That final step

We can see in the v0.7.0 release there are 3 assets there.

  • momepy-0.7.0.tar.gz
  • Source code (zip)
  • Source code (tar.gz)

However, momepy-0.7.0.tar.gz and Source code (tar.gz) are the exact same thing, just different names - that's what Upload Release Asset (sdist) to GitHub is doing (and it's not needed).

I'm going to make some adjustments and push up (what I hope is) the fix.

Co-authored-by: Martin Fleischmann <martin@martinfleischmann.net>
@jGaboardi
Copy link
Member Author

jGaboardi commented Jun 15, 2024

On the categories, something like

  • API changes
  • Enhancements
  • Bug fixes
  • Deprecations
  • Documentation
  • Other

? I am not a fan of having type (e.g. enhancement) and content (e.g. preprocessing) mixed together. I also don't think that refactoring needs to be included as it should not affect user in any way.

So maybe like:

  • categories
    • title -- API changes
      • label -- refactor?
    • title -- Enhancements
      • label -- enhancements
    • title -- Bug fixes
      • label -- bug
    • title -- Deprecations
      • label -- ?
    • title -- Documentation
      • label -- documentation
    • title -- Other
      • label -- *

The thing is that we don't have labels for all and will have go back through all Issues & PRs to add those new labels once they are created. @martinfleis

.github/release.yml Outdated Show resolved Hide resolved
.github/release.yml Outdated Show resolved Hide resolved
@martinfleis
Copy link
Member

The thing is that we don't have labels for all and will have go back through all Issues & PRs to add those new labels once they are created

I am happy to do that.

  • categories
    • title -- API changes
      • label -- refactor? - refactor is not API change. API change is stuff like change of a default arg value. We don't have a label for that and we haven't done any API changes. All stuff regarding the API model is considered enhancement as those are new functions that live alongside the old.
    • title -- Enhancements
      • label -- enhancements
    • title -- Bug fixes
      • label -- bug
    • title -- Deprecations
      • label -- ? - we need a label deprecation
    • title -- Documentation
      • label -- documentation
    • title -- Other
      • label -- *

@jGaboardi jGaboardi marked this pull request as ready for review June 15, 2024 19:25
@jGaboardi
Copy link
Member Author

refactor is not API change. API change is stuff like change of a default arg value. We don't have a label for that and we haven't done any API changes. All stuff regarding the API model is considered enhancement as those are new functions that live alongside the old.

Roger that. OK, I'll add api and deprecation labels within release.yml then go ahead and create those labels in the repo.

@jGaboardi
Copy link
Member Author

@martinfleis this is ready for review. once merged I will see about a tag + release of v0.8.0-alpha1

@jGaboardi
Copy link
Member Author

@martinfleis martinfleis merged commit 24cba44 into pysal:main Jun 16, 2024
14 checks passed
@jGaboardi jGaboardi deleted the GH543_gha_for_release_notes branch June 16, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants