Commit Graph

394 Commits

Author SHA1 Message Date
tuexss
c5a01bb24f Merge branch 'cleanup' of https://github.com/tuexss/github-changelog-generator into cleanup 2015-03-27 00:46:37 +01:00
tuexss
d425ae1a9a Change option name from format to dateformat 2015-03-27 00:23:28 +01:00
tuexss
fb50acca57 Sort option defaults as listed 2015-03-27 00:21:42 +01:00
tuexss
3bd3dae016 Set default for simple-list 2015-03-27 00:18:09 +01:00
tuexss
fd2beef12a Set default for include labels 2015-03-27 00:16:35 +01:00
tuexss
c088349bc3 Cleanup for parser helpmessages 2015-03-27 00:14:50 +01:00
Petr Korolev
8462f017b7 rubocop cleanup 2015-03-27 00:24:55 +02:00
tuexss
57ef59d76c Don't pass log as parameter 2015-03-26 23:09:31 +01:00
tuexss
808155ee3a Slim down newer_tag initialization 2015-03-26 23:03:49 +01:00
tuexss
d80a6803be Optimize feedback when no tags found 2015-03-26 22:30:13 +01:00
tuexss
93291dde7c Remove misspelled and unused method 2015-03-26 22:12:45 +01:00
tuexss
c67909959b Consistent print/put messages and style 2015-03-26 22:01:58 +01:00
tuexss
2c8ba4965b Fix method name typo 2015-03-26 21:47:17 +01:00
Petr Korolev
cc6ac05254 Merge branch 'feature/parse-existing-changelog-file' of https://github.com/estahn/github-changelog-generator into estahn-feature/parse-existing-changelog-file
Conflicts:
	Gemfile
	Gemfile.lock
	Rakefile
