[darcs-devel] darcs patch

simon at joyful.com simon at joyful.com
Sat Jul 3 11:55:50 PDT 2004


--aaack


Sat Jul  3 10:52:26 PDT 2004  simon at joyful.com
  * expand the cgi README a little

Sat Jul  3 11:51:38 PDT 2004  simon at joyful.com
  * cgi/README.in: minor wording tweak


--aaack
Content-Type: text/x-darcs-patch
Content-Description: A darcs patch for your repository!


New patches:

[expand the cgi README a little
simon at joyful.com**20040703175226] {
hunk ./cgi/README.in 1
-darcsrv is the darcs repository viewer.  It provides a web interface
-for viewing darcs repositories, using XSLT to transform darcs' XML
-output into XHTML.
+darcsrv ("darcs.cgi") is the darcs repository viewer.  It provides a web
+interface for viewing darcs repositories, using XSLT to transform darcs'
+XML output into XHTML. It is written in perl and is more featureful than
+the older haskell cgi program ("darcs").
hunk ./cgi/README.in 17
-  1) copy ./darcs.cgi script to a cgi-bin directory
-  2) copy cgi.conf to @sysconfdir@/darcs and edit appropriately
-  3) copy xslt/styles.css to @sysconfdir@/darcs
+  1) copy darcs.cgi to your webserver's cgi directory, eg
+     /usr/lib/cgi-bin. A symlink probably won't do. Make
+     sure it's executable.
+  2) copy cgi.conf to @sysconfdir@/darcs and edit appropriately. 
+     You probably don't need to change anything here.
+     You can overwrite the cgi.conf used by the old darcs cgi script.
+  3) copy or link the xslt directory to @sysconfdir@/darcs/xslt
+  4) copy or link xslt/styles.css to @sysconfdir@/darcs/styles.css
hunk ./cgi/README.in 26
-  Test by browsing "http://<host>/cgi-bin/darcs.cgi/<repository>/"
+  Test by browsing "http://<host>/cgi-bin/darcs.cgi/<repository>/".
+  To troubleshoot, monitor your webserver's error log, eg
+  "tail -f /var/log/apache/error.log".
hunk ./cgi/README.in 30
-
}

[cgi/README.in: minor wording tweak
simon at joyful.com**20040703185138] {
hunk ./cgi/README.in 20
-  2) copy cgi.conf to @sysconfdir@/darcs and edit appropriately. 
-     You probably don't need to change anything here.
+  2) copy cgi.conf to @sysconfdir@/darcs/cgi.conf and edit appropriately. 
hunk ./cgi/README.in 22
-  3) copy or link the xslt directory to @sysconfdir@/darcs/xslt
-  4) copy or link xslt/styles.css to @sysconfdir@/darcs/styles.css
+     You probably don't need to change anything here.
+  3) copy the xslt directory to @sysconfdir@/darcs/xslt
+  4) copy xslt/styles.css to @sysconfdir@/darcs/styles.css
}



Context:

[add documentation for date matching.
David Roundy <droundy at abridgegame.org>**20040703145104] 
[add rudimentary date matching to --match.
David Roundy <droundy at abridgegame.org>**20040703144524
 This code really is ugly, but at least the framework is in.  Should be
 rewritten to use a proper parser for the date ranges.
] 
[add a resolve command (it's yucky so far).
David Roundy <droundy at abridgegame.org>**20040702141400] 
[fix --repo-name in get to accept either relative or absolute paths.
David Roundy <droundy at abridgegame.org>**20040701144005] 
[give better error message when changes is run but not in a repository.
David Roundy <droundy at abridgegame.org>**20040701142415] 
[support changes properly when not in a repo directory.
David Roundy <droundy at abridgegame.org>**20040701142113] 
[clean up set_defaultrepo a tad.
David Roundy <droundy at abridgegame.org>**20040701134918] 
[make --set-default a multiple-choice option.
David Roundy <droundy at abridgegame.org>**20040701133454
 This means that the value in _darcs/prefs/defaults can be properly
 overridden.
] 
[support "lastrepo" if there isn't yet a "defaultrepo".
David Roundy <droundy at abridgegame.org>**20040701132453] 
[Implement --set-default and --no-set-default.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20040630211355] 
[Rename lastrepo to defaultrepo.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20040630203933] 
[Make prefs cachable for 10 minutes.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20040630195002
 If using a cache, this avoids the overhead of hitting the remote
 server for every file in prefs when doing multiple gets in quick
 succession.  Would a smaller value be better?
] 
[Use a new datatype instead of Bool for cachability.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20040630191950] 
[remove unused with_selected_last_changes function.
David Roundy <droundy at abridgegame.org>**20040701124230] 
[allow --dry-run push where push would fail.
David Roundy <droundy at abridgegame.org>**20040630102058] 
[fix compile error when there's no libcurl.
David Roundy <droundy at abridgegame.org>**20040630101253] 
[fix MOTD conflict with cached files change.
David Roundy <droundy at abridgegame.org>**20040630090529] 
[Add cache control directives to HTTP requests.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20040629125723
 Mark requests for inventories as uncachable, requests for patches as
 cachable.
 
 This is only implemented for libcurl.  When spawning curl or wget, all
 requests are marked uncachable (untested).
] 
[make revert work properly when file is given on command line and there are pending adds/removes.
David Roundy <droundy at abridgegame.org>**20040630100836] 
[make changes --context give less extraneous information.
David Roundy <droundy at abridgegame.org>**20040629104642] 
[fix weird error with --last.
David Roundy <droundy at abridgegame.org>**20040629101457] 
[fix bug in get --tag.
David Roundy <droundy at abridgegame.org>**20040629100405
 I was a good boy and also added a test so this won't happen again... at
 least not with this particular command.
] 
[add support for a MOTD.
David Roundy <droundy at abridgegame.org>**20040629094631] 
[update changelog.
David Roundy <droundy at abridgegame.org>**20040629094401] 
[move DarcsFlag data structure into its own module.
David Roundy <droundy at abridgegame.org>**20040629094218
 This is to work around circular dependency issues.
] 
[point darcsrv product link at darcs homepage
Will <will at glozer.net>**20040628233035] 
[match new <move> tag instead of <move_file>
Will <will at glozer.net>**20040628232426] 
[Use lock directory for temporary lock file.
Juliusz Chroboczek <jch at pps.jussieu.fr>**20040628190720
 This avoids lock creation failing with EXDEV when the repository
 directory and _darcs are not on the same filesystem (e.g. _darcs is
 softlinked).  I hate users.
] 
[support --context option in send.
David Roundy <droundy at abridgegame.org>**20040628102624] 
[add support for a --last option to specify last N changes.
David Roundy <droundy at abridgegame.org>**20040628095805
 This has only been tested so far with diff and changes...
] 
[update and reprioritize TODO.
David Roundy <droundy at abridgegame.org>**20040628091216] 
[Merge debian/ directory with 0.9.22
Gabriel Ebner <ge at gabrielebner.at>**20040627212437] 
[correction on send help.
David Roundy <droundy at abridgegame.org>**20040627093056] 
[Add warning to 'darcs remove' help
Jim Marshall <jmarshall99 at qwest.net>**20040626220417] 
[Small 'command -h' typo fixes and clarifications.
Jim Marshall <jmarshall99 at qwest.net>**20040626212642] 
[fix happy-forwarding to not include nasty long header.
droundy at civet.berkeley.edu**20040627121954
 The catch is that all headers are lost now when the mail is resent, so this
 may make it harder to track down what went wrong if something does go
 wrong.
] 
[Minor doc fixes
Nigel Rowe <rho at swiftdsl.com.au>**20040627035455] 
[work around stupid bug in old autoconfs.
droundy at civet.berkeley.edu**20040627104351] 
[fix up happ-forwarding (hopefully).
David Roundy <droundy at abridgegame.org>**20040627092644] 
[increase laziness of diff_from_empty.
David Roundy <droundy at abridgegame.org>**20040626140020
 I believe this reduces the memory usage of initial records (or whenever
 lots of files are added) and optimize --checkpoint by about a factor of
 four, although I haven't yet tested it on a seriously large repository.
] 
[TAG 0.9.22
David Roundy <droundy at abridgegame.org>**20040626123533] 

Patch bundle hash:
d30d5a07628f5db2ca70cd6131af6fdbb4556433

--aaack





More information about the darcs-devel mailing list