github_changelog_generator 1.15.0.pre.rc → 1.16.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +5 -5
  2. data/LICENSE +1 -1
  3. data/README.md +134 -81
  4. data/Rakefile +1 -1
  5. data/bin/git-generate-changelog +1 -1
  6. data/lib/github_changelog_generator.rb +10 -6
  7. data/lib/github_changelog_generator/argv_parser.rb +224 -0
  8. data/lib/github_changelog_generator/generator/entry.rb +218 -0
  9. data/lib/github_changelog_generator/generator/generator.rb +120 -121
  10. data/lib/github_changelog_generator/generator/generator_fetcher.rb +138 -23
  11. data/lib/github_changelog_generator/generator/generator_processor.rb +60 -27
  12. data/lib/github_changelog_generator/generator/generator_tags.rb +25 -21
  13. data/lib/github_changelog_generator/generator/section.rb +124 -0
  14. data/lib/github_changelog_generator/helper.rb +1 -1
  15. data/lib/github_changelog_generator/octo_fetcher.rb +250 -96
  16. data/lib/github_changelog_generator/options.rb +39 -4
  17. data/lib/github_changelog_generator/parser.rb +70 -209
  18. data/lib/github_changelog_generator/parser_file.rb +35 -16
  19. data/lib/github_changelog_generator/reader.rb +2 -2
  20. data/lib/github_changelog_generator/ssl_certs/cacert.pem +851 -1680
  21. data/lib/github_changelog_generator/task.rb +4 -4
  22. data/lib/github_changelog_generator/version.rb +1 -1
  23. data/man/git-generate-changelog.1 +160 -74
  24. data/man/git-generate-changelog.1.html +159 -95
  25. data/man/git-generate-changelog.html +36 -24
  26. data/man/git-generate-changelog.md +156 -93
  27. data/spec/files/config_example +5 -0
  28. data/spec/files/github-changelog-generator.md +114 -114
  29. data/spec/{install-gem-in-bundler.gemfile → install_gem_in_bundler.gemfile} +2 -0
  30. data/spec/spec_helper.rb +2 -6
  31. data/spec/unit/generator/entry_spec.rb +766 -0
  32. data/spec/unit/generator/generator_processor_spec.rb +103 -41
  33. data/spec/unit/generator/generator_spec.rb +47 -0
  34. data/spec/unit/generator/generator_tags_spec.rb +51 -24
  35. data/spec/unit/generator/section_spec.rb +34 -0
  36. data/spec/unit/octo_fetcher_spec.rb +247 -197
  37. data/spec/unit/options_spec.rb +24 -0
  38. data/spec/unit/parse_file_spec.rb +2 -2
  39. data/spec/unit/parser_spec.rb +50 -0
  40. data/spec/unit/reader_spec.rb +4 -4
  41. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_commits/when_API_is_valid/returns_commits.json +1 -0
  42. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_commits_before/when_API_is_valid/returns_commits.json +1 -1
  43. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_fetch_closed_issues_and_pr/when_API_call_is_valid.json +1 -1
  44. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_fetch_closed_issues_and_pr/when_API_call_is_valid/returns_issue_with_proper_key/values.json +1 -1
  45. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_fetch_closed_issues_and_pr/when_API_call_is_valid/returns_issues.json +1 -1
  46. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_fetch_closed_issues_and_pr/when_API_call_is_valid/returns_issues_with_labels.json +1 -1
  47. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_fetch_closed_issues_and_pr/when_API_call_is_valid/returns_pull_request_with_proper_key/values.json +1 -1
  48. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_fetch_closed_issues_and_pr/when_API_call_is_valid/returns_pull_requests_with_labels.json +1 -1
  49. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_fetch_closed_pull_requests/when_API_call_is_valid.json +1 -1
  50. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_fetch_closed_pull_requests/when_API_call_is_valid/returns_correct_pull_request_keys.json +1 -1
  51. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_fetch_closed_pull_requests/when_API_call_is_valid/returns_pull_requests.json +1 -1
  52. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_fetch_commit/when_API_call_is_valid.json +1 -1
  53. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_fetch_commit/when_API_call_is_valid/returns_commit.json +1 -1
  54. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_fetch_date_of_tag/when_API_call_is_valid.json +1 -1
  55. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_fetch_date_of_tag/when_API_call_is_valid/returns_date.json +1 -1
  56. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_fetch_events_async/when_API_call_is_valid.json +1 -1
  57. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_fetch_events_async/when_API_call_is_valid/populates_issues.json +1 -1
  58. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_github_fetch_tags/when_API_call_is_valid.json +1 -1
  59. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_github_fetch_tags/when_API_call_is_valid/should_return_tags.json +1 -1
  60. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_github_fetch_tags/when_API_call_is_valid/should_return_tags_count.json +1 -1
  61. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_github_fetch_tags/when_wrong_token_provided.json +1 -1
  62. data/spec/vcr/GitHubChangelogGenerator_OctoFetcher/_github_fetch_tags/when_wrong_token_provided/should_raise_Unauthorized_error.json +1 -1
  63. metadata +56 -20
  64. data/bin/ghclgen +0 -5
  65. data/lib/github_changelog_generator/generator/generator_generation.rb +0 -181
  66. data/spec/unit/generator/generator_generation_spec.rb +0 -73
