Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push wiki to remote #24

Open
marcrleonard opened this issue Oct 5, 2022 · 7 comments
Open

Push wiki to remote #24

marcrleonard opened this issue Oct 5, 2022 · 7 comments

Comments

@marcrleonard
Copy link
Contributor

Is there a place in the interface the push the wiki to a git remote location? It would be cool if there was a "Push" or "Sync" feature. This could be very tricky if there are remote changes that conflict with local, but it would great to do this in the UI

@redimp
Copy link
Owner

redimp commented Oct 16, 2022

The major problem that I see here is authentication. When pulling from a remote this might be via https and possible as an anonymous user, but when it comes to pushing you need to be authenticated in most of the cases. To implement this you would have to take care of a huge pile of problems.

@marcrleonard
Copy link
Contributor Author

Yeah I was kind of thinking there would be an initial requirement that their credentials would have to be cached with the os. Then, presumably, the git api would be able to push.

If a user would try to push (via a button in the ui) and it fails, you could display a helpful error and a 'set up' page outlining how to get the repo/creds set up. You could make it like how an empty GitHub repo will show you the initial set of commands to run to get up and going.

@ezcafe
Copy link

ezcafe commented Jan 20, 2024

Please add this feature! I want to backup wiki to Github account

@ethereal-engineer
Copy link

ethereal-engineer commented Jan 27, 2024

I need this feature to exist. It would be easiest to achieve using public-key authentication with the git remote. But no, it's not a trivial feature. Damn. In the interim, I could use docker mapping to map the repository to an external repository and have a timer set up to push/pull... hmmm...

@SnowyJaguar1034
Copy link

I too would appreciate it if such a feature existed.

@ReessKennedy
Copy link

+1

@Wrykoulaka
Copy link

+1, just tried to achieve it mapping ssh keys and adding a post-commit hook but it didnt work. I will setup a cronjob for the time being and call it a day

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants