Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Darcs - easy VCS alternative to CVS
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
dhurt
Apprentice
Apprentice


Joined: 14 May 2003
Posts: 278
Location: Davis, CA

PostPosted: Tue Jun 08, 2004 3:48 pm    Post subject: Reply with quote

Yes, I initialize the directory on both sides. I think that the error is with the ssh port settings, because as soon as I switch the port to the default port it works correctly.

Oh well, I will just use the default port for now and mess with it latter. Thanks again for the how-to.

If I already have a project going. Do I just initialize in the directory and then add all the files in the directory?
_________________
"And isn't sanity really just a one-trick pony, anyway? I mean, all you get is one trick, rational thinking, but when you're good and crazy, ooh ooh ooh, the sky's the limit!" -- The Tick
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Tue Jun 08, 2004 5:54 pm    Post subject: Reply with quote

dhurt wrote:
If I already have a project going. Do I just initialize in the directory and then add all the files in the directory?


That's one way, but then you'll lose all the history of your previous SCM - is it CVS?

Ask on the darcs users mail list for information about how to convert your SCM archive to Darcs.
_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Tue Jun 08, 2004 6:09 pm    Post subject: Reply with quote

charlieg wrote:
Ask on the darcs users mail list for information about how to convert your SCM archive to Darcs.


Even better, consult the Darcs Wiki! Just came across it:
http://www.scannedinavian.org/DarcsWiki/FrontPage
_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Tue Apr 05, 2005 4:38 pm    Post subject: Reply with quote

Well darcs has long since gotten a better URL, www.darcs.net, gone gold with 1.0, and is now at 1.0.2 after months of testing / bug fixing.

It's pretty solid now (in my experience) and has a large and growing user community.
_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
linux_girl
Apprentice
Apprentice


Joined: 12 Sep 2003
Posts: 287

PostPosted: Fri Apr 15, 2005 1:34 am    Post subject: Reply with quote

haskell cury realy rocks:P :P
_________________
:D :D
Back to top
View user's profile Send private message
SerfurJ
l33t
l33t


Joined: 10 Apr 2004
Posts: 824
Location: Texas

PostPosted: Thu Jun 09, 2005 2:54 pm    Post subject: Reply with quote

how do you set up darcs webserver access on gentoo? the documentation says to use a cgi script included with the package, but the gentoo package has no cgi script.

Code:
# equery f darcs                                                                                            [0]
[ Searching for packages matching darcs... ]
dev-util/darcs-1.0.2
* Contents of dev-util/darcs-1.0.2:
/etc
/etc/bash_completion.d
/etc/bash_completion.d/darcs
/usr
/usr/bin
/usr/bin/darcs
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/darcs.1.gz
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Thu Jun 09, 2005 3:12 pm    Post subject: Reply with quote

No idea, sorry. I just use SSH for push access and only web access for getting/pulling patches.
_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
SerfurJ
l33t
l33t


Joined: 10 Apr 2004
Posts: 824
Location: Texas

PostPosted: Thu Jun 09, 2005 3:24 pm    Post subject: Reply with quote

charlieg wrote:
No idea, sorry. I just use SSH for push access and only web access for getting/pulling patches.

so you must've set up darcs to work with your web server for that. could you point me to the section of the documentation describing how to do that? thanks.
Back to top
View user's profile Send private message
gour
Apprentice
Apprentice


Joined: 16 Apr 2003
Posts: 231
Location: Zagreb, Croatia

PostPosted: Thu Jun 09, 2005 3:36 pm    Post subject: Reply with quote

Hi!

SerfurJ wrote:
so you must've set up darcs to work with your web server for that. could you point me to the section of the documentation describing how to do that? thanks.


Code:
make installserver


will do the job :wink:

See GNUmakefile for the details.

Sincerely,
Gour
Back to top
View user's profile Send private message
SerfurJ
l33t
l33t


Joined: 10 Apr 2004
Posts: 824
Location: Texas

PostPosted: Thu Jun 09, 2005 3:42 pm    Post subject: Reply with quote

gour wrote:

Code:
make installserver


will do the job :wink:

See GNUmakefile for the details.


i saw that, but i wanted to use the ebuild that's in portage. did you build darcs manually?
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Thu Jun 09, 2005 4:09 pm    Post subject: Reply with quote

SerfurJ wrote:
so you must've set up darcs to work with your web server for that.

