Digital Fabrication Principles and Practices (Jan 18)



First lesson: all together, we can see the tools used to set the conference call and we are listening all sites intervention in the world which go to participate to the session of 2012.ter that, we have to apply the Mercurial software with the crypto key allowing each student to keep up to date his web site.


I did  receive by email what has to be done.
The day before I did  install the Mercurial on my computer and also TortoiseHG which is doing the same thing that Mercurial but through a graphical interface.


After you have installed Mercurial

clone the archive:
hg clone -e "ssh -p 846 -i ~/.ssh/keys/academy" ssh://hg@fab.cba.mit.edu/academy.2012 academy.2012

put the keys in place:
echo -e "\n[ui]\nssh = ssh -p 846 -i ~/.ssh/keys/academy" >> academy.2012/.hg/hgrc

then name your archive as you wish, and go to the root directory:
cd "archive name"

specify your name in the hgrc file:
open .hg (the hidden dir wil open

then open the hgrc file in a text editor:
LEAVE whats in there and add the following lines:

username = Alex Schaub <alex@waag.org>

[extensions]

convert =

fetch =

[hooks]

changegroup = hg update >&2

Now you are up and running

next thing is to try to create a page in our directory which I already created


Of course the indication above have to be applied with the setting for my own account.
Globaly it did work but as when I was doing some change I was doing it directly in folder. Then to keep updated the folder on teh remote web site, it was not working.
I needed the intervention of Bas Withagen to solve the problem I did create. I did also create a conflict as I have to follow a rule regarding capital letters, small letters and space between letters.


-------- Message original --------
Sujet:     Re: collision
Date :     Fri, 27 Jan 2012 13:43:41 +0100
De :     Heloisa Neves <heloisadominguesneves@gmail.com>
Pour :     Tomas Diez <tomasdiez@gmail.com>
Copie à :     Neil Gershenfeld <neil.gershenfeld@cba.mit.edu>, class@fabacademy.org


is this?

abortado: conflito de maiúsculas e minúsculas entre Web/labs/amsterdam/Mikaël Le Bigot/moi.html e Web/labs/amsterdam/Mikaël Le Bigot/moi.html


So, I've really learnt that I have to becareful with this tool which is quite sensitive to some rules to avoid issue for the all people.
I hope and I will do my best to avoid that type of problem again.


These are the commands that I am typing to keep up-to-date my web page and the web page that other students are creating:


mikael@mikael-laptop:~$ cd academy.2012/
mikael@mikael-laptop:~/academy.2012$ hg pull
pulling from ssh://hg@fab.cba.mit.edu/academy.2012
searching for changes
adding changesets
adding manifests
adding file changes
added 195 changesets with 1279 changes to 1111 files
1097 files updated, 0 files merged, 34 files removed, 0 files unresolved
(run 'hg update' to get a working copy)
mikael@mikael-laptop:~/academy.2012$ hg update
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
mikael@mikael-laptop:~/academy.2012$ hg add
ajout de Web/students/le_bigot.mikael/photos/IMAG0066.jpg
ajout de Web/students/le_bigot.mikael/photos/IMAG0067.jpg
ajout de Web/students/le_bigot.mikael/photos/IMAG0068.jpg
ajout de Web/students/le_bigot.mikael/photos/IMAG0069.jpg
ajout de Web/students/le_bigot.mikael/photos/IMAG0070.jpg
ajout de Web/students/le_bigot.mikael/photos/IMAG0071.jpg
ajout de Web/students/le_bigot.mikael/photos/beginning-of-cuts.jpg
ajout de Web/students/le_bigot.mikael/photos/burn.jpg
ajout de Web/students/le_bigot.mikael/photos/capture-carreetrectangleplusieurcopies.png - Inkscape.png
ajout de Web/students/le_bigot.mikael/photos/capture-plaqueetencochegrip.png - inkscape.png
ajout de Web/students/le_bigot.mikael/photos/carreetrectangleplusieurcopies.png
ajout de Web/students/le_bigot.mikael/photos/carreetrectangleplusieurcopies.svg
ajout de Web/students/le_bigot.mikael/photos/cuts2.jpg
ajout de Web/students/le_bigot.mikael/photos/etatbrut.jpg
ajout de Web/students/le_bigot.mikael/photos/etatconstruit.jpg
ajout de Web/students/le_bigot.mikael/photos/grindwithinkscape.png
ajout de Web/students/le_bigot.mikael/photos/lasercutter.jpg
ajout de Web/students/le_bigot.mikael/photos/plaqueetencoche.jpeg
ajout de Web/students/le_bigot.mikael/photos/plaqueetencoche.png
ajout de Web/students/le_bigot.mikael/photos/plaqueetencochegrip.png
ajout de Web/students/le_bigot.mikael/photos/plaqueetencochegrip.svg
ajout de Web/students/le_bigot.mikael/photos/puzzlenotcompletedcut.jpg
ajout de Web/students/le_bigot.mikael/photos/shelf.jpg
ajout de Web/students/le_bigot.mikael/photos/shelfwithobject.jpg
ajout de Web/students/le_bigot.mikael/puzzle_test.html
mikael@mikael-laptop:~/academy.2012$ hg commit  -m "mikael"
mikael@mikael-laptop:~/academy.2012$ hg push
pushing to ssh://hg@fab.cba.mit.edu/academy.2012
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 26 changes to 26 files
remote: 26 files updated, 0 files merged, 0 files removed, 0 files unresolved
mikael@mikael-laptop:~/academy.2012$