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

Add a specification document #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

slurdge
Copy link

@slurdge slurdge commented Oct 15, 2017

If you disagree with some contents or have remarks, I can amend.

Copy link
Owner

@berenm berenm left a 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.

Specification
=============

The goal of rayr is to have various *sources* (local folders) synchronized with *destinations* - or remotes (public or private repositories hosting servers).
Copy link
Owner

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.

Copy link
Author

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.

Copy link
Owner

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.

Copy link
Owner

@berenm berenm Oct 18, 2017

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.

Copy link
Author

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.

@berenm
Copy link
Owner

berenm commented Oct 18, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants