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

Fix generation of BIDS changelog #1835

Closed
wants to merge 11 commits into from

Conversation

sappelhoff
Copy link
Member

@sappelhoff sappelhoff commented May 24, 2024

Note that these issues seem to have been present for months already, and we didn't catch them, unfortunately.

@sappelhoff sappelhoff added the exclude-from-changelog This item will not feature in the automatically generated changelog label May 24, 2024
Copy link

codecov bot commented May 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.04%. Comparing base (40af25c) to head (91bc3f9).

Current head 91bc3f9 differs from pull request most recent head df40ab8

Please upload reports for the commit df40ab8 to get more accurate results.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1835   +/-   ##
=======================================
  Coverage   88.04%   88.04%           
=======================================
  Files          16       16           
  Lines        1380     1380           
=======================================
  Hits         1215     1215           
  Misses        165      165           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

--enhancement-label "" \
--bugs-label "" \
--exclude-labels "exclude-from-changelog"
cat ~/changelog_build/CHANGES.md
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 think we could start running the changelog generation and linting on every commit to master ... and then commit this as previously, only on "Merge commits" to master.

This would allow us to earlier find issues with generation and linting.

head -n 100 ~/changelog_build/CHANGES.md
sed -i 's/* /- /' ~/changelog_build/CHANGES.md
head -n 100 ~/changelog_build/CHANGES.md
npx remark-cli ~/changelog_build/CHANGES.md --frail --rc-path ~/project/.remarkrc
Copy link
Member Author

Choose a reason for hiding this comment

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

@sappelhoff
Copy link
Member Author

getting confusing issues here.

Perhaps it's time we updated github-changelog-generator to a newer version ... not the one from X years, as currently.

So far we were blocked from doing that because of this issue:

... however, I think we can just ignore the base parameter, and do the attachment of our old, manual changelog ourselves with a few lines (1?) of code.

@sappelhoff
Copy link
Member Author

it's really frustrating dealing with github tokens, there are too many, and none seem to work

  • classic or fine-grained?
  • which permissions, if any?
  • created from a user? or an org? ... what rights would a user need to have?

I cannot find our CHANGE_TOKEN "secret" anywhere either. Anyone knows where it was generated?

@sappelhoff sappelhoff changed the title use default remote_docker_version for all affected circleci steps Fix generation of BIDS changelog May 24, 2024
@sappelhoff
Copy link
Member Author

replacing this PR with #1836

@sappelhoff sappelhoff closed this May 24, 2024
@sappelhoff sappelhoff deleted the remote_docker branch May 24, 2024 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exclude-from-changelog This item will not feature in the automatically generated changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant