Git sync with local repo? (Amazing work on this so far.) #87
Replies: 3 comments 6 replies
-
Thanks for opening up this discussion. The feature that you can clone the wiki locally, work on it and push the changes is on my list for a long time. Regardless of the fact that you might want to work locally, it seems to be important to have the information in the wiki available in different repositories. Pushing the data into remote repositories is (see #24) on my list, too. I think it necessary to add that An Otter Wiki cares less about the file name case, as requested in #85, to make sure that anything created outside and pushed into the wikis repository get represented. |
Beta Was this translation helpful? Give feedback.
-
In #88 the config option I have started to implement the feature of serving git via http. Proof of concept works, will now do the fine tuning. As far as permissions are concerned, I think it makes sense to handle this in the same way as in the web interface: If you can read, you can pull. If you can write, you can push. For the write check the user must be allowed to manage attachments. The reason for this is that it is not possible to distinguish whether a page or an attachment is included in the push. |
Beta Was this translation helpful? Give feedback.
-
Feature released in 2.2.0 |
Beta Was this translation helpful? Give feedback.
-
I just spun this puppy up using docker compose and love how simple and fast it is. I also love the right sidebar that lists the content of the page and the "All pages" index.
All that said, I am really looking for a solution that I can use with a very small team of mine and some of use need to have a web editor and some of use can just edit markdown locally so my question: Can Otter be our hub by giving us a method of pulling and pushing to the wiki's git repo?
if so, this would be huge. I was thinking I might find a link to a repo like if I were using Github's Gollum-based wiki or have some method to push/pull like with Gitbook or Ikiwiki but perhaps not?
Maybe I am overlooking something though! Thanks for you work here @redimp.
Beta Was this translation helpful? Give feedback.
All reactions