@@ -10,17 +10,16 @@ module GitHubChangelogGenerator
10
10
 
11
11
  OPTIONS = %w[ user project token date_format output
12
12
  bug_prefix enhancement_prefix issue_prefix
13
- breaking_labels issue_line_labels
14
13
  header merge_prefix issues
15
14
  add_issues_wo_labels add_pr_wo_labels
16
15
  pulls filter_issues_by_milestone author
17
16
  unreleased_only unreleased unreleased_label
18
17
  compare_link include_labels exclude_labels
19
- bug_labels enhancement_labels
18
+ bug_labels enhancement_labels include_tags_regex
20
19
  between_tags exclude_tags exclude_tags_regex since_tag max_issues
21
20
  github_site github_endpoint simple_list
22
21
  future_release release_branch verbose release_url
23
- base ]
22
+ base configure_sections add_sections http_cache]
24
23
 
25
24
  OPTIONS.each do |o|
26
25
  attr_accessor o.to_sym
@@ -32,13 +31,14 @@ module GitHubChangelogGenerator
32
31
  #
33
32
  # GitHubChangelogGenerator::RakeTask.new
34
33
  def initialize(*args, &task_block)
34
+ super()
35
35
  @name = args.shift || :changelog
36
36
 
37
37
  define(args, &task_block)
38
38
  end
39
39
 
40
40
  def define(args, &task_block)
41
- desc "Generate a Change log from GitHub"
41
+ desc "Generate a Changelog from GitHub"
42
42
 
43
43
  yield(*[self, args].slice(0, task_block.arity)) if task_block
44
44
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GitHubChangelogGenerator
4
- VERSION = "1.15.0-rc"
4
+ VERSION = "1.16.2"
5
5
  end
@@ -1,124 +1,172 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "GIT\-GENERATE\-CHANGELOG" "1" "October 2017" "" ""
4
+ .TH "GIT\-GENERATE\-CHANGELOG" "1" "May 2020" "" ""
5
5
  .
6
6
  .SH "NAME"
7
- \fBgit\-generate\-changelog\fR \- Generate changelog from github
7
+ \fBgit\-generate\-changelog\fR \- Generate changelog from GitHub
8
8
  .
9
9
  .SH "SYNOPSIS"
10
10
  \fBgit generate\-changelog\fR [\-h|\-\-help] [\-u|\-\-user] [\-p|\-\-project]
11
11
  .
12
12
  .SH "DESCRIPTION"
13
- Automatically generate change log from your tags, issues, labels and pull requests on GitHub\.
13
+ Automatically generate changelog from your tags, issues, labels and pull requests on GitHub\.
14
14
  .
15
15
  .SH "OPTIONS"
16
- \-u, \-\-user [USER]
16
+ \-u, \-\-user USER
17
17
  .
18
18
  .P
19
- Username of the owner of target GitHub repo
19
+ Username of the owner of target GitHub repo\.
20
20
  .
21
21
  .P
22
- \-p, \-\-project [PROJECT]
22
+ \-p, \-\-project PROJECT
23
23
  .
24
24
  .P
