Re:Argh-P-M – Dissecting the RPM file format (2016)
by yjftsjthsd-h on Wednesday July 11, 2018 @11:29AM
(#17507673)
I don't think they're bad decisions; I think he has no idea why it's that way and so is assuming that it's terrible. The RPM format was designed when computers were smaller and slower, and is extremely flexible while forcing you to declare enough that it can validate the file contents as it goes. It's over-engineered, and there are certainly things I would change, but it's not just random stupid decisions. If you can't think of any good reason why it would be written the way it is, the main options are that you're missing something or the original spec authors were stupid. Of course, sometimes they were stupid, but maybe don't immediately assume that after your very first investigation into the format.
[ Parent
| on HN ]
Re:Argh-P-M – Dissecting the RPM file format (2016)
by icebraining on Wednesday July 11, 2018 @12:01PM
(#17507942)
The Deb file format was designed even earlier, yet it doesn't contain a matryoshka of metadata.
Re:Argh-P-M – Dissecting the RPM file format (2016)
by yjftsjthsd-h on Wednesday July 11, 2018 @01:15PM
(#17508550)
Debian under-engineered, Redhat over-engineered. In perfect hindsight, Debian probably made better tradeoffs, but that's only with decades of hindsight.
Re:Argh-P-M – Dissecting the RPM file format (2016)
by icebraining on Wednesday July 11, 2018 @02:27PM
(#17509098)
I don't see how Debian under-engineered. Does it not fulfill its needs?
Plus, RH could have decided to make a proper v2 rather than build this lasagna of a format.
Re:Argh-P-M – Dissecting the RPM file format (2016)
by yjftsjthsd-h on Wednesday July 11, 2018 @02:52PM
(#17509322)
I suppose "under" is perhaps a stronger term than I really want, since it did in fact work out. I agree that Debian, indeed, fulfilled exactly what it needed, but only what it definitely needed right then; a minimum viable product that turned out to be sufficent. RH built for everything that they could imagine ever needing, and left options to extend for anything they didn't think of in advance. Perhaps "just enough"-engineered vs over-engineered?
Re:Argh-P-M – Dissecting the RPM file format (2016)
by icebraining on Wednesday July 11, 2018 @02:58PM
(#17509367)
I disagree, RH did not in fact built it for everything; if they had, they would not need headers-inside-headers or fixed "nonsense" values. What they build is an over-engineered yet incomplete format, but also inflexible, so they had then to pile hacks upon it.