Save Standalone Settings Externally

Sannyasin Brahmanathaswami brahma at hindu.org
Sat Aug 3 10:14:09 EDT 2019


When working collaborately with a framework on Git Hub. There is always an issue of the stack that will be made the standalone for the app.

No changes are made to binary MyMainStack.app other than settings in the standalone, which you may does simply for testing.

Now, if you "pull" the project in Git Hub, you are prompted that the changes to MyMainStack.app need to be committed…etc.  if you do, then you will get a conflict when you will pull. So the usual practice (for me anyway) is to

a) be sure the only changes in the binary are to the SA settings, nothing else
b) run git stash
c) then pull

Is there some way to externalize the SA setting so that they don’t change the binary?

This way you could


  1.  Load SA setting for testing # call it "MyMainStack_SA-Setting.config"

          # git ignore would have a  "MyMainStack_SA-Setting.config" so it does not track

  1.  Now whatever you do  with SA settings for testing, does not check the binary stack.
  2.  Pull without conflict.

And, now you know for sure that  when you commit the MyMainStack.app changes where you are for sure changed anything else *other* that the standalone settings? Because you never save it…

Of course, it you want to save the SA setting in the binary, you *could* save them….

BR




More information about the use-livecode mailing list