25
- Name of project on GitHub
25
+ Name of project on GitHub\.
26
26
  .
27
27
  .P
28
- \-t, \-\-token [TOKEN]
28
+ \-t, \-\-token TOKEN
29
29
  .
30
30
  .P
31
31
  To make more than 50 requests per hour your GitHub token is required\. You can generate it at: https://github\.com/settings/tokens/new
32
32
  .
33
33
  .P
34
- \-f, \-\-date\-format [FORMAT]
34
+ \-f, \-\-date\-format FORMAT
35
35
  .
36
36
  .P
37
- Date format\. Default is %Y\-%m\-%d
37
+ Date format\. Default is %Y\-%m\-%d\.
38
38
  .
39
39
  .P
40
- \-o, \-\-output [NAME]
40
+ \-o, \-\-output NAME
41
41
  .
42
42
  .P
43
- Output file\. Default is CHANGELOG\.md
43
+ Output file\. To print to STDOUT instead, use blank as path\. Default is CHANGELOG\.md\.
44
44
  .
45
45
  .P
46
- \-b, \-\-base [NAME]
46
+ \-b, \-\-base NAME
47
47
  .
48
48
  .P
49
- Optional base file to append generated changes to\.
49
+ Optional base file to append generated changes to\. Default is HISTORY\.md\.
50
50
  .
51
51
  .P
52
- \-\-bugs\-label [LABEL]
52
+ \-\-summary\-label LABEL
53
53
  .
54
54
  .P
55
- Setup custom label for bug\-fixes section\. Default is "\fBFixed bugs:\fR
55
+ Set up custom label for the release summary section\. Default is ""\.
56
56
  .
57
57
  .P
58
- \-\-enhancement\-label [LABEL]
58
+ \-\-breaking\-label LABEL
59
59
  .
60
60
  .P
61
- Setup custom label for enhancements section\. Default is "\fBImplemented enhancements:\fR"
61
+ Set up custom label for breaking changes section\. Default is "\fBBreaking changes:\fR"\.
62
62
  .
63
63
  .P
64
- \-\-issues\-label [LABEL]
64
+ \-\-enhancement\-label LABEL
65
65
  .
66
66
  .P
67
- Setup custom label for closed\-issues section\. Default is "\fBClosed issues:\fR"
67
+ Set up custom label for enhancements section\. Default is "\fBImplemented enhancements:\fR"\.
68
68
  .
69
69
  .P
70
- \-\-header\-label [LABEL]
70
+ \-\-bugs\-label LABEL
71
71
  .
72
72
  .P
73
- Setup custom header label\. Default is "# Change Log"
73
+ Set up custom label for bug\-fixes section\. Default is "\fBFixed bugs:\fR"\.
74
74
  .
75
75
  .P
76
- \-\-front\-matter [JSON]
76
+ \-\-deprecated\-label LABEL
77
77
  .
78
78
  .P
79
- Add YAML front matter\. Formatted as JSON because it\'s easier to add on the command line
79
+ Set up custom label for deprecated section\. Default is "\fBDeprecated:\fR"\.
80
80
  .
81
81
  .P
82
- \-\-pr\-label [LABEL]
82
+ \-\-removed\-label LABEL
83
83
  .
84
84
  .P
85
- Setup custom label for pull requests section\. Default is "\fBMerged pull requests:\fR"
85
+ Set up custom label for removed section\. Default is "\fBRemoved:\fR"\.
86
+ .
87
+ .P
88
+ \-\-security\-label LABEL
89
+ .
90
+ .P
91
+ Set up custom label for security section\. Default is "\fBSecurity:\fR"\.
92
+ .
93
+ .P
94
+ \-\-issues\-label LABEL
95
+ .
96
+ .P
97
+ Set up custom label for closed\-issues section\. Default is "\fBClosed issues:\fR"\.
98
+ .
99
+ .P
100
+ \-\-header\-label LABEL
101
+ .
102
+ .P
103
+ Set up custom header label\. Default is "# Changelog"\.
104
+ .
105
+ .P
106
+ \-\-configure\-sections HASH, STRING
107
+ .
108
+ .P
109
+ Define your own set of sections which overrides all default sections\.
110
+ .
111
+ .P
112
+ \-\-add\-sections HASH, STRING
113
+ .
114
+ .P
115
+ Add new sections but keep the default sections\.
116
+ .
117
+ .P
118
+ \-\-front\-matter JSON
119
+ .
120
+ .P
121
+ Add YAML front matter\. Formatted as JSON because it\'s easier to add on the command line\.
122
+ .
123
+ .P
124
+ \-\-pr\-label LABEL
125
+ .
126
+ .P
127
+ Set up custom label for pull requests section\. Default is "\fBMerged pull requests:\fR"\.
86
128
  .
