github-changelog-generator: Stuck on "Fetching closed dates for issues"
Hey guys
I have 2 repos, front end and backend. Front end works fine when i generate changelog for the first time, however backend stucks here:
❯ ./generate-changelog.sh
Using these options:
:date_format=>"%Y-%m-%d"
:output=>"CHANGELOG.md"
:base=>"HISTORY.md"
:issues=>true
:add_issues_wo_labels=>true
:add_pr_wo_labels=>true
:pulls=>true
:filter_issues_by_milestone=>true
:issues_of_open_milestones=>true
:author=>true
:unreleased=>true
:unreleased_label=>"Unreleased"
:compare_link=>true
:exclude_labels=>["duplicate", "question", "invalid", "wontfix", "Duplicate", "Question", "Invalid", "Wontfix", "Meta: Exclude From Changelog"]
:summary_labels=>["Release summary", "release-summary", "Summary", "summary"]
:breaking_labels=>["backwards-incompatible", "Backwards incompatible", "breaking"]
:enhancement_labels=>["enhancement", "Enhancement", "Type: Enhancement"]
:bug_labels=>["bug", "Bug", "Type: Bug"]
:deprecated_labels=>["deprecated", "Deprecated", "Type: Deprecated"]
:removed_labels=>["removed", "Removed", "Type: Removed"]
:security_labels=>["security", "Security", "Type: Security"]
:configure_sections=>{}
:add_sections=>{}
:issue_line_labels=>[]
:max_issues=>nil
:simple_list=>false
:ssl_ca_file=>nil
:verbose=>true
:header=>"# Changelog"
:merge_prefix=>"**Merged pull requests:**"
:issue_prefix=>"**Closed issues:**"
:summary_prefix=>""
:breaking_prefix=>"**Breaking changes:**"
:enhancement_prefix=>"**Implemented enhancements:**"
:bug_prefix=>"**Fixed bugs:**"
:deprecated_prefix=>"**Deprecated:**"
:removed_prefix=>"**Removed:**"
:security_prefix=>"**Security fixes:**"
:http_cache=>true
:require=>[]
:config_file=>".github_changelog_generator"
:user=>"BC2-Development"
:project=>"salt-backend"
:token=>"No token used"
Found 1 tags
Fetching tags dates: 1/1
Sorting tags...
Received issues: 50
Pull Request count: 2
Filtered pull requests: 1
Filtered issues: 47
Fetching events for issues and PR: 48
Fetching closed dates for issues: 48/48
Then it just stuck for more than a day now, i tried to cancel, rerun, run from docker, nothing works. Any idea why?
When I cancel with ctrl + c
it just says interrupt, 'block in make_fiber`. not sure what’s that…
My github_changelog_generator
version is: 1.16.2
Ruby version: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin20]
Gem version: 3.2.3
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 19 (6 by maintainers)
No i didn’t get anything at all,
@ioquatix Most users of this tool are not primarily Ruby users
Here’s a very small guide to what the above meant.
Using Bundler &
bundle exec
In order to app-isolate the RubyGems packages used when running a Ruby tool, Ruby users often rely on Bundler, a “package manager manager”. It installs and selects what versions of packages should be used.
These steps would get you to where @ioquatix noted you could try:
Gemfile
in the directory where you want to run the command, and if you can’t find one, create one using:bundle init
Gemfile
, add a linegem "github_changelog_generator"
bundle install
. This will fetch and install gems, then create aGemfile.lock
with the selected versions.bundle exec github_changelog_generator
(with the options you have selected, etc, etc, in the regular way of using GitHub Changelog Generator).Hope this helps!
What if you leave off the initial && just after the “debug” word?
Hi,
(Go for hello everyone, we want to include everyone!)
Thanks for the report!
Can you add a backtrace of where you Ctrl-c? That may or may not make this easier to pinpoint.