[Building Sakai] Further rewrites for Subversion "commit detail" URLs

Neal Caidin neal.caidin at apereo.org
Tue May 6 09:51:52 PDT 2014


FYI.

It is working now. Seth confirmed the improvements.

Cheers,
Neal


> Neal Caidin <mailto:neal.caidin at apereo.org>
> May 5, 2014 at 8:48 AM
> I opened a ticket with Wush.
>
> I'll get back to you (off list) if they have any questions about the 
> request if I cannot answer.
>
> Thanks,
> Neal
>
>
>
> Seth Theriault <mailto:slt at columbia.edu>
> May 4, 2014 at 5:16 PM
>
> The ViewVC program is no longer used (replaced by WebSVN), but its URL
> formats live on in e-mail messages and the Jira "Subversion" tab. Wush
> is rewriting these URLs at our request, but I think they need to be
> modified so that the rewritten URLs show the same information.
>
> More specifically, when a commit is made, an e-mail message is
> generated to source at collab.sakaiproject.org (using a Subversion
> post-commit hook) with a ViewVC-formatted link that used to show the
> details of the commit (person making commit, log, list of affected
> files, etc.). Now, when you click on the provide ViewVC-style link,
> you are taken to a directory listing of the entire repo at the
> specified revision and you need to click on "Last modification" to get
> all the data.
>
> There is similar behavior in the the Jira "Subversion" tab: The
> individual file links work fine (that's what you screenshot shows) but
> clicking on the revision number just leads you to a directory listing
> as described above.
>
> My proposal would change the Apache rewrite for the ViewVC-formatted
> link to lead you directly to the "Last modification" page for the
> commit instead of the directory listing.
>
> Seth
>
> Neal Caidin <mailto:neal.caidin at apereo.org>
> May 2, 2014 at 3:13 PM
> Hi Seth,
>
> I think I get a sense of what you are saying. Could you add some 
> details about the workflow? Are you going directly to the viewsvn 
> program ? When I go through the Subversion tab in Jira I get something 
> that seems a bit simpler (enclosed screenshot).
>
> Thanks,
> Neal
>
>
> Seth Theriault <mailto:slt at columbia.edu>
> May 2, 2014 at 9:27 AM
> Hello,
>
> Can the ViewVC-style Subversion "commit detail" URLs (sill used in
> Jira and the source mailing list) be rewritten differently by Apache?
> For example, take a recent core repo commit whose details used to be
> at:
>
> http://source.sakaiproject.org/viewsvn?root=svn&view=rev&rev=309093
>
> This old ViewVC URL is being rewritten to show a directory listing
> instead of the commit details:
>
> https://source.sakaiproject.org/websvn/listing.php?repname=sakai-svn&rev=309093&path=
>
> Can it be rewritten instead to:
>
> https://source.sakaiproject.org/websvn/revision.php?repname=sakai-svn&isdir=1&rev=309093&peg=309093
>
> to show the actual detail?
>
> A similar "contrib" repo pair would be:
>
> http://source.sakaiproject.org/viewsvn?root=contrib&view=rev&rev=86233
> https://source.sakaiproject.org/websvn/revision.php?repname=sakai-contrib&isdir=1&rev=86233&peg=86233
>
> Seth
>

-- 
Neal Caidin
Sakai Community Coordinator
Apereo Foundation
neal.caidin at apereo.org
Skype me! (but let me know in advance for the first interaction) - nealkdin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140506/6acddf63/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compose-unknown-contact.jpg
Type: image/jpeg
Size: 770 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140506/6acddf63/attachment.jpg 


More information about the sakai-dev mailing list