87
129
  .P
88
130
  \-\-[no\-]issues
89
131
  .
90
132
  .P
91
- Include closed issues in changelog\. Default is true
133
+ Include closed issues in changelog\. Default is true\.
92
134
  .
93
135
  .P
94
136
  \-\-[no\-]issues\-wo\-labels
95
137
  .
96
138
  .P
97
- Include closed issues without labels in changelog\. Default is true
139
+ Include closed issues without labels in changelog\. Default is true\.
98
140
  .
99
141
  .P
100
142
  \-\-[no\-]pr\-wo\-labels
101
143
  .
102
144
  .P
103
- Include pull requests without labels in changelog\. Default is true
145
+ Include pull requests without labels in changelog\. Default is true\.
104
146
  .
105
147
  .P
106
148
  \-\-[no\-]pull\-requests
107
149
  .
108
150
  .P
109
- Include pull\-requests in changelog\. Default is true
151
+ Include pull\-requests in changelog\. Default is true\.
110
152
  .
111
153
  .P
112
154
  \-\-[no\-]filter\-by\-milestone
113
155
  .
114
156
  .P
115
- Use milestone to detect when issue was resolved\. Default is true
157
+ Use milestone to detect when issue was resolved\. Default is true\.
158
+ .
159
+ .P
160
+ \-\-[no\-]issues\-of\-open\-milestones
161
+ .
162
+ .P
163
+ Include issues of open milestones\. Default is true\.
116
164
  .
117
165
  .P
118
166
  \-\-[no\-]author
119
167
  .
120
168
  .P
121
- Add author of pull\-request in the end\. Default is true
169
+ Add author of pull request at the end\. Default is true\.
122
170
  .
123
171
  .P
124
172
  \-\-usernames\-as\-github\-logins
@@ -136,137 +184,172 @@ Generate log from unreleased closed issues only\.
136
184
  \-\-[no\-]unreleased
137
185
  .
138
186
  .P
139
- Add to log unreleased closed issues\. Default is true
187
+ Add to log unreleased closed issues\. Default is true\.
140
188
  .
141
189
  .P
142
- \-\-unreleased\-label [label]
190
+ \-\-unreleased\-label LABEL
143
191
  .
144
192
  .P
145
- Setup custom label for unreleased closed issues section\. Default is "\fBUnreleased:\fR"
193
+ Set up custom label for unreleased closed issues section\. Default is "\fBUnreleased:\fR"\.
146
194
  .
147
195
  .P
148
196
  \-\-[no\-]compare\-link
149
197
  .
150
198
  .P
151
- Include compare link (Full Changelog) between older version and newer version\. Default is true
199
+ Include compare link (Full Changelog) between older version and newer version\. Default is true\.
152
200
  .
153
201
  .P
154
202
  \-\-include\-labels x,y,z
155
203
  .
156
204
  .P
157
- Only issues with the specified labels will be included in the changelog\.
205
+ Of the labeled issues, only include the ones with the specified labels\.
158
206
  .
159
207
  .P
160
208
  \-\-exclude\-labels x,y,z
161
209
  .
162
210
  .P
163
- Issues with the specified labels will be always excluded from changelog\. Default is \'duplicate,question,invalid,wontfix\'
211
+ Issues with the specified labels will be excluded from changelog\. Default is \'duplicate,question,invalid,wontfix\'\.
164
212
  .
165
213
  .P
166
- \-\-bug\-labels x,y,z
214
+ \-\-summary\-labels x,y,z
167
215
  .
168
216
  .P
