Dale,
I am wondering where it is supposed someone would store his own stone-wide bash scripts. It looks to me the correct place MAY be `$GS_HOME/sys/local/bin`. And that directory is associated to a git repo: https://github.com/GsDevKit/GsDevKit_sys_local. So...it is nice to know I could manage all the GsDevKit_sys_local in my own git fork. But...I have a couple of questions: 1) Say I add stuff (like some bash scripts) into `$GS_HOME/sys/local/bin`. For a moment imagine I do not commit this into my own git fork. So...what would happen when I update gsDevKit_home? how can I be sure I won't loose those files with a latest override from your git repo? 2) Say I do want to commit all that directory into my own git fork. Where in gsDevKit_home configuration can I tell it which URL/branch should be used for GsDevKit/GsDevKit_sys_local ? Thanks in advance, _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
On 11/9/16 1:35 PM, Mariano Martinez
Peck via Glass wrote:
The update uses git pull, so barring any collisions your local uncommitted scripts will be untouched ... The original GsDevKit_sys_local[1] project simply provides a standard directory structure for your scripts so there is no intention to ever put any scripts or files in any of those directories, except the README.md file (which is the placeholder to ensure that git will create the directory). [1] https://github.com/GsDevKit/
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
On Wed, Nov 9, 2016 at 6:35 PM, Dale Henrichs <[hidden email]> wrote: Mariano, I had written a detailed answer to this step, but I lost the edit before I could send it ... I will have to re-create the answer :(
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by GLASS mailing list
On Wed, Nov 9, 2016 at 6:35 PM, Dale Henrichs <[hidden email]> wrote:
First you will add a remote pointing at your fork of the project on Github: Then you will create the file $GS_HOME/sys/local/gsdevkit_bin/defGsDevKit.env with the following contents: export GSDEVKIT_SYS_LOCAL_GIT_CHECKOUT=mine export GSDEVKIT_SYS_LOCAL_GIT_REMOTE=<branch-name> You will want to create a unique branch in your fork to manage your changes, so that you can keep the master branch clean for updates. updateGsDevKit will: 1. git checkout master 2. git pull origin master 3. git checkout <branch-name> 4. git merge master Dale _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
On Wed, Nov 9, 2016 at 6:47 PM, Dale Henrichs via Glass <[hidden email]> wrote:
Hi Dale, Thanks for your answer. I got it. Now I wonder... would the above instructions also work if I use gitlab instead of github? (I want the project to be private). I was checking: http://stackoverflow.com/questions/29433701/clone-a-github-repo-into-a-private-gitlab-repo Thanks in advance _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Mariano, The instructions should work exactly the same for gitlab as all of the script components are at the `git` command level.On Thu, Nov 10, 2016 at 11:40 AM, Mariano Martinez Peck <[hidden email]> wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by GLASS mailing list
On Wed, Nov 9, 2016 at 6:47 PM, Dale Henrichs via Glass <[hidden email]> wrote:
Hi Dale, Is this still accurate? I cannot see neither defGsDevKit nor the variable. I do see defSharedGitDevKit.env but grep shows nothing. Any idea? I am on gs_port Thanks in advance,
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
On 01/30/2017 07:08 PM, Mariano
Martinez Peck wrote:
Yes this is accurate. Look at $GS_HOME/shared/bin/defGsDevKit.env and you will see that $GS_HOME/sys/local/gsdevkit_ The env vars GSDEVKIT_SYS_LOCAL_GIT_ I do think that I reversed the values for the env vars. It should have been: export GSDEVKIT_SYS_LOCAL_GIT_
export GSDEVKIT_SYS_LOCAL_GIT_REMOTE= _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
On Tue, Jan 31, 2017 at 1:33 PM, Dale Henrichs <[hidden email]> wrote:
Sorry, but I am not seeing the same (I am on gs_port just in case). In my clone `$GS_HOME/shared/bin/ I think you mean that I should look at `$GS_HOME/sys/bin/
OK, good, now `grep` did find those.
Yes, that's the way they should be! Thanks Dale
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
On 01/31/2017 09:54 AM, Mariano
Martinez Peck wrote:
You are right ... $GS_HOME/sys/bin/
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Free forum by Nabble | Edit this page |