2015-03-26 18:41:24 +02:00
Petr Korolev
cca8e5d810 rubocop auto-fixes 2015-03-26 15:50:56 +02:00
Enrico Stahn
3ca25bfff0 Merge branch 'master' into feature/parse-existing-changelog-file 2015-03-27 00:07:30 +11:00
Enrico Stahn
6af43b63e1 Include Reader class 2015-03-26 15:58:16 +11:00
Enrico Stahn
9f06a20741 Refactor Reader class to conform with Rubocop 2015-03-26 15:57:51 +11:00
Enrico Stahn
1eee5bffd8 Implement Reader class to parse ChangeLog.md 2015-03-26 00:40:24 +11:00
Petr Korolev
0d0a37b653 fix logic of rescue. 2015-03-24 16:51:51 +02:00
Petr Korolev
5f6756e8dd Add warrning in case of 0 tags in repo. Fix #208. Reformat + prettify output. 2015-03-24 16:51:51 +02:00
Shawn Neal
1456ba8913 Improved --max-issues docs and messaging
- defaulted max issues to be unlimited in number allowing user to optionally limit issues returned
- added FAQ section on rate limiting and API rate limit exceeded warning
2015-03-24 16:51:51 +02:00
Shawn Neal
90f6436af6 Add --max-issues argument to limit requests
This addresses issue 71 by providing a configurable limit on the number of issues to retrieve. By default this limits the number of issues to 500 which should help users stay under the GitHub API limit and keep change logs from growing ridiculous in size for older repos.
2015-03-24 16:51:51 +02:00
Shawn Neal
856ad3a742 Improved --max-issues docs and messaging
- defaulted max issues to be unlimited in number allowing user to optionally limit issues returned
- added FAQ section on rate limiting and API rate limit exceeded warning
2015-03-23 08:13:44 -07:00
Shawn Neal
643f2f9eab Add --max-issues argument to limit requests
This addresses issue 71 by providing a configurable limit on the number of issues to retrieve. By default this limits the number of issues to 500 which should help users stay under the GitHub API limit and keep change logs from growing ridiculous in size for older repos.
2015-03-20 18:45:40 -07:00
Petr Korolev
7b38f0f56a Update gemspec to version 1.3.11 2015-03-21 02:13:09 +02:00
Petr Korolev
7704dc9ecd Add rescue fallback with warning message to prevent crash in case of exceed Rate Limit (temporary workaround for #71) 2015-03-21 02:12:58 +02:00
Petr Korolev
3cc6418048 Update gemspec to version 1.3.10 2015-03-18 10:27:29 +02:00
Petr Korolev
a4f93feb7d This commit fix #69. 2015-03-18 10:18:58 +02:00
Petr Korolev
b0be9f8b06 Fix termination in case of empty unreleased section with --unreleased-only option. 2015-03-18 09:39:21 +02:00
Petr Korolev
c2e73edc29 Update gemspec to version 1.3.9 2015-03-06 16:47:28 +02:00
Petr Korolev
045dff7cbc Fix: Improve method of detecting owner and repository. Fix #63 2015-03-06 16:32:59 +02:00
Petr Korolev
cc65da5153 update changelog 2015-03-06 16:08:02 +02:00
Petr Korolev
c22f8b4a31 increase number of threads to 50, typo fix 2015-03-06 15:09:13 +02:00
Petr Korolev
2c46d32531 limit fetching up to 10 threads 2015-03-06 14:57:55 +02:00
Petr Korolev
aa88122d48 Update gemspec to version 1.3.8 2015-03-05 17:14:51 +02:00
Petr Korolev
a69c2b5343 update gem 2015-03-05 17:14:40 +02:00
Petr Korolev
87f95140d9 fix: remote branch parsing 2015-03-05 17:07:04 +02:00
Petr Korolev
0706f89c02 Update gemspec to version 1.3.6 2015-03-05 14:35:54 +02:00
Petr Korolev
419e7e78ad Fix: exception in case no tags in repo 2015-03-05 14:33:01 +02:00
Petr Korolev
6159ebba2f refactoring 2015-03-05 13:20:51 +02:00
Petr Korolev
c20529bf32 Update gemspec to version 1.3.5 2015-03-04 21:27:03 +02:00
Petr Korolev
26c393c2cc Fix #60. Thanks, @GeekOnCoffee! 2015-03-04 21:25:21 +02:00
Petr Korolev
f8f887093a update changelog test repo 2015-03-04 19:40:15 +02:00
Petr Korolev
63bf4a59d4 fix help message 2015-03-04 16:45:18 +02:00
Petr Korolev
8d27718648 Update gemspec to version 1.3.4 2015-03-03 19:19:52 +02:00
Petr Korolev
8f8be4740d fix #59 2015-03-03 19:19:08 +02:00
Petr Korolev
84c52dba98 Update gemspec to version 1.3.3 2015-03-03 17:59:03 +02:00
Petr Korolev
2b5c1297b1 Fix: remove date from unreleased section 2015-03-03 17:53:30 +02:00
Petr Korolev
7f68f3db13 fix #58 2015-03-03 17:33:51 +02:00
Petr Korolev
911e6a6e6f Update gemspec to version 1.3.2 2015-03-03 17:20:21 +02:00
Petr Korolev
8201de3758 fix #57 2015-03-03 17:19:58 +02:00
Petr Korolev
711241621f Update gemspec to version 1.3.1 2015-02-27 15:24:59 +02:00
Petr Korolev
54eb81bc6a Fix: replace ###headers to **bold** in sections names 2015-02-27 15:17:10 +02:00
Petr Korolev
004b37b7b9 Fix: Remove redudant spaces between sections 2015-02-27 15:05:22 +02:00
Petr Korolev
3a6670cc02 Update gemspec to version 1.3.0 2015-02-26 12:49:14 +02:00
Petr Korolev
2918d9c385 Fix #31 2015-02-26 12:48:58 +02:00
Petr Korolev
a40105b718 implement pull request parsing 2015-02-26 12:48:58 +02:00
Petr Korolev
08f61216c8 update parser 2015-02-26 12:48:58 +02:00
Petr Korolev
2edd6097bd Fix #55. 2015-02-25 13:52:41 +02:00
Petr Korolev
3a0c6a8558 fix sign 2015-02-24 18:08:50 +02:00
Petr Korolev
922fa9fc7e fix: Changelog -> Change Log 2015-02-24 16:44:52 +02:00
Petr Korolev
d16c4109dc miror fixes 2015-02-20 11:51:07 +02:00
Petr Korolev
27ab2a906c refactoring 2015-02-19 17:37:50 +02:00
Petr Korolev
dd2be24d3b format fix 2015-02-18 23:36:07 +02:00
Petr Korolev
c4f91f55ff Fix #44. 2015-02-18 23:32:40 +02:00
Petr Korolev
1dd82cddf4 cm 2015-02-18 23:28:54 +02:00
Petr Korolev
c8db84a4a5 prettify output: display tag fetching status 2015-02-18 22:29:30 +02:00
Petr Korolev
563ddb7f30 refactoring 2015-02-18 22:21:23 +02:00
Petr Korolev
1d7f09e9bb change include to exclude default rule 2015-02-18 22:11:11 +02:00
Petr Korolev
48e3a75251 implement eclude labels feature. Fix #52. 2015-02-18 22:08:10 +02:00
Petr Korolev
9b8291ab69 rename oprion 2015-02-18 22:00:27 +02:00
Petr Korolev
a90c276a9f Fix milesones support for unreleased issues. Fix #47 2015-02-18 21:43:05 +02:00
Petr Korolev
e6dc367f99 Add ability to include and exclude Unreleased by keys.
Add ability to generate only unreleased changelog
2015-02-18 20:16:10 +02:00
Petr Korolev
454bfb5a86 cm 2015-02-18 19:58:24 +02:00
Petr Korolev
07073ea02c fix: Change CHANGELOG format for date presentation. More info here: https://github.com/olivierlacan/keep-a-changelog/issues/59 and here http://en.wikipedia.org/wiki/ISO_8601 2015-02-18 18:57:10 +02:00
Petr Korolev
3e981bb741 fix: fix date format more info at: http://xkcd.com/1179/ 2015-02-18 18:34:32 +02:00
Petr Korolev
9c19ae00b1 Merge branch 'feature/add-pr-milestones' into develop 2015-02-18 01:30:39 +02:00
Petr Korolev
53ec89beb0 Merge branch 'feature/fix-37' into develop
Conflicts:
	lib/CHANGELOG.md
2015-02-18 01:29:09 +02:00
Petr Korolev
bcae804809 Add filtering of Pull Requests by milestones 2015-02-18 01:24:51 +02:00
Petr Korolev
f8a59643ca update chlg 2015-02-18 01:11:25 +02:00
Petr Korolev
e50ab5318d Update gemspec to version 1.2.8 2015-02-18 00:48:41 +02:00
Petr Korolev
9d49b1488a Finaly fixed! Thanks, @runar ! :) Fix #37. 2015-02-18 00:48:21 +02:00
Petr Korolev
3a9eca4233 add todo reminder 2015-02-18 00:48:20 +02:00
Petr Korolev
04f1173616 Make it works async and fast! 2015-02-18 00:48:20 +02:00
Petr Korolev
0eacd9acda put in actual date right closed date 2015-02-18 00:48:20 +02:00
Petr Korolev
c3884b9a55 cm 2015-02-18 00:48:20 +02:00
Petr Korolev
2cd6ba620d Async fetch events 2015-02-18 00:48:20 +02:00
Petr Korolev
c73142e169 Revert "fix #37"
This reverts commit cf4692c7b0.
2015-02-18 00:48:20 +02:00
Petr Korolev
70543e854b update changelog 2015-02-18 00:48:20 +02:00
Petr Korolev
721357d65f changelog 2015-02-18 00:48:20 +02:00
Petr Korolev
4b59f3bd65 thread saety fix 2015-02-18 00:48:20 +02:00
Petr Korolev
7d526de165 add test changelog file 2015-02-18 00:48:20 +02:00
Petr Korolev
cf0a032fb6 refactoring 2015-02-18 00:48:20 +02:00
Petr Korolev
e8e0399341 Finaly fixed! Thanks, @runar ! :) Fix #37. 2015-02-18 00:45:21 +02:00
Petr Korolev
615b38476c add todo reminder 2015-02-17 23:30:50 +02:00
Petr Korolev
a53883ba0e Make it works async and fast! 2015-02-17 23:30:50 +02:00
Petr Korolev
ca27b7c21e put in actual date right closed date 2015-02-17 23:30:50 +02:00
Petr Korolev
1607407ab4 cm 2015-02-17 23:30:50 +02:00
Petr Korolev
c1c6d835af Async fetch events 2015-02-17 23:30:50 +02:00
Petr Korolev
205bdfb39b Revert "fix #37"
This reverts commit cf4692c7b0.
2015-02-17 23:30:50 +02:00
Petr Korolev
2b603e8b26 update changelog 2015-02-17 23:30:24 +02:00
Petr Korolev
b5acd63d81 changelog 2015-02-17 22:41:04 +02:00
Petr Korolev
9525cdeba8 thread saety fix 2015-02-17 21:18:52 +02:00
Petr Korolev
a6897c6a86 add test changelog file 2015-02-17 20:49:32 +02:00
Petr Korolev
3c33893606 refactoring 2015-02-17 19:45:11 +02:00
Petr Korolev
1eee70bfe5 fixes 2015-02-13 15:28:01 +02:00
Petr Korolev
e6f12421ff Prettify output 2015-02-13 15:17:46 +02:00
Petr Korolev
f668aedafc prettify help message 2015-02-12 13:49:41 +02:00
Petr Korolev
ae92488d6d refactoring 2015-02-10 14:36:56 +02:00
Petr Korolev
cf4692c7b0 fix #37 2015-02-09 17:52:45 +02:00
Petr Korolev
69e3b17d8b Check for exception 2015-02-06 16:36:52 +02:00
Petr Korolev
f0e713d6ef Update gemspec to version 1.2.7 2015-01-26 17:00:45 +02:00
sue445
8dc50cf483 Add option: --compare-link 2015-01-26 17:00:36 +02:00
sue445
088824aa05 Refactorings
* tweak indent
* rename variable name (tag_xxx -> newer_tag_xxx)
2015-01-26 17:00:36 +02:00
sue445
96977c8384 Add compare link between older version and newer version 2015-01-26 17:00:36 +02:00
Petr Korolev
3e3cc15592 Update gemspec to version 1.2.6 2015-01-21 19:19:23 +01:00
sugamasao
c1d28d486f fix link tag format
Remove Extra Space.
2015-01-21 19:19:18 +01:00
Petr Korolev
a7a75a181e Update gemspec to version 1.2.5 2015-01-15 23:34:47 +01:00
Petr Korolev
e8d59fe66a Merge branch 'master' into develop 2015-01-15 23:27:13 +01:00
Petr Korolev
6b5cf5ab2e Merge pull request #42 from glenlovett/enterprise_github
support enterprise github via command line options
2015-01-15 23:16:54 +01:00
John Schwinghammer
5f019482d2 PrettyPrint class is included using lowercase 'pp' 2015-01-14 13:56:44 -06:00
Petr Korolev
6da115c4b0 Fix #32 2014-12-22 15:51:45 +02:00
Petr Korolev
657ce0e838 add ability to disable milestones filtering 2014-12-22 15:41:20 +02:00
Petr Korolev
5304e4faf8 fix #22 2014-12-22 15:31:49 +02:00
Petr Korolev
e6bb728355 remove issues with other milstones 2014-12-22 15:14:01 +02:00
Lovett, Glen
6bad92e899 support enterprise github via command line options 2014-12-19 16:55:42 -05:00
Petr Korolev
5b07fc9614 Update gemspec to version 1.2.4 2014-12-16 17:52:47 +02:00
Petr Korolev
3437fbf278 fx 2014-12-16 17:43:24 +02:00
Petr Korolev
46ae40f250 Update gemspec to version 1.2.3 2014-12-16 17:25:11 +02:00
Petr Korolev
00f98b8ca6 fix #30 2014-12-15 17:02:38 +02:00
Petr Korolev
5da838efee Merge branch 'feature/rails-crash' into develop 2014-12-15 17:02:11 +02:00
Petr Korolev
73b789ab82 fix 2014-12-15 16:23:30 +02:00
Petr Korolev
e29ff3c3a9 fix crash when user in NULL 2014-12-15 15:54:11 +02:00
Petr Korolev
a44b0bdd25 fix pagination issue + verboose. back to 30 per-pages 2014-12-15 15:53:02 +02:00
Petr Korolev
433d46d85b fx 2014-12-15 15:34:20 +02:00
Petr Korolev
87c6e33335 add verboose for issues 2014-12-15 15:24:46 +02:00
Petr Korolev
c697c6be4a Increase per-page number of request + improve verbose mode (related with #33) 2014-12-15 15:19:56 +02:00
Petr Korolev
69dd5eadc2 implement async fetching tags 2014-12-15 14:15:39 +02:00
Petr Korolev
4ea1058cd5 fix #33 2014-12-12 16:55:26 +02:00
Petr Korolev
fcd78e6bc4 add parsing feature, fix #38 2014-12-11 18:11:08 +02:00
Petr Korolev
c3373b2343 Update gemspec to version 1.2.2 2014-12-10 12:18:56 +02:00
Petr Korolev
9aa156a02b improve script 2014-12-10 12:18:45 +02:00
Petr Korolev
68a8d8d2c8 fix trimming for issues 2014-12-10 12:18:45 +02:00
Petr Korolev
057fb488d5 create class and implement encapsulation. This fix #34 2014-12-10 12:18:45 +02:00
Petr Korolev
f1d9c839c7 optimize script 2014-12-10 12:18:44 +02:00
Petr Korolev
bc13632545 add rake to gemfile 2014-12-03 11:09:11 +02:00
Petr Korolev
5295389fcc update 2014-11-24 21:38:06 +02:00
Petr Korolev
8e5b4ed191 update 2014-11-24 21:37:10 +02:00
Petr Korolev
80cc3fc625 update parser 2014-11-24 21:33:03 +02:00
Petr Korolev
bec4fdef0e Update gemspec to version 1.2.1 2014-11-22 22:56:23 +02:00
Petr Korolev
e1e5de555b Issues for last tag not in list 2014-11-19 17:28:49 +02:00
Petr Korolev
fa4ccb7e9c gix bug in logic 2014-11-19 16:23:54 +02:00
Petr Korolev
4c5ca562cf Disable default --filter-pull-requests option. 2014-11-19 15:58:14 +02:00
Petr Korolev
bf88bc0a0e Update gemspec to version 1.2.0 2014-11-19 15:48:32 +02:00
Petr Korolev
97311bc5a0 add parse option --filter-pull-requests 2014-11-19 15:45:24 +02:00
Petr Korolev
bdc4657e2c add filter option 2014-11-19 15:04:10 +02:00
Petr Korolev
0a43c25f8f Code refactoring 2014-11-19 14:30:18 +02:00
Petr Korolev
7aa9b6ca47 Add ability to insert authors of pull-requests (--[no-]author option) 2014-11-19 13:53:36 +02:00
Petr Korolev
865a364dff pretty print for input options 2014-11-19 12:51:23 +02:00
Petr Korolev
062f3fd3f2 code cleanup 2014-11-19 12:43:55 +02:00
Petr Korolev
09f5ac5d37 Don't receive issues in case of --no-isses flag specied 2014-11-19 12:42:23 +02:00
Petr Korolev
9f9f237e96 Update gemspec to version 1.1.4 2014-11-18 15:48:27 +02:00
Petr Korolev
bf17d9e284 Update gemspec to version 1.1.3 2014-11-18 15:27:43 +02:00
Petr Korolev
fadae1b714 remove httpparty from gem 2014-11-18 15:20:57 +02:00
Petr Korolev
b6ec9bd8be update gemspec file 2014-11-17 18:14:44 +02:00
Petr Korolev
07e0ec0cfb Move version to separate file 2014-11-17 17:54:13 +02:00
Petr Korolev
0ab44f79f7 Sort tag by date, not by name 2014-11-17 17:43:37 +02:00
Petr Korolev
4fa903b5cd fix for #20 2014-11-17 16:53:47 +02:00
Petr Korolev
03bca478c8 Add token support, resolved #19.
Use CHANGELOG_GITHUB_TOKEN variable to specify token in the shell.
2014-11-13 09:09:12 +02:00
Petr Korolev
91229c7472 cleanup 2014-11-12 17:23:16 +02:00
Petr Korolev
1357b3980d Fix bug with auto-detect project name, when there is dot signs in project name
add fix for username also
2014-11-12 11:05:03 +02:00
Petr Korolev
cdc009b4ad Remove duplicates of issues and pull-requests with same number 2014-11-10 17:00:48 +02:00
Petr Korolev
f0716771b5 Sort issues by tags 2014-11-10 16:17:43 +02:00
Petr Korolev
f08685b015 Add ability to add ot exclude issues wothout any labels 2014-11-10 15:37:43 +02:00
Petr Korolev
807bacd95a formatting 2014-11-10 14:41:36 +02:00
Petr Korolev
936b191566 Fix bug with wrong credentials in 1.0.1 (fixed #12) 2014-11-10 14:40:10 +02:00
Petr Korolev
337c9a7d59 add option that close #11 2014-11-10 14:36:27 +02:00
Petr Korolev
223cd2640c Merge remote-tracking branch 'origin/new-features' into new-features
Conflicts:
	lib/github_changelog_generator.rb

	Fix #9
2014-11-10 14:15:14 +02:00
Petr Korolev
70d3f63e89 fix for # 10 2014-11-10 09:02:11 +02:00
Petr Korolev
2db69dd27c small fix 2014-11-07 18:37:10 +02:00
Petr Korolev
502ae431b7 fix typo! 2014-11-07 18:24:02 +02:00
Petr Korolev
606fab4289 update Text for issues. (depends of what label placed) 2014-11-07 18:14:26 +02:00
Petr Korolev
acd2daada3 Remove delimeter and fix parser. This final commit should close #6 enchantment! Yay! 2014-11-07 17:57:32 +02:00
Petr Korolev
381ffeb261 add support for issues 2014-11-07 17:47:42 +02:00
Petr Korolev
f9e6a076bc implement "issues" parsing + check for merged requests 2014-11-07 17:05:01 +02:00
Petr Korolev
8457b764bf update readme and bump gem 2014-11-07 13:52:23 +02:00
Petr Korolev
9c4b68f779 Fix parsing bug 2014-11-07 12:53:24 +02:00
Petr Korolev
675601880d Add changelog generation for last tag 2014-11-07 11:45:01 +02:00
Petr Korolev
20095c571d add option for output file, update readme 2014-11-07 11:25:09 +02:00
Petr Korolev
a335594bcc caps name 2014-11-06 20:03:12 +02:00
Petr Korolev
5e64e5a226 add copyright to the end 2014-11-06 20:01:19 +02:00
Petr Korolev
66bebc1398 make it executable + man fix 2014-11-06 18:59:06 +02:00
Petr Korolev
58534f44a7 rename, move to proper folders, separate files 2014-11-06 16:11:45 +02:00