169
- Issues with the specified labels will be always added to "Fixed bugs" section\. Default is \'bug,Bug\'
217
+ Issues with these labels will be added to a new section, called "Release Summary"\. The section display only body of issues\. Default is \'Release summary,release\-summary,Summary,summary\'\.
218
+ .
219
+ .P
220
+ \-\-breaking\-labels x,y,z
221
+ .
222
+ .P
223
+ Issues with these labels will be added to a new section, called "Breaking changes"\. Default is \'backwards\-incompatible,breaking\'\.
170
224
  .
171
225
  .P
172
226
  \-\-enhancement\-labels x,y,z
173
227
  .
174
228
  .P
175
- Issues with the specified labels will be always added to "Implemented enhancements" section\. Default is \'enhancement,Enhancement\'
229
+ Issues with the specified labels will be added to "Implemented enhancements" section\. Default is \'enhancement,Enhancement\'\.
230
+ .
231
+ .P
232
+ \-\-bug\-labels x,y,z
233
+ .
234
+ .P
235
+ Issues with the specified labels will be added to "Fixed bugs" section\. Default is \'bug,Bug\'\.
236
+ .
237
+ .P
238
+ \-\-deprecated\-labels x,y,z
239
+ .
240
+ .P
241
+ Issues with the specified labels will be added to a section called "Deprecated"\. Default is \'deprecated,Deprecated\'\.
242
+ .
243
+ .P
244
+ \-\-removed\-labels x,y,z
245
+ .
246
+ .P
247
+ Issues with the specified labels will be added to a section called "Removed"\. Default is \'removed,Removed\'\.
248
+ .
249
+ .P
250
+ \-\-security\-labels x,y,z
251
+ .
252
+ .P
253
+ Issues with the specified labels will be added to a section called "Security fixes"\. Default is \'security,Security\'\.
254
+ .
255
+ .P
256
+ \-\-issue\-line\-labels x,y,z
257
+ .
258
+ .P
259
+ The specified labels will be shown in brackets next to each matching issue\. Use "ALL" to show all labels\. Default is []\.
176
260
  .
177
261
  .P
178
262
  \-\-exclude\-tags x,y,z
179
263
  .
180
264
  .P
181
- Change log will exclude specified tags
265
+ Changelog will exclude specified tags\.
182
266
  .
183
267
  .P
184
- \-\-exclude\-tags\-regex [REGEX]
268
+ \-\-exclude\-tags\-regex REGEX
185
269
  .
186
270
  .P
187
- Apply a regular expression on tag names so that they can be excluded, for example: \-\-exclude\-tags\-regex "\.*+\ed{1,}"
271
+ Apply a regular expression on tag names so that they can be excluded, for example: \-\-exclude\-tags\-regex "\.*+\ed{1,}"\.
188
272
  .
189
273
  .P
190
274
  \-\-since\-tag x
191
275
  .
192
276
  .P
193
- Change log will start after specified tag
277
+ Changelog will start after specified tag\.
194
278
  .
195
279
  .P
196
280
  \-\-due\-tag x
197
281
  .
198
282
  .P
199
- Change log will end before specified tag
283
+ Changelog will end before specified tag\.
284
+ .
285
+ .P
286
+ \-\-since\-commit x
287
+ .
288
+ .P
289
+ Fetch only commits after this time\. eg\. "2017\-01\-01 10:00:00"
200
290
  .
201
291
  .P
202
- \-\-max\-issues [NUMBER]
292
+ \-\-max\-issues NUMBER
203
293
  .
204
294
  .P
205
- Max number of issues to fetch from GitHub\. Default is unlimited
295
+ Maximum number of issues to fetch from GitHub\. Default is unlimited\.
206
296
  .
207
297
  .P
208
- \-\-release\-url [URL]
298
+ \-\-release\-url URL
209
299
  .
210
300
  .P
211
301
  The URL to point to for release links, in printf format (with the tag as variable)\.
212
302
  .
213
303
  .P
214
- \-\-github\-site [URL]
304
+ \-\-github\-site URL
215
305
  .
216
306
  .P
217
- The Enterprise Github site on which your project is hosted\.
307
+ The Enterprise GitHub site where your project is hosted\.
218
308
  .
219
309
  .P
220
- \-\-github\-api [URL]
310
+ \-\-github\-api URL
221
311
  .
