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

refactor: delete manual interfaces for changelogs #1728

Merged
merged 2 commits into from
Jul 25, 2022

Conversation

janpmeyer
Copy link
Contributor

@janpmeyer janpmeyer commented Jul 22, 2022

What this PR changes/adds

In this pull request all manual interfaces for changelog are removed.

  • delete CHANGELOG.md
  • delete the check-for-changelog-modifications job in the scan-pull-request.yaml workflow
  • delete the "added relevant details...." section from PULL_REQUEST_TEMPLATE.md
  • delete the "update changelog..." from release.md
  • remove the relevant section from CONTRIBUTING.md

Why it does that

Changelogs will be from now on auto generated.

Linked Issue(s)

Closes #1719

Checklist

  • added appropriate tests?
  • performed checkstyle check locally?
  • added/updated copyright headers?
  • documented public classes/methods?
  • added/updated relevant documentation?
  • formatted title correctly?

@codecov-commenter
Copy link

Codecov Report

Merging #1728 (936d983) into main (56a8d08) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1728      +/-   ##
==========================================
- Coverage   67.39%   67.39%   -0.01%     
==========================================
  Files         802      802              
  Lines       17185    17185              
  Branches     1101     1101              
==========================================
- Hits        11582    11581       -1     
- Misses       5124     5125       +1     
  Partials      479      479              
Impacted Files Coverage Δ
...iation/ProviderContractNegotiationManagerImpl.java 90.00% <0.00%> (-0.56%) ⬇️

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 56a8d08...936d983. Read the comment docs.

Copy link
Member

@ndr-brt ndr-brt left a comment

Choose a reason for hiding this comment

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

Great, I noticed also these two lines to be deleted from the release.md file:
https://github.com/eclipse-dataspaceconnector/DataSpaceConnector/blob/main/docs/developer/releases.md?plain=1#L152-L153

Connector automation moved this from In progress to Review in progress Jul 22, 2022
@janpmeyer
Copy link
Contributor Author

Great, I noticed also these two lines to be deleted from the release.md file: https://github.com/eclipse-dataspaceconnector/DataSpaceConnector/blob/main/docs/developer/releases.md?plain=1#L152-L153

Added in the newest commit.

@janpmeyer janpmeyer requested a review from ndr-brt July 22, 2022 09:36
@@ -22,5 +22,4 @@ Closes # <-- _insert Issue number if one exists_
- [ ] added/updated copyright headers?
- [ ] documented public classes/methods?
- [ ] added/updated relevant documentation?
- [ ] added relevant details to the changelog? (_skip with label `no-changelog`_)
Copy link
Member

Choose a reason for hiding this comment

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

instead of completely removing this section I would add a bullet point:
- [ ] assigned correct labels (exclude from changelog with label "no-changelog")?

A bit of background: due to the auto-generating of Changelogs, PRs must now have the correct labels as well, so that they get categorized correctly. If no label is assigned, the PR will get categorized under Features & Improvements. bug and documentation should be self-explanatory.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added your suggestion into the template.

Copy link
Contributor

Choose a reason for hiding this comment

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

@paullatzelsperger Maybe self-explanatory but not known to everyone that this will be filtered. Do we have an explanation anywhere? Anyways, I would rephrase to:

- [ ] assigned correct labels? (filter for automated changelog: `bug`, `documentation`, `no-changelog`)

Copy link
Member

Choose a reason for hiding this comment

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

Is there the possibility to add a check that fails if the PR has no labels?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think so, but using one of those 3 labels is not mandatory. Every other PR will also end up in the changelog. Does it make sense to force people to use at least one label? @ndr-brt

Copy link
Member

Choose a reason for hiding this comment

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

@juliapampus my only concern is to "forget" to set the label and have a lot of PRs going to the wrong section by default (I tend to forget about checklist after some PRs). Having it mandatory will make everyone to have to think about what's the right section, but I agree on the fact that could be bothersome.

Copy link
Contributor

Choose a reason for hiding this comment

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

@ndr-brt @paullatzelsperger Would something like #1737 help?

Copy link
Contributor

Choose a reason for hiding this comment

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

That would also allow to filter the automated changelog in more detail

@juliapampus juliapampus changed the title cleanup: delete manual interfaces for changelogs refactor: delete manual interfaces for changelogs Jul 25, 2022
@juliapampus juliapampus dismissed paullatzelsperger’s stale review July 25, 2022 14:52

Feedback has been applied

@juliapampus juliapampus added enhancement New feature or request build Anything related to the CI/CD Pipeline on Github Actions and removed enhancement New feature or request labels Jul 25, 2022
@juliapampus juliapampus merged commit 4567788 into eclipse-edc:main Jul 25, 2022
Connector automation moved this from Review in progress to Done Jul 25, 2022
@juliapampus juliapampus deleted the cleanup/changelog branch July 25, 2022 15:09
diegogomez-zf pushed a commit to diegogomez-zf/DataSpaceConnector that referenced this pull request Aug 3, 2022
* cleanup: delete manual interfaces for changelogs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Anything related to the CI/CD Pipeline on Github Actions
Projects
No open projects
Connector
  
Done
Development

Successfully merging this pull request may close these issues.

Remove CHANGELOG.md
5 participants