Developers: the 0install web-site
The 0install.net site is held in a Git repository. If you want to work on it, you can clone it like this:
git clone git://git.code.sf.net/p/zero-install/code htdocsOr, if you have write access (and you've registered your SSH key with sf.net):
git clone ssh://username@git.code.sf.net/p/zero-install/code htdocs
Run 'make' to generate the .html files from the .xml ones. The XML syntax is basically HTML, but an XSLT stylesheet generates the navigation.
To add a new page:
- Copy one of the existing .xml files to create the new page.
- Add it to the Makefile so it gets built.
- Add it to structure.xml to put it in the navigation.
- Add it to Git with "git add page.xml".
To update the actual site:
- If you don't have admin access, send a patch / pull request to the mailing list.
- If you have shell and Git access:
- Make sure you're using the SSH writable repository location (not git:).
- Push your changes to the repository's master (not "live") branch:
git push origin master
- Run /home/project-web/zero-install/update-from-git from the shell server. I use this command:
ssh -o PasswordAuthentication=false \ username,zero-install@shell.sourceforge.net \ /home/project-web/zero-install/update-from-git