[dokuwiki] Re: Change default storage

  • From: "Cesar D. Rodas" <saddor@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 23 Apr 2009 08:09:19 -0400

Hello!

2009/4/23 Guy Brand <gb@xxxxxxxxxx>:
> Cesar D. Rodas wrote:
>
> Hi
>
>
>> Is there a way to change the default Doku storage?, I've googling
>> about it but I didn't found what exactly need.
>
> Not by default.
>
>> This question is because I'd like to write a Git storage, so Doku
>> would be able to be embed into any project, and the storage could be
>> stored into another branch.
>
> Great. I did a VCS agnostic plugin a few month ago as a proof of
> concept, it works simply by acting (action plugin) when it gets the page
> changes or media uploads events. I stopped my hack when I was able to
> commit to the vcs and haven't investigated the replacement of
> DokuWiki's default diff viewing: history, diff, logs are of course in
> the vcs too, so they should/could be read from there. Another issue is
> honouring ACLs, I haven't worked on that
>
>> Right now my class is read only http://github.com/crodas/php-git/tree
>> but I have a local version working with write support, and Doku is
>> best example to implement, and release the write support for my class.
>
> I'll clone your work and will try to contribute on my very little
> spare time :-) I strongly encourage you to keep on with this work.
> Making the storage vcs agnostic would be a must.
That awesome, is there a way that you to share your work with, so I
can continue extending it. My main motivation to implement a GIT
storage, is the fact that back up will be just gone away, since at
every time I clone or pull from the repository, I will download the
whole history. Also I can add it to an existing project, as another
independent branch.

>
>
> YC Chan wrote:
>
>> The Doku community is against using other storage than files
>
> That's definitely wrong. DB storage is probably weird as DokuWiki is
> built for flat file storage, but a plugin is always welcome. Of course
> a vcs storage backend is a different beast and much more sexy ;-)
>
>
> --
>  bug
>
> --
> DokuWiki mailing list - more info at
> http://wiki.splitbrain.org/wiki:mailinglist
>



-- 
Cesar D. Rodas
http://cesar.la/
Phone: +595-961-974165
Woody Allen  - &quot;I am not afraid of death, I just don't want to be
there when it happens.&quot; -
http://www.brainyquote.com/quotes/authors/w/woody_allen.html
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: