SAFE git & github - A Plan

git
github

#1

UPDATE

I have a new simpler plan, and we can use part of it right now, see:

SAFE git & github - A Plan

[Cross posted from main forum]

I have a plan for how, but not the time to do this for now (want to get virtual drive done first). So if anyone wants to get this started I can suggest how to build it and help things along thanks to noffle, one of the Scuttlebutt guys, see:

SAFE git remote

We can build a git remote-helper for git with Nodejs using the CLI Boilerplate I made. This will enable people to use SAFEnetwork as a git remote with push, pull and fetch etc.

It would use a similar method to git-ssb to publish changes to a feed which others can consume (kind of pub/sub I think).

SAFE gitweb

If the first part is similar enough to git-ssb it should be a simple matter to modify git-ssb-web to make a web front end similar to github.

Who’s in?

Anyone fancy a go at this? I don’t mind you taking it over, me helping out, me leading, or me doing it in my own, but can’get it done quickly by myself. In fact it will be verrrry slow :wink:

If you are interested or just want to play with git-ssb and git-ssb-web see the following post for instructions:


#2

Valuable discussion here amongst scuttlebutters (and me) about the replacement for github, being done on github :laughing:

https://github.com/noffle/gitverse/issues/1


#3

When I heard about Microsoft buying Github I immediately thought that a Github clone on the SAFE network would be perfect. I don’t have the necessary skills to contribute to this idea. I am interested in following it’s development and would be happy to be a tester. I currently use Github and Git via the Netbeans IDE. Where is the best place to follow this project?


#4

Until it moves from research to code the best way to follow is on this topic or my twitter feed https://twitter.com/safepress

I will update both with any developments, but for now I’m working on a SAFE virtual drive using FUSE, so it will remain research and planning for a while unless somebody else picks it up.


#5

You have been rather prolific the past few months with your posts and code contributions… new coffee brand? :grin:
I’m really looking forward to carving out some time where I can run with some of these ideas… For now it’s hard to just keep up with the forum posts on a regular basis. Keep them coming though… Great stuff!


#6

Just things coming together after a long period of learning and ground work. It’s taken me a while to get proficient enough with all the tools and with the API to do useful stuff. I still need help though as you will have noticed.

Also, I enjoy an afternoon coffee most days and it kicks me into action so you’re not wrong :coffee:


#7

Change of plan!

I think we now have everything we need for decentralised git and github replacement, on SAFE Network. I say ‘think’ because I’m still testing bits, but we are there bar a few bugs.

The new plan is… to:

1. Use SAFE Drive to host headless repositories

  • Carol creates a headless repo for something they have a local repo
  • Bob can clone that, and create a second headless repo
  • Carol and Bob work on their local repo, push changes to the headless repo they own, and each can pull changes from the other’s headless repo

2. Create A Local Web Interface To The Headless Repos
This is in effect a decentralised github, but implemented using a website running on your local machine. So it can access headless repos via your SAFE Drive, but you can use a web style interface to do stuff, and we can probably customise and extend this to work a lot like github, have github issues etc.

This needs building, but I think we could find an existing git web interface and customise it. Maybe gitea, or sr.ht, or gitlab or…? But this needs researching.

If anyone is able to try installing a git Web interface on their machine and guide others thrifty that process so we can try using that with SAFE Drive, that would be a great easy to contribute. And feel free to suggest additions to the list of options to try out:


SAFE Drive - help with testing
#8

These are really great news ! A decentralized github is really key . Thank you so much Mark for all the work you put into all this.


#9

sr.ht is another self hosted Web interface for git. Anyone fancy installing one of these locally and trying it out? See the list here