Bhuvaneswaran Arumugam <bhuvan@collab.net>


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

r861789 | rooneg | 2006-09-29 09:29:21 -0500 (Fri, 29 Sep 2006)

Fix busted link.

Patch by: Bhuvaneswaran Arumugam <bhuvan@collab.net>

* 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
  notes/webdav-protocol.


r861320 | cmpilato | 2006-08-24 10:36:57 -0500 (Thu, 24 Aug 2006)

Place item author and date information in feed metadata.

* contrib/hook-scripts/svn2feed.py
  (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 <bhuvan@collab.net>

r861066 | maxb | 2006-08-05 12:31:57 -0500 (Sat, 05 Aug 2006)

* tools/examples/svnshell.py
  (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 <bhuvan@collab.net>
          me


r861065 | maxb | 2006-08-05 12:13:52 -0500 (Sat, 05 Aug 2006)

* contrib/hook-scripts/svn2feed.py (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 <bhuvan@collab.net>


r861064 | maxb | 2006-08-05 11:30:31 -0500 (Sat, 05 Aug 2006)

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

* tools/dev/contribulyze.py (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
    title.

Suggested by: Bhuvaneswaran Arumugam <bhuvan@collab.net>


r860976 | julianfoad | 2006-07-29 15:23:06 -0500 (Sat, 29 Jul 2006)

In 'server-vsn.py', 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 <bhuvan@collab.net>

* tools/client-side/server-vsn.py
  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.


r860944 | cmpilato | 2006-07-26 10:24:23 -0500 (Wed, 26 Jul 2006)

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

Patch by: Bhuvaneswaran Arumugam <bhuvan@collab.net>
(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.


r860895 | rooneg | 2006-07-21 13:48:17 -0500 (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 <bhuvan@collab.net>

* contrib/hook-scripts/svn2feed.py
 (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.


r860881 | maxb | 2006-07-20 14:40:28 -0500 (Thu, 20 Jul 2006)

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

Patch by: Bhuvaneswaran Arumugam <bhuvan@collab.net>
          me

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

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


r860834 | maxb | 2006-07-19 13:52:07 -0500 (Wed, 19 Jul 2006)

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

Patch by: Bhuvaneswaran Arumugam <bhuvan@collab.net>
          me

* contrib/hook-scripts/svn2rss.py:
  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): ...to this, since it is not RSS-specific.
    Change callers.
  (main): Fix erroneous block nesting, and remove duplication of a string
    constant.


r860831 | maxb | 2006-07-19 13:12:34 -0500 (Wed, 19 Jul 2006)

Merge some of the fixes in Bhuvaneswaran Arumugam's svn2atom.py submission into
svn2rss.py.

Patch by: Bhuvaneswaran Arumugam <bhuvan@collab.net>
          me

* contrib/hook-scripts/svn2rss.py (usage message): Improvements.
  (global scope): PEP 8 enhancements.
  (usage_and_exit): Clarify conditional.
  (SVN2RSS): Rename class...
  (Svn2RSS): ...to 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.


r860450 | cmpilato | 2006-07-03 12:42:04 -0500 (Mon, 03 Jul 2006)

Rename svn2rss.py's --url option to --item-url, and add support for
--feed-url.

Patch by: Bhuvaneswaran Arumugam <bhuvan@collab.net>
(Tweaked by me.)

* contrib/hook-scripts/svn2rss.py
  (__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.


r860383 | cmpilato | 2006-06-30 10:38:41 -0500 (Fri, 30 Jun 2006)

Support ranges of revisions in svn2rss.py.

Patch by: Bhuvaneswaran Arumugam <bhuvan@collab.net>
(Tweaked by me.)

* contrib/hook-scripts/svn2rss.py
  (__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.



r860293 | rooneg | 2006-06-22 12:13:11 -0500 (Thu, 22 Jun 2006)

Fix usage for header_wrappers.py.

Patch by: Bhuvaneswaran Arumugam <bhuvan@collab.net>

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


r860221 | dlr | 2006-06-16 11:58:55 -0500 (Fri, 16 Jun 2006)

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

* Makefile.in
  (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 <bhuvan@collab.net>
Suggested by: madanus
Review by: madanus
           me


r860220 | cmpilato | 2006-06-16 11:09:28 -0500 (Fri, 16 Jun 2006)

Add --max-items option to svn2rss.py.

Patch by: Bhuvaneswaran Arumugam <bhuvan@collab.net>
Suggested by: cmpilato

* svn2rss.py
  (__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.


r860078 | dlr | 2006-06-08 11:04:48 -0500 (Thu, 08 Jun 2006)

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

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

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


Patch by: Bhuvaneswaran Arumugam <bhuvan@collab.net>
(Tweaked by me.)