Kitten Technologies
Check-in [08d2a451cb]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Comments in deploy.sh are now printed out, for debugging.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:08d2a451cb2ed884aa1495d4afedccd9e5a444cd
User & Date: alaric 2014-04-07 22:39:00
Context
2014-10-15
15:44
Typo! (spotted by suppi in #chicken) check-in: 25c64c3673 user: alaric tags: trunk
2014-04-07
22:39
Comments in deploy.sh are now printed out, for debugging. check-in: 08d2a451cb user: alaric tags: trunk
22:26
Added speakd check-in: 46a36b4778 user: alaric tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to deploy.sh.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
..
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60

61
62
63
#!/bin/sh

PROJECTS="ugarit banterpixra tangle argon simple-graphics quick-ref-cards magic-pipes speakd"

# Generate it
hyde

# Set up Fossil CGI stuff
mv out/project/htaccess out/project/.htaccess
chmod a+rx out/project/*

# Generate METADATA.rdf
(
    echo "<?xml version=\"1.0\"?>"
    echo "<!-- This file is auto-generated by deploy.sh -->"
    echo "<!DOCTYPE RDF>"
    echo "<RDF xmlns=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\""
    echo "     xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\""
    echo "     xmlns:dc=\"http://purl.org/dc/elements/1.1/\""
................................................................................
        echo "   </doap:Project>"
        echo "  </foaf:made>"
    done
    echo " </foaf:Organisation>"
    echo "</RDF>"
) > METADATA.rdf

# Upload the site
rsync -avz out/ snell-systems@love.warhead.org.uk:kitten-technologies/public_html

# Upload skin
fossil configuration export skin fossil-skin
fossil configuration push skin

# Propogate skin to projects
for project in $PROJECTS
do

    fossil configuration import fossil-skin -R ~/personal/fossils/$project.fossil
    fossil configuration push skin -R ~/personal/fossils/$project.fossil
done




|


|



|







 







|


|



|


>



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
..
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/bin/sh

PROJECTS="ugarit banterpixra tangle argon simple-graphics quick-ref-cards magic-pipes speakd"

echo "Generate site"
hyde

echo "Set up Fossil CGI stuff"
mv out/project/htaccess out/project/.htaccess
chmod a+rx out/project/*

echo "Generate METADATA.rdf"
(
    echo "<?xml version=\"1.0\"?>"
    echo "<!-- This file is auto-generated by deploy.sh -->"
    echo "<!DOCTYPE RDF>"
    echo "<RDF xmlns=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\""
    echo "     xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\""
    echo "     xmlns:dc=\"http://purl.org/dc/elements/1.1/\""
................................................................................
        echo "   </doap:Project>"
        echo "  </foaf:made>"
    done
    echo " </foaf:Organisation>"
    echo "</RDF>"
) > METADATA.rdf

echo "Upload the site"
rsync -avz out/ snell-systems@love.warhead.org.uk:kitten-technologies/public_html

echo "Upload skin"
fossil configuration export skin fossil-skin
fossil configuration push skin

echo "Propogate skin to projects"
for project in $PROJECTS
do
    echo "Skinning $project..."
    fossil configuration import fossil-skin -R ~/personal/fossils/$project.fossil
    fossil configuration push skin -R ~/personal/fossils/$project.fossil
done