Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,880 Members 50,521 Now Online
XDA Developers Android and Mobile Development Forum

[APP][2.1+] Gidder - Git server for Android

Tip us?
 
oliuf4e
Old
(Last edited by oliuf4e; 7th March 2014 at 11:57 PM.)
#1  
Junior Member - OP
Thanks Meter 11
Posts: 23
Join Date: Jan 2011

 
DONATE TO ME
Database [APP][2.1+] Gidder - Git server for Android




The project in GutHub: https://github.com/antoniy/gidder

Gidder is a Git server implementation for Android that works on top of a SSH server. Access your code anywhere anytime using your Android device.

Gidder is a unique product in that it combines two very complementary ideas. The distributed version control that Git provides and the mobility of any Android device. As a reasult, you can store your projects safely and conveniently in your pocket device and just as easy access them using any WiFi connection. It doesn't matter if you are on a business trip in a hotel, at the office or at home, you can always sync your work using your Android device.

What's the fun of something if you can't share if with anyone else? That's why Gidder provides multiple users that can access any repository they have permissions to. You might want a colleague to be able to just peek at your code - no worries, Gidder gives you the ability to separate permissions to Pull and Push&Pull permissions. So with a simple click you can assign read-only permission to anyone.

Features:
  • Git server over SSH for accessing your repositories.
  • Support Push, Pull, Fetch and Clone Git operations which is all you need to achieve successful distribution with Git.
  • User management - create, create from contact, edit, delete, activate/deactivate, set/remove permissions to repositories.
  • Repository management - create, edit, delete, activate/deactivate, set/remove permissions for users.
  • Dynamic DNS integration. A convinient way to use the system when working in different WiFi networks and having a different IP on your laptop. By using Dynamic DNS you can easily access a server without worrying if your Git remote have the correct IP for the current WiFi network. Currently supported providers are No-IP and DynDNS.
  • Auto update Dynamic DNS hostname when WiFi is On.
  • Manually update Dynamic DNS with an update button.
  • Autostart/Autostop server on WiFi On/Off.
  • Configure server port.
  • Enable/Disable status bar notifications.
  • Application widget for Start/Stop the server.




The Following 6 Users Say Thank You to oliuf4e For This Useful Post: [ Click to Expand ]
 
cholmer
Old
#2  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Sep 2012
Default Connection problem

Hi!

Must say that it's a great idea! I use git for storing all my document, regardless if I'm using my laptop or office computer. Adding the phone offers true mobility.

However, I'm having problem accessing the server:

~/git/AppData$ git push gidder
Permission denied (password).
fatal: The remote end hung up unexpectedly

After stopping the server I get the following:

~/git/AppData$ git push gidder
ssh: connect to host 10.10.10.170 port 2222: Connection refused
fatal: The remote end hung up unexpectedly


Which means that I'm talking to the right server. I never get prompted for the password, though. I'm pretty experienced with both ssh and git.

Keep up the good work!
 
oliuf4e
Old
#3  
Junior Member - OP
Thanks Meter 11
Posts: 23
Join Date: Jan 2011

 
DONATE TO ME
Quote:
Originally Posted by cholmer View Post
Hi!

Must say that it's a great idea! I use git for storing all my document, regardless if I'm using my laptop or office computer. Adding the phone offers true mobility.

However, I'm having problem accessing the server:

~/git/AppData$ git push gidder
Permission denied (password).
fatal: The remote end hung up unexpectedly

After stopping the server I get the following:

~/git/AppData$ git push gidder
ssh: connect to host 10.10.10.170 port 2222: Connection refused
fatal: The remote end hung up unexpectedly


Which means that I'm talking to the right server. I never get prompted for the password, though. I'm pretty experienced with both ssh and git.

Keep up the good work!
Thank you for your feedback! Can you provide me with additional information (steps to reproduce for example) so I can see if something is going wrong?

~antoniy~
The Following User Says Thank You to oliuf4e For This Useful Post: [ Click to Expand ]
 
cholmer
Old
#4  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Sep 2012
Default Noob

Quote:
Originally Posted by oliuf4e View Post
Thank you for your feedback! Can you provide me with additional information (steps to reproduce for example) so I can see if something is going wrong?

~antoniy~
Quick reply! Thanks!

The problem was completely on my side! My /etc/ssh/ssh_config was configured "PasswordAuthentication no", so it didn't allow password based authentication. I usually use pubkey for my gitrepo, so I didn't know I had that. Do you support pubkey?

