Discussion of the CodeRepos.


comments:

darcs --SimonMichael, Sat, 20 Mar 2004 16:05:33 -0800 reply
`darcs `_ is a newer, simpler revision control system that I like the look of. CVS has been a tremendous help to us, has huge mindshare and maturity, so I don't want to jump something new lightly; but it's complicated to work with and a constant mental burden. Darcs is more modern and has a decentralised model which I think will benefit us. We may lose some features like viewcvs, but only temporarily.

I have been looking at how to ease this in gradually, and running the two side by side a little. But there's a good chance I'll simply jump to darcs after 0.29. This is a bit of a heads-up, if you see any showstopping problems let me know.

darcs --simon, Sat, 20 Mar 2004 23:43:11 -0800 reply
A public Zwiki darcs repository has been set up; its url is http://zwiki.org/repos/zwiki . For the rest of the month I will publish changes here in addition to the CVS repository at sourceforge. You can see a list of changes (patches) via the (rudimentary) cgi script.

The repository is symlinked to this site's Products folder, so anything published there goes live at the next zope restart.

If you want to start tracking changes via darcs, it's really easy. `Download `_ the client and do:

 darcs get http://zwiki.org/repos/zwiki

You now have a repository of your own. Symlink or move it to .../Products/ZWiki. To get the latest changes, in that directory do:

 darcs pull

See the darcs manual for more.

more about darcs --Simon Michael, Tue, 23 Mar 2004 22:13:55 -0800 reply
| Jan Braun wrote on the darcs list: | > If I may quote an IMHO excellent insight from the darcs documentration: | > | > | One can also look at [revision control systems]? as having two distinct uses. | > | One is to provide a history of previous versions. The other is to keep track | > | of changes that are made to the repository, and to allow these changes to be | > | merged and moved from one repository to another. These two uses are distinct, | > | and almost orthogonal, in the sense that a tool can support one of the two | > | uses optimally while providing no support for the other. | > | > and then: | > | > | Darcs is not intended to maintain a history of versions, although it is | > | possible to kludge together such a revision history [...]? | > | > ...which seems to be the thing you're wanting to do here. | > | > Thus you might be using the wrong tool. Don't get me wrong, I think darcs is | > a wonderful program, but it's strengths are (IMHO) its decentralized nature[1]? | > and the ability to selectvely get some specific changes from a remote repo | > ("cherry picking"). I don't imagine either is particularly useful in the | > context of standards authoring. | > If you want just CVS without the flaws, try Subversion.

darcs push -- Fri, 09 Apr 2004 14:56:48 -0700 reply
Ummm...how do I push changes to the repository? ZWikiDarcs? indicates darcs send, but send is not actually a darcs command. darcs push asks me for an email address, and seems to ignore it when I give it the repository URL. darcs apply seems to just sit there and stare at me. I think it's hung (it's been several minutes). This is darcs 0.9.17.

-- BobMcElrath

darcs push --Simon Michael, Fri, 09 Apr 2004 15:05:40 -0700 reply
push/send have been evolving recently - update to darcs 0.9.18.

newsgroup --Simon Michael, Fri, 09 Apr 2004 15:08:09 -0700 reply
I heard about this on the darcs list/newsgroup which is very useful btw.. if someone wants to add a link to gmane, the group is gmane.comp.version-control.darcs.user.

darcs push --Bob McElrath?, Fri, 09 Apr 2004 15:10:32 -0700 reply
Simon Michael [zwiki-wiki@zwiki.org]? wrote:

