On 2023/08/19 16:36, lain. wrote: > Oh, I didn't know that. > I never use CVS for anything other than OpenBSD ports, so I read the > handbook which says "you do X", I make notes for future reference so > that I don't need to open up a browser every time I need to update the > ports tree, and assume that "cvs -q up -Pd -A" is the CVS equivelant of > "git fetch && git pull". > But if that's the case, then I guess I'll need to adjust my notes a bit > to prevent messing up next time. > > On 2023年08月19日 09:20, Theo Buehler wrote: > > On Sat, Aug 19, 2023 at 04:09:27PM +0900, lain. wrote: > > > I'm on the OPENBSD_7_3 tree, never used the "current" one. > > > > Well, you made sure this isn't the case. > > > > > > > I just updated my ports tree with "cvs -q up -Pd -A", the usual stuff, > > > > "use the -A option to make cvs forget these specifications, and retrieve > > the ``head'' version of the file" > > -- > lain.
I asked ChatGPT how to uodate the 7.3-stabke ports tree and it said, -------- To update the OpenBSD ports tree for the 7.3-stable release, you can use the `cvs` command. Here's how you can do it: 1. Open a terminal on your OpenBSD system. 2. Navigate to the directory where your ports tree is located. This is typically `/usr/ports`, but it might vary depending on your setup. 3. Run the following `cvs` command to update the ports tree: ``` cvs -d anon...@anoncvs.spacehopper.org:/cvs update -Pd -r OPENBSD_7_3 ``` Replace `/usr/ports` with the actual path if it's different in your case. This command fetches the latest updates from the OpenBSD repository for the 7.3-stable release and updates your local ports tree accordingly. The `-P` flag prunes any directories that are no longer in the repository, and the `-d` flag creates any new directories that have been added. The `-r` flag specifies the branch or tag you want to update to, which in this case is `OPENBSD_7_3`. Remember that you need to have the appropriate permissions to update the ports tree. If you encounter any issues, double-check your paths and ensure that your system is properly configured for CVS access. -------- Since I actually understand this stuff I can confirm it did actually get it mostly right this time. though it should have pointed at the mirrors list to find a local one. > I had to download the entire source tree, which is why I didn't reply > sooner. you didn't have to, because cvs supports partial checkouts. anyway, the -current ports is for use with -current and may rely on changes in the base OS (and certainly relies on changes in other ports, which are likely to be a pain to build in some cases), If you aren't running -current, please stick with -stable packages. If you want to run -current ports, run a -current OS snapshot too.