ACCodeSnippetRepositoryPlugin icon indicating copy to clipboard operation
ACCodeSnippetRepositoryPlugin copied to clipboard

Add a "Read-Only" option for remote url

Open Buju77 opened this issue 11 years ago • 1 comments

Hi,

could you please add a "read-only" option when forking/fetching snippets from a git url.

So basically a read-only plugin xcode will only do a git pull and download/sync the snippets from remote url, but never push local snippet changes to remote. This is to reduce possible errors in a working environment with multiple developers by eg. accidentally deleting a snippet.

Idea is, that only 1 person (who has write access) can push changes to the snippet repo and multiple users can only read/fetch snippets from it.

Thanks a lot

Buju77 avatar Apr 10 '14 12:04 Buju77

The plugin was originally supposed to include a "read-only" feature (as well as other cool features like multiple data stores by the way). Unfortunately, synchronising in general is more complex than it seems. That's why some features were implemented but didn't make it in master (there's a branch experimental-multiple_stores if you are interested to have a look -- but beware it's buggy).

acoomans avatar Apr 16 '14 11:04 acoomans