222
312
  .P
223
- The enterprise endpoint to use for your Github API\.
313
+ The enterprise endpoint to use for your GitHub API\.
224
314
  .
225
315
  .P
226
316
  \-\-simple\-list
227
317
  .
228
318
  .P
229
- Create simple list from issues and pull requests\. Default is false\.
319
+ Create a simple list from issues and pull requests\. Default is false\.
230
320
  .
231
321
  .P
232
- \-\-future\-release [RELEASE\-VERSION]
322
+ \-\-future\-release RELEASE\-VERSION
233
323
  .
234
324
  .P
235
325
  Put the unreleased changes in the specified release number\.
236
326
  .
237
327
  .P
238
- \-\-release\-branch [RELEASE\-BRANCH]
328
+ \-\-release\-branch RELEASE\-BRANCH
239
329
  .
240
330
  .P
241
- Limit pull requests to the release branch, such as master or release
331
+ Limit pull requests to the release branch, such as master or release\.
242
332
  .
243
333
  .P
244
334
  \-\-http\-cache
245
335
  .
246
336
  .P
247
- Use HTTP Cache to cache Github API requests (useful for large repos) Default is true\.
337
+ Use HTTP Cache to cache GitHub API requests (useful for large repos)\. Default is true\.
248
338
  .
249
339
  .P
250
- \-\-[no\-]cache\-file [CACHE\-FILE]
340
+ \-\-[no\-]cache\-file CACHE\-FILE
251
341
  .
252
342
  .P
253
343
  Filename to use for cache\. Default is github\-changelog\-http\-cache in a temporary directory\.
254
344
  .
255
345
  .P
256
- \-\-cache\-log [CACHE\-LOG]
346
+ \-\-cache\-log CACHE\-LOG
257
347
  .
258
348
  .P
259
349
  Filename to use for cache log\. Default is github\-changelog\-logger\.log in a temporary directory\.
260
350
  .
261
- .IP "" 4
262
- .
263
- .nf
264
-
265
- \-\-ssl\-ca\-file [PATH]
266
- .
267
- .fi
268
- .
269
- .IP "" 0
351
+ .P
352
+ \-\-ssl\-ca\-file PATH
270
353
  .
271
354
  .P
272
355
  Path to cacert\.pem file\. Default is a bundled lib/github_changelog_generator/ssl_certs/cacert\.pem\. Respects SSL_CA_PATH\.
@@ -281,19 +364,22 @@ Paths to Ruby file(s) to require before generating changelog\.
281
364
  \-\-[no\-]verbose
282
365
  .
283
366
  .P
284
- Run verbosely\. Default is true
367
+ Run verbosely\. Default is true\.
285
368
  .
286
369
  .P
287
370
  \-v, \-\-version
288
371
  .
289
372
  .P
290
- Print version number
373
+ Print version number\.
291
374
  .
292
375
  .P
293
376
  \-h, \-\-help
294
377
  .
295
378
  .P
296
- Displays Help
379
+ Displays Help\.
380
+ .
381
+ .SH "REBASED COMMITS"
382
+ GitHub pull requests that have been merged whose merge commit SHA has been modified through rebasing, cherry picking, or some other method may be tracked via a special comment on GitHub\. Git commit SHAs found in comments on pull requests matching the regular expression \fB/rebased commit: ([0\-9a\-f]{40})/i\fR will be used in place of the original merge SHA when being added to the changelog\.
297
383
  .
298
384
  .SH "EXAMPLES"
299
385
  .
@@ -301,7 +387,7 @@ Displays Help
301
387
  Written by Petr Korolev sky4winder@gmail\.com
302
388
  .
303
389
  .SH "REPORTING BUGS"
304
- <\fIhttps://github\.com/skywinder/github\-changelog\-generator/issues\fR>
390
+ <\fIhttps://github\.com/github\-changelog\-generator/github\-changelog\-generator/issues\fR>
305
391
  .
306
392
  .SH "SEE ALSO"
307
- <\fIhttps://github\.com/skywinder/github\-changelog\-generator/\fR>
393
+ <\fIhttps://github\.com/github\-changelog\-generator/github\-changelog\-generator/\fR>