Thanks Fritz! make publish now succeeds. I reverted my changes and pushed yours.
On Sun, Feb 09, 2025 at 10:47:44PM +0100, Fritz Elfert wrote: > Hi Andrew, > Well, I was able to get it working locally, BUT that involved updating to a > recent ruby image. > And I am not shure, what ruby/jekyll runs on the actual site and if that can > be updated. > > Also, I use podman (rootless docker replacement on Fedora) here. > > Attached is a patch of my local changes. > > Cheers > -Fritz > > On 09.02.25 22:15, Andrew Gaul wrote: > > The raw release notes are committed: > > https://github.com/apache/jclouds-site/commit/584bb3b2ed17778aaa9fa9995116f93e20928890 > > > > I burned an hour trying to publish them with our antique Jeykll version. > > I pinned a bunch of dependencies: > > https://github.com/apache/jclouds-site/commit/5fa874000d841866e00c20362d3223f79ec0ffbb > > > > But this still fails with: > > > > $ make build > > docker run --rm -v "/home/gaul/work/jclouds-site:/jclouds-site" -p > > 4000:4000 jclouds/site-builder jekyll serve --safe --port 4000 --trace > > /usr/local/bundle/gems/liquid-2.5.5/lib/liquid/htmltags.rb:43: warning: > > duplicated key at line 46 ignored: "index0" > > Configuration file: /jclouds-site/_config.yml > > Source: /jclouds-site > > Destination: /jclouds-site/_site > > Generating... Liquid Exception: undefined method `sub' for > > nil:NilClass in > > _posts/2009-05-13-catching-exceptions-with-less-keystrokes.md > > /usr/local/bundle/gems/jekyll-1.5.1/lib/jekyll/tags/highlight.rb:77:in > > `add_code_tags': undefined method `sub' for nil:NilClass (NoMethodError) > > from > > /usr/local/bundle/gems/jekyll-1.5.1/lib/jekyll/tags/highlight.rb:56:in > > `render_pygments' > > from > > /usr/local/bundle/gems/jekyll-1.5.1/lib/jekyll/tags/highlight.rb:45:in > > `render' > > from > > /usr/local/bundle/gems/liquid-2.5.5/lib/liquid/block.rb:106:in `block in > > render_all' > > from /usr/local/bundle/gems/liquid-2.5.5/lib/liquid/block.rb:93:in > > `each' > > from /usr/local/bundle/gems/liquid-2.5.5/lib/liquid/block.rb:93:in > > `render_all' > > from /usr/local/bundle/gems/liquid-2.5.5/lib/liquid/block.rb:82:in > > `render' > > from > > /usr/local/bundle/gems/liquid-2.5.5/lib/liquid/template.rb:124:in `render' > > from > > /usr/local/bundle/gems/liquid-2.5.5/lib/liquid/template.rb:132:in `render!' > > from > > /usr/local/bundle/gems/jekyll-1.5.1/lib/jekyll/convertible.rb:88:in > > `render_liquid' > > from > > /usr/local/bundle/gems/jekyll-1.5.1/lib/jekyll/convertible.rb:150:in > > `do_layout' > > from /usr/local/bundle/gems/jekyll-1.5.1/lib/jekyll/post.rb:259:in > > `render' > > from /usr/local/bundle/gems/jekyll-1.5.1/lib/jekyll/site.rb:239:in > > `block in render' > > from /usr/local/bundle/gems/jekyll-1.5.1/lib/jekyll/site.rb:238:in > > `each' > > from /usr/local/bundle/gems/jekyll-1.5.1/lib/jekyll/site.rb:238:in > > `render' > > from /usr/local/bundle/gems/jekyll-1.5.1/lib/jekyll/site.rb:39:in > > `process' > > from > > /usr/local/bundle/gems/jekyll-1.5.1/lib/jekyll/command.rb:18:in > > `process_site' > > from > > /usr/local/bundle/gems/jekyll-1.5.1/lib/jekyll/commands/build.rb:23:in > > `build' > > from > > /usr/local/bundle/gems/jekyll-1.5.1/lib/jekyll/commands/build.rb:7:in > > `process' > > from /usr/local/bundle/gems/jekyll-1.5.1/bin/jekyll:97:in `block > > (2 levels) in <top (required)>' > > from > > /usr/local/bundle/gems/commander-4.1.6/lib/commander/command.rb:180:in > > `call' > > from > > /usr/local/bundle/gems/commander-4.1.6/lib/commander/command.rb:180:in > > `call' > > from > > /usr/local/bundle/gems/commander-4.1.6/lib/commander/command.rb:155:in `run' > > from > > /usr/local/bundle/gems/commander-4.1.6/lib/commander/runner.rb:422:in > > `run_active_command' > > from > > /usr/local/bundle/gems/commander-4.1.6/lib/commander/runner.rb:82:in `run!' > > from > > /usr/local/bundle/gems/commander-4.1.6/lib/commander/delegates.rb:8:in > > `run!' > > from > > /usr/local/bundle/gems/commander-4.1.6/lib/commander/import.rb:10:in `block > > in <top (required)>' > > > > On Fri, Feb 07, 2025 at 02:08:10PM +0100, Fritz Elfert wrote: > > > Well, > > > > > > At least, I would like to see the release notes before updating my > > > project, but unfortunately the link > > > > > > https://jclouds.apache.org/releasenotes/2.7.0/ > > > > > > gives me a 404 :-( > > > > > > So: > > > Where are the release notes? > > > > > > Thanks > > > -Fritz > > > > > > On 30.01.25 18:52, Andrew Gaul wrote: > > > > I plan to give users a week to report any obvious breakage and then vote > > > > to move to the attic. The web site deployment script[1] has bit-rotted > > > > and I cannot successfully build the image. Since I couldn't figure this > > > > out for 2.6.0 I don't plan to look at for 2.7.0. > > > > > > > > https://github.com/apache/jclouds-site/blob/master/Makefile > > > > > > > > On Thu, Jan 30, 2025 at 11:20:41AM +0100, Ionel GARDAIS wrote: > > > > > Thanks Andrew for the news. > > > > > The last time I heard from jclouds, there was an ongoing discussion > > > > > about it retiring to the attic. > > > > > The website still references release 2.5.0 as the last release, so is > > > > > the release notes page. > > > > > > > > > > Any updates on the future? > > > > > > > > > > Thanks again for all your work on clouds. > > > > > > > > > > Ionel > > > > > > > > > > > > > > > ----- Mail original ----- > > > > > De: "Andrew Gaul" <g...@apache.org> > > > > > À: annou...@apache.org, dev@jclouds.apache.org, "user" > > > > > <u...@jclouds.apache.org> > > > > > Envoyé: Jeudi 30 Janvier 2025 05:55:19 > > > > > Objet: [*EXT*] [ANNOUNCE] Apache jclouds 2.7.0 released > > > > > > > > > > The Apache jclouds team is pleased to announce the release of jclouds > > > > > 2.7.0. > > > > > > > > > > Apache jclouds is an open source multi-cloud toolkit for the Java > > > > > platform that gives you the freedom to create applications that are > > > > > portable across clouds while giving you full control to use > > > > > cloud-specific features. > > > > > > > > > > The source archives for the release are available here: > > > > > https://jclouds.apache.org/start/install/ > > > > > > > > > > The Maven artifacts for the release are available in Maven Central, > > > > > under the org.apache.jclouds group ID. > > > > > > > > > > The release notes are available here: > > > > > https://jclouds.apache.org/releasenotes/2.7.0/ > > > > > > > > > > We welcome your help and feedback. For more information on how to > > > > > report > > > > > problems, and to get involved, visit the project website at: > > > > > https://jclouds.apache.org/ > > > > > > > > > > The Apache jclouds Team > > > > > > > > > > > > > > > > > diff --git a/Dockerfile b/Dockerfile > index a4e4963..e996fe4 100644 > --- a/Dockerfile > +++ b/Dockerfile > @@ -1,11 +1,12 @@ > -FROM ruby:2.2.5 > +FROM ruby > > RUN apt-get update && \ > apt-get install -y --force-yes rsync > > -RUN gem install ffi -v 1.12.2 && \ > - gem install jekyll -v 1.5.1 && \ > - gem install rdiscount > +RUN gem install ffi && \ > + gem install jekyll && \ > + gem install rdiscount && \ > + gem install jekyll-paginate > > ENV LC_ALL=C.UTF-8 LANG=C.UTF-8 > > diff --git a/Makefile b/Makefile > index 44fc73e..92e2a9f 100644 > --- a/Makefile > +++ b/Makefile > @@ -5,7 +5,7 @@ image: ## Build the Docker image with all requirements to > build and publish the > docker build -t $(IMAGE) . > > build: ## Build and run the site locally > - docker run --rm -v "$(CURDIR):$(MOUNTPOINT)" -p 4000:4000 $(IMAGE) > jekyll serve --safe --port 4000 > + docker run --rm -v "$(CURDIR):$(MOUNTPOINT)" -p 4000:4000 $(IMAGE) > jekyll serve --safe --host 0.0.0.0 --port 4000 > > publish: ## Publish the site to https://jclouds.apache.org > rm -rf site-content > diff --git a/_config.yml b/_config.yml > index b5e30e6..9f01b2c 100644 > --- a/_config.yml > +++ b/_config.yml > @@ -1,7 +1,8 @@ > url: https://jclouds.apache.org > title: Apache jclouds > -markdown: rdiscount > +markdown: kramdown > pygments: true > +plugins: [jekyll-paginate] > paginate: 5 > paginate_path: "blog/page:num" > permalink: /blog/:categories/:year/:month/:day/:title -- Andrew Gaul http://gaul.org/