-
Notifications
You must be signed in to change notification settings - Fork 33
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
Got SparkleShare and git working somewhate #19
Conversation
Nice! I should add that SparkleShare invites now require a host fingerprint, for example: |
Got SparkleShare and git working somewhate
Hi! Git stuff is working now ( check #302) Sparkleshare is able to clone public projects as well. I am no expert on working on working of sparkleshare, my guess is that it is using polling for now. Any idea about how do I go about sending notification to notification server? @hbons Would a symlink of this post-hook be enough? I have set up invite url as Also, is there any way I can allow syncing of private projects as well and not have them ask my credentials every time sparkleshare tries to sync them. |
Here's a git-hook that posts to the notification service: https://github.com/hbons/SparkleShare/wiki/Notification-service#git-hook |
Thanks @hbons It is the same hook I referenced. |
Oh, I missed the link in your comment. That's all you need to post a notification. Note the service is down at the moment. If it can't be reached SparkleShare falls back to polling. You can also specify your own notification service address in the invite XML. If you're asked about credentials your SSH probably isn't added to your ssh-agent on login. You can also use the key provided by SparkleShare which doesn't use a password so won't ask you for one. SparkleShare doesn't support HTTPS. |
It does. This might sound weird cause you wrote SparkleShare. It is able to fetch public repos over HTTPS. Only thing missing is that there is no way to cache HTTPS credentials. So every time SparkleShare tries to push to repo, it promts for username and password. If I fill them correctly, SparkleShare is able to push as well. SparkleShare is using polling so I am asked to verify every 5 minutes or so and that is really annoying. EDIT: I am talking about Fedora 21. git push (or clone of private projects) fails silently on ubuntu 14.04 and windows 8 with following error message in debug log:
|
There are many more issues with HTTPS in SparkleShare. It works sometimes, but it doesn't do anything like certificate validation, handling authentication, or errors. So it's not officially supported and is not recommended. |
No description provided.