Re: Release note trimming: another modest proposal

"Jonathan S. Katz" <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.documentation
Message-ID <[email protected]>
On 2/4/19 11:12 AM, Tom Lane wrote:
> "Jonathan S. Katz" <[email protected]> writes:
>> On 1/26/19 10:06 AM, Tom Lane wrote:
>>> If I haven't heard objections, I'll see about making this happen
>>> during the first week of Feb (after the CF closes, but before
>>> it's time to do the February releases' notes).
> 
>> Thank you! I was hoping to take a crack at doing this, but I would not
>> be able to do so in the above timeline. However, I should be able to review.
> 
> Attached is a diff showing what I'm thinking about, for HEAD; each
> active back branch would get a similar change.  I'd also "git rm"
> now-unreferenced files in relevant branches, but that'd just bulk up
> the diff so I've not shown it here.

Thanks on all accounts. I reviewed and its along the lines of what I was
thinking as well. The documentation in release.sgml on how to create
things is clear. I did not try applying the patch, but syntactically it
passes the eyeball test.


> It's not quite clear to me what the policy would be for removing
> back-branch links from this list when old versions drop out of support.
> Should we go back and remove them in surviving back branches, or just
> change HEAD?

Yeah, that was one of my first thoughts as I reviewed the patch. It's
one of those "once-a-year" things that are easily forgotten (e.g. with
EOL warnings, which is why we updated a few things around that). But as
long as they're added to the process of wrapping for the release, it
does not sound like its a huge burden.


> Note that this would change our workflow for release notes a bit,
> in that real editing work would happen in the back branches, rather
> than them just getting copies of text from HEAD.  I don't see a big
> problem there, but it's a bit different from how we've traditionally
> done things.

I guess one way to look at it: overhead of adding these additional
changes vs. overhead saved with build times + tarball size? Are the
extra X minutes of developer time worth it?

> 
> Just for the record, this change causes the time to build HEAD's
> HTML documentation to drop from ~120 sec to ~95 sec for me; the
> size of the resulting html/ directory drops from 21MB to 15MB,
> while the PDF output goes from 17MB to 12.2MB.  I didn't try to
> measure the impact on tarball size, but it should be noticeable.

Wow, 28-29% reduction in the file sizes, and 20% reduction in build
time! Nice.

Jonathan
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE+oS2la8r95ogZD/x8QSccp8cZScFAlxYZ9MACgkQ8QSccp8c
ZScbCw//VDoPqatntxk+xT5MnqjyOcMyvqSXb3Jg65/BS+c/cA1sNFOrEjc6UaNY
B4OBTXEPfJylMI92rIGbb27Uz8bO6RF2wGr+94ldWeikwO6Cn6dqkRFHHkxRNhjI
bgz5gYpASRSOJm1gFOFtXg3aAMxWyX2bn6as5TGnzm9arO9Obc7tAeZ4WWHQ9ZRA
SzzcMUjtKKYbetixs8xiwox0eEfJKZS8uFUuJVm3cyostnAjT9MT9VDKcJHS+vo6
UZ8VG1iwqIoq0iuBlNBqsoZR3RunfWcnk6I9CXJ12C9FdwwpDZnKugYOlgcurDTq
pmOLPLx2mak8Q92hL1zwlwYRaJFYNogJPNq5PYZC4T6ngt79YHdCfsxdLXO/WeQ4
lmRNIKl+mmn4qssIwOEOueHr7hhY/TqTy2ZaVvQJ6Dl57CyVB6lJKoDYaq6CRESq
2mkezNDt8vJh4hKqdPLPKVH8DdpsVUf+INi9NIMPSyPf0N9+QQbHGawJr4IIOV8q
iU0VGg/WBvWx9QPGXGVFh97pGTNsicqNgEwPE78jlvd+65lIdO48l7UAdaeJVGvC
QIyVXGIwLVsTUl1vWuDjntUHunO9Q7dGUlWWM7lkuqGUs10X/lOIJnVqL0ShzLNc
X0ZoRdPAE1CAFH302O91/dFD3EfAFOP1KHERhTlaoo7/YSe7Ko4=
=ZNI2
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.