<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 26, 2024 at 2:50 PM Marten Feldtmann <m@feldtmann.online> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
<div>Hey,</div>
<div><br>
</div>
<div>well GsDevKit_stones/bin and
superDoit/bin are in my PATH variable, so I have no problems
calling all stuff from there. <br></div></div></blockquote><div>as expected... <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>
</div>
<div><br>
</div>
<div>Well, I asked ChatGPT how to get the
GEMSTONE variable value from the input parameter stoneName,
registryName and $stones_data_home value considering the structure
of GsDevKit_stones and this resulting bash script seems to work.
With that I can start all other processes.<br></div></div></blockquote><div>I don't know what ChatGPT answered ... but if you look at the .GDKStoneSpec.ston file in your stone directory, you will see everything that GsDevKit_stones knows about your stone including the set of env vars that are in your customenv file (if you used the customenv.solo solo script to add them to your file. The .GDKStoneSpec.ston file in your stone directory is a symbolic link to the file in your registry ...</div><div><br></div><div>I do recommend that you put your $STONES_DATA_HOME/gsdevkit_stones directory under git control and periodically do commits, so that you can protect the GsDevKit_stones data base from accidental corruption either from manual edits of GsDevKit_stones bugs...<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>By the way: </div>
<div><br>
</div>
<div>* what are projectsets for ????<br></div></div></blockquote><div>project sets allow you to define a set of git projects that you want to manage as a unit. The scripts following scripts use projectSets:</div><div><ul><li> createProjectSet.solo</li><li> updateProjectSet.solo</li><li> cloneProjectsFromProjectSet.solo</li></ul>Once a project set has been defined, you can use cloneProjectsFromProjectSet.solo script to populate an empty directory by cloning all of the projects in the project set into the directory or do a combo of fetch/pull/checkout on the git repositories to make sure you've got the latest commit of the project in your local directory.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>
</div>
<div>* how can I create own stone templates
from full backups of a GS database ?<br></div></div></blockquote><div> </div><div>I'm not quite sure what you mean by "stone templates"? Are referring to the GsDevKit_stones stone templates[1]? If so you are looking at a ston file with an instance of GDKhomeStoneDirectorySpec stored in it and it seems that at the moment there is no script to support creating and registering a new instance of a template. <br></div><div><br></div><div>If all you want to do is change the values of the exiting fields, you can copy an existing template, change the name of the file, the name field in the file and any of the fields that you want to change ... then manually add an entry in the registry where you want to use the new template in the #templates dictionary ... this is a case where you should commit your registry structure in git, in case you make editing errors :) <br></div><div><br></div><div>If you want to make a new type of template then you would need to add a new class of template to a private branch of GsDevKit_stones. Subclass GDKstonesStoneDirectorySpec and then add the fields/behavior you want ... You would might also want to modify or create your own createStone.solo script that invokes your new behavior ...</div><div><br></div><div>Dale<br></div><div><br></div><div>[1] <a href="https://github.com/GsDevKit/GsDevKit_stones/blob/v2.1/templates/default_seaside.ston">https://github.com/GsDevKit/GsDevKit_stones/blob/v2.1/templates/default_seaside.ston</a></div></div></div>