hardcoded directory in setup.sh: gitroot=/a/bin/githtml. These
directories are managed separately, mostly by rsyncing them.
-Only the latest version of resume is kept in the resume branch which
+Only the latest version of resume is kept in the "r" branch which
gets rebased on master.
./build.rb is not a generalized site generator, it has some content
--- /dev/null
+<p>I actively maintain these projects. Please use them and <a href="/about-me.html">send me</a> feedback, patches, etc.</p>
+
+<p>Once a project has a few users, I also put it on my
+<a href="https://gitlab.com/users/iankelling/projects">gitlab.com account</a>
+</p>
+<h4>Contact Info</h4>
<ul>
<li><a href="mailto:ian@iankelling.org">ian@iankelling.org</a></li>
<li><a href="ian-kelling-pubkey.asc">gpg key: 0199 AD30 2539 BA2C D12E ABF6 AACC C240 E969 C67B</a></li>
<li><a href="https://pump.iankelling.org/iank">iank@pump.iankelling.org</a>
on <a href="https://pump.io">pump.io</a></li>
<li><a href="https://mast.iankelling.org/@iank">iank@mast.iankelling.org</a> on <a href="https://mastodon.social/about">Mastodon</a></li>
+</ul>
+
+<h4>Other online activities</h4>
+<ul>
<li><a href="https://ofswiki.org">ofswiki.org (wiki I run, mostly covering mediawiki admin)</a></li>
<li><a href="https://github.com/ian-kelling/">GitHub profile</a></li>
<li><a href="https://gitlab.com/iankelling">GitLab profile</a></li>
}
.page_header,
-.page_footer {
+.page_footer,
+.index_include {
margin-bottom: 0;
margin-left: auto;
margin-right: auto;
cd $gitroot
shopt -s extglob
+shopt -s nullglob
_git_desc_readme() {
while read -r line; do
done < README*
}
-dirs=()
-for d in $gitroot/*; do
- if [[ -d $d && ! -L $d ]]; then
- for sub in $d/*; do
- dirs+=($sub)
- done
- else
- dirs+=($d)
- fi
-done
-
gitweb-descriptions() {
for d in ${dirs[@]}; do
- d=$(readlink -f $d)
- cd $d/..
- e ${PWD##*/}
- shopt -s nullglob
+ cd $(readlink -f $d)/..
+ if [[ ${personalized[${d##*/}]} ]]; then
+ echo "$pcategory" >.git/category
+ fi
f=(!(LICENSE|COPYING|README|.git))
- shopt -u nullglob
if [[ ${#f[@]} == 1 && ! -d $f ]]; then
if [[ ! -x $f ]]; then
if [[ $f == *-function ]]; then
fi
done
}
+
+tmp=(
+ bashrc
+ automated-distro-installer
+ buildscripts
+ config-files
+ distro-setup
+ dot-emacs
+ fai-basefiles
+ ian-misc-bash
+ iankelling.org
+)
+declare -A personalized
+for p in ${tmp[@]}; do personalized[$p]=true; done
+pcategory="Personalized for my use. Useful as examples or to copy specific parts"
+
+
+dirs=()
+for d in $gitroot/*; do
+ if [[ ! -L $d ]]; then
+ continue
+ fi
+ dirs+=($d)
+done
+
gitweb-descriptions "$@"
push @stylesheets, "/css/gitweb-site.css";
our \$favicon = '/assets/favicon.png';
# default is 25, cuts off descriptions.
-our \$projects_list_description_width = 40;
+our \$projects_list_description_width = 50;
# a bit superflous since they are all me
our \$omit_owner = true;
# highlight scripts with no extension, uses a patch
# that is on it's way upstream.
our \$highlight_force = 1;
+our \$home_text = "$script_dir/_site/gitweb_home.html";
+our \$projects_list_group_categories = 1;
EOF
apache-site -p $port - $domain <<EOF