-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add a specification document #1
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be better in doc
instead of documentation
, otherwise sounds OK. Thanks.
documentation/specification.rst
Outdated
Specification | ||
============= | ||
|
||
The goal of rayr is to have various *sources* (local folders) synchronized with *destinations* - or remotes (public or private repositories hosting servers). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say that the goal is not exactly to synchronize local folders with remotes, but to synchronize repository hosting services together, and local folders would be a hosting service like another.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought of that too, but I had a feeling that local folders, to be considered as "hosting" service, would be harder because we lack the meta data we have on other, online service providers, for example "private/not private", "own repo/fork", etc. I fear that if local is a hosting, then people would assume we have a way to do github->local->bitbucket without losing information which is not the case IMHO. Also, local can have nested structure and not online. But it's debatable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then the only way to not loose metadata would be to do remote (meaning: github / gilab / ...) to remote, which is not advertised here.
I think that if local folders are used as a source or destination (because local clone is always created even for remote to remote scenario), metadata should then be stored to disk in a specified format.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or, not to support local folders at all but rather rely on the user creating the corresponding repositories in one of the hosting service and pushing the local repository manually.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, you mean we adverstise github<->gitlab sync ? I can amend doc for this.
Yes please, I think it's what is advertised in the README as well and it's the simplest thing to implement right now. We can address using local folders as sources with all the metadata issue in the future. For backup purposes, local clones are done anyway when replicating remote repositories. |
If you disagree with some contents or have remarks, I can amend.