bitcoin-core / bitcoincore.org

Bitcoin Core project website
https://bitcoincore.org/
MIT License
604 stars 472 forks source link

Dependencies don't match available versions #961

Closed TheBlueMatt closed 1 year ago

TheBlueMatt commented 1 year ago

Looks like site isn't building because the dependencies don't match what is installed on the box (debian stable), so need to be updated to match that. Also, is there a need for coffee-script support? Kinda hate node crap cause it has a tendency to decide it should download random code from the internet and run it on your system.

katesalazar commented 1 year ago

It builds on Debian Bullseye with these changes, the bundler program advices what to do:

diff --git a/Gemfile b/Gemfile index 785f16f..ab9fc3a 100644 --- a/Gemfile +++ b/Gemfile @@ -4,7 +4,7 @@ source 'https://rubygems.org'

If you update the version here, also update it in .ruby-version,

.travis.yml

and README.md. Then push your branch and make sure Travis supports that

version.

-ruby '2.5.5' +ruby '2.7.4'

If you add a new Gem below, run bundle install to install it.

group :development do diff --git a/Gemfile.lock b/Gemfile.lock index 51a288b..fd7e5cf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,261 +1,275 @@ GEM remote: https://rubygems.org/ specs:

On Thu, May 4, 2023 at 10:20 PM Matt Corallo @.***> wrote:

Looks like site isn't building because the dependencies don't match what is installed on the box (debian stable), so need to be updated to match that. Also, is there a need for coffee-script support? Kinda hate node crap cause it has a tendency to decide it should download random code from the internet and run it on your system.

— Reply to this email directly, view it on GitHub https://github.com/bitcoin-core/bitcoincore.org/issues/961, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMRS4W2EQPTTRGTZHPBB4ATXEQTQ7ANCNFSM6AAAAAAXWL6VL4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

katesalazar commented 1 year ago

this was based on top of some older rev, but taht doesnt matter here because the whole Gemfile.lock is regenerated. Then if you purge coffeescript lines from the generated Gemfile.lock it looks like it's stil able to build and run, but I can't really test it in a clean build

On Fri, May 5, 2023 at 1:48 PM Kate Salazar < @.***> wrote:

It builds on Debian Bullseye with these changes, the bundler program advices what to do:

diff --git a/Gemfile b/Gemfile index 785f16f..ab9fc3a 100644 --- a/Gemfile +++ b/Gemfile @@ -4,7 +4,7 @@ source 'https://rubygems.org'

If you update the version here, also update it in .ruby-version,

.travis.yml

and README.md. Then push your branch and make sure Travis supports that

version.

-ruby '2.5.5' +ruby '2.7.4'

If you add a new Gem below, run bundle install to install it.

