Add git repo data type
I'd really like to be able to create a git repo in my pod, and use a standard git client, like the one built into phpstorm.
Consider it a feature request, on the server-side, to support https git clients, since I'm guessing that would be much easier than the ssh client.
If this issue still persists I can take this up!
I think it would be very interesting to have, so please have a go, @mintunitish ! If you do, please branch off of the release/v5.0.0 branch, but also be aware that we may do major changes to the code base after 5.0.0, see #788 for detailed discussion, so if you do many changes to node-solid-server, be warned that the code might change a lot after that.
Any pointers on where to start with!
Actually, I think this issue is pretty hard, I don't know how to do it. :-) I think it involves quite detailed knowledge of git, and I don't have that. Perhaps others on the team wants to chime in?
@sidharrell need some explanation regarding the issue!
Git repos may have originated with programmers, but today they are used for anything requiring tracking small changes made to text files, like writing books. Sometimes you want to publish personal data to the web that includes not just a finished product, but revelations about the process that you used to get to that product. From what I could tell poking at the interface, the problem seems to be the limitation on the text files requiring a .txt extension. If I could check in text files of any extension, that's all a git repo is, is text files. The .git folder contains text files that track all the changes between versions of the text files that are being tracked. I think there are two different approaches: 1: a git repo data type. Then a client (to-be written) would accept the location in your POD, and you could push local changes upstream to that location, just like an upstream github, or other git repository provider. 2: a text folder data type. If we can make changes to a local folder containing text files, and push those changes up to a location in the POD, then we can use existing tools.
@fuubi did you ever get this working? Very interested in this. I also noticed your other project:
https://github.com/fuubi/node-git-http-backend