Page MenuHomeFreeBSD

check-stagedir.sh improvement
ClosedPublic

Authored by antoine on Nov 3 2014, 8:34 PM.
Tags
None
Referenced Files
F150809270: D1101.id2278.diff
Sat, Apr 4, 5:05 AM
F150804323: D1101.id2256.diff
Sat, Apr 4, 4:12 AM
F150722008: D1101.id2278.diff
Fri, Apr 3, 3:05 PM
Unknown Object (File)
Thu, Apr 2, 1:03 PM
Unknown Object (File)
Thu, Apr 2, 3:12 AM
Unknown Object (File)
Tue, Mar 31, 1:36 PM
Unknown Object (File)
Sun, Mar 29, 3:46 AM
Unknown Object (File)
Sun, Mar 29, 2:46 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
No Lint Coverage
Unit
No Test Coverage

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).