node-solid-server icon indicating copy to clipboard operation
node-solid-server copied to clipboard

Add git repo data type

Open sidharrell opened this issue 7 years ago • 7 comments

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.

sidharrell avatar Oct 08 '18 01:10 sidharrell

If this issue still persists I can take this up!

mintunitish avatar Oct 10 '18 18:10 mintunitish

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.

kjetilk avatar Oct 10 '18 19:10 kjetilk

Any pointers on where to start with!

mintunitish avatar Oct 11 '18 02:10 mintunitish

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?

kjetilk avatar Oct 11 '18 09:10 kjetilk

@sidharrell need some explanation regarding the issue!

mintunitish avatar Oct 11 '18 09:10 mintunitish

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.

sidharrell avatar Oct 21 '18 21:10 sidharrell

@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

melvincarvalho avatar Apr 08 '25 19:04 melvincarvalho