Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2017 23:04:39 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Warner Losh <wlosh@bsdimp.com>
Cc:        arch@freebsd.org, stable@freebsd.org
Subject:   Re: mandoc 1.14 on FreeBSD 11.1
Message-ID:  <20170320220439.qeof5gqblcu7djn7@ivaldir.net>
In-Reply-To: <A2CCA4E9-0EBE-41D6-B864-241FFDD64744@bsdimp.com>
References:  <20170320215324.67dgut6svvow4o53@ivaldir.net> <A2CCA4E9-0EBE-41D6-B864-241FFDD64744@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Mon, Mar 20, 2017 at 03:59:35PM -0600, Warner Losh wrote:
> 
> > On Mar 20, 2017, at 3:53 PM, Baptiste Daroussin <bapt@FreeBSD.org> wrote:
> > 
> > Hi all,
> > 
> > mandoc 1.14 has introduced a new database format (removing the requirement for
> > sqlite). FreeBSD 11.x is having right mandoc 1.13, Given the database format is
> > a technical detail (aka new format will be generated anyway automatically and
> > seamlessly replacing the old database). I think it does not fall into POLA. For
> > such reason I'm planing to upgrade to the 1.14 series (current already have it).
> > 
> > If that is a matter for you to change that database format please tell me.
> > Otherwise in 2 weeks I will import 1.14 in 11-STABLE in order we have it in
> > 11.1-R
> 
> I tend to agree with our analysis, but have a couple of questions that will help us know what’s the right thing to do.
> 
> First, this is 100% independent of the kernel, so we don’t have any ‘forward / back’ issues with that, correct?

Totally :), there might be an issue with the framework as it is not picking
makewhatis from the cross tools as it should I may need to fix that
> 
> Next, If I reinstall an older version of FreeBSD, it will create the database that’s appropriate for 1.13, and vice versa, so it shouldn’t be visible to the user.

Yes there is a periodic script for that and the database is anyway rebuild when
installing etc files
> 
> What happens if I upgrade and then add/delete packages, including upgrade, add packages, downgraded?

Exactly as now, makewhatis (periodic script) will regenerate the databases at
the proper format
> 
> Is there a dependence on which pkg version you are using?

Nope
> 
> If the answers to these questions are approximately “yes”, “shouldn’t matter / does the right thing”, “won’t be an issue because recreation sets the right format and installworld will update the database with the right things as part of that” and “doesn’t matter”  then I’d agree that this is an uninteresting detail and need not be preserved.

Yup that is the answer to it :)
> 
> Warner



[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAljQUeUACgkQY4mL3PG3
PlqD1RAAhFxj3RWETMXViFshrFmjSTS6SKLMPrvt2cngAD3kgmL6N+mRy/mw/u3G
tG1JOwWPhacoDdQr3qeSTcLsRyZ/fmTTgJXD6MWyKi/VWfWf80KQ3XQYB40u4xUO
qSGk1qdTF3MfQk4f2M17AQCsS8UI0uY48P4Z1u9bT3I4/mTV/HAtio9htUdODomz
WnvhNfRb7zXp+qQPzdVklm7tGkMDE5MdAKx6N26xNoMaFii9qPh7H2NdCGh4j4zB
snxK/HX1BZ3QU0Uxg6OEwUXkDIrGw4e8CZOQe1gMcbMNskX4Bxc+zOQ08+tpAs/Y
/yTb+vvEAJjs5h3xZlmenxu3uW/7DUk0ihAgHU55OOz/am9tqNazhJLiVG2O3yAs
jPqykTp5a1zUW1vLIiL7eNq4PtRE22Q+JcCnNEescvN9R5/1MDy+U8rcp83NwjEn
eo1vQhKcO5dVHQaJ3BKHmIotCnFDLPlkNKPLhZErNxZ5liaKP8H40KOp3iW11+zA
hhMzG9pw7s1T67z6y4rZWjmE7l/TzwCbZJTNeF7PBw6EKoC3eKfWYqGiMxqFnyh8
wboOc6sQXD4G0oORjSS8S7spJuK6uD81vKZosLA2dDLnIM+QdC9rmdMk43NXoCUr
/S7lI6H+coJIJfrQ0qS1B8yxoxlEG2n4r9RoNzzkyCqK6BILW2A=
=sYwd
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170320220439.qeof5gqblcu7djn7>