Commit Graph

409 Commits

Author SHA1 Message Date
Olle Jonsson
8ea623fd81 v1.14.3 2016-12-31 10:33:06 +01:00
Eli Perkins
881ecc161c Use Octokit::Client for both .com and Enterprise
Octokit:EnterpriseAdminClient is only meant to be used for GHE admin
panel endpoints, such as Admin Stats, Management Console, etc.

This repairs GHE functionality by passing the API endpoint parameters
into Octokit::Client and letting it handle the rest.
2016-11-22 13:07:48 -05:00
Olle Jonsson
879668b605 v1.14.2 2016-11-12 10:04:18 +01:00
Olle Jonsson
d4dfc99127 OctoFetcher: Moved repositories fail explicitly 2016-11-10 20:37:46 +01:00
Olle Jonsson
d122e00a1a OctoFetcher#iterate_pages: extract method 2016-11-10 19:32:24 +01:00
Olle Jonsson
3c39c0c178 v1.14.1 2016-11-06 20:30:11 +01:00
Olle Jonsson
a863e0e83c v1.14.0 2016-11-05 10:09:31 +01:00
Olle Jonsson
fef7a5d02f Merge pull request #441 from thorsteneckel/bugfix-params_file_multi_hyphen
Fixed issue #440 - broken multi hyphen options in param file.
2016-11-05 08:49:35 +01:00
Thorsten
d551c3a198 Fixed issue #442 - broken issue-line-labels in log. (#443) 2016-11-05 08:44:28 +01:00
Thorsten Eckel
56f91cc8f4 Fixed issue #440 - broken multi hyphen options in param file. 2016-11-05 00:15:35 +01:00
Olle Jonsson
1dc33e3005 Option --unreleased-label explained 2016-11-04 22:53:49 +01:00
Thorsten Eckel
014da21bf5 Fixed bug: Last entries get lost. 2016-11-04 20:18:09 +01:00
Thorsten Eckel
83dcb3cdf9 Fixed issue #304 - entries of previous tags are included. 2016-11-04 19:51:58 +01:00
aih
1fd341d9bf Add option to show selected labels in the issue line: --issue-line-labels 2016-10-26 09:50:54 -07:00
Andrew Waage
134d10bab0 some rubocop updates 2016-10-20 11:49:02 -07:00
Andrew Waage
77ecafa978 using retriable gem 2016-10-19 14:30:43 -07:00
Andrew Waage
4f9cfdd337 spacing 2016-10-07 18:50:58 -07:00
Andrew Waage
7b8c667447 style 2016-10-07 18:37:36 -07:00
Andrew Waage
074b467251 added specs and refactor a bit 2016-10-07 16:58:38 -07:00
Andrew Waage
aa0d7e8d17 exponentially back off sleep if the Octokit::Forbidden error is seen 2016-10-07 16:28:02 -07:00
Olle Jonsson
e72edb0d83 Merge pull request #433 from olleolleolle/fix/reinstate-max-thread-at-25
On GitHub MAX_THREAD_NUMBER is 25
2016-10-06 00:36:16 +02:00
Olle Jonsson
8632bcf254 On GitHub MAX_THREAD_NUMBER is 25 2016-10-06 00:23:11 +02:00
Olle Jonsson
e123466b82 Linting 2016-10-05 23:31:19 +02:00
Olle Jonsson
c1f6fce86c Options: add error class, refactor
- improve readability of specs
  - extract methods