That's SSH that you need to set up.

If you already have it installed, you need to have your public key on the server and openssh on the server set up to allow passwordless logins. I don't really know the specifics, sorry, as somebody else manages the servers I log into.

Darcs then seemlessly works over SSH, no changes needed, e.g.:
Code:
darcs push vexi.org:/home/charlie/darcs/org.vexi.core

_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
SerfurJ
l33t
l33t


Joined: 10 Apr 2004
Posts: 824
Location: Texas

PostPosted: Thu Jun 09, 2005 4:14 pm    Post subject: Reply with quote

sorry, i wasn't specific enough. i wanted to know how you set up web access for getting/pulling patches.
charlieg wrote:
I just use ... and ... web access for getting/pulling patches.
Back to top
View user's profile Send private message
gour
Apprentice
Apprentice


Joined: 16 Apr 2003
Posts: 231
Location: Zagreb, Croatia

PostPosted: Thu Jun 09, 2005 4:21 pm    Post subject: Reply with quote

SerfurJ wrote:
i saw that, but i wanted to use the ebuild that's in portage. did you build darcs manually?


Well, I don't use server, but you can go in the
Code:
/var/tmp/portage/darcs


direcotory and there execute:

Code:
make installserver


Sincerely,
Gour
Back to top
View user's profile Send private message
SerfurJ
l33t
l33t


Joined: 10 Apr 2004
Posts: 824
Location: Texas

PostPosted: Thu Jun 09, 2005 5:39 pm    Post subject: Reply with quote

thanks for all the help guys..

gour,

i have no
Code:
/var/tmp/portage/darcs

directory.

is it possible that whoever made the darcs ebuild just didn't include darcs webserver support? i expected to see something like an apache2 use flag for the darcs ebuild.
Back to top
View user's profile Send private message
gour
Apprentice
Apprentice


Joined: 16 Apr 2003
Posts: 231
Location: Zagreb, Croatia

PostPosted: Thu Jun 09, 2005 8:37 pm    Post subject: Reply with quote

SerfurJ wrote:
gour,

i have no
Code:
/var/tmp/portage/darcs

directory.


Sure. You have to create it, i.e.
Code:
ebuild /usr/portage/dev-util/darcs/darcs-1.0.3.ebuild unpack
ebuild /usr/portage/local/dev-util/darcs/darcs-1.0.3.ebuild compile
cd /var/tmp/portage/darcs-1.0.3/work/darcs-1.0.3/
make installserver


Take also look at man ebuild 8)

Sincerely,
Gour
Back to top
View user's profile Send private message
SerfurJ
l33t
l33t


Joined: 10 Apr 2004
Posts: 824
Location: Texas

PostPosted: Thu Jun 09, 2005 10:40 pm    Post subject: Reply with quote

that worked! thanks again.
Back to top
View user's profile Send private message
SerfurJ
l33t
l33t


Joined: 10 Apr 2004
Posts: 824
Location: Texas

PostPosted: Tue Jun 21, 2005 10:11 pm    Post subject: Reply with quote

dhurt wrote:

For instance I tried this command:
Code:

DARCS_SCP="scp -P 2024 " DARCS_SSH="ssh -p 2024 " SSH_PORT="2024 "  darcs push -a hurt@xenophobia:/var/www/localhost/htdocs/project

darcs failed:  (scp) failed to fetch: hurt@xenophobia:/var/www/localhost/htdocs/project/_darcs/inventory

and I could not connect. I switched to the standard SSH port and it worked great. So I must not be setting the port right. I googled around and looked through the manual and could not find any information really. If noone happenes to know the answer off hand, I will try and join their mailign list and I am sure they know the answer.


i have the same problem. nobody on #darcs had an answer, so i guess it's a bug.
Back to top
View user's profile Send private message
dcoutts
Retired Dev
Retired Dev


Joined: 13 Feb 2004
Posts: 9
Location: UK

PostPosted: Fri Feb 24, 2006 12:23 am    Post subject: Reply with quote

axxackall wrote:
Any chance to compile it on Hugs98? GHC is not ported to Linux/PPC. Depending Darcs on GHC doesn't make it a cross platform. :(


darcs-1.0.5 is stable on ppc. It's ~sparc and ~amd64 too. We should be able to get it working on ppc64 and possibly alpha. Does anyone need any other arches?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot 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