Date: Tue, 20 Oct 2020 08:28:44 -0400 From: Shawn Webb <shawn.webb@hardenedbsd.org> To: Warner Losh <imp@bsdimp.com> Cc: Greg 'groggy' Lehey <grog@freebsd.org>, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org> Subject: Re: Modernizing calendar(1) (was: svn commit: r365984 - head/usr.bin/calendar/calendars) Message-ID: <20201020122844.terxqb75dyvb4zqc@mutt-hbsd> In-Reply-To: <CANCZdfrbq54H2iCHqsD2B3_7KGOQ0AW-tY4%2BJ1irAJgrr4TdaA@mail.gmail.com> References: <20200923134334.czblcl2ppyxjnigs@mutt-hbsd> <CANCZdfpWcwt2gSF5m3_Z2DfBmURpk-UCeOfvFN8H_C8SQu_8WA@mail.gmail.com> <20201020035420.GA59361@eureka.lemis.com> <CANCZdfrbq54H2iCHqsD2B3_7KGOQ0AW-tY4%2BJ1irAJgrr4TdaA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--yd7muuql7o5fjjq2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 19, 2020 at 10:46:56PM -0600, Warner Losh wrote: > On Mon, Oct 19, 2020 at 9:54 PM Greg 'groggy' Lehey <grog@freebsd.org> > wrote: >=20 > > This discussion, from a month ago, seems to have died a death. First I= 'll > > summarize what imp@ says: > > > > On Wednesday, 23 September 2020 at 9:18:27 -0600, Warner Losh wrote: > > > > > > 1. I'll do for calendar what I did for CTM. We'll split it out into i= ts > > own > > > git repo. git filter-patch is straight-forward to use, but has a numb= er > > of > > > caveats with the imperfect github mirror we have. I'll do it against = the > > > beta cgit mirror and write up the process since I'm pretty sure people > > will > > > want to replicate it in the future. > > > 2. Delete the contentious bits (details to follow) > > > 3. Adjust the build (since calendar uses cpp to build up its database= s) > > > 4. Prune the new repo to just the contentious bits into that repo (li= kely > > > under github.com/freebsd/calendar, like we've done for CTM and other > > things) > > > 5. Create a port you can optionally install > > > 6. Adjust calendar to work when things are there (or not there) > > > 7. Remove the contentious bits from FreeBSD... > > > > This shows the procedural approach. But what do we really want? I > > think that we should agree that we don't want to remove functionality, > > just bring things into the 21st century. As I see it, there are three > > approaches: > > > > 1. Nobody cares enough about it, so leave it as it is. > > > > Given the lack of input on the subject, this might be the best > > choice. It's certainly the easiest. But it leaves a lot of dead > > wood and unbalanced and incorrect content. > > >=20 > Nah, people want the crusty old files of it gone. Trust me. >=20 >=20 > > 2. Move the non-FreeBSD related stuff into a port. This is imp@'s > > approach above. As you can see, it's rather involved, and it seems > > to me that we shouldn't be doing this sort of thing until we've > > moved the project to git and the dust has settled. It also > > complicates maintenance, and it doesn't address the dead wood and > > dubious content. > > >=20 > It's actually not all that involved. I've done it before for CTM and it's > about 1/2 hour of work to pull all the history along. 0 hours of work if > you don't care about the history. It actually goes hand in hand with #3 > below. >=20 >=20 > > 3. Create a separate port that sucks in and maintains suitable > > calendar entries from *somewhere* and maintain a directory > > hierarchy, say /usr/local/calendar, in the same form as the current > > /usr/share/calendar. Modify the calendar(1) in the tree to look at > > this hierarchy as well. /usr/share/calendar should remain for the > > few FreeBSD-related files (as far as I can tell, only > > calendar.freebsd). > > >=20 > Yea, I think you're right. The FreeBSD one is the interesting bit to the > project, and there's enough people that have .calendar files to make it > interesting to stay in base. Were it not for this FreeBSD connection, may= be > it could just live entirely in ports. Calendar has been around since 7th > Edition Unix, so there's history there as well, though that seems less > important these days. Note that the history of the calendar files is retained in the src repo, so nothing there is lost with regards to tracing the history to "back in old country." Thanks, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD GPG Key ID: 0xFF2E67A277F8E1FA GPG Key Fingerprint: D206 BB45 15E0 9C49 0CF9 3633 C85B 0AF8 AB23 0FB2 https://git-01.md.hardenedbsd.org/HardenedBSD/pubkeys/src/branch/master/Sha= wn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --yd7muuql7o5fjjq2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAl+O1/oACgkQ/y5nonf4 4fo9gBAAhlfN572B2QO9v1uqUgLfl1Wr4ZaxEFlna2d9okzGWSZp48iehJjRz37E t3/l1vL9kOonqXVyfdIuEHYevMW8T6+/i7xydLMv+3fE5PNl7PQbonTrBD/qxmq3 Y7fnZoOCSCoxltk1qX5iD2ASMgTdirJjOV4aQ+8LmMFgBJaC8uN9gMsBF88JUy4x OjdnrLX5P0n7RoSHlELTRkMYOc7aSPDhS9kyPiLA1Yr52DYtKvr5v68VUh1XQjAK RdIOo4XAROD6dS7Qow+ouLhkQA0FYLGWv2zeBUoO0dU60WMfge4vpIuh247v5NLi /6VzpzREe6+y1gfJHPtIS9hsw/Z8ScIaGATDoar7hxCUOjrFRVR8P2306DuDqR5t rjSA9FzTpHQo2FDn4sBE7X5+wq9SRdurN6n8aKzyXAB7DCl0xdyt6XYn1Zql8CyZ kMov26XJtaGtmLMaFO6LbDjL4gdJZczRSjCn/M/7BObvpElTaXeznbh0SiHe+WBC GHbxbhWOGs90bTeTavmrvFN0+RRfDfGEg5/J9ldkWUW1b8or0LnXzDQlG2VuIfut 5Lrxob6RHPAp/T3MjkJ5Y3ELhSAaLZdCT9rfN+YtD96NnIglXGKFbZvDTNQ9awVF sF/bzSbiW497DX+QPUwVoEirqXk5rtl8wXRKhLUk+eilI9dqvaw= =TkkW -----END PGP SIGNATURE----- --yd7muuql7o5fjjq2--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201020122844.terxqb75dyvb4zqc>