5.2. Updating the Bochs website content

The main HTML content of the Bochs website (except online documentation) is stored in the Bochs-sfsite GIT repository on SourceForge. Unlike other SF projects you don't need to upload these files to the Bochs project webspace. Running a simple 'git pull' on the SF shell is enough after new the files have been pushed to the repository. The example below shows how to start the SF shell with SSH and to update the HTML files.

ssh -t vruppert,bochs@shell.sourceforge.net create

Requesting a new shell for "vruppert" and waiting for it to start.
queued... creating... starting...

This is an interactive shell created for user vruppert,bochs.
Use the "timeleft" command to see how much time remains before shutdown.
Use the "shutdown" command to destroy the shell before the time limit.
For path information and login help, type "sf-help".

[vruppert@shell-24002 ~]$ cd /home/project-web/bochs/htdocs/
[vruppert@shell-24002 htdocs]$ git pull /home/git/p/bochs/Bochs-sfsite.git/
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 2), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From /home/git/p/bochs/Bochs-sfsite
 * branch            HEAD       -> FETCH_HEAD
Updating 7fca1d7..b1aca46
Fast-forward
 index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
[vruppert@shell-24002 htdocs]$ shutdown
Requesting that your shell be shut down.
This request will be processed soon.
[vruppert@shell-21003 htdocs]$ Connection to 10.60.21.43 closed by remote host.
Connection to 10.60.21.43 closed.
Connection to shell.sourceforge.net closed.