Bug 233697 - Porter's handbook: Makes clearer the official ordering for plist
Summary: Porter's handbook: Makes clearer the official ordering for plist
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Documentation (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-doc (Nobody)
Depends on:
Reported: 2018-12-01 19:17 UTC by Lorenzo Salvadore
Modified: 2018-12-01 19:17 UTC (History)
0 users

See Also:

patch for official plist ordering (1.90 KB, patch)
2018-12-01 19:17 UTC, Lorenzo Salvadore
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenzo Salvadore freebsd_committer 2018-12-01 19:17:32 UTC
Created attachment 199720 [details]
patch for official plist ordering

It looks like there is an official ordering for plist's (some committers explicitly requested it), although it is only suggested and not required in the porter's handbook: my patch makes it clear that it is required and tries to explain it better.

Indeed the ordering is described by the handbook just as alphabetical and I thought that the "sort" command would generate it, but I was wrong: I was explained that the ordering must occur after variable expansion, not before, and that "make makeplist" can be used to generate it. I put those details in the patch.