diff options
author | Adam Spragg <adam@spra.gg> | 2018-06-22 16:24:10 +0100 |
---|---|---|
committer | Adam Spragg <adam@spra.gg> | 2018-06-22 16:24:10 +0100 |
commit | b830fd2107fd092a9c4f749b88b68412046758ab (patch) | |
tree | ef7e5d29c1dc8dbf145d85abbb131e39867d517c | |
parent | add7b6b26d3751a4142a81d238bc788019993e46 (diff) |
Add the repository for the website to the website
How very meta!
-rw-r--r-- | apache2.conf | 10 | ||||
-rw-r--r-- | cgitrc | 12 | ||||
-rw-r--r-- | html/projects/index.php | 29 | ||||
l--------- | html/projects/spragg-ssl.co.uk.git | 1 | ||||
l--------- | html/style/cgit | 1 |
5 files changed, 44 insertions, 9 deletions
diff --git a/apache2.conf b/apache2.conf index 3cb3ab7..a29a16d 100644 --- a/apache2.conf +++ b/apache2.conf @@ -178,6 +178,16 @@ # Enable user-dirs UserDir public_html + # Enable cgitrc at /projects/cgit + SetEnv CGIT_CONFIG /srv/www/spragg-ssl.co.uk/cgitrc + ScriptAlias /projects/cgit/ "/usr/lib/cgit/cgit.cgi/" + RedirectMatch ^/projects/cgit$ /projects/cgit/ + <Directory "/usr/lib/cgit/"> + AllowOverride None + Options ExecCGI FollowSymlinks + Require all granted + </Directory> + # Enable the STAG trac instance over WSGI #WSGIScriptAlias /c/STAG/trac /srv/www/spragg-ssl.co.uk/html/c/STAG/trac/cgi-bin/trac.wsgi </VirtualHost> @@ -0,0 +1,12 @@ +# +# cgit config +# see cgitrc(5) for details + +css=/style/cgit/cgit.css +logo=/style/cgit/cgit.png + +repo.url=spragg-ssl.co.uk +repo.path=/srv/git/spragg-ssl.co.uk.git +repo.desc=The spragg-ssl.co.uk website +repo.owner=adam@spragg-ssl.co.uk +repo.clone-url=https://spragg-ssl.co.uk/projects/spragg-ssl.co.uk.git diff --git a/html/projects/index.php b/html/projects/index.php index c661add..b995ccf 100644 --- a/html/projects/index.php +++ b/html/projects/index.php @@ -8,16 +8,27 @@ <?php echo indent(site_header('Projects'), 3); ?> </header> <main> - <p>Public projects that I've worked on/contributed to...</p> + <p>Projects that I've written, worked on, or contributed to, which I am able to link to here...</p> - <h2><a href="http://xmlsoft.org/">libxml2</a></h2> - <h3><a href="https://mail.gnome.org/archives/xml/2010-October/thread.html#00002">Add new pretty-printing and sorting options for saving XML</a></h3> - <p>Commits:</p> - <ol class="commit"> - <li><a href="https://gitlab.gnome.org/GNOME/libxml2/commit/8b877135a38aac58141e81c2894bc28ad7f0e642">8b877135a38aac58141e81c2894bc28ad7f0e642 - Force _xmlSaveCtxt.format to be 0 or 1</a></li> - <li><a href="https://gitlab.gnome.org/GNOME/libxml2/commit/5f9d9ceb3dd2c084ec8646fd03ba3ab3e6055767">5f9d9ceb3dd2c084ec8646fd03ba3ab3e6055767 - Fix xmllint to use format=1 for default formatting</a></li> - <li><a href="https://gitlab.gnome.org/GNOME/libxml2/commit/d2e62311cd15651e68f921167c7fcf05b19378f9">d2e62311cd15651e68f921167c7fcf05b19378f9 - Add xmlSaveOption XML_SAVE_WSNONSIG</a></li> - </ol> + <section> + <h2><a href="https://spragg-ssl.co.uk/">The spragg-ssl.co.uk website</a></h2> + <ul class="commit"> + <li>Browsable repository: <a href="cgit/spragg-ssl.co.uk/">cgit/spragg-ssl.co.uk</a></li> + <li>Cloneable repository: <a href="spragg-ssl.co.uk.git">spragg-ssl.co.uk.git</a></li> + </ul> + <p>Hm. Why does browse→browsable (no "e"), but clone→cloneable (with "e")?</p> + </section> + + <section> + <h2><a href="http://xmlsoft.org/">libxml2</a></h2> + <h3><a href="https://mail.gnome.org/archives/xml/2010-October/thread.html#00002">Add new pretty-printing and sorting options for saving XML</a></h3> + <p>Commits:</p> + <ol class="commit"> + <li><a href="https://gitlab.gnome.org/GNOME/libxml2/commit/8b877135a38aac58141e81c2894bc28ad7f0e642">8b877135a38aac58141e81c2894bc28ad7f0e642 - Force _xmlSaveCtxt.format to be 0 or 1</a></li> + <li><a href="https://gitlab.gnome.org/GNOME/libxml2/commit/5f9d9ceb3dd2c084ec8646fd03ba3ab3e6055767">5f9d9ceb3dd2c084ec8646fd03ba3ab3e6055767 - Fix xmllint to use format=1 for default formatting</a></li> + <li><a href="https://gitlab.gnome.org/GNOME/libxml2/commit/d2e62311cd15651e68f921167c7fcf05b19378f9">d2e62311cd15651e68f921167c7fcf05b19378f9 - Add xmlSaveOption XML_SAVE_WSNONSIG</a></li> + </ol> + </section> <p style="margin-top: 3em;">To be continued...</p> </main> diff --git a/html/projects/spragg-ssl.co.uk.git b/html/projects/spragg-ssl.co.uk.git new file mode 120000 index 0000000..3ff43a9 --- /dev/null +++ b/html/projects/spragg-ssl.co.uk.git @@ -0,0 +1 @@ +/srv/git/spragg-ssl.co.uk.git
\ No newline at end of file diff --git a/html/style/cgit b/html/style/cgit new file mode 120000 index 0000000..29621f2 --- /dev/null +++ b/html/style/cgit @@ -0,0 +1 @@ +/usr/share/cgit
\ No newline at end of file |