group :development do diff --git a/Gemfile.lock b/Gemfile.lock index 51a288b..fd7e5cf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,261 +1,275 @@ GEM remote: https://rubygems.org/ specs:

  • activesupport (4.2.11.1)
  • i18n (~> 0.7)
  • minitest (~> 5.1)
  • thread_safe (~> 0.3, >= 0.3.4)
  • tzinfo (~> 1.1)
  • addressable (2.7.0)
  • public_suffix (>= 2.0.2, < 5.0)
  • activesupport (7.0.4.3)
  • concurrent-ruby (~> 1.0, >= 1.0.2)
  • i18n (>= 1.6, < 2)
  • minitest (>= 5.1)
  • tzinfo (~> 2.0)
  • addressable (2.8.4)
  • public_suffix (>= 2.0.2, < 6.0) coffee-script (2.4.1) coffee-script-source execjs coffee-script-source (1.11.1) colorator (1.1.0)
  • commonmarker (0.17.13)
  • ruby-enum (~> 0.5)
  • concurrent-ruby (1.1.5)
  • dnsruby (1.61.3)
  • addressable (~> 2.5)
  • em-websocket (0.5.1)
  • commonmarker (0.23.9)
  • concurrent-ruby (1.2.2)
  • dnsruby (1.70.0)
  • simpleidn (~> 0.2.1)
  • em-websocket (0.5.3) eventmachine (>= 0.12.9)
  • http_parser.rb (~> 0.6.0)
  • ethon (0.12.0)
  • ffi (>= 1.3.0)
  • http_parser.rb (~> 0)
  • ethon (0.16.0)
  • ffi (>= 1.15.0) eventmachine (1.2.7)
  • execjs (2.7.0)
  • faraday (0.17.0)
  • multipart-post (>= 1.2, < 3)
  • ffi (1.11.3)
  • execjs (2.8.1)
  • faraday (2.7.4)
  • faraday-net_http (>= 2.0, < 3.1)
  • ruby2_keywords (>= 0.0.4)
  • faraday-net_http (3.0.2)
  • ffi (1.15.5) forwardable-extended (2.6.0) gemoji (3.0.1)
  • github-pages (202)
  • activesupport (= 4.2.11.1)
  • github-pages-health-check (= 1.16.1)
  • jekyll (= 3.8.5)
  • jekyll-avatar (= 0.6.0)
  • github-pages (228)
  • github-pages-health-check (= 1.17.9)
  • jekyll (= 3.9.3)
  • jekyll-avatar (= 0.7.0) jekyll-coffeescript (= 1.1.1)
  • jekyll-commonmark-ghpages (= 0.1.6)
  • jekyll-commonmark-ghpages (= 0.4.0) jekyll-default-layout (= 0.1.4)
  • jekyll-feed (= 0.11.0)
  • jekyll-feed (= 0.15.1) jekyll-gist (= 1.5.0)
  • jekyll-github-metadata (= 2.12.1)
  • jekyll-mentions (= 1.4.1)
  • jekyll-optional-front-matter (= 0.3.0)
  • jekyll-github-metadata (= 2.13.0)
  • jekyll-include-cache (= 0.2.1)
  • jekyll-mentions (= 1.6.0)
  • jekyll-optional-front-matter (= 0.3.2) jekyll-paginate (= 1.1.0)
  • jekyll-readme-index (= 0.2.0)
  • jekyll-redirect-from (= 0.14.0)
  • jekyll-relative-links (= 0.6.0)
  • jekyll-remote-theme (= 0.4.0)
  • jekyll-readme-index (= 0.3.0)
  • jekyll-redirect-from (= 0.16.0)
  • jekyll-relative-links (= 0.6.1)
  • jekyll-remote-theme (= 0.4.3) jekyll-sass-converter (= 1.5.2)
  • jekyll-seo-tag (= 2.5.0)
  • jekyll-sitemap (= 1.2.0)
  • jekyll-swiss (= 0.4.0)
  • jekyll-theme-architect (= 0.1.1)
  • jekyll-theme-cayman (= 0.1.1)
  • jekyll-theme-dinky (= 0.1.1)
  • jekyll-theme-hacker (= 0.1.1)
  • jekyll-theme-leap-day (= 0.1.1)
  • jekyll-theme-merlot (= 0.1.1)
  • jekyll-theme-midnight (= 0.1.1)
  • jekyll-theme-minimal (= 0.1.1)
  • jekyll-theme-modernist (= 0.1.1)
  • jekyll-theme-primer (= 0.5.3)
  • jekyll-theme-slate (= 0.1.1)
  • jekyll-theme-tactile (= 0.1.1)
  • jekyll-theme-time-machine (= 0.1.1)
  • jekyll-titles-from-headings (= 0.5.1)
  • jemoji (= 0.10.2)
  • kramdown (= 1.17.0)
  • liquid (= 4.0.0)
  • listen (= 3.1.5)
  • jekyll-seo-tag (= 2.8.0)
  • jekyll-sitemap (= 1.4.0)
  • jekyll-swiss (= 1.0.0)
  • jekyll-theme-architect (= 0.2.0)
  • jekyll-theme-cayman (= 0.2.0)
  • jekyll-theme-dinky (= 0.2.0)
  • jekyll-theme-hacker (= 0.2.0)
  • jekyll-theme-leap-day (= 0.2.0)
  • jekyll-theme-merlot (= 0.2.0)
  • jekyll-theme-midnight (= 0.2.0)
  • jekyll-theme-minimal (= 0.2.0)
  • jekyll-theme-modernist (= 0.2.0)
  • jekyll-theme-primer (= 0.6.0)
  • jekyll-theme-slate (= 0.2.0)
  • jekyll-theme-tactile (= 0.2.0)
  • jekyll-theme-time-machine (= 0.2.0)
  • jekyll-titles-from-headings (= 0.5.3)
  • jemoji (= 0.12.0)
  • kramdown (= 2.3.2)
  • kramdown-parser-gfm (= 1.1.0)
  • liquid (= 4.0.4) mercenary (~> 0.3)
  • minima (= 2.5.0)
  • nokogiri (>= 1.10.4, < 2.0)
  • rouge (= 3.11.0)
  • minima (= 2.5.1)
  • nokogiri (>= 1.13.6, < 2.0)
  • rouge (= 3.26.0) terminal-table (~> 1.4)
  • github-pages-health-check (1.16.1)
  • github-pages-health-check (1.17.9) addressable (~> 2.3) dnsruby (~> 1.60) octokit (~> 4.0)
  • public_suffix (~> 3.0)
  • public_suffix (>= 3.0, < 5.0) typhoeus (~> 1.3)
  • html-pipeline (2.12.2)
  • html-pipeline (2.14.3) activesupport (>= 2) nokogiri (>= 1.4)
  • html-proofer (3.14.1)
  • html-proofer (4.4.3) addressable (~> 2.3) mercenary (~> 0.3)
  • nokogiri (~> 1.10)
  • parallel (~> 1.3)
  • nokogiri (~> 1.13)
  • parallel (~> 1.10) rainbow (~> 3.0) typhoeus (~> 1.3) yell (~> 2.0)
  • http_parser.rb (0.6.0)
  • i18n (0.9.5)
  • zeitwerk (~> 2.5)
  • http_parser.rb (0.8.0)
  • i18n (1.13.0) concurrent-ruby (~> 1.0)
  • jekyll (3.8.5)
  • jekyll (3.9.3) addressable (~> 2.4) colorator (~> 1.0) em-websocket (~> 0.5)
  • i18n (~> 0.7)
  • i18n (>= 0.7, < 2) jekyll-sass-converter (~> 1.0) jekyll-watch (~> 2.0)
  • kramdown (~> 1.14)
  • kramdown (>= 1.17, < 3) liquid (~> 4.0) mercenary (~> 0.3.3) pathutil (~> 0.9) rouge (>= 1.7, < 4) safe_yaml (~> 1.0)
  • jekyll-avatar (0.6.0)
  • jekyll (~> 3.0)
  • jekyll-avatar (0.7.0)
  • jekyll (>= 3.0, < 5.0) jekyll-coffeescript (1.1.1) coffee-script (~> 2.2) coffee-script-source (~> 1.11.1)
  • jekyll-commonmark (1.3.1)
  • commonmarker (~> 0.14)
  • jekyll (>= 3.7, < 5.0)
  • jekyll-commonmark-ghpages (0.1.6)
  • commonmarker (~> 0.17.6)
  • jekyll-commonmark (~> 1.2)
  • rouge (>= 2.0, < 4.0)
  • jekyll-commonmark (1.4.0)
  • commonmarker (~> 0.22)
  • jekyll-commonmark-ghpages (0.4.0)
  • commonmarker (~> 0.23.7)
  • jekyll (~> 3.9.0)
  • jekyll-commonmark (~> 1.4.0)
  • rouge (>= 2.0, < 5.0) jekyll-default-layout (0.1.4) jekyll (~> 3.0)
  • jekyll-feed (0.11.0)
  • jekyll (~> 3.3)
  • jekyll-feed (0.15.1)
  • jekyll (>= 3.7, < 5.0) jekyll-gist (1.5.0) octokit (~> 4.2)
  • jekyll-github-metadata (2.12.1)
  • jekyll (~> 3.4)
  • jekyll-github-metadata (2.13.0)
  • jekyll (>= 3.4, < 5.0) octokit (~> 4.0, != 4.4.0)
  • jekyll-mentions (1.4.1)
  • jekyll-include-cache (0.2.1)
  • jekyll (>= 3.7, < 5.0)
  • jekyll-mentions (1.6.0) html-pipeline (~> 2.3)
  • jekyll (~> 3.0)
  • jekyll-optional-front-matter (0.3.0)
  • jekyll (~> 3.0)
  • jekyll (>= 3.7, < 5.0)
  • jekyll-optional-front-matter (0.3.2)
  • jekyll (>= 3.0, < 5.0) jekyll-paginate (1.1.0)
  • jekyll-readme-index (0.2.0)
  • jekyll (~> 3.0)
  • jekyll-redirect-from (0.14.0)
  • jekyll (~> 3.3)
  • jekyll-relative-links (0.6.0)
  • jekyll (~> 3.3)
  • jekyll-remote-theme (0.4.0)
  • jekyll-readme-index (0.3.0)
  • jekyll (>= 3.0, < 5.0)
  • jekyll-redirect-from (0.16.0)
  • jekyll (>= 3.3, < 5.0)
  • jekyll-relative-links (0.6.1)
  • jekyll (>= 3.3, < 5.0)
  • jekyll-remote-theme (0.4.3) addressable (~> 2.0)
  • jekyll (~> 3.5)
  • rubyzip (>= 1.2.1, < 3.0)
  • jekyll (>= 3.5, < 5.0)
  • jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
  • rubyzip (>= 1.3.0, < 3.0) jekyll-sass-converter (1.5.2) sass (~> 3.4)
  • jekyll-seo-tag (2.5.0)
  • jekyll (~> 3.3)
  • jekyll-sitemap (1.2.0)
  • jekyll (~> 3.3)
  • jekyll-swiss (0.4.0)
  • jekyll-theme-architect (0.1.1)
  • jekyll (~> 3.5)
  • jekyll-seo-tag (2.8.0)
  • jekyll (>= 3.8, < 5.0)
  • jekyll-sitemap (1.4.0)
  • jekyll (>= 3.7, < 5.0)
  • jekyll-swiss (1.0.0)
  • jekyll-theme-architect (0.2.0)
  • jekyll (> 3.5, < 5.0) jekyll-seo-tag (~> 2.0)
  • jekyll-theme-cayman (0.1.1)
  • jekyll (~> 3.5)
  • jekyll-theme-cayman (0.2.0)
  • jekyll (> 3.5, < 5.0) jekyll-seo-tag (~> 2.0)
  • jekyll-theme-dinky (0.1.1)
  • jekyll (~> 3.5)
  • jekyll-theme-dinky (0.2.0)
  • jekyll (> 3.5, < 5.0) jekyll-seo-tag (~> 2.0)
  • jekyll-theme-hacker (0.1.1)
  • jekyll (~> 3.5)
  • jekyll-theme-hacker (0.2.0)
  • jekyll (> 3.5, < 5.0) jekyll-seo-tag (~> 2.0)
  • jekyll-theme-leap-day (0.1.1)
  • jekyll (~> 3.5)
  • jekyll-theme-leap-day (0.2.0)
  • jekyll (> 3.5, < 5.0) jekyll-seo-tag (~> 2.0)
  • jekyll-theme-merlot (0.1.1)
  • jekyll (~> 3.5)
  • jekyll-theme-merlot (0.2.0)
  • jekyll (> 3.5, < 5.0) jekyll-seo-tag (~> 2.0)
  • jekyll-theme-midnight (0.1.1)
  • jekyll (~> 3.5)
  • jekyll-theme-midnight (0.2.0)
  • jekyll (> 3.5, < 5.0) jekyll-seo-tag (~> 2.0)
  • jekyll-theme-minimal (0.1.1)
  • jekyll (~> 3.5)
  • jekyll-theme-minimal (0.2.0)
  • jekyll (> 3.5, < 5.0) jekyll-seo-tag (~> 2.0)
  • jekyll-theme-modernist (0.1.1)
  • jekyll (~> 3.5)
  • jekyll-theme-modernist (0.2.0)
  • jekyll (> 3.5, < 5.0) jekyll-seo-tag (~> 2.0)
  • jekyll-theme-primer (0.5.3)
  • jekyll (~> 3.5)
  • jekyll-theme-primer (0.6.0)
  • jekyll (> 3.5, < 5.0) jekyll-github-metadata (~> 2.9) jekyll-seo-tag (~> 2.0)
  • jekyll-theme-slate (0.1.1)
  • jekyll (~> 3.5)
  • jekyll-theme-slate (0.2.0)
  • jekyll (> 3.5, < 5.0) jekyll-seo-tag (~> 2.0)
  • jekyll-theme-tactile (0.1.1)
  • jekyll (~> 3.5)
  • jekyll-theme-tactile (0.2.0)
  • jekyll (> 3.5, < 5.0) jekyll-seo-tag (~> 2.0)
  • jekyll-theme-time-machine (0.1.1)
  • jekyll (~> 3.5)
  • jekyll-theme-time-machine (0.2.0)
  • jekyll (> 3.5, < 5.0) jekyll-seo-tag (~> 2.0)
  • jekyll-titles-from-headings (0.5.1)
  • jekyll (~> 3.3)
  • jekyll-titles-from-headings (0.5.3)
  • jekyll (>= 3.3, < 5.0) jekyll-watch (2.2.1) listen (~> 3.0)
  • jemoji (0.10.2)
  • jemoji (0.12.0) gemoji (~> 3.0) html-pipeline (~> 2.2)
  • jekyll (~> 3.0)
  • kramdown (1.17.0)
  • liquid (4.0.0)
  • listen (3.1.5)
  • rb-fsevent (~> 0.9, >= 0.9.4)
  • rb-inotify (~> 0.9, >= 0.9.7)
  • ruby_dep (~> 1.2)
  • jekyll (>= 3.0, < 5.0)
  • kramdown (2.3.2)
  • rexml
  • kramdown-parser-gfm (1.1.0)
  • kramdown (~> 2.0)
  • liquid (4.0.4)
  • listen (3.8.0)
  • rb-fsevent (~> 0.10, >= 0.10.3)
  • rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.3.6)
  • mini_portile2 (2.4.0)
  • minima (2.5.0)
  • jekyll (~> 3.5)
  • minima (2.5.1)
  • jekyll (>= 3.5, < 5.0) jekyll-feed (~> 0.9) jekyll-seo-tag (~> 2.1)
  • minitest (5.13.0)
  • multipart-post (2.1.1)
  • nokogiri (1.10.5)
  • mini_portile2 (~> 2.4.0)
  • octokit (4.14.0)
  • sawyer (~> 0.8.0, >= 0.5.3)
  • parallel (1.19.1)
  • minitest (5.18.0)
  • nokogiri (1.14.3-x86_64-linux)
  • racc (~> 1.4)
  • octokit (4.25.1)
  • faraday (>= 1, < 3)
  • sawyer (~> 0.9)
  • parallel (1.23.0) pathutil (0.16.2) forwardable-extended (~> 2.6)
  • public_suffix (3.1.1)
  • rainbow (3.0.0)
  • rb-fsevent (0.10.3)
  • rb-inotify (0.10.0)
  • public_suffix (4.0.7)
  • racc (1.6.2)
  • rainbow (3.1.1)
  • rb-fsevent (0.11.2)
  • rb-inotify (0.10.1) ffi (~> 1.0)
  • rouge (3.11.0)
  • ruby-enum (0.7.2)
  • i18n
  • ruby_dep (1.5.0)
  • rubyzip (2.0.0)
  • rexml (3.2.5)
  • rouge (3.26.0)
  • ruby2_keywords (0.0.5)
  • rubyzip (2.3.2) safe_yaml (1.0.5) sass (3.7.4) sass-listen (~> 4.0.0) sass-listen (4.0.0) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7)
  • sawyer (0.8.2)
  • sawyer (0.9.2) addressable (>= 2.3.5)
  • faraday (> 0.8, < 2.0)
  • faraday (>= 0.17.3, < 3)
  • simpleidn (0.2.1)
  • unf (~> 0.1.4) terminal-table (1.8.0) unicode-display_width (~> 1.1, >= 1.1.1)
  • thread_safe (0.3.6)
  • typhoeus (1.3.1)
  • typhoeus (1.4.0) ethon (>= 0.9.0)
  • tzinfo (1.2.5)
  • thread_safe (~> 0.1)
  • unicode-display_width (1.6.0)
  • yell (2.2.0)
  • tzinfo (2.0.6)
  • concurrent-ruby (~> 1.0)
  • unf (0.1.4)
  • unf_ext
  • unf_ext (0.0.8.2)
  • unicode-display_width (1.8.0)
  • yell (2.2.2)
  • zeitwerk (2.6.8)

    PLATFORMS

  • ruby
  • x86_64-linux

    DEPENDENCIES github-pages html-proofer

    RUBY VERSION

  • ruby 2.5.5p157
  • ruby 2.7.4p191
  • +BUNDLED WITH

  • 2.4.12

On Thu, May 4, 2023 at 10:20 PM Matt Corallo @.***> wrote:

Looks like site isn't building because the dependencies don't match what is installed on the box (debian stable), so need to be updated to match that. Also, is there a need for coffee-script support? Kinda hate node crap cause it has a tendency to decide it should download random code from the internet and run it on your system.

— Reply to this email directly, view it on GitHub https://github.com/bitcoin-core/bitcoincore.org/issues/961, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMRS4W2EQPTTRGTZHPBB4ATXEQTQ7ANCNFSM6AAAAAAXWL6VL4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

TheBlueMatt commented 1 year ago

Nice! Can you pr that diff?

fanquake commented 1 year ago

Closing this post #963.