Hello all,
Getting ready to (finally) do an update to my system since the
switch to Git... Yes, I'm slow to change...
Using Linux, and am going to do a complete reinstall, followed by copying/editing my existing config into the new one. Reason for
that is that I want to have all the latest options (new sections
in modopts.ini, sbbsecho.ini, etc...), and a "clean" start.
Not worried about the actual install and re-config. Planning
to use the SYMLINKS method also. I understand about putting
modified JS/Baja stuff in /sbbs/mods, so that changes don't get
wiped out when doing a Git update (to exec) later. Again no
problem.
So, here's what I am wondering about. The /sbbs/text directory
will also be symlinked (to /sbbs/repo/text). I have a lot of
custom menu/display files in /sbbs/text/menu. Will Git see those
as "conflicts" when I do the "git pull" thing to update later?
Will I have to do all that merge/push/pop/stash stuff to deal with
that, or not? That's my last remaining concern after reading and
studying this new procedure... Thanks for info.
If you have a lot of customizations in your text dir, then you could usecopies , rather than symlinks of the repo/text files (probably preferred), or you could create a local branch to merge upstrea changes into, but yes, its very likely there will be conflicts - especially in the future when there's a git-change to the same line(s) of a file that you have locally modified.
Another approach would be to symlink the individual files in text (ratherthan the directory itself) and then break those symlinks for any files you modify. That way, your unmodified files are automatically updated on a git pull, but your modified files are excluded.
Gamgee wrote to All <=-
copying/editing my existing config into the new one. Reason for
that is that I want to have all the latest options (new sections
in modopts.ini, sbbsecho.ini, etc...), and a "clean" start.
poindexter FORTRAN wrote to Gamgee <=-
Gamgee wrote to All <=-
copying/editing my existing config into the new one. Reason for
that is that I want to have all the latest options (new sections
in modopts.ini, sbbsecho.ini, etc...), and a "clean" start.
That is a tricky bit. Once a quarter I update from the .zips,
then end up with the stock .ini and my .ini side by side to compare
the two and see what new options I'm missing.
It's not a bad idea, I suppose, familiarizing me with the
options.
Digital Man wrote to Gamgee <=-
Getting ready to (finally) do an update to my system since the
switch to Git... Yes, I'm slow to change...
Using Linux, and am going to do a complete reinstall, followed by copying/editing my existing config into the new one. Reason for
that is that I want to have all the latest options (new sections
in modopts.ini, sbbsecho.ini, etc...), and a "clean" start.
You could just copy those files, but honestly, there's nothing
new in sbbsecho.ini (and echocfg always re-writes all the new
keys anyway). I don't recommend a "complete reinstall".
Okay, I may reconsider that part of it.
Not worried about the actual install and re-config. Planning
to use the SYMLINKS method also. I understand about putting
modified JS/Baja stuff in /sbbs/mods, so that changes don't get
wiped out when doing a Git update (to exec) later. Again no
problem.
So, here's what I am wondering about. The /sbbs/text directory
will also be symlinked (to /sbbs/repo/text). I have a lot of
custom menu/display files in /sbbs/text/menu. Will Git see those
as "conflicts" when I do the "git pull" thing to update later?
Will I have to do all that merge/push/pop/stash stuff to deal with
that, or not? That's my last remaining concern after reading and studying this new procedure... Thanks for info.
If you have a lot of customizations in your text dir, then you
could use copies , rather than symlinks of the repo/text files (probably preferred), or you could create a local branch to merge upstrea changes into, but yes, its very likely there will be
conflicts - especially in the future when there's a git-change to
the same line(s) of a file that you have locally modified.
I don't want to get in to the merge/push/stash stuff, but I think
I understand the first part of what you said there. Would the
following method work fine:
1. Don't use the SYMLINK method (just install). After a Git
pull, do the normal make procedure, which will put the new
executables in /sbbs/exec. No symlinks anywhere.
2. As per the "Run time files" section of the Dev Update
procedure, download and extract the daily archives of 'exec' and
'text', overwriting into /sbbs/exec and /sbbs/text.
3. Restore all my custom stuff into /sbbs/text (which was
previously backed up).
4. Download and copy the new text.dat into /sbbs/ctrl.
5. Run the ./jsexec update.
I believe that would be a good solution for me, do you see
anything wrong with those steps?
Thank you for your time and advice.
I believe that would be a good solution for me, do you see
anything wrong with those steps?
Digital Man wrote to Gamgee <=-
Re: Re: Updating to/via Git
I believe that would be a good solution for me, do you see
anything wrong with those steps?
Other than being more manual than necessary, no, I don't see
anything wrong with it.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 412 |
Nodes: | 16 (2 / 14) |
Uptime: | 08:13:12 |
Calls: | 8,615 |
Calls today: | 1 |
Files: | 13,235 |
Messages: | 5,936,491 |