frib-high-level-controls / save-set-restore

save set restore
MIT License
2 stars 0 forks source link

Disable Save-Set-Restore #11

Closed dxmaxwell closed 8 years ago

dxmaxwell commented 8 years ago

I am trying to disable save-set-restore, so I set the 'plugin_customizatio.ini' file as follows:

org.csstudio.saverestore.git/url=https://stash.nscl.msu.edu/scm/saveset/test.git

org.csstudio.saverestore.git/destination=

org.csstudio.saverestore.git/automaticSynhronisation=true

But for some reason I can still access the data in CS Studio.

Also, can I use a local repository instead of HTTP?

Dylan

berryma4 commented 8 years ago

disable, as in remove? If you comment out the 'plugin_customizatio.ini', then the defaults in the plugin will be used.

berryma4 commented 8 years ago

But, yes a local repository instead of HTTP would be nice ... is this already possible, as in we need to know the uri format?

dxmaxwell commented 8 years ago

When I setup CS Studio to run in the isolated VM, I try to disable external services, like the archiver, olog, etc. For these other service I simply removed there configuration so they couldn't connect to the outside service, that seemed good enough, I don't think I need to remove the olog plugin or the archiver plugin, etc. Ultimately I would prefer to have a local GIT repo for save-set-restore.

jbobnar commented 8 years ago

Yes, that is possible and is coming your way (tomorrow), I just need to do a bit more testing. You will be able to specify the path to a folder on the local file system and it will be treated as a git repository, or a repository will be created, if the destination is empty. No push/pull will ever be performed on such repository. That actually makes it a much faster service, but you'll have to find a way to merge the local repository with the central repo manually (if needed).

Removing the setting in the plugin_customization.ini default to my test repo. I'll remove that.

jbobnar commented 8 years ago

This should work now.