Page MenuHomeFreeBSD

check-stagedir.sh improvement
ClosedPublic

Authored by antoine on Nov 3 2014, 8:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 26, 6:25 AM
Unknown Object (File)
Wed, Sep 23, 9:13 PM
Unknown Object (File)
Wed, Sep 23, 9:13 PM
Unknown Object (File)
Wed, Sep 23, 9:12 PM
Unknown Object (File)
Wed, Sep 23, 5:56 PM
Unknown Object (File)
Tue, Sep 15, 8:20 PM
Unknown Object (File)
Tue, Sep 15, 8:11 PM
Unknown Object (File)
Tue, Sep 15, 7:59 PM
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).