pile

Not quite a web "stack"; more orderly than a web "heap", hopefully?
git clone https://git.kevinlegouguec.net/pile
Log | Files | Refs

README.org (939B)


      1 * File layout
      2 - HOME/git (=GITDIR=)
      3   - REPO
      4     - <bare repo content>
      5     - description
      6     - owner (default: GECOS full name)
      7   - .tools
      8     - pile/git
      9       - tracked: add-repo, bootstrap, post-receive, tools.env
     10       - configuration: settings
     11 - WWW/git.DOMAIN (=WWWDIR=)
     12   - index.html
     13   - <stagit site resources: favicon, logo, style>
     14   - REPO
     15     - <bare repo content>
     16     - <stagit html content>
     17     - <stagit repo resources: description, owner, url>
     18 * Tools
     19 ** bootstrap
     20 - create GITDIR/.tools/install
     21 - clone & build & install libgit2, stagit
     22 - install stagit site resources in WWWDIR
     23 ** add repo
     24 - setup WWWDIR/REPO
     25   - git init --bare
     26   - setup stagit repo resources
     27   - link stagit site resources
     28 - git remote add www WWWDIR/REPO
     29 - hooks/post-receive → GITDIR/.tools/pile/git/post-receive
     30 - run post-receive
     31 ** post-receive
     32 - source tools.env
     33 - git push www
     34 - cd WWWDIR/REPO
     35   - update-server-info
     36   - stagit
     37 - stagit-index