[bind10-dev] Web interface to source code
Shane Kerr
shane at isc.org
Sat Jun 13 09:17:28 UTC 2009
Jinmei,
[ I'm Cc'ing bind10-dev, since you're right and other developers may
want to know how to view the code changes via the web. ]
On Fri, 2009-06-12 at 11:28 -0700, JINMEI Tatuya / 神明達哉 wrote:
> At Fri, 12 Jun 2009 09:46:01 +0200,
> Shane Kerr <shane at isc.org> wrote:
>
> > I saw your comment about having a web interface to source code. Trac has
> > such an interface built in.
> >
> > You can see a working example of this in the IRRToolSet Trac site:
> >
> > http://irrtoolset.isc.org/browser
>
> Thanks for the pointer. I didn't know this one.
>
> I'd like to have a feature (web interface) to
> - easily identify at which revision a particular change was made (just
> like cvs annotate could do)
I'm not exactly sure what you want here, so I'll explain some of the
possibilities, again using the IRRToolSet as an example, since it has
actual code and a number of changes already.
You can view any changes in the tree by going to the "browser" link
above and clicking on "Revision Log" on the upper right. That takes you
to here:
http://irrtoolset.isc.org/log/
If you are looking at a specific file point in the tree, you can click
on "Revision Log" on the upper right, and get a full list of changes for
that bit of code, which looks something like this:
http://irrtoolset.isc.org/log/trunk/src/aoe/bgp_aspath.cc
This has a good deal of information about each change, including any
comment made from commit. (Note that I *insist* on meaningful comments
on commit. The ones in the IRRToolSet are pretty close to perfect IMHO.)
> - take a diff of arbitrary two revisions
In addition to the above interface, you can also go to the browser link:
http://irrtoolset.isc.org/browser
Then click on the "View Changes" button at the bottom, you can enter any
versions, starting from any point in the tree. So for example, you can
see the differences between versions 260 and 261 of the IRRToolSet code
as follows:
http://irrtoolset.isc.org/changeset?old_path=%2F&old=260&new_path=%2F&new=261
Also, each version committed gets an entry in the "Timeline" portion of
the page (one of the blocks at the top of each page):
http://irrtoolset.isc.org/timeline
You can click on any of the changesets and see what was modified.
I use the RSS feed built into the site so I am aware of each new
version, each change to the Wiki, and so on. That link is at the very
bottom of the page (look for RSS).
> p.s. we might discuss this at bind10-staff.
Good point. ;)
--
Shane
More information about the bind10-dev
mailing list