gitweb-like web interface for darcs repos, my updates (fork of simon's darcsweb)  (http://blitiri.com.ar/p/darcsweb/)

follow symbolic link when multidir_deep

ownwaterlooFri Jan 10 17:19:52 UTC 2014

HtmlFormatter(..., encoding='utf-8') for sources with unicode chars

amgarchingTue Aug 21 21:36:07 UTC 2012

Fix hashlib import

Alberto BertogliWed Feb 15 22:17:34 UTC 2012

Use subprocess instead of popen4()

This patch makes darcsweb use subprocess.Popen() for running darcs, instead of os.popen4() which has been deprecated.

The bulk of the change is actually a modification of run_darcs()' API, because it now takes the parameters as a list of strings, instead of just a big string as it was before, which is cleaner and safer.

Alberto BertogliWed Feb 15 00:16:38 UTC 2012

Set $PATH if it's not in the environment

Recent versions of darcs require the $PATH environment variable to be set, in order to find "diff". Some http servers don't set it, and darcs will fail to diff.

This patch attempts to set a basic path variable hoping that it will work for most cases; it is really up to the server to set it if diff is not in one of these places.

Alberto BertogliTue Feb 14 02:05:03 UTC 2012

Use the new hashlib if available

We should use hashlib when available (Python >= 2.5); we continue to fall back to the old sha library if it's not.

Thanks to Karl O. Pinc for the bug report.

Alberto BertogliTue Feb 14 01:54:06 UTC 2012

Ignore comments in the author file

This patch makes darcsweb ignore comments in the author file.

Alberto BertogliTue Feb 14 01:43:03 UTC 2012

TAG 1.2-rc1

Alberto BertogliWed Nov 24 15:52:33 UTC 2010

Use diff --quiet.

Prevents `Copying pristine' messages in output with darcs pre-2.5.

fxFri Oct 15 12:55:46 UTC 2010

Do not use string exceptions

String exceptions are deprecated and will soon no longer be supported at all.

Most of the instances of string exceptions in our code were not meant to be catched, but just to get meaningful backtraces.

This patch replaces them with appropriate, usually generic, exceptions that serve the same purpose.

Alberto BertogliFri Jun 25 00:32:55 UTC 2010

more robust timestamp parsing

With this, darcsweb can list the full darcs repo log.

simonSun Mar 28 18:57:50 UTC 2010

log view: display the patch name just once, tighten up whitespace

simonSun Mar 28 18:21:44 UTC 2010

allow custom "last" value in url, eg to view all patches on one page

simonSun Mar 28 16:40:18 UTC 2010

hide darcs' Ignore-this: metadata in log view

simonSun Mar 28 16:37:55 UTC 2010

add the year in the date field if the patch wasn't made in the current year

gaetan.lehmannThu Mar 26 19:58:42 UTC 2009

TAG 1.1

Alberto BertogliTue Oct 28 15:44:36 UTC 2008

Update my email address

Alberto BertogliTue Oct 28 15:43:41 UTC 2008

fix pygments disaligned linenos and code when using windows fonts (pygments>0.7 only)

Alexandre RossiTue Aug 12 09:50:07 UTC 2008

TAG 1.1-rc1

Alberto BertogliTue Oct 14 21:18:42 UTC 2008

Update HTML version number

Alberto BertogliTue Oct 14 21:18:29 UTC 2008

Import pygments only when needed

Otherwise, we pay for the pygments import (which is noticeable) on every darcsweb page view.

This follows the lazy module loading that is already being done for other costly modules (i.e. 're').

Alberto BertogliSun Oct 5 15:53:16 UTC 2008

Ignore broken multidir directories

When a multidir directory is not really a directory or a valid symlink to one, we want to skip it instead of exploding.

This patch fixes that by doing a simple sanity check while processing the configured multidirs.

Thanks to Ralph Giles giles@ghostscript.com for the report and the patch.

Alberto BertogliSun Oct 5 15:48:31 UTC 2008

optional source headblob syntax highlighting using python-pygments

Alexandre RossiThu Aug 7 05:31:41 UTC 2008

Handle old date formats

Very old darcs commits use a different time format, that leaks out in some operations like annotate. This patch makes darcsweb able to handle it.

Thanks to Simon Michael simon@joyful.com for the report and the help.

Alberto BertogliThu Aug 7 04:41:45 UTC 2008

Fix typo in annotate output

Alberto BertogliSun Aug 3 15:04:07 UTC 2008

Simplify annotate code

A very simple change, makes the code more straightforward.

Alberto BertogliSun Aug 3 15:03:41 UTC 2008

Fix annotate so it works with darcs 2

darcs 2 doesn't like files beginning with / as parameters for annotate. Since darcs 1 doesn't care, remove the '/' before running darcs.

Alberto BertogliSun Aug 3 15:02:56 UTC 2008

Use _darcs/patches instead of _darcs/inventory

In darcs 2, there is no _darcs/inventory, so use the patches directory to find out the last modification time of the repository.

Thanks to Patrick Waugh (ptwaugh@gmail.com) for providing (and testing) this fix.

Alberto BertogliSun Aug 3 15:00:34 UTC 2008

TAG 1.0

Alberto BertogliTue Apr 8 00:11:05 UTC 2008

Version 1.0

Alberto BertogliTue Apr 8 00:10:21 UTC 2008