summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2025-01-05 19:04:32 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2025-01-05 19:04:32 -0500
commitfc98b6d48f13d0ac29e096b52e3c3c49aacc05c9 (patch)
tree6da43a6a9feefe34f1b1618dccbbb7600833fdff
parent2025 (diff)
org blocks, identify syntaxHEADmain
-rw-r--r--org/config_d_cfte.org24
-rw-r--r--org/config_dub.org4
-rw-r--r--org/config_env.org34
-rw-r--r--org/config_git.org4
-rw-r--r--org/config_make.org4
-rw-r--r--org/config_nix.org4
-rw-r--r--org/nixpkgs_overlays_d_related.org28
-rw-r--r--org/spine_info.org4
8 files changed, 53 insertions, 53 deletions
diff --git a/org/config_d_cfte.org b/org/config_d_cfte.org
index ee42be3..df29cc5 100644
--- a/org/config_d_cfte.org
+++ b/org/config_d_cfte.org
@@ -202,61 +202,61 @@ enum _cfg = Cfg();
*** shared settings SET defaults
#+NAME: http_request_type
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
http
#+END_SRC
#+NAME: http_host
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
localhost
#+END_SRC
#+NAME: www_url_doc_root
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
http://localhost
#+END_SRC
#+NAME: www_url_doc_subroot
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
/spine
#+END_SRC
#+NAME: processing_path_doc_root
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
/srv/www/spine
#+END_SRC
#+NAME: www_doc_subroot
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
/spine
#+END_SRC
#+NAME: cgi_bin_root
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
/var/www/cgi/cgi-bin
#+END_SRC
#+NAME: db_sqlite_path
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
/var/www/sqlite
#+END_SRC
#+NAME: cgi_filename
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
spine_search
#+END_SRC
#+NAME: cgi_bin_subpath
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
/cgi-bin
#+END_SRC
#+NAME: cgi_search_form_title
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
≅ SiSU Spine search ፨
#+END_SRC
#+NAME: db_sqlite_filename
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
spine.search.db
#+END_SRC
diff --git a/org/config_dub.org b/org/config_dub.org
index 0fb4c9d..60a8a43 100644
--- a/org/config_dub.org
+++ b/org/config_dub.org
@@ -156,7 +156,7 @@
***** generic :generic:
****** build (sdp) :release:
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
configuration "build" {
name "build"
targetType "executable"
@@ -198,7 +198,7 @@ sdp ~master: /home/ralph/grotto/repo/git.repo/utils/spine-x/
*** build
**** debug flags
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
biblio
biblio_sorted
bibliosorted
diff --git a/org/config_env.org b/org/config_env.org
index f07168a..e46d868 100644
--- a/org/config_env.org
+++ b/org/config_env.org
@@ -23,7 +23,7 @@
** nixDevEnv envrc :envrc:
#+HEADER: :tangle ../nixDevEnv.sh
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
if [ -f .envrc ]; then
source_env_if_exists .envrc || source .envrc
fi
@@ -33,7 +33,7 @@ fi
#+NAME: envrc
#+HEADER: :tangle ../.envrc
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
if [ -f .envrc-git-init ]; then
source_env_if_exists .envrc-git-init || source .envrc-git-init
fi
@@ -53,7 +53,7 @@ fi
- ${NixDirEnvVersion}
#+HEADER: :tangle ../.envrc-nix
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
NIX_ENFORCE_PURITY=1
# - https://github.com/nix-community/nix-direnv
NixDirEnvVersion="<<direnv-version>>"
@@ -117,59 +117,59 @@ echo '
*** 3.0.6
#+NAME: direnv-version
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
3.0.6
#+END_SRC
#+NAME: direnv-sha
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
sha256-RYcUJaRMf8oF5LznDrlCXbkOQrywm0HDv1VjYGaJGdM=
#+END_SRC
*** 3.0.4
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
3.0.4
#+END_SRC
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4=
#+END_SRC
*** 3.0.0
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
3.0.0
#+END_SRC
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
sha256-21TMnI2xWX7HkSTjFFri2UaohXVj854mgvWapWrxRXg=
#+END_SRC
*** 2.4.0
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
2.4.0
#+END_SRC
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
sha256-XQzUAvL6pysIJnRJyR7uVpmUSZfc7LSgWQwq/4mBr1U=
#+END_SRC
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
2.3.0
#+END_SRC
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
sha256-Dmd+j63L84wuzgyjITIfSxSD57Tx7v51DMxVZOsiUD8=
#+END_SRC
#+NAME: direnv-sha_
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
sha256-0000000000000000000000000000000000000000000=
#+END_SRC
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
- https://github.com/nix-community/nix-direnv
NixDirEnvSHA="sha256-0000000000000000000000000000000000000000000="
direnv fetchurl https://raw.githubusercontent.com/nix-community/nix-direnv/${NixDirEnvVersion}/direnvrc
@@ -179,7 +179,7 @@ direnv fetchurl https://raw.githubusercontent.com/nix-community/nix-direnv/${Nix
#+HEADER: :tangle ../.envrc-git-init
#+HEADER: :noweb yes
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
if [[ ! -d ./.git ]]; then
git init
git add .
@@ -192,7 +192,7 @@ fi
#+HEADER: :tangle ../.envrc-local
#+HEADER: :noweb yes
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
export SpineVER=$(git describe --long --tags | sed 's/^[ a-z_-]\+\([0-9.]\+\)/\1/;s/\([^-]*-g\)/r\1/;s/-/./g')
export SpineSearchBIN=result/share/cgi-bin
# ❯❯ cgi search form name:
diff --git a/org/config_git.org b/org/config_git.org
index 53c166d..778dce1 100644
--- a/org/config_git.org
+++ b/org/config_git.org
@@ -19,7 +19,7 @@
** .gitignore :gitignore:
#+HEADER: :tangle "../.gitignore"
-#+BEGIN_SRC sh
+#+BEGIN_SRC gitignore
# git ls-files --others --exclude-from=.git/info/exclude
# git check-ignore -v flake.lock
# git clean -ix
@@ -91,7 +91,7 @@ tmp/**
** .gitattributes :gitattributes:
#+HEADER: :tangle "../.gitattributes"
-#+BEGIN_SRC sh
+#+BEGIN_SRC gitattributes
/org export-ignore
.gitattributes export-ignore
/.dub export-ignore
diff --git a/org/config_make.org b/org/config_make.org
index 9581a59..3aec827 100644
--- a/org/config_make.org
+++ b/org/config_make.org
@@ -31,14 +31,14 @@
- meson
#+NAME: meson_version_set
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
0.46
#+END_SRC
- soversion
#+NAME: soversion_version_set
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
0
#+END_SRC
diff --git a/org/config_nix.org b/org/config_nix.org
index c119716..6f40d83 100644
--- a/org/config_nix.org
+++ b/org/config_nix.org
@@ -592,14 +592,14 @@ installPhase = ''
**** github (official)
#+NAME: nixpkgs_url_github
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
github:NixOS/nixpkgs/nixpkgs-unstable
#+END_SRC
**** localhost
#+NAME: nixpkgs_url_local
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
/srv/nix/nixpkgs
#+END_SRC
diff --git a/org/nixpkgs_overlays_d_related.org b/org/nixpkgs_overlays_d_related.org
index a0cc41b..a2c8c37 100644
--- a/org/nixpkgs_overlays_d_related.org
+++ b/org/nixpkgs_overlays_d_related.org
@@ -185,7 +185,7 @@ nix flake update && nix flake check --show-trace && nix flake info && echo "" &&
** .gitignore
#+HEADER: :tangle-NO "../nix-overlays/.gitignore"
-#+BEGIN_SRC sh
+#+BEGIN_SRC gitignore
# git ls-files --others --exclude-from=.git/info/exclude
# git check-ignore -v flake.lock
# git clean -ix
@@ -228,7 +228,7 @@ tmp/**
*** nixDevEnv.sh (.envrc)
#+HEADER: :tangle-NO "../nix-overlays/nixDevEnv.sh"
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
if [ -f .envrc-local ]; then
source_env_if_exists .envrc-local || source .envrc-local
fi
@@ -240,7 +240,7 @@ fi
*** .envrc-local
#+HEADER: :tangle-NO "../nix-overlays/.envrc-local"
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
#if [[ !( -f ./nix-flakes.org) && -f ../dlang-nix-flakes.org ]]; then
# # for editing purpose link to the .org file that creates ./dlang-nix-flakes/ content
# ln -s ../dlang-nix-flakes.org ./nix-flakes.org
@@ -261,7 +261,7 @@ fi
- ${NixDirEnvVersion}
#+HEADER: :tangle-NO "../nix-overlays/.envrc-nix"
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
NIX_ENFORCE_PURITY=1
# - https://github.com/nix-community/nix-direnv
NixDirEnvVersion="<<direnv-version>>"
@@ -288,51 +288,51 @@ use flake .
*** 3.0.6
#+NAME: direnv-version
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
3.0.6
#+END_SRC
#+NAME: direnv-sha
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
sha256-RYcUJaRMf8oF5LznDrlCXbkOQrywm0HDv1VjYGaJGdM=
#+END_SRC
*** 3.0.4
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
3.0.4
#+END_SRC
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4=
#+END_SRC
*** 3.0.0
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
3.0.0
#+END_SRC
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
sha256-21TMnI2xWX7HkSTjFFri2UaohXVj854mgvWapWrxRXg=
#+END_SRC
*** 2.4.0
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
2.4.0
#+END_SRC
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
sha256-XQzUAvL6pysIJnRJyR7uVpmUSZfc7LSgWQwq/4mBr1U=
#+END_SRC
#+NAME: direnv-sha_
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
sha256-0000000000000000000000000000000000000000000=
#+END_SRC
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
- https://github.com/nix-community/nix-direnv
NixDirEnvSHA="sha256-0000000000000000000000000000000000000000000="
direnv fetchurl https://raw.githubusercontent.com/nix-community/nix-direnv/${NixDirEnvVersion}/direnvrc
diff --git a/org/spine_info.org b/org/spine_info.org
index 11a4c92..9a61095 100644
--- a/org/spine_info.org
+++ b/org/spine_info.org
@@ -533,14 +533,14 @@ web-server is configured to find it.
* CHANGELOG :changelog:
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
CHL="CHANGELOG"
git log --pretty=format:'-_-%+s %+as %ae%+h%d%+b' --no-merges \
| sed "/^\\s*$/d" | sed "s/^\([ ]\)*\*/\1-/" | sed "s/ \+$//" | sed "s/^-_-$//" \
> ${CHL}
#+END_SRC
-#+BEGIN_SRC sh
+#+BEGIN_SRC shell
git log --pretty=format:"-_-_%+s %+as %ae%+h%d%+b" --no-merges \
> ${CHL} && sed -i '/^$/d; s/^\([ ]\)*\*/\1-/; s/ \+$//; s/^-_-_//' ${CHL}
#+END_SRC