News for hackers. Stuff that matters.
Re:Call for testing: OpenSSH 8.0 by cnorthwood on Friday March 29, 2019 @04:35AM (#19520012)
Interesting that they seem to use CVS as the canonical source control repo. I wonder what the workflows of the dev team look like and if that tool makes it harder for external contributors to contribute?
Re:Call for testing: OpenSSH 8.0 by djmdjm on Friday March 29, 2019 @05:15AM (#19520147)
For workflows, we have good tooling based around https://github.com/yasuoka/cvs2gitdump to convert OpenBSD CVS commits to git commits in a "pristine upstream" repository (https://github.com/djmdjm/openbsd-openssh-src) and merge them to the portable OpenSSH repository. Merging changes from OpenBSD to portable is usually completely painless and only a hassle when merging something really large (in LoC touched) like a refactoring.

It would certainly be easier for external contributors (and us) if OpenBSD used git natively but as OpenBSD was AFAIK the first open source project to expose a CVS tree of their work to the world there's a lot of legacy to overcome.

Re:Call for testing: OpenSSH 8.0 by wibble10 on Friday March 29, 2019 @04:45AM (#19520043)
It’s part of OpenBSD who can’t use git for licensing reasons and the switch from cvs->svn isn’t really worth it.

There is a git mirror on github and you can work on that and submit diffs to the mailing list if you’re worried about having to read the cvs manpage ;)

Re:Call for testing: OpenSSH 8.0 by avar on Friday March 29, 2019 @04:57AM (#19520088)
Let's make something clear: They can, and they use other GPL software in the base system.

They just choose not to, for (as I understand it) a combination of reasons. Being averse to relying on new GPL code, being "happy enough" with CVS (also working on OpenCVS), and CVS being a little more than just source control for them due to the likes of CVSync[1].

I have patches in Git. If OpenBSD doesn't want to use it that's fine by me, and I wish them the best of luck. But let's be clear, it's not because we're telling them they can't use it.

1. https://www.openbsd.org/cvsync.html

Re:Call for testing: OpenSSH 8.0 by Crinus on Friday March 29, 2019 @05:33AM (#19520212)
Aren't "patches in Git" just "patches"? Git can give you a patchfile that can be applied with "patch" regardless of VCS.
Re:Call for testing: OpenSSH 8.0 by sneak on Friday March 29, 2019 @06:22AM (#19520386)
from GP: "I have patches in Git. If OpenBSD doesn't want to use it that's fine by me, and I wish them the best of luck. But let's be clear, it's not because we're telling them they can't use it."

I think he means he is a contributor to the source of `git` itself, and thus is justified in saying "we" in terms of not prohibiting OpenBSD's contributors from using the software he helps develop (git).

Re:Call for testing: OpenSSH 8.0 by avar on Friday March 29, 2019 @11:40AM (#19522594)
Correct. Thanks!
Re:Call for testing: OpenSSH 8.0 by simias on Friday March 29, 2019 @05:42AM (#19520254)
>also working on OpenCVS

Are they really though? I can't remember for how long "OpenCVS is to be released soon"[1] but the page itself begins the copyright in 2004.

While I respect other technical decisions taken by the OpenBSD team this one strikes me as pure hubris. Sticking to SVN I could sort-of understand but CVS is just ridiculously frustrating to work with.

[1] https://www.openbsd.org/opencvs/index.html

Re:Call for testing: OpenSSH 8.0 by s_ngularity on Friday March 29, 2019 @06:24AM (#19520399)
Looking at archive.org, the page has had "to be released soon" since at least 2005 [1]. So I think your skepticism is in order.

[1] https://web.archive.org/web/20050130011942/https://www.openb...

Re:Call for testing: OpenSSH 8.0 by jvink on Friday March 29, 2019 @08:21AM (#19520970)
> (also working on OpenCVS)

Not actively. It has been in hybernation for a long time.

Not counting the recently-ish fixes I committed not much is happening with it.

Re:Call for testing: OpenSSH 8.0 by Crontab on Friday March 29, 2019 @05:34AM (#19520215)
Dragonfly has git in base so that, in and of itself, is not the reason why.
Re:Call for testing: OpenSSH 8.0 by wolfy on Friday March 29, 2019 @09:04AM (#19521232)
DragonFly uses git but it's only a package like chromium or xfce.
Re:Call for testing: OpenSSH 8.0 by Crontab on Monday April 01, 2019 @05:03PM (#19548205)
No, it is in the base of the system. I just did an install of the base system and it is there.
Re:Call for testing: OpenSSH 8.0 by microcolonel on Friday March 29, 2019 @07:24AM (#19520649)
I know the process of using CVS has prevented me from making drive-by contributions to OpenBSD. If you just have a specific change in mind, and you saw how to do it on the anonCVS browser while you were out and about, the pain of setting up the CVS and working with it is usually enough to just give up and read a book when you get home instead.
Re:Call for testing: OpenSSH 8.0 by geocar on Friday March 29, 2019 @04:37AM (#19520019)
> and if that tool makes it harder for external contributors to contribute?

I hope so!

OpenSSH is a critical piece of infrastructure in most unix and linux environments, so making sure external contributors do some extra diligence seems like a good thing!

Re:Call for testing: OpenSSH 8.0 by geofft on Friday March 29, 2019 @07:43AM (#19520739)
Learning CVS is not "diligence." If anything, it takes up mental space you could be using on things like remembering to bounds-check your array accesses.

Asking contributors to learn CVS as a quality gate is like having a tech interview process that requires beating the hiring manager at chess. Sure, you're looking for smart people, and sure, people good at chess are usually smart, but the correlation is so low you'll lose out on good candidates and get candidates who are better at chess than coding.

Re:Call for testing: OpenSSH 8.0 by djmdjm on Friday March 29, 2019 @08:26AM (#19521000)
We don't ask anyone to learn CVS. People send the maintainers (myself and other) their changes (git format-patch is fine) and we integrate them.
Re:Call for testing: OpenSSH 8.0 by geofft on Friday March 29, 2019 @09:28AM (#19521450)
Yeah, to be clear I think you the OpenSSH maintainers are quite responsive to people who aren't using CVS (in particular, thank you for digging into https://bugzilla.mindrot.org/show_bug.cgi?id=2863 which didn't even have a patch!). I just want to be clear that people who look at what you're doing and say "OpenSSH is using an obscure process, that's what makes it high-quality" are misguided and should not implement such policies in their own products. It's not what you're doing, and if it were, it wouldn't work.
Re:Call for testing: OpenSSH 8.0 by brylie on Friday March 29, 2019 @04:42AM (#19520036)
It may be important not to confuse "diligence" for "encumbrance".
Re:Call for testing: OpenSSH 8.0 by sneak on Friday March 29, 2019 @06:24AM (#19520396)
The willingness to jump through outmoded and unnecessary hoops does not correlate to the quality of one's cryptographic code. In fact, many who are deliberately diligent will shy away from teams who care more about tradition than quality, in my experience.