summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-07 01:01:44 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-07 01:01:44 +0100
commit3bd562a2659e1844a7ecb84a8377eb03332b9e1e (patch)
tree9004111df783a993bc11f61d1db05da8898e76e0
parentbff756281976ea32284561885e0b8ac5e77de085 (diff)
define mdfiles/images in config/submodules/docs/
again: the "depend" variable must never be used for subprojects that point to a subdirectory of the main project, because there's no clean way of handling this in case of error conditions. make it a submodule under config/submodules/. this is for the documentation, including static site generator documentation, and image files (photos). as of this revision, there are now only those "depend" projects defined in config/git/, where the destination directory of the subject is not a subdirectory of the main project, so: in a subsequest revision, i will mitigate an existing bug whereby failure of the dependency project leaves the main one still intact, breaking builds; this revision enables that to be done. from now on, subproject-to-subdirectory-of-main-project will be avoided in config/git/; config/submodules/ will be used. Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--config/git/docs24
-rw-r--r--config/submodule/docs/html/module.cfg3
-rw-r--r--config/submodule/docs/img/module.cfg3
-rw-r--r--config/submodule/docs/module.list3
-rw-r--r--config/submodule/docs/untitled/module.cfg3
5 files changed, 12 insertions, 24 deletions
diff --git a/config/git/docs b/config/git/docs
index 2778b343..22892a21 100644
--- a/config/git/docs
+++ b/config/git/docs
@@ -3,28 +3,4 @@
loc: docs
url: https://codeberg.org/vimuser/untitled
bkup_url: https://notabug.org/untitled/untitled
- depend: mdfiles
- depend: untitledwww
-}
-
-{mdfiles}{
- rev: 20fd775c855428ecff647a42823746863fd57efe
- loc: docs/www/html
- url: https://codeberg.org/libreboot/lbwww
- bkup_url: https://git.disroot.org/libreboot/lbwww
- depend: imgfiles
-}
-
-{imgfiles}{
- rev: 625bb7535d388a235bec47a8ce822cda10b53692
- loc: docs/www/html/site/img
- url: https://codeberg.org/libreboot/lbwww-img
- bkup_url: https://git.disroot.org/libreboot/lbwww-img
-}
-
-{untitledwww}{
- rev: d8e2043c1512eb1171c274559ce82e8093ef393f
- loc: docs/www/untitled
- url: https://codeberg.org/vimuser/untitled-website
- bkup_url: https://notabug.org/untitled/untitled-website
}
diff --git a/config/submodule/docs/html/module.cfg b/config/submodule/docs/html/module.cfg
new file mode 100644
index 00000000..0c5ee4cd
--- /dev/null
+++ b/config/submodule/docs/html/module.cfg
@@ -0,0 +1,3 @@
+subrev="20fd775c855428ecff647a42823746863fd57efe"
+subrepo="https://codeberg.org/libreboot/lbwww"
+subrepo_bkup="https://git.disroot.org/libreboot/lbwww"
diff --git a/config/submodule/docs/img/module.cfg b/config/submodule/docs/img/module.cfg
new file mode 100644
index 00000000..82bcf8b1
--- /dev/null
+++ b/config/submodule/docs/img/module.cfg
@@ -0,0 +1,3 @@
+subrev="625bb7535d388a235bec47a8ce822cda10b53692"
+subrepo="https://codeberg.org/libreboot/lbwww-img"
+subrepo_bkup="https://git.disroot.org/libreboot/lbwww-img"
diff --git a/config/submodule/docs/module.list b/config/submodule/docs/module.list
new file mode 100644
index 00000000..1ad2aecb
--- /dev/null
+++ b/config/submodule/docs/module.list
@@ -0,0 +1,3 @@
+www/untitled
+www/html
+www/html/site/img
diff --git a/config/submodule/docs/untitled/module.cfg b/config/submodule/docs/untitled/module.cfg
new file mode 100644
index 00000000..5608c457
--- /dev/null
+++ b/config/submodule/docs/untitled/module.cfg
@@ -0,0 +1,3 @@
+subrev="d8e2043c1512eb1171c274559ce82e8093ef393f"
+subrepo="https://codeberg.org/vimuser/untitled-website"
+subrepo_bkup="https://notabug.org/untitled/untitled-website"