{"thread":{"id":"52769","subject":"[PATCH] ci: ignore rubygems warning in the \"Documentation\" job","startedAt":"2020-02-09T22:36:22Z","lastAt":"2020-02-09T23:03:28Z","messageCount":2,"participants":["Johannes Schindelin via GitGitGadget","Taylor Blau"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"391419","messageId":"pull.707.git.git.1581287776574.gitgitgadget@gmail.com","threadId":"52769","inReplyTo":null,"subject":"[PATCH] ci: ignore rubygems warning in the \"Documentation\" job","fromName":"Johannes Schindelin via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2020-02-09T22:36:16Z","receivedAt":"2020-02-09T22:36:22Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"From: Johannes Schindelin <johannes.schindelin@gmx.de>\n\nA recent update in the Linux VM images used by Azure Pipelines surfaced\na new problem in the \"Documentation\" job. Apparently, this warning\nappears 396 times on `stderr` when running `make doc`:\n\n/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n\nThis problem was already reported to the `rubygems` project via\nhttps://github.com/rubygems/rubygems/issues/3068.\n\nAs there is nothing Git can do about this warning, and as the\n\"Documentation\" job reports this warning as a failure, let's just\nsilence it and move on.\n\nSigned-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>\n---\n    Fix CI/PR failures in the \"Documentation\" job\n    \n    It would probably make sense to apply this to maint, too, as it will\n    cause CI failures even if there is nothing actionable to be done to \n    really fix this on Git's side.\n\nPublished-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-707%2Fdscho%2Fworkaround-for-rubygems-using-deprecated-component-v1\nFetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-707/dscho/workaround-for-rubygems-using-deprecated-component-v1\nPull-Request: https://github.com/git/git/pull/707\n\n ci/test-documentation.sh | 1 +\n 1 file changed, 1 insertion(+)\n\ndiff --git a/ci/test-documentation.sh b/ci/test-documentation.sh\nindex b3e76ef863..de41888430 100755\n--- a/ci/test-documentation.sh\n+++ b/ci/test-documentation.sh\n@@ -7,6 +7,7 @@\n \n filter_log () {\n \tsed -e '/^GIT_VERSION = /d' \\\n+\t    -e \"/constant Gem::ConfigMap is deprecated/d\" \\\n \t    -e '/^    \\* new asciidoc flags$/d' \\\n \t    -e '/stripped namespace before processing/d' \\\n \t    -e '/Attributed.*IDs for element/d' \\\n\nbase-commit: d0654dc308b0ba76dd8ed7bbb33c8d8f7aacd783\n-- \ngitgitgadget\n"},{"id":"391420","messageId":"20200209230322.GA4530@syl.local","threadId":"52769","inReplyTo":"pull.707.git.git.1581287776574.gitgitgadget@gmail.com","subject":"Re: [PATCH] ci: ignore rubygems warning in the \"Documentation\" job","fromName":"Taylor Blau","fromEmail":"me@ttaylorr.com","sentAt":"2020-02-09T23:03:22Z","receivedAt":"2020-02-09T23:03:28Z","isPatch":true,"sender":{"key":"me@ttaylorr.com","avatar":"https://avatars.githubusercontent.com/u/301000140?v=4"},"body":"Hi Johannes,\n\nOn Sun, Feb 09, 2020 at 10:36:16PM +0000, Johannes Schindelin via GitGitGadget wrote:\n> From: Johannes Schindelin <johannes.schindelin@gmx.de>\n>\n> A recent update in the Linux VM images used by Azure Pipelines surfaced\n> a new problem in the \"Documentation\" job. Apparently, this warning\n> appears 396 times on `stderr` when running `make doc`:\n>\n> /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecated\n>\n> This problem was already reported to the `rubygems` project via\n> https://github.com/rubygems/rubygems/issues/3068.\n>\n> As there is nothing Git can do about this warning, and as the\n> \"Documentation\" job reports this warning as a failure, let's just\n> silence it and move on.\n\nThanks for explaining, and for taking time to silence errors such as\nthese that we can't do anything about. Everything as explained makes\ngood sense to me.\n\n> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>\n> ---\n>     Fix CI/PR failures in the \"Documentation\" job\n>\n>     It would probably make sense to apply this to maint, too, as it will\n>     cause CI failures even if there is nothing actionable to be done to\n>     really fix this on Git's side.\n>\n> Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-707%2Fdscho%2Fworkaround-for-rubygems-using-deprecated-component-v1\n> Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-707/dscho/workaround-for-rubygems-using-deprecated-component-v1\n> Pull-Request: https://github.com/git/git/pull/707\n>\n>  ci/test-documentation.sh | 1 +\n>  1 file changed, 1 insertion(+)\n>\n> diff --git a/ci/test-documentation.sh b/ci/test-documentation.sh\n> index b3e76ef863..de41888430 100755\n> --- a/ci/test-documentation.sh\n> +++ b/ci/test-documentation.sh\n> @@ -7,6 +7,7 @@\n>\n>  filter_log () {\n>  \tsed -e '/^GIT_VERSION = /d' \\\n> +\t    -e \"/constant Gem::ConfigMap is deprecated/d\" \\\n>  \t    -e '/^    \\* new asciidoc flags$/d' \\\n>  \t    -e '/stripped namespace before processing/d' \\\n>  \t    -e '/Attributed.*IDs for element/d' \\\n>\n> base-commit: d0654dc308b0ba76dd8ed7bbb33c8d8f7aacd783\n> --\n> gitgitgadget\n\nThanks,\nTaylor\n"}]}