4 ms·
Interesting peek into how the sausage is actually made. Also notable: the code is open source, but the test suite is not. I've seen this in other projects, inc
by dboreham 2y ago
Interesting peek into how the sausage is actually made.
Also notable: the code is open source, but the test suite is not. I've seen this in other projects, including one I worked on (on the commercial side). It's a little sneaky, particularly in the case that there's a "decoy" test suite open sourced that isn't the real one. Not to say I criticize this: we all need to make a living, but nieve consumers of OSS projects should be aware of this.
- ensignavenger 2y agoIs it really that sneaky? I am pretty sure the SQLite website is crystal clear on this point.
- ahoka 2y agoIt's not really open source in the strictest sense as they strangely refuse to provide any license for it and as far as I know they are not open to contributions either.
- lesuorac 2y agoI mean there's literally a LICENSE.txt file. https://sqlite.org/src/file?name=LICENSE.md&ci=trunk https://sqlite.org/src/file?name=LICENSE.md&ci=trunk Public Domain doesn't require a license though - https://www.sqlite.org/copyright.html https://www.sqlite.org/copyright.html
- actionfromafar 2y agoIt gets kind of weird in jurisdictions without the legal concept of Public Domain though. But in practice I only see it treated basically the same as the MIT license.
- ec109685 2y agoHe addresses contributions here, “They have a really high bar”, but are accepted, occasionally: https://news.ycombinator.com/item?id=34480732 https://news.ycombinator.com/item?id=34480732
- barumrho 2y agoDid not know that. It's an interesting way to keep ownership of the project! What other projects do this?
- woodrowbarlow 2y agoi wouldn't say the open tests are a decoy; it seems they're used for most developer testing. it seems the TH3 suite is only run when it's time to do a release (because it takes days to complete).
- JonChesterfield 2y agoSome tests are public. Others aren't. Seems reasonable to me.
- deleted 2y ago[deleted]
- wduquette 2y agoI've heard Richard say several times that SQLite looks like it's coded in C, but it's actually coded in TCL/TH3...because the C code comes and goes but the test suite is eternal.