On the Wiki, you've updated the "Updating" section to show the changes. I can obviously create the new "repo" directory under /sbbs, but the next step shows simply "git pull". How will my system know where therepository
is? Don't I have to have some configuration that defines where to pull from? I think there is an assumption there that it's a new install that was done from git, and I guess perhaps the new GNUmakefile creates that config.... but what if I've been updating via CVS for all this time... (and obviously don't want to do a new install from git).
DaiTengu wrote to Gamgee <=-repository
Re: First update with GIT
By: Gamgee to Digital Man on Mon Aug 24 2020 10:18 am
On the Wiki, you've updated the "Updating" section to show the changes. I can obviously create the new "repo" directory under /sbbs, but the next step shows simply "git pull". How will my system know where the
is? Don't I have to have some configuration that defines where to pull from? I think there is an assumption there that it's a new install that was done from git, and I guess perhaps the new GNUmakefile creates that config.... but what if I've been updating via CVS for all this time... (and obviously don't want to do a new install from git).
when you do a git clone, it writes config files into .git/ with information on where the repo is located. You can also set
environment variables and whatnot for git to use, but that's not
required if you're simply doing a "git pull"
anyway, when you are in /sbbs and do a "git pull" it reads the
settings stored in the .git/ directory, that's how it knows where
the repo is.
I'd recommend holding off a bit on updating with git if you're
not familiar with it. As DM said, it's kind of an all-or-nothing
type system. If you have any changes to files that are in CVS,
they'll get overwitten by the copy command from GNUMakefile. I
can already hear The Millionaire screaming about his text.dat
file....
Hi there DM,step
I saw your long message in Announcements, and lots of other messages regarding the changeover to GIT from CVS. Makes sense to me, I guess, but have one question regarding updating an existing (Linux) BBS:
On the Wiki, you've updated the "Updating" section to show the changes. I can obviously create the new "repo" directory under /sbbs, but the next
shows simply "git pull". How will my system know where the repository is? Don't I have to have some configuration that defines where to pull from? I think there is an assumption there that it's a new install that was done from git, and I guess perhaps the new GNUmakefile creates that config.... but what if I've been updating via CVS for all this time... (and obviously don't want to do a new install from git).
Digital Man wrote to Gamgee <=-step
I saw your long message in Announcements, and lots of other messages regarding the changeover to GIT from CVS. Makes sense to me, I guess, but have one question regarding updating an existing (Linux) BBS:
On the Wiki, you've updated the "Updating" section to show the changes. I can obviously create the new "repo" directory under /sbbs, but the next
shows simply "git pull". How will my system know where the repository is? Don't I have to have some configuration that defines where to pull from? I think there is an assumption there that it's a new install that was done from git, and I guess perhaps the new GNUmakefile creates that config.... but what if I've been updating via CVS for all this time... (and obviously don't want to do a new install from git).
See here:
http://wiki.synchro.net/dev:git
GNUMakefile. I can already hear The Millionaire screaming about histext.dat
le....
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 368 |
Nodes: | 16 (2 / 14) |
Uptime: | 41:42:16 |
Calls: | 7,885 |
Calls today: | 3 |
Files: | 12,962 |
Messages: | 5,787,623 |