[gimp-web/oscp] testing.developer.gimp.org: kickstart the future developer website.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/oscp] testing.developer.gimp.org: kickstart the future developer website.
- Date: Sat, 2 Apr 2022 13:54:36 +0000 (UTC)
commit 40a9c286fc3008232b9d6c6f56b94893422b1775
Author: Jehan <jehan girinstud io>
Date: Sat Apr 2 15:43:52 2022 +0200
testing.developer.gimp.org: kickstart the future developer website.
I could have started from the existing developer.gimp.org contents, but
right now, it seems a mix of XML source and generated HTML. We'd need to
figure out how the HTML was generated (probably with docbook?) rather
than using already-generated files (the last thing we want is editing
these directly).
Also since it uses outdated layout logics, from the 90s, with tables and
such, and additionally maybe a huge part of the data is already outdated
and probably more than half will be completely outdated when GIMP 3.0
will be out, maybe it's a good idea to get back to the bases.
For this we will want to extract existing data, clean what's ok, and
maybe put it in a simpler-to-update format, like Mardown or RST. The
goal will be to generate a static page which should not have to be
updated too often, with entry points for core and plug-in developers,
API and such.
So this first commit is only a "hello world" to see if I get the website
creation right. See:
https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/789
testing.developer.gimp.org/Dockerfile | 18 ++++++++++++++++++
.../app_data/httpd-cfg/testing.developer.gimp.org.conf | 15 +++++++++++++++
2 files changed, 33 insertions(+)
---
diff --git a/testing.developer.gimp.org/Dockerfile b/testing.developer.gimp.org/Dockerfile
new file mode 100644
index 00000000..d59a9270
--- /dev/null
+++ b/testing.developer.gimp.org/Dockerfile
@@ -0,0 +1,18 @@
+FROM debian:testing
+USER root
+
+RUN mkdir html && \
+ cd html && \
+ echo "Hello World" > index.html
+
+FROM centos/httpd-24-centos7
+USER root
+
+COPY app_data /opt/app-root/src
+COPY --from=0 /html /opt/app-root/src/htdocs
+RUN chown -R 1000580000:1000580000 /opt/app-root/src
+
+EXPOSE 8080
+
+USER 1000580000
+ENTRYPOINT ["/usr/bin/run-httpd"]
diff --git a/testing.developer.gimp.org/app_data/httpd-cfg/testing.developer.gimp.org.conf
b/testing.developer.gimp.org/app_data/httpd-cfg/testing.developer.gimp.org.conf
new file mode 100644
index 00000000..37c6765e
--- /dev/null
+++ b/testing.developer.gimp.org/app_data/httpd-cfg/testing.developer.gimp.org.conf
@@ -0,0 +1,15 @@
+<VirtualHost *:8080>
+ ServerName testing.developer.gimp.org
+ ServerAlias testing-gimp-developer.openshift.gnome.org
+
+ ServerAdmin webmaster gimp org
+ DocumentRoot /opt/app-root/src/htdocs
+</VirtualHost>
+
+<Directory "/opt/app-root/src/htdocs">
+ Require all granted
+</Directory>
+
+<LocationMatch "^/.well-known/acme-challenge">
+ RedirectMatch ^(.*) https://letsencrypt.gnome.org$1
+</LocationMatch>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]