I hope that someone could learn from my mistake. I found the problem by trying ssh alone like this:

ssh -v -v -v 10.10.10.170 -p 2222 -l guest
 
oliuf4e
Old
#5  
Junior Member - OP
Thanks Meter 11
Posts: 23
Join Date: Jan 2011

 
DONATE TO ME
Quote:
Originally Posted by cholmer View Post
Quick reply! Thanks!

The problem was completely on my side! My /etc/ssh/ssh_config was configured "PasswordAuthentication no", so it didn't allow password based authentication. I usually use pubkey for my gitrepo, so I didn't know I had that. Do you support pubkey?

I hope that someone could learn from my mistake. I found the problem by trying ssh alone like this:

ssh -v -v -v 10.10.10.170 -p 2222 -l guest
I'm glad you solve this issue. Regarding public key authentication support the answer is yes, of course I had this idea but for now I don't have nice and simple way to present this functionality. Because of the fact it's a pure client-side app and there are no back-end servers involved there ain't simple ways (at least to my knowledge) to transfer and manage pub keys for the application. Of course this feature is still in the queue for future implementations.

~antoniy~
 
jasnell
Old
#6  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Jun 2012
Thumbs up Good stuff

Definitely a good start and very useful. It did take a bit of work to get going but not too bad... specifically I had to edit my local ~/.ssh/config to allow password auth with the dyndns host and had to do "git push origin master" after cloning the repo locally... but once that was done things worked great.

A couple of feature requests...

1. It would be great if I could set the location of the repo on my device. I have a galaxy tab 2 with a large capacity sdcard, but gidder sets the repo up on internal storage.

2. It would be great to be able to pull up a history of the repo on the device. Just a summary to see where things are at.
 
oliuf4e
Old
#7  
Junior Member - OP
Thanks Meter 11
Posts: 23
Join Date: Jan 2011

 
DONATE TO ME
Quote:
Originally Posted by jasnell View Post
Definitely a good start and very useful. It did take a bit of work to get going but not too bad... specifically I had to edit my local ~/.ssh/config to allow password auth with the dyndns host and had to do "git push origin master" after cloning the repo locally... but once that was done things worked great.

A couple of feature requests...

1. It would be great if I could set the location of the repo on my device. I have a galaxy tab 2 with a large capacity sdcard, but gidder sets the repo up on internal storage.

2. It would be great to be able to pull up a history of the repo on the device. Just a summary to see where things are at.
Okay, about the first request - I'll add a configuration option to specify where the repositories should be saved. When I got some time, I'll make it happen.

Regarding the repository browsing on the device - I'm not planning this for now. Don't have much time. You can use Roberto's app AGit to access repository on Gidder and browse the log as a workaround.

~antoniy~
The Following User Says Thank You to oliuf4e For This Useful Post: [ Click to Expand ]
 
ErgoZ
Old
#8  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: Aug 2011
Location: Moscow
This app is very interesting! I'll try it tomorrow, but already rated it on gplay. if it realy that app how i think i will donate it
 
jckimble
Old
#9  
jckimble's Avatar
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Feb 2012
Location: Brookhaven
Default Two Feature Request

This is a really awsome app. I've been stalling making it myself since I didn't have the time. It really needs a hotspot mode it isn't hard to implement, and maybe a tasker plugin.

If you need help on this, I wouldn't mind helping I just don't have the time to do it full-time. Since I'm trying to start releasing abunch of apps right now.
 
devilsclaw
Old
#10  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Apr 2012
First off not trying to be an ass, sadly this is how it will come off.

I am not looking for the source code of the app but I am looking for the source code of the gpl components of this app
which must be hosted by the person who created the app upon any form of distribution.

The only way you would have to also release the source code of the app is if you statically linked to the git code or
any other gpl code.

currently from what I can tell you have violated the GPL License and if not corrected with in two weeks of now, I
will report this to the FSF.

Tags
gidder, git, git server
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


MediaTek Continues Steps Towards Being Developer-Friendly

Not too long ago MediaTek was very closed off towards the mobile developer … more

Sony PS4 Remote Play Ported to All Android Devices

Im pretty sure that every informed gamer out there perked their ears up when Sony came out … more

Change Your Samsung Galaxy S2’s Dialer Background in Real Time

As with anything, if youve looked at something long enough, things can … more

Increase Your Multitasking Workflow with C-Floating Windows

Technology has put life on the fast track. Lazy, relaxed days have turned into … more