push/send have been evolving recently - update to darcs 0.9.18.

  1. 9.18 has the problems:

    darcs send sends via email:

            (254)<mcelrath@moya:/usr/src/zwiki> darcs send http://zwiki.org/repos/zwiki
            Creating patch to http://zwiki.org/repos/zwiki...
    
            Fri Apr  9 14:46:57 PDT 2004  bob+zwiki@mcelrath.org
            * Outline-XHTML-tagmatch
            renderNesting() was generating invalid XHTML (non-matched <li> tags)
            Shall I send this patch? [ynWvxqdjk?] y
            What is the target email address? bob+zwiki@mcelrath.org
            Successfully sent patch bundle to bob+zwiki@mcelrath.org.
    

    darcs push will not push to http:

            (254)<mcelrath@moya:/usr/src/zwiki> darcs push
            http://zwiki.org/repos/zwiki
            Pushing tohttp://zwiki.org/repos/zwiki...
    
            darcs failed:  You can only push to local directories or
            scp-style URLs.
    

    darcs apply still hangs

darcs push --Simon Michael, Fri, 09 Apr 2004 15:20:26 -0700 reply
That's right.. darcs send will send by email, but it's supposed to send to the parent repository's owner's email address (somewhere in _darcs), ie me.

darcs push applies changes directly into a repository without approval, and there seems to be a bunch of ways to set this up, most of which involve ssh access. Ie you don't push to the repository url (at least I don't know how yet), you push via ssh/scp path. Another way that doesn't require shell access involves a complicated WikiMail-like mail-in setup. I haven't bothered with these yet.

darcs push --Simon Michael, Fri, 09 Apr 2004 15:21:15 -0700 reply
Also, remember you can put stuff in your own repository and just tell me what to pull.

darcs push --Bob McElrath?, Fri, 09 Apr 2004 15:55:54 -0700 reply
Simon Michael [zwiki-wiki@zwiki.org]? wrote:

That's right.. darcs send will send by email, but it's supposed to send to the parent repository's owner's email address (somewhere in _darcs), ie me.

darcs push applies changes directly into a repository without approval, and there seems to be a bunch of ways to set this up, most of which involve ssh access. Ie you don't push to the repository url (at least I don't know how yet), you push via ssh/scp path. Another way that doesn't require shell access involves a complicated WikiMail-like mail-in setup. I haven't bothered with these yet.

So then we should send all patches to you? At what email address? CodeRepos should be updated to reflect this, if this is the appropriate way of committing.

Do you really want to do that? It seems like a lot of work for you if you have to apply all repository changes by hand.

darcs push --simon, Fri, 09 Apr 2004 18:22:50 -0700 reply
Bob, does it work if you follow the how-to at CodeRepos ? Ie darcs send, no argument ? I thought I tried this.

I don't mind reviewing patches to start with. I even am interested in trying it for a bit. Heck, it works for linux.

darcs push --simon, Fri, 09 Apr 2004 18:29:12 -0700 reply
I see, it asks "What is the target email address?". The answer is simon@joyful.com. Sorry, didn't mean to insult your reading skills, I thought maybe that brain the size of a planet was leading you astray. :)

darcs push --Bob McElrath?, Fri, 09 Apr 2004 19:29:07 -0700 reply
simon [zwiki-wiki@zwiki.org]? wrote:

I see, it asks "What is the target email address?". The answer is simon@joyful.com. Sorry, didn't mean to insult your reading skills, I thought maybe that brain the size of a planet was leading you astray. :)

Is there a way to put your email into the repository somehow so it goes automatically?

No planets here...no siree. And as you know, I keep my `brain on the web `_, a little to the left of the `Bureau of Missing Socks `_

we need a CVSTrac? for darcs --simon, Wed, 14 Apr 2004 14:25:18 -0700 reply

darcs and software evolution -- Mon, 19 Apr 2004 12:41:42 -0700 reply
Great decision Simon. It is not about keeping accurate history, but rather keeping track of the changes (who, when, where, and how) so that contributors can get credit for their work and so each change can be potential re-starting point -- if someone ever wants to rewind the changes to try something else.

Now I'd like this process to be fully automated, so that I can always be running the latest release version of zwiki without having to worry about it. I suppose I could have the darcs pull command set to run once a month... but this would require a commitment to backwards compatibility, or at least to start a new repository when there are any backwards-compatibility issues.

Eventually, I want all my software to run this way, constantly evolving and updated automatically. You are almost there. Awesome.

