[pmwiki-users] pmwiki and CVS
Patrick R. Michaud
pmichaud at pobox.com
Fri Dec 2 14:23:53 CST 2005
On Fri, Dec 02, 2005 at 07:26:37PM +0000, Matt Shacklady wrote:
> I was wondering if anyone has ever tied pmwiki and CVS
> together. Or if anyone knows a good way to version
> control documents stored in pmwiki
>
> The idea is: external documents (word, excel etc)
> would be stored in CVS and accessed through pmwiki.
> I have not used CVS before so I don't know if CVS is
> capable of it.
By "version control documents stored in pmwiki" I'm assuming you're
referring to attachments and uploads. PmWiki already lets such items be
"versioned", by setting $EnableUploadVersion. What doesn't exist
at present is a mechanism for getting the older versions out
(because it hasn't been deemed a need yet -- see PmWikiPhilosophy #3).
As far as using CVS, CVS is not good for versioning binary files
such as word and excel documents. CVS (and most other version
control systems) are designed to work on flat text files, and
although they can often manage binary files, they generally do
so by keeping a separate copy of each file in the repository.
Since this is essentially what PmWiki is doing with
$EnableUploadVersion, it seems like it would be easier to just
use that rather than try to integrate CVS with PmWiki.
If this wasn't what you were thinking of -- clarify your idea a bit
more for us. :-)
Thanks!
Pm
More information about the pmwiki-users
mailing list