Page MenuHomeFreeBSD

check-stagedir.sh improvement
ClosedPublic

Authored by antoine on Nov 3 2014, 8:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 8 2024, 11:01 AM
Unknown Object (File)
Apr 8 2024, 11:01 AM
Unknown Object (File)
Mar 8 2024, 8:41 PM
Unknown Object (File)
Jan 17 2024, 11:26 AM
Unknown Object (File)
Jan 4 2024, 6:18 PM
Unknown Object (File)
Dec 30 2023, 5:27 PM
Unknown Object (File)
Dec 30 2023, 5:27 PM
Unknown Object (File)
Dec 22 2023, 10:24 AM
Subscribers

Details

Summary
  • emit only empty directories in prefix and directories outside prefix during make-plist
  • whitelisting directories not starting with / is no longer needed during check-orphans after this (it was bogus anyway as %%DIRECTORYINROOT%% was not starting with /)
  • adjust missing dirs check to use a list of all directories instead of the dirs from make-plist

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

antoine retitled this revision from to check-stagedir.sh improvement.
antoine updated this object.
antoine edited the test plan for this revision. (Show Details)
antoine added a reviewer: marino.

Thanks for putting this together antoine!

there is an orphan false positive for meta-ports, need to fix

> Checking for items in STAGEDIR missing from pkg-plist

Error: Orphaned: @dir /usr/local

antoine edited edge metadata.

Fix false positive orphans for meta ports

bapt added a reviewer: bapt.
bapt added a subscriber: bapt.

LGTM

This revision is now accepted and ready to land.Nov 4 2014, 11:29 PM
antoine updated this revision to Diff 2278.

Closed by commit rP372177 (authored by @antoine).