Nate betterdifferent.com/software

snapshot --DeanGoodmanson, Mon, 19 Apr 2004 13:26:30 -0700 reply
Are there any plans to re-instate a latest snapshot file?

adventures in installing darcs -- Tue, 20 Apr 2004 00:43:05 -0700 reply
Not sure why I couldn't compile on my FreeBSD? 5.1 box (said I was missing /libexex/ld-elf.so.1, then installed the binary pkg, but said "can't run get now..."), so I gave up and tried Windows XP. Eventually I figured out to download curl from http://curl.haxx.se/download.html#Win32 and wget, dump them in the WINDOWS directory (I'm sure you could mess with the PATH and put them somewhere else if you wanted to), and it works.

more darcs troubles --n8, Tue, 20 Apr 2004 02:14:40 -0700 reply
OK, this is probably my fault, but I can't figure out how to bump up current 0.29.0 Zwiki Product to my hard-earned 0.30dev. I uninstall through Plone 2, shutdown Zope, removed the old ZWiki folder, pasted in the new one named also to ZWiki, careful to have both a captial "Z" and "W" of course. I deleted out the "_darcs" folder --I assume that this is all I need to do to make what I received from darcs the spitting image of the ZWiki Product? Anyway, when I do all this and restart Zope, the new Product should show up and let me install it via the Plone 2 Plone Setup feature (nope) and it should show up in the ZMI as a Product and allow my current wikis to work (again, nope). I am not sure what else to tell you. I will be happy to recreate the problem to get more info / error messages, just tell me what you need.

adventures in installing darcs --DeanG, Tue, 20 Apr 2004 06:55:00 -0700 reply
Ahh..dumping them in the Windows directory is a good idea. I put them directly beside my Darcs executable, and baffled why it didn't work. Thanks!

