Skip to content
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

Commits, Cloning and Collaboration #21

Open
joepio opened this issue Jan 14, 2021 · 0 comments
Open

Commits, Cloning and Collaboration #21

joepio opened this issue Jan 14, 2021 · 0 comments
Labels

Comments

@joepio
Copy link
Member

joepio commented Jan 14, 2021

I love git: it enables cloning a repo, making changes and giving these changes back. That's an incredibly powerful feature to have. Atomic Data already has Commits, and with this Cloning feature there's also Forking. Should it also need a way to merge changes and make suggestions? And should this use Cloning, or is Forking too different?

Let's assume a user wants to improve some piece of data on a webpage - let's call him the changer. Say the local grocery store has an issue in its 'open times' during covid, and a customer wants to edit this. From the perspective of the changer, they could click the data they want to change, make a change, and click 'share suggestion'. What might happen under the hood to enable this?

Clone, change URL, save Commits

  • Changer clones original resource from source, changes the URL to something that he controls.
  • This creates an initial Commit in the Users Store, which contains a reference to the HTTP url and Commit hash on which that Commit is built.
  • The User makes changes the the resource as usual, adding Commits.
  • If the User wants to make these changes to the original resource, the Commits will no longer make sense, because the subject has changed.

Store Commits, create merge request

  • User creates Commits to the resouce and stores them in their own Server.
  • User creates a Merge Request at the target server. This merge request is a resource containing the sequence of Commits.
  • The Source owner opens some inbox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant