| Author |
Message |
| New sourcemanagement system monotone is up |
|
Posted:
Wed Jan 30, 2008 9:12 pm
|
|
|
I2Pharaoh
Joined: 25 Feb 2005
Posts: 1148
|
|
Hi!
The new sourcecode management system is up (it replaces CVS).
First revisions are signed in, here is a FIRST small qucik howto get the source out of it, on linux system:
Pre-work:
susbribe to one of these addressbook-servers:
http://stats.i2p/cgi-bin/newhosts.txt
http://tino.i2p/hosts.txt
http://trevorreznik.i2p/hosts.txt
http://i2host.i2p/cgi-bin/i2hostlast
1. install monotone
2. if you want to use normal internet, go forward to point 4
3. setup a standard client tunnel (bulk profile) in I2P pointing to port 8998, destination key mtn.i2p-projekt.i2p or mtn.i2p2.i2p, both host the same sources.
4. in your shell change to the path in which your source should resist in (e.g. /usr/src)
5. issue "mtn genkey yourname@someplace" to generate a key. Email could be real, but NO NEED to be existant!
6. If you want to push/contribute changes to the mtn, you need a second, contribute, key. In this case name them both unique!
7. Issue "mtn db init ##db=i2p.mtn" to initialize the database.
8. Issue "mtn ##db=i2p.mtn pull 127.0.0.1:8998 i2p.i2p" to copy mtn database to your path
8.b. Issue "mtn ##db=syndie.mtn pull 127.0.0.1:8998 i2p.syndie" to get same database for syndie
9. Issue "mtn ##db=i2p.mtn checkout ##branch=i2p" to checkout source into your working directory, branch=syndie for syndie.
10. DONE
mark: for direct pull use i2p-projekt.de or i2p2.de instead of 127.0.0.1:8998 in point 8/8b!
Last edited by Amiga4000 on Thu Jan 31, 2008 9:09 am; edited 1 time in total |
|
|
|

|
|
Posted:
Wed Jan 30, 2008 10:54 pm
|
|
|
|
|
Hi,
the how to did not work out for me,
i had to do a
mtn db init ##db=i2p.mtn
mtn ##db=i2p.mtn clone i2p-projekt.de ##branch=i2p.i2p
to get the sources
(if i recall it right, and i have no idea how to work with monotone)
btw: is there a special reason to use monotone and not svn,git or what ever? |
|
|
|

|
|
Posted:
Thu Jan 31, 2008 9:07 am
|
|
|
I2Pharaoh
Joined: 25 Feb 2005
Posts: 1148
|
|
Hi!
Sry, I forgot the db init...
Yeah, svn is "old" and not distributed - just one central server, with mtn the databse is distributed and in case of server fell off, source is still available.
And mtn works via I2P.
Cya
Amiga |
|
|
|

|
|
Posted:
Sun Jun 29, 2008 5:44 pm
|
|
|
|
|
Hi!
Ok, that guide is kinda OLD and outdated, need to redo it.
amiga |
|
|
|

|
|
Posted:
Mon Jul 21, 2008 9:21 pm
|
|
|
|
|
|
|
|

|
|
Posted:
Mon Jul 21, 2008 9:42 pm
|
|
|
|
|
mtn -d i2p.mtn db init
mtn -d i2p.mtn pull i2p2.de i2p.i2p
mtn -d i2p.mtn co --branch=i2p.i2p |
|
|
|

|
|
Posted:
Fri Jul 25, 2008 8:23 am
|
|
|
|
|
Ok, i did that all and with param "update" i get a "i2p.i2p" folder now.
in the revision file is announced "old_revision [8ac6155c57dd5b4fb228ceb08fa7fc6c6599d398]", the same rev-number like i found at http://trac.i2p2.i2p/browser with comment [last change "zzz@…: -9"].
What i got in the "i2p.i2p" folder now?
is this a clean version of 0.6.2-9 by zzz or is there also stuff/sourcecode inside of other (unknown) commiters.
Could i compile this to get the original version 0.6.2-9 by zzz or is there are any possibility to catch untrusted code that were commited by others.
i read http://www.i2p2.i2p/newdevelopers.html and http://www.i2p2.i2p/monotone.html and the documentation of monotone itself, but it's so much text that i'm completly confused now.
.. and the stuff about "monotonerc" ("5.7. Verifying that trust evaluation works") didn't help really because i think i need weeks to understand monotone and all it's issues.
How could i be sure that i get only source of the offical dev-team?
some easy command-lines for stupids like me are prefered!
thx |
|
|
|

|
|
Posted:
Fri Jul 25, 2008 8:45 am
|
|
|
|
|
This are the lines i got from mtn:
--
mtn: hole Daten anonym; benutzen Sie -kSCHL_SSELNAME, falls eine Authentifizierung ben÷tigt wird
mtn: verbinde zu 127.0.0.1:8998
mtn: Das ist das erste Mal, dass Sie sich mit dem Server 127.0.0.1:8998 verbinden.
mtn: Es wird angenommen, dass Sie die Serveridentitõt verifiziert haben.
mtn: Sie k÷nnen jedoch nochmal den Fingerprint des Schl³ssels pr³fen: ac24e0daed66389d6fd6e28cc34ccf4ff6d81a73
mtn: Warnung: speichere ÷ffentlichen Schl³ssel von monotone@gandalf.srv.welterde.de in die Datenbank
mtn: finde Elemente zum Synchronisieren:
--
is that all correct?
special "Fingerprint des Schl³ssels pr³fen: ac24e0daed66389d6fd6e28cc34ccf4ff6d81a73" and "Warnung: speichere ÷ffentlichen Schl³ssel von monotone@gandalf.srv.welterde.de in die Datenbank" or have i to worry about something? |
|
|
|

|
|
Posted:
Fri Jul 25, 2008 11:17 am
|
|
|
I2Pharaoh
Joined: 25 Feb 2005
Posts: 1148
|
|
HI!
Yes, that is all correct.
I need to redo the mtn stuff, but time is limited.
Amiga |
|
|
|

|
|