more darcs troubles --simon, Tue, 20 Apr 2004 08:50:08 -0700 reply
Nate - you're doing too much. :) Unfortunately no time to type out rambling explanations right now, but you don't need to delete _darcs folder or re-install in plone. Just make sure ZWiki/* is updated on the filesystem and restart.

adventures in installing darcs --simon, Tue, 20 Apr 2004 08:50:55 -0700 reply
On windows, you need to have some executables in your PATH (not just in the same directory).

snapshot --simon, Tue, 20 Apr 2004 08:51:16 -0700 reply
I don't think I will do that.

Is the HTML page creation bug really fixed in 0.30dev??? --n8, Tue, 20 Apr 2004 09:49:38 -0700 reply
Simon, now that I have had a few hours of sleep and done this again and again. I am convinced that the bug still exists in darcs. What was the actual change that "fixed" it? THANKS!!!! ps can you tell me how to force a Zwiki to be completely HTML (I want it to always use an HTML page-type, not having to ask the user which type of page they want when saving). You are the best!!! I am starting to learn Python today, so hopefully, I can help out in a substantial way soon. n8

Is the HTML page creation bug really fixed in 0.30dev??? --simon, Tue, 20 Apr 2004 12:38:53 -0700 reply
replying on GeneralDiscussion

get error on outlineSupport.py --DeanGoodmanson, Tue, 20 Apr 2004 16:34:37 -0700 reply
at one point did outlinesupport.py change names? I got the following error on a get :

 Fail: OutlineSupport.py-0: renameFile: permission denied (Permission denied)

A subsequent pull worked fine, and I do have the file.

get error on outlineSupport.py --simon, Tue, 20 Apr 2004 17:40:26 -0700 reply
No it didn't (I assume you meant capital O). Strange.

Is the HTML page creation bug really fixed in 0.30dev??? --DeanGoodmanson, Tue, 20 Apr 2004 20:14:09 -0700 reply
I'm getting mis-matched code between the darcs browsing view and the get and pull. N8, could you do a windows fc to compare a copy and pasted version of the web view and your gotten copy of zwikipage.py and ui.py? http://zwiki.org/repos/zwiki/ZWikiPage.py vs. pulled copy, etc.

Also, the darcs icons aren't showing up in the IE view of http://zwiki.org/repos/zwiki . http://zwiki.org/icons/back.gif , http://zwiki.org/icons/text.gif , http://zwiki.org/icons/folder.gif etc. Not a big deal, just noting.

Is the HTML page creation bug really fixed in 0.30dev??? --DeanGoodmanson, Tue, 20 Apr 2004 20:20:47 -0700 reply
No version.txt locally, either.

Is the HTML page creation bug really fixed in 0.30dev??? --simon, Tue, 20 Apr 2004 23:23:14 -0700 reply
I think something went wrong with your pull. Perhaps a case insensitivity issue ? Try it afresh with the -v flag to see if you get all files.

I see the no icons too, it's an apache image caching bug I believe.

get error on outlineSupport.py --FoeNyx?, Sun, 25 Apr 2004 03:18:19 -0700 reply
got exactly the same error :

 Fail: OutlineSupport.py-0: renameFile: permission denied (Permission denied)

(which permission on a win98 ?) and i have always the same error while checking for consistency :

 $ ../darcs.exe check ::

 Fail: OutlineSupport.py: removeFile: permission denied (Permission denied)

It fail while applying the third or fourth patch ! So i guess my repository is unconsistent : My local i18n darcs folder is empty and not on the remote darcs repository.

How could i contribute my translated fr.po in such conditions ;) ?

get error on outlineSupport.py --simon, Sun, 25 Apr 2004 08:33:41 -0700 reply
Here's three ideas:

Thanks!

get error on outlineSupport.py --simon, Sun, 25 Apr 2004 08:46:40 -0700 reply
I see you're pursuing this, good.

All: here is the darcs list at `gmane `_ , or via `mailman `_ if you prefer. Here is a `search for renameFile `_ which shows some context. Apparently this is being worked on.

send and cygwin err --DeanGoodmanson, Mon, 26 Apr 2004 18:57:46 -0700 reply
Any thoughts on getting a send to work on latest windows binary download, cygwin downloaded and installed ssmtp and properly pathed, firewall off... :

 ssmtp: Cannot open mailhub:25

new darcs windows builds need testing --simon, Wed, 12 May 2004 16:10:54 -0700 reply
especially the last (vuokko) link.. just passing on the word from #darcs

darcs comments -- Wed, 12 May 2004 16:18:17 -0700 reply
Yes, the builds at vuokko.info have some special features. Like non-cygwin scp usage. Also, they have a bit diffrent handling for libcurl (in curl versions), and if darcs complains about multiple initialisations of libcurl, it should be reported. irc #darcs or ei at vuokko you know.

repository name change --simon, Sat, 15 May 2004 15:31:52 -0700 reply
I've cleaned up this page a bit, and renamed the darcs repository from zwiki to ZWiki to make things a bit simpler. If you have a repository of your own, you'll need to make this change in the ZWiki/_darcs/prefs/repos and lastrepo files.

Darcs under win98, Me --FoeNyx?, Fri, 21 May 2004 06:40:45 -0700 reply
Someone on Darcs mailing list released a build without the removeFile: permission denied (Permission denied) bug wich prevented to pach the repository under olds win32. Read that post at http://www.abridgegame.org/pipermail/darcs-users/2004-May/001705.html and the working darcs build is available at http://zarquon.se/darcs/darcs-20040504.zip

darcs send and CR/LF issues -- Wed, 15 Sep 2004 14:00:21 -0700 reply
Darcs seems to be picky on line endings. On sending out a patch, my mail server somehow converts them to the Wrong Style (TM). darcs apply then gripes Fail: Bad patch bundle! and refuses to apply the patch. As a workaround, you can save the patch to a file using darcs send -o outputfile (thanks marvin at #darcs for the hint!) and attach it manually to your mail. -- Andreas

darcs upgrade --SimonMichael, Fri, 01 Oct 2004 19:18:17 -0700 reply
zwiki.org's darcs has been upgraded from 0.9.23 to 1.0.0rc2. Also I've relinked the old cgi script on the front page as it gives a better change listing.

failed to fetch -- Wed, 26 Jan 2005 19:26:52 -0800 reply
Got this on a darcs pull?:

 failed to fetch: http://zwiki.org/repos/ZWiki/_darcs/inventory ExitFailure 1

failed to fetch --Simon Michael, Thu, 27 Jan 2005 16:43:46 -0800 reply
Hi.. a fresh darcs get followed by some darcs pulls works for me. Can you reproduce the problem ? #zwiki or #darcs channels may be useful.

failed to fetch -- Thu, 27 Jan 2005 18:13:12 -0800 reply
all fine today after a reboot. :(

failed to fetch --Simon Michael, Thu, 27 Jan 2005 19:11:27 -0800 reply
zwiki.org disk was full for a short time, that might have been the cause.

darcsweb installed --simon, Fri, 09 Sep 2005 21:54:15 -0700 reply
A better darcs browser is installed at http://joyful.com/darcsweb/darcsweb.cgi . Update parent page and links.

wiki cleanups --simon, Sat, 10 Sep 2005 12:36:05 -0700 reply
CodeRepos and CVSRepository cleaned up.

change darcs urls ? --simon, Sat, 10 Sep 2005 12:43:31 -0700 reply
If you use darcs, please see the about urls box on CodeRepos. I'm considering using joyful.com as the canonical url for repos on this server, making the old urls redirect there. Let me know if you can foresee any problems.

cleanup --simon, Fri, 02 Dec 2005 08:47:49 -0800 reply
Did some cleanup on the CodeRepos page.

my only grieve... --betabug, Fri, 07 Sep 2007 00:07:35 -0700 reply
I'm super happy with darcs. In fact I would want to work with it at work too. I know there are some known issues (or resilient bugs) in darcs, but I don't think I'd hit them. My only grieve is that there is no haskell compiler for the platform my server runs on, and therefore no darcs :-(

my only grieve... --Simon Michael, Fri, 07 Sep 2007 00:20:21 -0700 reply
Ack, surely not. What platform ?

I feel the same way about darcs. In the years I've used it, my usage patterns have avoided any serious problem. Also David Roundy seems to be making some real progress on it at the moment.

On Fri, 07 Sep 2007 00:07:42 -0700, betabug <zwiki@zwiki.org> wrote:

my only grieve... --betabug, Mon, 10 Sep 2007 13:54:39 -0700 reply
My server runs OpenBSD? on macppc (a PowerMac? G4). There seems to be no Haskell for PowerPC? (or at least not for this combination).

my only grieve... --Simon Michael, Mon, 10 Sep 2007 14:02:27 -0700 reply
Oh yes. I think we had this conversation before, but do any of the links at

http://wiki.darcs.net/DarcsWiki/CategoryBinaries#head-f3112101885cd252d241a0595468efdf69a85742

work ?

my only grieve... --betabug, Tue, 11 Sep 2007 00:00:22 -0700 reply
No, they don't. There is Haskell (and therefore darcs) for Mac OS X / Macppc, and Haskell for OpenBSD?/i386+AMD, but no Haskell for OpenBSD?/macppc. I don't really know what would be involved to get there myself, and I don't know if it's worth asking the guy who ported Haskell to OpenBSD?/i386.

cia bot --simon, Wed, 19 Sep 2007 10:27:59 -0700 reply
I'm having another go at setting up the RCS-tracking `CIA bot `_ for our project. You'll see the CIA-NN bot sitting in #zwiki. The Zwiki CIA stats page is at http://cia.vc/stats/project/Zwiki , and I've installed the CIA darcs script in front of the real darcs executable on the server. If all is well, the next darcs commits should show up on #zwiki and on the stats page. If it's possible to import our old history for stats, I will do that.

cia bot --simon, Wed, 19 Sep 2007 12:32:33 -0700 reply
After some fixes, the darcs-CIA integration is working. Hurrah!