by Jan Malakhovski
Create a Git or Mercurial repository somewhere. Let <cloneurl> = <public URL of your repository>
.
Run the following (for Mercurial, s/git/hg/
everywhere below):
somewhere, create a README
(or, better, README.markdown
) in there. Make sure your README is not empty (or else git
won’t work)!
Important! Check that cloning and pulling works from the outside of your network.
Run
from rain university server AND from your home computer.
When it doesn’t work the first thing to check is the file modes, e.g. given an git
repository at /home/ctd/<something>/<you>/public_html/unix
on rain do
chmod 755 /home/ctd/<something>/<you>
chmod 755 /home/ctd/<something>/<you>/public_html
chmod -R 755 /home/ctd/<something>/<you>/public_html/unix
Services like bitbucket and github solve these problems for you without your input, but then they will store your first embarrassing attempts at coding indefinitely.
If your repository needs to be pulled over SSH, here is my public key for this.
Send a message to <your group university entrance year>
(currently year2011
or year2010
) at oxij.org
from your contact e-mail with the following Subject:
field:
<fn ru> <ln ru> | <fn en> <ln en> | <course> | <"git" or "hg"> | <cloneurl>
where fn — first name, ln — last name, ru — in Russian, en — in English.
Currently <course>
has two possible values:
os
for Operating Systemsfp
for Functional ProgrammingExamples:
Василий Петров | Vasily Petrov | os | git | http://example.com/petrov/unix.git
Василий Петров | Vasily Petrov | fp | hg | http://example.com/petrov/fp
As for message body anything goes, it’s completely ignored.
You can ask questions via the same e-mail by sending a message with
<your group university entrance year> | <topic>
(case insensitive) Subject:
.
Example:
year2011 | Когда оценки появяться в ЦДО?
Message body is not ignored in this case.
Subject:
fields not formatted as above will be ignored. (As I must know your rain-year-ID to answer your question, and probably also Cc:
it to everyone.)Find yourself in pullingmachine’s status.txt
. It updates at the end of each day on normal days and every two hours near the end a module. A string after a repository name in the status is the date of the last successful pull.
If I teach you (your group) two courses, but your status shows a single repository, then you did something wrong. See above.