Re: [viewvc-users] ViewVC database missing directories

"C. Michael Pilato" <[email protected]> Tue, 12 Jun 2012 22:59:02 +0200
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <[email protected]>
On 06/12/2012 06:49 PM, Chris Ross wrote:
>    Eventually, I was able to figure out that the database tracks
> commits to files.  But, the commit I noticed missing was an
> addition of an empty directory.  It has a revision, and a
> log message (aka description), all of which ViewVC will show
> me in directory view mode, but none of that is in the
> commit database.

[...]

>    Does anyone have any idea if this is a known issue, and
> if there's any way to allow directory operations to also
> be stored in the database?

The commits database in ViewVC was designed back when the software was
called ViewCVS, and as such designed only to track CVS commit info.  CVS, of
course, doesn't version directories, so the schema didn't handle directories
save to treat them as dumb placeholders for versioned files.  When the
Subversion support for the commits database was added to ViewVC, there was a
push from some folks to maintain the existing schema, which was also shared
by the program Bonsai, so the code changes would benefit both projects.  The
downside of this is that the Subversion commits DB support has all the same
limitations that the CVS support had -- only they feel worse because we know
Subversion itself offers so much more.

If someone could design a good schema for Subversion commits DB support, I'd
be more than happy to help integrate those changes into ViewVC.  Thus far,
nobody has stepped forward to do so, though.

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2970676

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk/XrakACgkQokEGqRcG/W6JfgCePtRx1ZkxUzP3RFT8ZBM1NkF3
MH0AoLUkGpssGVT9igChvrZMpZ84dTxj
=yXNx
-----END PGP SIGNATURE-----