src/cgit: Add existing configuration

This contains the old header and footer.  Committing this first will allow
us to easily see the diff.
master
Mike Gerwitz 2019-01-17 00:40:53 -05:00
parent 6d9defe292
commit f0a08f8755
Signed by: mikegerwitz
GPG Key ID: 8C917B7F5DC51BA2
7 changed files with 327 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
*.html
!/src/about/resume.html
!src/cgit/*.html
*.meta
*.mk
/post/list

4
src/cgit/README 100644
View File

@ -0,0 +1,4 @@
cgit Configuration
==================
These files are used by cgit at /projects.

171
src/cgit/cgitrc 100644
View File

@ -0,0 +1,171 @@
#
# cgit config
# see cgitrc(5) for details
root-title=Projects
root-desc=Free Software projects, configurations, and playthings
#root-readme=/var/gitrepos/README.html
logo-link=https://mikegerwitz.com/
virtual-root=/projects/
enable-http-clone=1
clone-url=https://mikegerwitz.com/projects/$CGIT_REPO_URL
snapshots=tar.gz tar.bz2 zip
enable-index-owner=0
enable-index-links=1
enable-commit-graph=1
enable-log-filecount=1
enable-log-linecount=1
repository-sort=name
branch-sort=age
max-stats=quarter
head-include=/var/gitrepos/head.html
header=/var/gitrepos/header.html
footer=/var/gitrepos/footer.html
css=/projects/static/cgit.css
logo=
source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
about-filter=/usr/lib/cgit/filters/about-formatting.sh
readme=:README.md
readme=:README
section-sort=0
section=libs / frameworks
repo.url=easejs
repo.name=GNU ease.js
repo.path=/var/gitrepos/easejs.git
repo.desc=Classical object-oriented framework for JavaScript
#repo.logo=/images/heckert-gnu.png
repo.url=liza
repo.path=/var/gitrepos/liza.git
repo.desc=Data collection, validation, and processing framework for JavaScript [employer project]
repo.url=hoxsl
repo.path=/var/gitrepos/hoxsl.git
repo.desc=Higher-order logic for XSLT 2.0
repo.url=shspec
repo.path=/var/gitrepos/shspec.git
repo.desc=BDD framework for shell
section=languages / compilers
repo.url=tame
repo.name=TAME
repo.path=/var/gitrepos/tame.git
repo.desc=The Adaptive Metalanguage [employer project]
repo.url=liza-proguic
repo.path=/var/gitrepos/liza-proguic.git
repo.desc=Declarative DSL for Liza programs [employer project]
repo.url=literate-xsl
repo.path=/var/gitrepos/literate-xsl.git
repo.desc=Literate documentation weaver for XSLT 2.0
section=misc
repo.url=night
repo.path=/var/gitrepos/night.git
repo.desc=Nighttime hacks: playful creativity as a form of relaxation
repo.url=git-shortmaps
repo.path=/var/gitrepos/git-shortmaps.git
repo.desc=Simple one--three-character bash aliases for Git with tab completion
repo.url=dotfiles
repo.path=/var/gitrepos/dotfiles.git
repo.desc=Personal system configuration and miscellaneous scripts
section=talks
repo.url=sapsf
repo.name=SAPSF
repo.path=/var/gitrepos/sapsf.git
repo.desc=The Surreptitious Assault on Privacy, Security, and Freedom (LibrePlanet 2017)
repo.url=ethics-void
repo.name=The Ethics Void
repo.path=/var/gitrepos/ethics-void.git
repo.desc=The Ethics Void (LibrePlanet 2018)
repo.url=online-freedom
repo.name=Restore Online Freedom!
repo.path=/var/gitrepos/online-freedom.git
repo.desc=Restore Online Freedom! (LibrePlanet 2016)
section=papers
repo.url=coope
repo.name=COOPE
repo.path=/var/gitrepos/coope.git
repo.desc=Classical Object-Oriented Programming with ECMAScript (2012)
repo.url=cptt
repo.name=cptt
repo.path=/var/gitrepos/cptt.git
repo.desc=Discussion on Compilers: Principles, Techniques, and Tools (2013)
section=websites
repo.url=repo2html
repo.path=/var/gitrepos/repo2html.git
repo.desc=Repository-agnostic HTML generator (used to generate mikegerwitz.com)
repo.url=thoughts
repo.path=/var/gitrepos/thoughts.git
repo.desc=Thoughts and Ramblings (mikegerwitz.com)
section=on-hold
repo.url=guile-mime
repo.path=/var/gitrepos/guile-mime.git
repo.desc=MIME library and globs2 parser for Guile
repo.url=lasertank-js
repo.path=/var/gitrepos/lasertank-js.git
repo.desc=Clone of the classic 1990s game LaserTank
repo.url=pkgsh
repo.path=/var/gitrepos/pkgsh.git
repo.desc=Library to aid in the factoring of large programs written in shell
section=archive
repo.url=epmanners
repo.path=/var/gitrepos/epmanners.git
repo.desc=Teach LaTeX some manners to respect \everypar
repo.url=gsgp
repo.path=/var/gitrepos/gsgp.git
repo.desc=GNU Screen Gaming Platform
repo.url=jstonic
repo.path=/var/gitrepos/jstonic.git
repo.desc=Miscellaneous library built upon GNU ease.js
repo.url=rectest
repo.path=/var/gitrepos/rectest.git
repo.desc=Browser-based recollection test
repo.url=lvspec
repo.path=/var/gitrepos/lvspec.git
repo.desc=LaTeX specification library for LoVullo Associates with a focus on Liza/TAME [employer project]

View File

@ -0,0 +1,74 @@
</div>
<footer>
<div id="rss"><a href="rss.xml">RSS</a></div>
<hr />
<div class="pre-copyright"> <a href="/about/inside" id="gnuinside">
<img src="/images/gnu-inside.png" alt="GNU/Linux Inside!" />
</a>
<div class="bimgs">
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"
><img src="/images/cc-bysa-88x31.png"
alt="[CC BY-SA]"
title="Creative Commons Attribution-ShareAlike"
width="88" height="31" border="0"
/></a>
<a href="http://www.fsf.org/register_form?referrer=5804"
><img src="/images/fsf-member.png"
alt="[FSF Associate Member since 2007-10-31]"
title="FSF Associate Member"
width="125" height="31" border="0"
/></a>
<a href="http://www.defectivebydesign.org/join/button"
><img src="/images/elim-drm.gif"
alt="[ Eliminate DRM! ]"
title="Eliminate DRM!"
width="88" height="30" border="0"
/></a>
</div></div>
<div class="pre-copyright"> <div id="selflinks">
<a href="https://gitlab.com/u/mikegerwitz">
<img src="/images/gitlab.svg"
alt="See me on GitLab"
title="See me on GitLab"
width="42" height="42" border="0"
/>
</a>
<a href="/about/githubbub">
<img src="/images/octoright-42.png"
alt="Don't see me on GitHub"
title="Don't see me on GitHub"
width="42" height="42" border="0"
/>
</a>
<a href="http://www.fsf.org/register_form?referrer=5804">
<img src="/images/fsf-42.png"
alt="FSF Member #5804"
title="FSF Member #5804"
width="42" height="42" border="0"
/>
</a>
<a href="https://savannah.gnu.org/users/mikegerwitz">
<img src="/images/meditate-42.png"
alt="See me on Savannah"
title="See me on Savannah"
width="42" height="42" border="0"
/>
</a>
<a href="https://news.ycombinator.com/user?id=mikegerwitz"
title="mikegerwitz on Hacker News"
class="hn-icon">HN</a>
</div></div>
<div id="copyright">
Copyright &copy; 2012&ndash;2017 Mike Gerwitz.
This content is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.
</div>
<div>Output generated by cgit</div>
</footer>

View File

@ -0,0 +1,2 @@
<link rel="stylesheet" type="text/css" href="/style.css" />
<meta name="viewport" content="initial-scale=1.0" />

View File

@ -0,0 +1,9 @@
<div class="body-index no-sidebar">
<header>
<h1 class="title"><a href="http://mikegerwitz.com">Mike Gerwitz</a></h1>
<h2 class="desc">Free Software Hacker+Activist</h2>
</header>
<ul id="menu">
<li><a href="/about">About</a></li><li><a href="/projects">Projects</a></li><li><a href="/papers">Papers</a></li><li><a href="/talks">Talks</a></li><li><a href="//social.mikegerwitz.com/" title="My GNU Social Instance">Social</a></li>
</ul>

View File

@ -706,6 +706,72 @@ footer .site-nav > nav > ul > li a {
}
/**
* cgit customization
**/
div#cgit div.content {
padding: 2em 0em; /* remove left/right margin */
}
/* repo name and desc, above tabs */
div#cgit table#header td.main {
font-size: 1.4em; /* h2 font size (see above) */
}
div#cgit table#header td.sub {
border-top: 0px;
}
div#cgit #header {
margin: inherit; /* undo previous conflicting style */
}
/* reduce tab page separator height */
div#cgit table.tabs {
border-bottom-width: 1px;
}
div#cgit table.tabs td a {
padding: 0.25ex 0.75em 0ex;
}
div#cgit table.tabs td a.active {
background-color: inherit;
border-bottom: 3px solid #ccc;
}
div#cgit div.content {
border-bottom: inherit; /* we have our own footer */
}
/* we have limited width, so wrap and compensate */
div#cgit table.list.nowrap td {
white-space: inherit;
text-align: left;
}
div#cgit table.list.nowrap td.sublevel-repo,
div#cgit table.list.nowrap td .age-months {
white-space: nowrap;
}
div#cgit table.list.nowrap tr {
vertical-align: top;
}
div#cgit table.list tr:not(.nohover) td {
padding-top: 0.5ex;
padding-bottom: 0.5ex;
}
/* getting creative...separate sections */
div#cgit table.list tr:not(.nohover) + tr.nohover td {
padding-top: 1ex;
}
/* reduce headings relative to surrounding page */
div#cgit h1 { font-size: 1.4em; }
div#cgit h2 { font-size: 1.2em; }
div#cgit h3 { font-size: 1.1em; }
div#cgit h4 { font-size: 1.0em; }
/*** https://github.com/jgm/highlighting-kate/blob/master/css/hk-tango.css ***/
/* GNU GPLv2 */
/* Loosely based on pygment's tango colors */