forum.i2p Forum Index  skip navigation
  
FAQ  Search  Memberlist  Usergroups  Profile  Log in to check your private messagesLog in   Register
Author Message
New sourcemanagement system monotone is up
Amiga4000
PostPosted: Wed Jan 30, 2008 9:12 pm  Reply with quote
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
Back to top
View user's profile Send private message


justaguest
PostPosted: Wed Jan 30, 2008 10:54 pm  Reply with quote
Guest






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?
Back to top


Amiga4000
PostPosted: Thu Jan 31, 2008 9:07 am  Reply with quote
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
Back to top
View user's profile Send private message


Guest
PostPosted: Sun Jun 29, 2008 5:44 pm  Reply with quote







Hi!

Ok, that guide is kinda OLD and outdated, need to redo it.

amiga
Back to top


peter
PostPosted: Mon Jul 21, 2008 9:21 pm  Reply with quote
Guest






How does it work under windows ( vista ultimate 64, german, mtn from http://www.monotone.ca/downloads/0.40/monotone-0.40-setup.exe ) ?



Code:
C:\Users\Peter\CVS>mtn db init ##db=i2p.mtn
mtn: falscher Gebrauch: keine Parameter benötigt


Back to top


Guest
PostPosted: Mon Jul 21, 2008 9:42 pm  Reply with quote







mtn -d i2p.mtn db init
mtn -d i2p.mtn pull i2p2.de i2p.i2p
mtn -d i2p.mtn co --branch=i2p.i2p
Back to top


g5 -first try
PostPosted: Fri Jul 25, 2008 8:23 am  Reply with quote
Guest






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
Back to top


g5
PostPosted: Fri Jul 25, 2008 8:45 am  Reply with quote
Guest






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?
Back to top


Amiga4000
PostPosted: Fri Jul 25, 2008 11:17 am  Reply with quote
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
Back to top
View user's profile Send private message


Display posts from previous:   
All times are GMT

View next topic
View previous topic
Page 1 of 1
forum.i2p Forum Index -> HowTos

Post new topic   Reply to topic


 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



NoseBleed v1.00 ~ mikelothar.com
(http://www.mikelothar.com/community)


Forum software: php BB (http://www.php bb.com) v2 © 1976 php BB Group