From becd0acff1055e62908d52190bd9440918d75578 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Fri, 26 Aug 2022 22:15:57 +0200 Subject: [PATCH] Remove Github Changelog Generator dependency Unfortunately this gem no longer works on our repository because it reaches a request limit: Octokit::TooManyRequests 403 - You have exceeded a secondary rate limit. Please wait a few minutes before you try again. See: https://docs.github.com/en/free-pro-team@latest/rest/overview/resources-in-the-rest-api#secondary-rate-limits We can still use github_fast_changelog, which can be run locally without being included as a dependencly, to help us update our CHANGELOG. --- Gemfile | 1 - Gemfile.lock | 12 ------------ Rakefile | 15 --------------- 3 files changed, 28 deletions(-) diff --git a/Gemfile b/Gemfile index 568dd8b80..482c5a94b 100644 --- a/Gemfile +++ b/Gemfile @@ -101,7 +101,6 @@ group :development do gem "capistrano3-delayed-job", "~> 1.7.6" gem "capistrano3-puma", "~> 5.2.0" gem "erb_lint", "~> 0.0.37", require: false - gem "github_changelog_generator", "~> 1.15.2" gem "mdl", "~> 0.11.0", require: false gem "pronto", "~> 0.11.0", require: false gem "pronto-erb_lint", "~> 0.1.5", require: false diff --git a/Gemfile.lock b/Gemfile.lock index e27060c86..945bef11f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -244,8 +244,6 @@ GEM faraday-em_http (1.0.0) faraday-em_synchrony (1.0.0) faraday-excon (1.1.0) - faraday-http-cache (2.2.0) - faraday (>= 0.8) faraday-httpclient (1.0.1) faraday-multipart (1.0.4) multipart-post (~> 2) @@ -269,14 +267,6 @@ GEM activemodel (>= 4.1, < 7.1) activesupport (>= 4.1, < 7.1) railties (>= 4.1, < 7.1) - github_changelog_generator (1.15.2) - activesupport - faraday-http-cache - multi_json - octokit (~> 4.6) - rainbow (>= 2.2.1) - rake (>= 10.0) - retriable (~> 3.0) gitlab (4.19.0) httparty (~> 0.20) terminal-table (>= 1.5.1) @@ -525,7 +515,6 @@ GEM responders (3.0.1) actionpack (>= 5.0) railties (>= 5.0) - retriable (3.1.2) rexml (3.2.5) rinku (2.0.6) ros-apartment (2.11.0) @@ -739,7 +728,6 @@ DEPENDENCIES font-awesome-sass (~> 5.15.1) foundation-rails (~> 6.6.2.0) foundation_rails_helper (~> 4.0.1) - github_changelog_generator (~> 1.15.2) globalize (~> 6.2.1) globalize-accessors (~> 0.3.0) graphiql-rails (~> 1.8.0) diff --git a/Rakefile b/Rakefile index 26316c034..a476ca76f 100644 --- a/Rakefile +++ b/Rakefile @@ -4,18 +4,3 @@ require File.expand_path("../config/application", __FILE__) Rails.application.load_tasks if Rake::Task.tasks.empty? - -if Rails.env.development? - require "github_changelog_generator/task" - - GitHubChangelogGenerator::RakeTask.new :changelog do |config| - config.user = "consul" - config.project = "consul" - config.since_tag = "1.4.1" - config.future_release = "1.5.0" - config.base = "#{Rails.root}/CHANGELOG.md" - config.token = Rails.application.secrets.github_changelog_token - config.issues = false - config.author = false - end -end