[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Proposal for OPW project

From: Gabriela Gibson <gabriela.gibson_at_gmail.com>
Date: Sun, 30 Dec 2012 22:31:36 +0000


As you may know, I have been familiarising myself with Subversion
with a view to obtaining an internship under the Outreach Program
for Women. However, I have yet to decide on a project.

For those that aren't aware, this is a 3 month sponsored internship
similar to the Google Summer of Code. Stefan Sperling is acting as a
mentor and has produced an introduction which is available at
http://subversion.apache.org/opw.html. This page includes an outline
of a number of possible projects. My current thought is to work on the
diff project as an intro.

However, in discussion with Stefan, it became clear that I ought to
consult this list before making project decisions. My current feeling
is that I'd like to start with improvements to "svn diff".

Diff Project Proposal

Background: by default, the invocation of the external diff command
provides the following arguments:
  -u -L README (revision 1426849) -L README (working copy) \
    .svn/text-base/README.svn-base /tmp/svn-zuV07j

This breaks down as follows:
-u: default switch. Replaceable by "--extended-command <switches>"
-L: default label switch. Not configurable.

My initial analysis suggests the following changes:

1. Ensure that
     svn diff -x ""
     svn diff --extensions ""
     Config file property set to:
      diff-extensions =
calls a configured external diff command with no "-u" argument.
(as per http://subversion.tigris.org/issues/show_bug.cgi?id=2074)

2. Allow configuration of the "label" argument
Format to be agreed, but for the sake of this discussion, let's say
there is a config property:
diff-label-switch = ...

(As per http://subversion.tigris.org/issues/show_bug.cgi?id=2044)

3. Allow an unlimited number of diff commands to be specified as

diff-n-cmd = ...
diff-n-mime-type = ...
diff-n-extensions = ...
diff-n-label-switch = ...

This would provide changed behaviour for each mime-type.

I'd welcome comments or improvements to this. Have I even understood
the problems correctly?

This feels like a fairly small piece of work. In addition, I plan to
make some small patches for the website (for example, documenting the
setting up Apache so that it displays the web site.

I'm also interested in possible changes to the help system, but I feel
much less confident about this piece.

But this would leave space for other projects. Does anyone have ideas
for good (relatively small) projects to help me learn the code base?


Received on 2012-12-30 23:32:18 CET

This is an archived mail posted to the Subversion Dev mailing list.