Difference between revisions of "Airpaper"

From AIRWiki
Jump to: navigation, search
m (For administrators)
(For administrators)
Line 22: Line 22:
  
 
To add a new user, do the following:
 
To add a new user, do the following:
* Login to ''savane.elet.polimi.it'' with your Dei account
+
* Go to [[https://acme.elet.polimi.it/]] and login with your Dei account
* Issue the command <pre>htpasswd -m /var/www/trac/airpaper/conf/htpasswd <new_user_name></pre> and type the new user's password when asked.  Substitute ''<new_user_name>'' with the username of your choice; it doesn't have to be one of Savane users. Please notice that users have no chance to change passwords by themselves.
+
* Select 'Accounts' -> 'New account', and fill in the data
* If the new user must be able to write or modify new content, edit the file ''/var/www/trac/airpaper/conf/authz'' and add the new user to the ''authors'' group. You'll find something like this:
+
* Edit the file ''trac.ws.dei.polimi.it:/var/www/trac/<REPOSITORY>/conf/authz''; the syntax is described here: [[https://svn.ws.dei.polimi.it/authz.plp]]. Editing is done in three steps:
[groups]
+
** Copy the file to your computer using scp: <pre>scp -p <YOUR_USERNAME>@trac.ws.dei.polimi.it:/var/www/trac/airbat/conf/authz /tmp/</pre>
authors = dduck, mmouse, goofy
+
** Edit the file ''/tmp/authz''
 +
** Copy the file back to the server: <pre>scp -p /tmp/authz <YOUR_USERNAME>@trac.ws.dei.polimi.it:/var/www/trac/airbat/conf/</pre>

Revision as of 14:59, 20 April 2009

Airpaper (authentication needed) is the repository of papers written at Airlab.

It is based on Subversion; you can find some help in configuring Subversion in the Configuring Subversion page, but you don't need the key and Ssh part as Airpaper uses Http authentication. https://svn.elet.polimi.it/airpaper/ is the repository Url when you checkout your working copy.

You have to be added as a user to the project by one of the administrators, even if you already are a user of Dei's Savane. Administrators currently are: Bernardo Dal Seno, Matteo Matteucci. (New administrators, please add your names here)

Structure

This is a partial structure of the repository:

  • bci: BCI-related stuff
  • common: common stuff
    • bib: bibliography (Bibtex files, databases and styles)
    • images: obvious
  • wheelchair: Lurch-related stuff

All files related to a paper should be contained in one directory; please use a name that is clear and begins with a year, e.g., 2009_Science, 2010_Nature_Higgs.

Rules

TODO

For administrators

To add a new user, do the following:

  • Go to [[1]] and login with your Dei account
  • Select 'Accounts' -> 'New account', and fill in the data
  • Edit the file trac.ws.dei.polimi.it:/var/www/trac/<REPOSITORY>/conf/authz; the syntax is described here: [[2]]. Editing is done in three steps:
    • Copy the file to your computer using scp:
      scp -p <YOUR_USERNAME>@trac.ws.dei.polimi.it:/var/www/trac/airbat/conf/authz /tmp/
    • Edit the file /tmp/authz
    • Copy the file back to the server:
      scp -p /tmp/authz <YOUR_USERNAME>@trac.ws.dei.polimi.it:/var/www/trac/airbat/conf/