public inbox for [email protected]
help / color / mirror / Atom feedFrom: Jonathan S. Katz <[email protected]>
To: Tom Lane <[email protected]>
Cc: [email protected]
Subject: Re: Release note trimming: another modest proposal
Date: Mon, 6 Aug 2018 14:05:00 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
> On Aug 6, 2018, at 1:22 PM, Jonathan S. Katz <[email protected]> wrote:
> I can make a quick prototype of this on pgweb just to see how easy it is to get
> the release notes up in it. Basically, once the archived ones are in pgweb, we
> would not need to have to build them anymore.
Attached is a screenshot of something real quick I drew up. I was able to
generate these notes from what was already loaded in via “docload” (which
is what happens in every release).
I did manually edit the xref’s in order to have them appear more cleanly, but
I should be able to script the process.
To quote you earlier, yes there is a bit of nontrivial work here, but I do think
we have most of the tools in place to do this. What I am thinking is the
following:
1. Add to the “docload” script to segment out the release notes and store
them in a separate table. Perform an “upsert” (i.e. check for an existing
reference; if it’s there, update any content, otherwise insert).
2. Perform any modifications to the content (i.e. there’s some HTML I
explicitly removed from the generated docs).
3. Display the archived docs on the page.
That way in future docloads, if there are missing release notes, the script
would be ok as it would not remove any release notes.
This strategy *should* also work with displaying current release notes on the
site, as it’s basically following what docload currently does, if we wanted to
go down this patch.
Once we run this for the first time with the collection of *all* release notes,
we could then trim down release.sgml et al. And thus as far as I can tell, you
would not have to modify anything in the doc build process.
Thoughts?
Jonathan
Attachments:
[image/png] Screen Shot 2018-08-06 at 1.55.33 PM.png (446.8K, 3-Screen%20Shot%202018-08-06%20at%201.55.33%20PM.png)
download | view image
[application/pgp-signature] signature.asc (833B, 4-signature.asc)
download
view thread (58+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Release note trimming: another modest proposal
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox