~adamski

Denmark 🇩🇰

https://adast.dk

~adamski/adast.dk

Last active 1 year, 3 months ago

~adamski/public-inbox

Last active 2 years ago
View more

Recent activity

Re: wruby crashes on bundler setup 6 months ago

From Adam Stück to ~bt/wruby-devel

I'm not sure what the equivalent Alpine `apk add ...` command is, but I 
think the main issue was gemfile definition missing a source.

Re: wruby crashes on bundler setup 6 months ago

From Adam Stück to ~bt/wruby-devel

I found a working method to run wruby on Arch Linux with the
previous commit.

    sudo docker run --rm -it archlinux 
    pacman -Syu git make ruby ruby-bundler ruby-erb
    git clone https://git.sr.ht/~bt/wruby
    cd wruby
    git checkout 56a1647e95c7b8f0e925030b70d026ea7141b6a9
    sed -i "3i  source 'https://rubygems.org'" wruby.rb
    make build 

Looks like we need to specify a source in the gemfile block:

    gemfile do

Re: wruby crashes on bundler setup 6 months ago

From Adam Stück to ~bt/wruby-devel

I added ruby-bundler to the pacman command so the full setup is as
follows:

    sudo docker run --rm -it archlinux 
    pacman -Syu git ruby ruby-bundler make
    git clone https://git.sr.ht/~bt/wruby
    cd wruby
    make    

This produces the following output:

    [root@6cccdaa9a562 wruby]# make
    rm -rf build && mkdir build
    ruby wruby.rb

wruby crashes on bundler setup 6 months ago

From Adam Stück to ~bt/wruby-devel

I can't get bundler to work as expected on my machines.

The same also occurs on alpine with the .build.yml unless I include
the `install-gems`. 

To reproduce:

    sudo docker run --rm -it archlinux 
    pacman -Syu git ruby make
    git clone https://git.sr.ht/~bt/wruby
    cd wruby
    make

This produces the following output:

Re: Generate sitemap.xml? 6 months ago

From Adam Stück to ~bt/wruby-devel

> Adding a script that runs after the “build” has completed (or including it in the build process itself) should be 
> included by users themselves.

Sounds good to me. 

If I write the script maybe we could include it in a contrib/ [1] dir?

1: https://softwareengineering.stackexchange.com/a/339925

Generate sitemap.xml? 6 months ago

From Adam Stück to ~bt/wruby-devel

Would it be useful to add sitemap generation? I'm no SEO expert so just
wondering if you think it's worth adding?

Re: [PATCH] websites: add adast.dk 7 months ago

From Adam Stück to ~bt/wruby-devel

On 15/09/2024 18:14, Bradley Taunt wrote:
> Thanks! I've applied the patch :)

Thank you for creating the tools and template :)

I also sent a patch to barf@patches.btxx.org to update /websites over there.

[PATCH] websites: add adast.dk 7 months ago

From Adam Stück to ~bt/wruby-devel

---
 pages/websites.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pages/websites.md b/pages/websites.md
index 38e042e..98c7101 100644
--- a/pages/websites.md
+++ b/pages/websites.md
@@ -5,3 +5,5 @@ Send an email to bt [at] btxx [dot] org if you would like me to add your wruby-g
* *This website...*
* [btxx.org](https://btxx.org)
* [jsfree.org](https://jsfree.org)
* [adast.dk](https://adast.dk)
* [arena.adast.dk](https://arena.adast.dk)
[message trimmed]

Get SSL cert from sourcehut pages site 1 year, 3 months ago

From Adam Stück to ~sircmpwn/sr.ht-discuss

I am setting up Prosody on my VPS and want to use adast.dk as the host.
This requires a SSL cert for adast.dk, which I can't generate because I
am also using adast.dk[1] on sourcehut pages to host my personal site.
What are my options? I'd like to continue using sourcehut pages if
possible. 

1: https://adast.dk

[PATCH adast.dk v3] services: add radicale 1 year, 3 months ago

From Adam Stück to ~adamski/adast.dk

---
 .build.yml        | 1 +
 pages/services.md | 1 +
 2 files changed, 2 insertions(+)

diff --git a/.build.yml b/.build.yml
index 6d66adf..36c17f2 100644
--- a/.build.yml
+++ b/.build.yml
@@ -3,6 +3,7 @@ oauth: pages.sr.ht/PAGES:RW
packages:
- hut
- rsync
- curl
[message trimmed]