From owner-freebsd-hackers@freebsd.org Mon Jun 24 16:29:52 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8119915D22E9 for ; Mon, 24 Jun 2019 16:29:52 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 96A6575620; Mon, 24 Jun 2019 16:29:51 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x5OGTmsC044505; Mon, 24 Jun 2019 09:29:48 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id x5OGTmpd044504; Mon, 24 Jun 2019 09:29:48 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201906241629.x5OGTmpd044504@gndrsh.dnsmgr.net> Subject: Re: release notes file In-Reply-To: To: Warner Losh Date: Mon, 24 Jun 2019 09:29:48 -0700 (PDT) CC: Cy Schubert , "freebsd-hackers@freebsd.org" , "Bjoern A. Zeeb" , Mark Johnston , FreeBSD Release Engineering Team X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 96A6575620 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [2.77 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.90)[0.900,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: gndrsh.dnsmgr.net]; NEURAL_SPAM_LONG(0.84)[0.844,0]; NEURAL_SPAM_MEDIUM(0.09)[0.092,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.04)[ip: (0.14), ipnet: 69.59.192.0/19(0.07), asn: 13868(0.05), country: US(-0.06)] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jun 2019 16:29:52 -0000 > On Mon, Jun 24, 2019 at 9:44 AM Cy Schubert > wrote: > > > On June 23, 2019 5:36:16 PM PDT, Mark Johnston wrote: > > >On Sun, Jun 23, 2019 at 11:23:57PM +0000, Bjoern A. Zeeb wrote: > > >> On 23 Jun 2019, at 19:18, Mark Johnston wrote: > > >> > > >> Hi, > > >> > > >> > Today we add a Relnotes tag to commits that warrant a release note. > > >> > My impression is that it doesn't work so well: if a committer > > >forgets > > >> > or doesn't know to add one there's no way to amend the commit > > >message > > >> > (same for MFCs), and a commit message isn't a convenient place to > > >> > write > > >> > the text of a release note. I would like to propose adding a > > >> > top-level > > >> > RELNOTES file instead, which like UPDATING would document notes for > > >> > specific commits. It would be truncated every time the head branch > > >is > > >> > forked, and changes to it would be MFCed. This fixes the > > >> > above-mentioned problems and would hopefully reduce the amount of > > >time > > >> > needed by re@ to compile release notes. > > >> > > >> Hooray. Can we put that file into the doc repo, so that the ports > > >> people, and the docs people, and all other kinds of hats can put > > >things > > >> in there as well? > > > > > >Virtually all of the 12.0 release notes are for src/ (there are 4 lines > > >for ports/pkg and 1 line for docs, and the latter describes a new man > > >page in src). Why is it important to have a single place for everyone > > >to commit their entries? > > > > > >> Oh, the release notes go into the doc repo anyway. Can we just put > > >them > > >> in the right place and just fill them from a skeleton where they > > >should > > >> be and naturally grow the document (feel free to use a different > > >markup > > >> language once doc is ready for that). > > >> > > >> Oh, with that release notes are written automatically and you are > > >still > > >> responsible for that your stuff is in there. And the release notes > > >only > > >> need an editing pass in the end? > > >> > > >> And the wiki pages like ?What?s cooking for 13?? or similar could > > >> just vanish as we?d have these updated at least every 10 minutes > > >> automatically .. on our web server under /releases/ where they belong > > >.. > > >> > > >> How amazing would that be? > > > > > >I would guess that many src committers simply won't add release notes > > >if > > >they have to commit to a second repository and use some unfamiliar > > >markup format and worry about validating the file. There are lots of > > >__FreeBSD_version bumps that go undocumented until someone else goes in > > >and fills in the missing entries. A plain-text file in src repo for > > >src > > >release notes is low-friction and creates only marginally more work for > > >RE. "What's cooking for 13?" can just point to the copy of RELNOTES in > > >svnweb. > > > > > >That said, I personally would try to commit my release notes to a doc > > >repo file if one existed. I've spent a few minutes trying to compile > > >the 12.0 notes on my desktop and have not been able to get past, > > >"cannot > > >parse http://www.FreeBSD.org/XML/share/xml/freebsd-xhtml-release.xsl". > > >So, I'm probably not a good person to set up release notes for 13.0. I > > >will help fill in entries for commits since the 12.0 if someone else > > >does that setup. > > >_______________________________________________ > > >freebsd-hackers@freebsd.org mailing list > > >https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > >To unsubscribe, send any mail to > > >"freebsd-hackers-unsubscribe@freebsd.org" > > > > Src and ports should each have their own RELNOTES file. > > > > The only operational concern I have is trimming the file, probably when a > > branch goes EOL. > > > > I'd add truncating the file on -current to the list of things we do when we > branch. then we can MFC RELNOTES as we MFC the features they describe. I disagree, truncating the file on -current destroys the list of changes that are still in current that need to get into the next set of release notes. Howerver there is 1 point on head/ to truncate the file. That is when we create a new .0 branch as that is the tree state that has nothing to put in the release notes. This may be the most sane path forward that I had not thought of before. All other branched versions can just continue to grow until EOL. This bounds the file to about a 2.5 year collection in head/, and a 5.0 year collection in stable/. It may make since to truncate on stable/X when stable/X.Y's are created. I think we need to be fairly careful with the MFCing of this, that may work fine for things that are commited with a RELNOTES entry, something in the back of my head is screaming lots of merge conflicts but I can not put a solid finger on it. Something just hit me, what commit number goes in this file, if we list it by rXXXXXX of head, that has a rYYYYYY when MFC'ed, probably need to track both? Which means all existing entries get an added line at stable/X creation to indicated the commit that created the branch? If we try to simplify and only track by head commit that makes it harded to go find the MFC and see if there was merge munging to make it work. > Warner -- Rod Grimes rgrimes@freebsd.org