scragg0x / realms-wiki

Git based wiki inspired by Gollum
http://realms.io
GNU General Public License v2.0
833 stars 90 forks source link

Git storage? #47

Closed bbinet closed 8 years ago

bbinet commented 9 years ago

Sorry for creating an issue to ask questions, but I couldn't find a mailing list for the realms-wiki project.

Thanks for realms-wiki which sounds great and has a very appealing web interface!

I was wondering why realms-wiki needs a database (sqlite, mysql or postgres) if it is a Git based wiki: does realms-wiki really use a Git repository as storage?

I'm also interested in updating realms-wiki pages directly from Git cli (without using the web interface): does realms-wiki supports updating the wiki when we git push our changes to a repository (like Gollum)?

Last question, on http://realms.io/ the title is "Realms Wiki Beta": do you consider it as beta software, or can it be run in production? Is the project still active, and is there a roadmap somewhere?

Thanks!

CristianCantoro commented 9 years ago

Hi,

I am new to the project myself, and I had the same questions. So I have searched a little, here's my answers:

I can not help you with the third question, though.

loleg commented 9 years ago

In addition to what @CristianCantoro completely correctly said, the only problem I have encountered so far with manually adding/updating/deleting files in the Git repo, is that timestamps are reset - leading to an INDEX page where all pages have the same date - an issue I raised in #45.

Only time, testing and the experience of users like ourselves can adequately determine how stable the project really is. I've had Realms in semi-production now for 3 months and am happy to report it has been a useful and reliable tool.

Except for one person who lost work repeatedly - which I eventually diagnosed as #44, but too late to avoid eroding that particular user's faith. This is representative of the fact that the wiki could use additional safeguards to ensure user data is protected at all cost, and what I would base a decision on to go into production.

Plus, as far as I know, scalability with a lot of simultaneous users has not been tested. You will definitely have issues at this stage if people do not coordinate efforts and edit the same page without using collaboration mode.

To get around this, I would suggest having discrete wikis for small sub-groups, whose work is merged from time to time using pull requests. I.e. until this project becomes more stable, focus on Git as your platform, and if you do it right you will not risk major loss of data or instability.

As for your question about the roadmap @bbinet - I would ask @scragg0x for advice.

bbinet commented 9 years ago

Thanks @CristianCantoro @loleg for your answers, those are useful! I'll give a try to realms-wiki