Bhuvaneswaran Arumugam <>

Patch Suggested
r861789, r861320, r861066, r861065, r860976, r860944, r860895, r860881, r860834, r860831, r860450, r860383, r860293, r860221, r860220, r860078 r861064

r860078 | dlr | 2006-06-08 16:04:48 +0000 (Thu, 08 Jun 2006)

* contrib/hook-scripts/
  Add single character command-line options.

  Move help usage text into __doc__, and add a description for each

  Correctly write usage() info to stderr when the script is invoked

Patch by: Bhuvaneswaran Arumugam <>
(Tweaked by me.)

r860220 | cmpilato | 2006-06-16 16:09:28 +0000 (Fri, 16 Jun 2006)

Add --max-items option to

Patch by: Bhuvaneswaran Arumugam <>
Suggested by: cmpilato

  (__doc__): Note new --max-items options
  (__init__): Add handling for --max-items option.
  (SVN2RSS.__init__): Accept new 'max_items' parameter, used to
    populate the previously hard-coded self.max_items variable.

r860221 | dlr | 2006-06-16 16:58:55 +0000 (Fri, 16 Jun 2006)

Removed targets that refer to the `doc/design' directory.

  (doc-design, doc-design-html, doc-design-pdf, doc-design-ps): Deleted.
  (doc): Removed dependency on doc-design.
  (doc-all-html): Removed dependency on doc-design-html.
  (doc-all-pdf): Removed dependency on doc-design-pdf.
  (doc-all-ps): Removed dependency on doc-design-ps.

Patch by: Bhuvaneswaran Arumugam <>
Suggested by: madanus
Review by: madanus

r860293 | rooneg | 2006-06-22 17:13:11 +0000 (Thu, 22 Jun 2006)

Fix usage for

Patch by: Bhuvaneswaran Arumugam <>

* build/generator/swig/
  (__main__): include basename of the script in Usage statement.

r860383 | cmpilato | 2006-06-30 15:38:41 +0000 (Fri, 30 Jun 2006)

Support ranges of revisions in

Patch by: Bhuvaneswaran Arumugam <>
(Tweaked by me.)

* contrib/hook-scripts/
  (__init__): Add 'try' block and handle ValueError for revision. Here,
    if the revision is not set, set it to the youngest one. Handle one
    and range of revisions. Finally, for each revision, add the rss feed
    to the file.
  (SVN2RSS.__init__): Keep only max_items items in the feed.

r860450 | cmpilato | 2006-07-03 17:42:04 +0000 (Mon, 03 Jul 2006)

Rename's --url option to --item-url, and add support for

Patch by: Bhuvaneswaran Arumugam <>
(Tweaked by me.)

* contrib/hook-scripts/
  (__doc__): Change to note new/tweaked options.
  (check_url): New function to validate urls
  (__main__): Parse new --item-url and --feed-url options, using
    check_url() to validate the input.  Also, stop recognizing --url options.
  (SVN2RSS.__init__): Accept and store 'feed_url' parameter.  Rename
    'url' parameter to 'item_url'.
  (SVN2RSS.make_rss_item): Use self.item_url now in the item's RSS chunk.
  (SVN2RSS.make_rss): Use self.feed_url when generating the feed, and use
    the basename of the repository path in the feed's title.

r860831 | maxb | 2006-07-19 18:12:34 +0000 (Wed, 19 Jul 2006)

Merge some of the fixes in Bhuvaneswaran Arumugam's submission into

Patch by: Bhuvaneswaran Arumugam <>

* contrib/hook-scripts/ (usage message): Improvements.
  (global scope): PEP 8 enhancements.
  (usage_and_exit): Clarify conditional.
  (SVN2RSS): Rename class...
  (Svn2RSS): this, for PEP 8 compliance.
  (Svn2RSS.make_rss_item_desc): Clarify variable names.
    Rewrite code building the description string entirely.
  (Svn2RSS.make_rss): Say 'Subversion', not 'SVN'.
  (main): Initialize URL paramters with "", not None.
    Make an if condition more Pythonic.
    Clarify variable names.

r860834 | maxb | 2006-07-19 18:52:07 +0000 (Wed, 19 Jul 2006)

A few more fixes to deriving from Bhuvaneswaran Arumugam's submission, and some fixes of my own found whilst examining them.

Patch by: Bhuvaneswaran Arumugam <>

* contrib/hook-scripts/
  Add missing \n at end of Python version error.
  (Svn2RSS.__init__): Stop setting unused member variable 'rss_item_desc'.
  (Svn2RSS.make_rss_item_desc): Rename...
  (Svn2RSS.make_item_desc): this, since it is not RSS-specific.
    Change callers.
  (main): Fix erroneous block nesting, and remove duplication of a string

r860881 | maxb | 2006-07-20 19:40:28 +0000 (Thu, 20 Jul 2006)

Based on a patch submission that created a '', instead add Atom
support to the existing '' (which will soon be renamed to a more
appropriate name).

Patch by: Bhuvaneswaran Arumugam <>

Note: Atom support currently has a known bug: Expiration of old items from
the feed file is not implemented.

* contrib/hook-scripts/
  (usage message): Document added Atom support.
  (Svn2Atom): New class, roughly paralleling Svn2RSS.
  (main): Plug the new class into the dictionary of available classes.

r860895 | rooneg | 2006-07-21 18:48:17 +0000 (Fri, 21 Jul 2006)

Insert the "entry" element before all other "entry" elements and remove
the elements from the feed file if it reaches --max-items.

Patch by: Bhuvaneswaran Arumugam <>

* contrib/hook-scripts/
 (Svn2Atom.add_revision_item): Locate the "author" element (last
  non-entry element) and insert the new element after it's next sibling.

  Calculate the total "entry" elements and remove the last child if the
  total is greater than the --max-items.

r860944 | cmpilato | 2006-07-26 15:24:23 +0000 (Wed, 26 Jul 2006)

Update the bindings INSTALL document to note check-swig-py make

Patch by: Bhuvaneswaran Arumugam <>
(Tweaked by cmpilato.)

* subversion/bindings/swig/INSTALL:
  Update the document to include the "make check-swig-py" command to
  test python bindings and quote the commands where it was missing.

r860976 | julianfoad | 2006-07-29 20:23:06 +0000 (Sat, 29 Jul 2006)

In '', support 'https:' URLs.  Also handle redirect requests
(302), if the requested resource resides temporarily under a different URL.

Also use better Python APIs.  In httplib, the HTTP and HTTPS functions are
included just for backward compatibility.  Moreover, HTTPS support is only
available if the socket module is compiled with SSL support.  So, use
HTTPConnection and HTTPSConnection functions instead.

Patch by: Bhuvaneswaran Arumugam <>

* tools/client-side/
  Do not import "string" library as it is not necessary.
  (print_version): Handle the HTTPS scheme.  Use 'HTTPConnection' and
    'HTTPSConnection' instead of 'HTTP' and 'HTTPS' functions.  Do not
    regard a '302' redirect as an error, use its header info anyway.

r861064 | maxb | 2006-08-05 16:30:31 +0000 (Sat, 05 Aug 2006)

Contribulyzer: avoid using tags within HTML <title>, since browsers do not
display that properly.

* tools/dev/ (html_spam_guard): Add a reduced obfuscation mode
    which uses entities only.
  (html_header): Take title and page heading values separately.
  (Contributor.big_name): New parameter for requesting entities-only HTML,
    by invoking html_spam_guard() appropriately.
  (Contributor.html_out): Use the new support in big_name to give a tag-less

Suggested by: Bhuvaneswaran Arumugam <>

r861065 | maxb | 2006-08-05 17:13:52 +0000 (Sat, 05 Aug 2006)

* contrib/hook-scripts/ (Svn2Atom.add_revision_item):
  Make style more Pythonic.
  Avoid depending on ordering of XML elements for correct behaviour.
  Fix off-by-one error in item pruning.
  Fix pruning of only a single item, not properly obeying max_items if it
    is decreased from the value previously used with a pre-existing feed.

Patch by: me
          Bhuvaneswaran Arumugam <>

r861066 | maxb | 2006-08-05 17:31:57 +0000 (Sat, 05 Aug 2006)

* tools/examples/
  (SVNShell.do_ls): Sacrifice the angle brackets around node-rev-ids to gain
    two more characters of horizontal space for the node-rev-id field.
  (SVNShell.do_setrev): Stop dying on invalid input.
    Accept 'HEAD' as a parameter.

Patch by: Bhuvaneswaran Arumugam <>

r861320 | cmpilato | 2006-08-24 15:36:57 +0000 (Thu, 24 Aug 2006)

Place item author and date information in feed metadata.

* contrib/hook-scripts/
  (global): Remove the TODO item.
  (Svn2Feed._get_item_dict): Remove the date information from desc to
    avoid redundancy.  Strip the newline and store the author information
    in data structure.
  (Svn2Feed._format_update_ts): New helper function.
  (Svn2RSS._make_rss_item): Pass author information to RSSItem function.
  (Svn2Atom._make_atom_item): Create a new tag for author and append it
    to the entry.

Patch by: Bhuvaneswaran Arumugam <>

r861789 | rooneg | 2006-09-29 14:29:21 +0000 (Fri, 29 Sep 2006)

Fix busted link.

Patch by: Bhuvaneswaran Arumugam <>

* www/faq.html:
  Fix the broken link to webdav-protocol document. As per revision
  r18739 the document subversion/libsvn_ra_dav/protocol was moved to