Page MenuHomeFreeBSD

New stage-qa check: emptydirs: Warn when there are empty directories in DOCSDIR, EXAMPLESDIR
AbandonedPublic

Authored by yuri on Nov 26 2017, 9:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 23, 10:23 PM
Unknown Object (File)
Dec 14 2025, 2:27 AM
Unknown Object (File)
Nov 23 2025, 4:49 PM
Unknown Object (File)
Nov 9 2025, 3:01 AM
Unknown Object (File)
Oct 29 2025, 4:55 AM
Unknown Object (File)
Oct 26 2025, 1:34 AM
Unknown Object (File)
Sep 29 2025, 3:45 PM
Unknown Object (File)
Sep 29 2025, 6:10 AM

Details

Reviewers
antoine
tcberner
adamw
Group Reviewers
O5: Ports Framework(Owns No Changed Paths)
portmgr
Summary

Such directories are useless.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 13069
Build 13319: arc lint + arc unit

Event Timeline

yuri retitled this revision from New stage-qa phase: emptydirs: Warn when there are empty directories in DOCSDIR, EXAMPLESDIR to New stage-qa check: emptydirs: Warn when there are empty directories in DOCSDIR, EXAMPLESDIR.Nov 26 2017, 9:12 AM
yuri added a reviewer: antoine.
yuri added reviewers: tcberner, adamw.

I disagree, they may be useless in the specific case you looked at, but they may be required in some cases.

In any way, make makeplist will show empty directories as %%PORTDOCS%%@dir %%DOCSDIR%%/foo and the porter will know they have to remove them.