From c687db65b43bb340026416b3e09f07dbc74228c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp?= Date: Thu, 22 Jan 2026 21:18:43 +0000 Subject: [PATCH 01/19] Update scripting.yml --- .github/workflows/scripting.yml | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scripting.yml b/.github/workflows/scripting.yml index 0fc04ec..cdde228 100644 --- a/.github/workflows/scripting.yml +++ b/.github/workflows/scripting.yml @@ -1,7 +1,7 @@ name: "Scripting" on: - workflow_dispatch: + push: jobs: @@ -29,3 +29,32 @@ jobs: shell: swift {0} run: | print("Hello") + + perligata: + runs-on: ubuntu-latest + steps: + - name: "Install Lingua::Romana::Perligata" + run: cpanm --notest Lingua::Romana::Perligata + + - name: "Perligata" + shell: perl -MLingua::Romana::Perligata -e "{0}" + run: | + maximum tum C. + dixit tum "Primi usque ad C:\n". + + numerus tum II. + dum numerus minor maximum fac sic + primus tum I. + divisor tum II. + dum divisor minor numerus fac sic + si numerus modulus divisor aequalis nihil fac sic + primus tum nihil. + divisor tum numerus. + cis + divisor tum divisor plus I. + cis + si primus fac sic + dixit tum numerus. dixit tum "\n". + cis + numerus tum numerus plus I. + cis From 83f7ed7b5031d1156dff3c28a32eebfaff8cf39a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp?= Date: Thu, 22 Jan 2026 21:31:04 +0000 Subject: [PATCH 02/19] Refactor Perligata step to use CPAN::Shell Removed direct installation of Lingua::Romana::Perligata and updated shell command to use CPAN::Shell for installation. --- .github/workflows/scripting.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/scripting.yml b/.github/workflows/scripting.yml index cdde228..87d9531 100644 --- a/.github/workflows/scripting.yml +++ b/.github/workflows/scripting.yml @@ -33,11 +33,8 @@ jobs: perligata: runs-on: ubuntu-latest steps: - - name: "Install Lingua::Romana::Perligata" - run: cpanm --notest Lingua::Romana::Perligata - - name: "Perligata" - shell: perl -MLingua::Romana::Perligata -e "{0}" + shell: perl -0777 -le "CPAN::Shell->notest install=>P;P->import;eval<>" -MLingua::Romana::Perligata=P -- {0} run: | maximum tum C. dixit tum "Primi usque ad C:\n". From b6c777d9c8e7f10b9f3ae661c2713592e0633bef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp?= Date: Thu, 22 Jan 2026 21:48:22 +0000 Subject: [PATCH 03/19] Update scripting.yml --- .github/workflows/scripting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripting.yml b/.github/workflows/scripting.yml index 87d9531..df93d40 100644 --- a/.github/workflows/scripting.yml +++ b/.github/workflows/scripting.yml @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Perligata" - shell: perl -0777 -le "CPAN::Shell->notest install=>P;P->import;eval<>" -MLingua::Romana::Perligata=P -- {0} + shell: perl -e'$m=Lingua::Romana::Perligata;CPAN::Shell->notest install=>$m;eval"require $m";$m->import;local$/;eval<>' -- {0} run: | maximum tum C. dixit tum "Primi usque ad C:\n". From a1f0a00de3a7bf6058732fbe1c3682e2ec398617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp?= Date: Thu, 22 Jan 2026 21:51:40 +0000 Subject: [PATCH 04/19] Fix shell command syntax in scripting.yml --- .github/workflows/scripting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripting.yml b/.github/workflows/scripting.yml index df93d40..53333d3 100644 --- a/.github/workflows/scripting.yml +++ b/.github/workflows/scripting.yml @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Perligata" - shell: perl -e'$m=Lingua::Romana::Perligata;CPAN::Shell->notest install=>$m;eval"require $m";$m->import;local$/;eval<>' -- {0} + shell: "perl -0777 -e'$m=Lingua::Romana::Perligata;CPAN::Shell->notest install=>$m;eval\"require $m\";$m->import;eval<>' -- {0}" run: | maximum tum C. dixit tum "Primi usque ad C:\n". From 537eb575b9dd961c4437cde6c632320fa33a3448 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp?= Date: Thu, 22 Jan 2026 21:53:28 +0000 Subject: [PATCH 05/19] Update scripting.yml --- .github/workflows/scripting.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/scripting.yml b/.github/workflows/scripting.yml index 53333d3..19751dc 100644 --- a/.github/workflows/scripting.yml +++ b/.github/workflows/scripting.yml @@ -33,6 +33,12 @@ jobs: perligata: runs-on: ubuntu-latest steps: + - env: + x: "perl -0777 -e'$m=Lingua::Romana::Perligata;CPAN::Shell->notest install=>$m;eval\"require $m\";$m->import;eval<>' -- {0}" + y: perl -0777 -e'$m=Lingua::Romana::Perligata;CPAN::Shell->notest install=>$m;eval"require $m";$m->import;eval<>' -- {0} + run: | + echo "$x" + echo "$y" - name: "Perligata" shell: "perl -0777 -e'$m=Lingua::Romana::Perligata;CPAN::Shell->notest install=>$m;eval\"require $m\";$m->import;eval<>' -- {0}" run: | From b765613ad07170026b0539e3fc6453c80a7bd793 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp?= Date: Thu, 22 Jan 2026 21:58:00 +0000 Subject: [PATCH 06/19] Update scripting.yml --- .github/workflows/scripting.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/scripting.yml b/.github/workflows/scripting.yml index 19751dc..171997a 100644 --- a/.github/workflows/scripting.yml +++ b/.github/workflows/scripting.yml @@ -33,14 +33,8 @@ jobs: perligata: runs-on: ubuntu-latest steps: - - env: - x: "perl -0777 -e'$m=Lingua::Romana::Perligata;CPAN::Shell->notest install=>$m;eval\"require $m\";$m->import;eval<>' -- {0}" - y: perl -0777 -e'$m=Lingua::Romana::Perligata;CPAN::Shell->notest install=>$m;eval"require $m";$m->import;eval<>' -- {0} - run: | - echo "$x" - echo "$y" - name: "Perligata" - shell: "perl -0777 -e'$m=Lingua::Romana::Perligata;CPAN::Shell->notest install=>$m;eval\"require $m\";$m->import;eval<>' -- {0}" + shell: perl -0777 -MCPAN -e'$m=Lingua::Romana::Perligata;CPAN::Shell->notest(install=>$m);eval"require $m";$m->import;eval<>' -- {0} run: | maximum tum C. dixit tum "Primi usque ad C:\n". From 6d2f5552acf4d4090abdaf177fc1a09d318b224a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp?= Date: Thu, 22 Jan 2026 22:25:59 +0000 Subject: [PATCH 07/19] Update scripting.yml --- .github/workflows/scripting.yml | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/.github/workflows/scripting.yml b/.github/workflows/scripting.yml index 171997a..e401610 100644 --- a/.github/workflows/scripting.yml +++ b/.github/workflows/scripting.yml @@ -36,22 +36,12 @@ jobs: - name: "Perligata" shell: perl -0777 -MCPAN -e'$m=Lingua::Romana::Perligata;CPAN::Shell->notest(install=>$m);eval"require $m";$m->import;eval<>' -- {0} run: | - maximum tum C. - dixit tum "Primi usque ad C:\n". - - numerus tum II. - dum numerus minor maximum fac sic - primus tum I. - divisor tum II. - dum divisor minor numerus fac sic - si numerus modulus divisor aequalis nihil fac sic - primus tum nihil. - divisor tum numerus. + adnota Illud Cribrum Eratosthenis + + da meo maximo C. + meis listis conscribementa II tum maximum da. + dum damentum nexto listis decapitamentum fac + sic + lista sic hoc tum nextum recidementum cis vannementa listis da. + dictum tum cum nextum comementum tum novumversum scribe egresso. cis - divisor tum divisor plus I. - cis - si primus fac sic - dixit tum numerus. dixit tum "\n". - cis - numerus tum numerus plus I. - cis From 8d9491bd277b905787ba001951b9ea8ee1f1aa1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp?= Date: Thu, 22 Jan 2026 22:41:10 +0000 Subject: [PATCH 08/19] Update shell command for Perligata installation --- .github/workflows/scripting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripting.yml b/.github/workflows/scripting.yml index e401610..967de86 100644 --- a/.github/workflows/scripting.yml +++ b/.github/workflows/scripting.yml @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Perligata" - shell: perl -0777 -MCPAN -e'$m=Lingua::Romana::Perligata;CPAN::Shell->notest(install=>$m);eval"require $m";$m->import;eval<>' -- {0} + shell: cpan -Ti Lingua::Romana::Perligata; perl -0777 -MLingua::Romana::Perligata=P {0} run: | adnota Illud Cribrum Eratosthenis From a204435aa723b76c05426699516aaf4ee37f3ad3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp?= Date: Thu, 22 Jan 2026 22:45:58 +0000 Subject: [PATCH 09/19] Fix shell command syntax in scripting.yml --- .github/workflows/scripting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripting.yml b/.github/workflows/scripting.yml index 967de86..a41a7cd 100644 --- a/.github/workflows/scripting.yml +++ b/.github/workflows/scripting.yml @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Perligata" - shell: cpan -Ti Lingua::Romana::Perligata; perl -0777 -MLingua::Romana::Perligata=P {0} + shell: sh -c 'cpan -TiLingua::Romana::Perligata; perl -MLingua::Romana::Perligata=P {0}' run: | adnota Illud Cribrum Eratosthenis From e1826124257b0ef5f0b3d97bdd836e4afc8f56da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp?= Date: Thu, 22 Jan 2026 22:51:27 +0000 Subject: [PATCH 10/19] Fix shell command syntax in scripting.yml --- .github/workflows/scripting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripting.yml b/.github/workflows/scripting.yml index a41a7cd..950d0b4 100644 --- a/.github/workflows/scripting.yml +++ b/.github/workflows/scripting.yml @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Perligata" - shell: sh -c 'cpan -TiLingua::Romana::Perligata; perl -MLingua::Romana::Perligata=P {0}' + shell: sh -c "cpan -TiLingua::Romana::Perligata; perl -MLingua::Romana::Perligata {0}" run: | adnota Illud Cribrum Eratosthenis From ecd015c8e8ae9efccd802e6e536e5245df98c69e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp?= Date: Thu, 22 Jan 2026 22:52:02 +0000 Subject: [PATCH 11/19] Update scripting.yml --- .github/workflows/scripting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripting.yml b/.github/workflows/scripting.yml index 950d0b4..5eeb8b3 100644 --- a/.github/workflows/scripting.yml +++ b/.github/workflows/scripting.yml @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Perligata" - shell: sh -c "cpan -TiLingua::Romana::Perligata; perl -MLingua::Romana::Perligata {0}" + shell: sh -c "cpan -qTi Lingua::Romana::Perligata; perl -MLingua::Romana::Perligata {0}" run: | adnota Illud Cribrum Eratosthenis From 670e02765ca15a09e47d9cb838f4fabdef3b1d99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp?= Date: Thu, 22 Jan 2026 22:52:27 +0000 Subject: [PATCH 12/19] Fix command to install Perligata module --- .github/workflows/scripting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripting.yml b/.github/workflows/scripting.yml index 5eeb8b3..d9ade31 100644 --- a/.github/workflows/scripting.yml +++ b/.github/workflows/scripting.yml @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Perligata" - shell: sh -c "cpan -qTi Lingua::Romana::Perligata; perl -MLingua::Romana::Perligata {0}" + shell: sh -c "cpan -Ti Lingua::Romana::Perligata; perl -MLingua::Romana::Perligata {0}" run: | adnota Illud Cribrum Eratosthenis From 6bc394af8251047c5c4908bc8ce45ceb367dfc02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp?= Date: Thu, 22 Jan 2026 23:04:30 +0000 Subject: [PATCH 13/19] Update scripting.yml --- .github/workflows/scripting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripting.yml b/.github/workflows/scripting.yml index d9ade31..c4d9d1e 100644 --- a/.github/workflows/scripting.yml +++ b/.github/workflows/scripting.yml @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Perligata" - shell: sh -c "cpan -Ti Lingua::Romana::Perligata; perl -MLingua::Romana::Perligata {0}" + shell: sh -c "perl -MCPAN -e CPAN::Shell->notest(install=>$m); perl -MLingua::Romana::Perligata {0}" run: | adnota Illud Cribrum Eratosthenis From 4d6a03c7d230968ba36d775bb9ad8d02c433876b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp?= Date: Thu, 22 Jan 2026 23:06:08 +0000 Subject: [PATCH 14/19] Update Perl installation command in workflow --- .github/workflows/scripting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripting.yml b/.github/workflows/scripting.yml index c4d9d1e..b40b6b3 100644 --- a/.github/workflows/scripting.yml +++ b/.github/workflows/scripting.yml @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Perligata" - shell: sh -c "perl -MCPAN -e CPAN::Shell->notest(install=>$m); perl -MLingua::Romana::Perligata {0}" + shell: sh -c "M=Lingua::Romana::Perligata; perl -MCPAN -e \"CPAN::Shell->notest(install=>$M)\"; perl -M$M {0}" run: | adnota Illud Cribrum Eratosthenis From a779c0a16a36af7caf8c0a38bc953c92274a861a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp?= Date: Thu, 22 Jan 2026 23:07:31 +0000 Subject: [PATCH 15/19] Update Perl installation command in workflow --- .github/workflows/scripting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripting.yml b/.github/workflows/scripting.yml index b40b6b3..d9ade31 100644 --- a/.github/workflows/scripting.yml +++ b/.github/workflows/scripting.yml @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Perligata" - shell: sh -c "M=Lingua::Romana::Perligata; perl -MCPAN -e \"CPAN::Shell->notest(install=>$M)\"; perl -M$M {0}" + shell: sh -c "cpan -Ti Lingua::Romana::Perligata; perl -MLingua::Romana::Perligata {0}" run: | adnota Illud Cribrum Eratosthenis From 4918426f027ed7df12529c4934151b847f169e9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp?= Date: Thu, 22 Jan 2026 23:13:37 +0000 Subject: [PATCH 16/19] Update scripting.yml --- .github/workflows/scripting.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scripting.yml b/.github/workflows/scripting.yml index d9ade31..70f609d 100644 --- a/.github/workflows/scripting.yml +++ b/.github/workflows/scripting.yml @@ -34,7 +34,8 @@ jobs: runs-on: ubuntu-latest steps: - name: "Perligata" - shell: sh -c "cpan -Ti Lingua::Romana::Perligata; perl -MLingua::Romana::Perligata {0}" + # Note: the -I"$HOME/perl5/lib/perl5" part shouldn't be necessary, but it seems cpan is not configured correctly. + shell: sh -c "cpan -Ti Lingua::Romana::Perligata; perl -I"$HOME/perl5/lib/perl5" -MLingua::Romana::Perligata {0}" run: | adnota Illud Cribrum Eratosthenis From af89ae66070c8588cc7ad44157312e9d61413a35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp?= Date: Thu, 22 Jan 2026 23:14:18 +0000 Subject: [PATCH 17/19] Redirect cpan output to /dev/null in workflow Suppress output of cpan command by redirecting to /dev/null. --- .github/workflows/scripting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripting.yml b/.github/workflows/scripting.yml index 70f609d..2c5a17e 100644 --- a/.github/workflows/scripting.yml +++ b/.github/workflows/scripting.yml @@ -35,7 +35,7 @@ jobs: steps: - name: "Perligata" # Note: the -I"$HOME/perl5/lib/perl5" part shouldn't be necessary, but it seems cpan is not configured correctly. - shell: sh -c "cpan -Ti Lingua::Romana::Perligata; perl -I"$HOME/perl5/lib/perl5" -MLingua::Romana::Perligata {0}" + shell: sh -c "cpan -Ti Lingua::Romana::Perligata >/dev/null; perl -I"$HOME/perl5/lib/perl5" -MLingua::Romana::Perligata {0}" run: | adnota Illud Cribrum Eratosthenis From 02349c1adb47bc16da54a3c04d6be270bcf49da5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp?= Date: Thu, 22 Jan 2026 23:15:20 +0000 Subject: [PATCH 18/19] Fix shell command to capture cpan errors Redirect stderr to stdout for cpan command. --- .github/workflows/scripting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripting.yml b/.github/workflows/scripting.yml index 2c5a17e..edd39bf 100644 --- a/.github/workflows/scripting.yml +++ b/.github/workflows/scripting.yml @@ -35,7 +35,7 @@ jobs: steps: - name: "Perligata" # Note: the -I"$HOME/perl5/lib/perl5" part shouldn't be necessary, but it seems cpan is not configured correctly. - shell: sh -c "cpan -Ti Lingua::Romana::Perligata >/dev/null; perl -I"$HOME/perl5/lib/perl5" -MLingua::Romana::Perligata {0}" + shell: sh -c "cpan -Ti Lingua::Romana::Perligata >/dev/null 2>&1; perl -I"$HOME/perl5/lib/perl5" -MLingua::Romana::Perligata {0}" run: | adnota Illud Cribrum Eratosthenis From 5e00d3f1d0c242e84f1328252a046433b7bbcff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3bert=20Papp?= Date: Thu, 22 Jan 2026 23:16:02 +0000 Subject: [PATCH 19/19] Add workflow_dispatch trigger to scripting.yml --- .github/workflows/scripting.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripting.yml b/.github/workflows/scripting.yml index edd39bf..3a0734b 100644 --- a/.github/workflows/scripting.yml +++ b/.github/workflows/scripting.yml @@ -1,7 +1,7 @@ name: "Scripting" on: - push: + workflow_dispatch: jobs: