Closed as not planned
Description
I couldn't find a button to re-open issue #237, so I'm creating a new one. I finally moved to Jekyll 4, upgraded jekyll-github-metadata to 2.15.0, and was happy for a bit, until I actually started working on my Jekyll projects. When I run bundle exec jekyll serve --verbose
on repository https://github.com/egor-tensin/egor-tensin.github.io, it makes a single API call, as expected:
Rendering: index.html
Pre-Render Hooks: index.html
Rendering Liquid: index.html
GitHub Metadata: Generating for egor-tensin/egor-tensin.github.io
Rendering Markup: index.html
Post-Convert Hooks: index.html
Rendering Layout: index.html
GitHub Metadata: Calling @client.repository("egor-tensin/egor-tensin.github.io", {:accept=>"application/vnd.github.drax-preview+json"})
Writing: /home/egor/workspace/personal/egor-tensin.github.io/_site/index.html
done in 1.518 seconds.
Requiring: jekyll-watch
However, when I modify something (while Jekyll is serving), it again starts making API calls for every repository (+ extra 7 unneeded API calls):
[2022-10-15 22:18:15] DEBUG Jekyll::Commands::Serve::Servlet is invoked.
Regenerating: 1 file(s) changed at 2022-10-15 22:18:25
index.html
GitHub Metadata: Calling @client.pages("egor-tensin/egor-tensin.github.io", {})
GitHub Metadata: Calling @client.contributors("egor-tensin/egor-tensin.github.io")
GitHub Metadata: Calling @client.latest_release("egor-tensin/egor-tensin.github.io")
GitHub Metadata: Calling @client.organization("egor-tensin")
GitHub Metadata: Calling @client.organization("egor-tensin")
GitHub Metadata: Calling @client.user("egor-tensin")
GitHub Metadata: Calling @client.list_repos("egor-tensin", {:type=>"public", :accept=>"application/vnd.github.mercy-preview+json"})
GitHub Metadata: Calling @client.releases("egor-tensin/aes-tools")
GitHub Metadata: Calling @client.contributors("egor-tensin/aes-tools")
GitHub Metadata: Calling @client.releases("egor-tensin/blog")
GitHub Metadata: Calling @client.contributors("egor-tensin/blog")
GitHub Metadata: Calling @client.releases("egor-tensin/build-boost")
GitHub Metadata: Calling @client.contributors("egor-tensin/build-boost")
GitHub Metadata: Calling @client.releases("egor-tensin/cgitize")
GitHub Metadata: Calling @client.contributors("egor-tensin/cgitize")
GitHub Metadata: Calling @client.releases("egor-tensin/cgitize-test-repository")
GitHub Metadata: Calling @client.contributors("egor-tensin/cgitize-test-repository")
GitHub Metadata: Calling @client.releases("egor-tensin/chess-games")
GitHub Metadata: Calling @client.contributors("egor-tensin/chess-games")
GitHub Metadata: Calling @client.releases("egor-tensin/chruby")
Would you please help me? Thanks.