2016-10-05 23:12:48 +02:00
Olle Jonsson
70aaba9aa2 OctoFetcher: inline helper function, drop class extensions 2016-10-05 23:12:40 +02:00
Olle Jonsson
43a6e49055 Options: a class to wrap Hash-accessing options choices
- protects against bad names
2016-10-05 23:10:21 +02:00
Olle Jonsson
5ae7027425 Fix: Turn Sawyer method into String-keyed hash access (#429) 2016-10-01 19:46:52 +02:00
Olle Jonsson
828d639348 Spec: Test a url helper function (#428) 2016-10-01 19:23:48 +02:00
Olle Jonsson
8cf43822c3 Merge pull request #422 from olleolleolle/aw/all-merged
Use octokit, carrying awaage commits
2016-09-30 00:09:37 +02:00
Olle Jonsson
4de6f52572 v1.13.2 2016-09-29 23:27:14 +02:00
Olle Jonsson
bd024f6b63 Style: Use attr_reader for options
- prefer parentheses
2016-09-29 23:09:05 +02:00
Olle Jonsson
e23f2ff7e1 Typo: variable rename 2016-09-29 23:09:05 +02:00
Olle Jonsson
ba825488bd Typo, renamed var 2016-09-29 23:09:05 +02:00
Olle Jonsson
d8b34169a3 Linting 2016-09-29 23:09:04 +02:00
Olle Jonsson
1177f09ca5 Drop Hashie dependency 2016-09-29 23:09:04 +02:00
Andrew Waage
71c337cdcf fixed a bug in fetching tags 2016-09-29 23:09:04 +02:00
Andrew Waage
42c377d285 fixed one bug in filtering excluded tags 2016-09-29 23:09:04 +02:00
Andrew Waage
b79d672424 fixed 1 bug to work with octokit api 2016-09-29 23:09:04 +02:00
Andrew Waage
dbcc1cb98d merged in the tag fixes 2016-09-29 23:09:04 +02:00
Andrew Waage
2405b4fb3c fixed bug in each_with_object 2016-09-29 23:09:04 +02:00
Andrew Waage
ef9867c122 fixing rubocop and removing original fetcher 2016-09-29 23:09:04 +02:00
Andrew Waage
0e948fb125 max thread 1 2016-09-29 23:09:04 +02:00
Andrew Waage
2cafff7abb changing max threads to 4 2016-09-29 23:09:04 +02:00
Andrew Waage
41271b1ecb cleaned up caching and added to options parser 2016-09-29 23:09:04 +02:00
Andrew Waage
10cf2a0f04 minor clean up 2016-09-29 23:09:04 +02:00
Andrew Waage
a178822c83 fixed some handling of hashes 2016-09-29 23:09:04 +02:00
Andrew Waage
71c5348bdb made old fetcher compatible 2016-09-29 23:09:04 +02:00
Andrew Waage
a17931f3d4 fixing specs 2016-09-29 23:09:04 +02:00
Andrew Waage
b523a95a5f one more place for stringify keys 2016-09-29 23:09:04 +02:00
Andrew Waage
10add50b65 stringify more keys 2016-09-29 23:09:04 +02:00
Andrew Waage
7f7a7f957c using strings instead of symbols 2016-09-29 23:09:04 +02:00
Andrew Waage
a764632dd2 reverting the old fetcher where I changed to string 2016-09-29 23:09:04 +02:00
Andrew Waage
2347cc4220 added specs for the new octo_fetcher. Also had to refactor a bit to deal with hashes and arrays instead of objects 2016-09-29 23:09:04 +02:00
Andrew Waage
8277aa4319 added VCR and specs for original fetcher 2016-09-29 23:09:04 +02:00
Andrew Waage
df64ab5ba1 first pass at caching. still WIP. Need to parameterize some things 2016-09-29 23:09:04 +02:00
Andrew Waage
df510ef183 fixed some bugs and how errors were rescued 2016-09-29 23:09:03 +02:00
Andrew Waage
d7b88a521a changed the format of how dates are fetched from commit 2016-09-29 23:09:03 +02:00
Andrew Waage
52233f44f7 changed the rescued exceptions 2016-09-29 23:09:03 +02:00
Andrew Waage
61cd09f206 moved parse_url_for_vars to private method 2016-09-29 23:09:03 +02:00
Andrew Waage
53377388ee clean up 2016-09-29 23:09:03 +02:00
Andrew Waage
a8e6c5406e created a new fetcher with octokit. functionality should remain same 2016-09-29 23:09:03 +02:00
Olle Jonsson
e2020bbab3 Skip logger helper in coverage 2016-09-27 22:08:18 +02:00
Olle Jonsson
7f8131d5cd Lint: avoid multi-line ternary operator 2016-09-22 19:17:23 +02:00
Olle Jonsson
04215618a2 Lint: frozen-string-literal 2016-09-22 19:16:29 +02:00
Olle Jonsson
b259b186a7 Rainbow library: do not extend String
- do not include all the rainbow presenter methods directly in the
    String class
2016-09-01 11:51:53 -07:00
Olle Jonsson
7e77fd6c57 Drop all local color method calls
- The central logging method decides the color of the output
  - pass Rubocop complaints
2016-09-01 11:50:17 -07:00
James Casey
f647dc0d98 Change to use Rainbow instead of colorize
colorize is licensed under GPL-2 which conflicts with the MIT license of
github_changelog_generator.  This changes all usage of colorize to
rainbow which does have a compatible license (MIT)
2016-08-31 14:27:39 -07:00
Olle Jonsson
d23375f5ac Merge pull request #405 from jkeiser/jk/error2
Report actual github error when rate limit exceeded
2016-08-11 00:19:35 +02:00
John Keiser
27f2536a0e Limit number of simultaneous requests to 25 2016-08-09 18:42:58 -07:00
John Keiser
07f4e530a4 Report actual github error when rate limit exceeded
Also, don't report rate limit exceeded error unless the rate limit was exceeded.
2016-08-09 13:28:52 -07:00
John Keiser
c66b0f9aff Make error messages print on error 2016-08-08 12:49:02 -07:00
Petr Korolev
059e4d4bc3 Merge branch 'release/1.13.1' 2016-07-22 11:16:54 +03:00
Petr Korolev
6c2ef97f63 Update gemspec to version 1.13.1 2016-07-22 11:16:51 +03:00
Petr Korolev
74882ef900 fix quote escape 2016-07-22 09:28:06 +03:00
Petr Korolev
939f6fd768 THis fix #397 2016-07-21 17:48:46 +03:00
Petr Korolev
f32a02a75b remove unused puts 2016-07-21 17:47:53 +03:00
Petr Korolev
4f57845465 rename methods to match of it's actions 2016-07-21 17:47:52 +03:00
Olle Jonsson
9acfcf103c Merge pull request #391 from olleolleolle/feature/parser-docstrings
Parser: YARD docstrings and a rename, and RegExp named capture groups
2016-07-14 00:34:44 +02:00
Per Lundberg
408b12111d Added a missing OPTION
I noted that this was missing when trying to use it. 😄
2016-07-06 15:12:22 +03:00
Petr Korolev
c2083a4df5 Merge branch 'release/1.13.0' 2016-07-04 11:11:45 +03:00
Petr Korolev
0c2e62954d Update gemspec to version 1.13.0 2016-07-04 11:11:43 +03:00
Olle Jonsson
3962474e9f usernames_as_github_logins: Use option 2016-07-02 17:20:31 +02:00
Olle Jonsson
58bfa047c4 Option usernames_as_github_logins: Mention Markdown 2016-07-02 17:19:54 +02:00
phase
59db1c7821 CLI option for GitHub tags
Not actually implemented yet
2016-07-02 17:10:56 +02:00
phase
0e671a96da Remove trailing whitespace 2016-07-02 17:10:56 +02:00
phase
4c737c9373 Extract username tagging 2016-07-02 17:10:56 +02:00
phase
df31f98ce3 Use GitHub tags to reference GitHub users
This will use @tags to notify the contributor that their contribution is in the changelog.

As discussed in https://github.com/github/linguist/pull/2698#issuecomment-150887871
2016-07-02 17:10:56 +02:00
Olle Jonsson
b63d9d623e Parser: RegExp with named capture groups 2016-07-02 10:49:49 +02:00
Olle Jonsson
d9e2cdeeac Parser: YARD docstrings and a rename 2016-07-02 10:33:15 +02:00
Petr Korolev
8bd4578e44 check that page is not nil 2016-06-06 10:23:38 +03:00
Petr Korolev
29540ced2c Update gemspec to version 1.12.1 2016-05-09 15:23:19 +03:00
Olle Jonsson
01a254e412 Avoid nil bug in detect_since_tag 2016-05-09 15:22:56 +03:00
Petr Korolev
6a51c0b435 Merge branch 'release/1.12.0' 2016-04-01 13:32:34 +03:00
Petr Korolev
7b78c3f8d0 Update gemspec to version 1.12.0 2016-04-01 13:32:32 +03:00
Petr Korolev
519ca91cd7 Merge pull request #320 from ITV/filter-tags
Added tag exclusion with a filter (string or regex)
2016-03-28 13:04:06 +03:00
Adam
61ec650801 refactor 2016-03-24 12:40:42 +00:00
Adam
6a0ade1194 refactor 2016-03-24 12:22:33 +00:00
Adam
dd149d7ad9 implement #filter_excluded_tags_regex with regex exclude_tags 2016-03-24 11:59:20 +00:00
Petr Korolev
61bfba69c5 Merge branch 'release/1.11.8' 2016-03-22 14:38:02 +02:00
Petr Korolev
11d85bff41 Update gemspec to version 1.11.8 2016-03-22 14:37:59 +02:00