Closed Bug 451185 Opened 11 years ago Closed 11 years ago

add a build target to compare bin/ and the package list


(SeaMonkey :: Build Config, defect)

Not set


(Not tracked)



(Reporter: kairo, Assigned: kairo)




(1 file, 1 obsolete file)

To be able to check if our package lists are OK, it would be nice to have a build target that outputs a diff of the dist/bin directory and the files in the package list. This gives us a fast check what we aren't packaging and what we have in the package list that isn't built any more. Our builder boxes could even execute that so we can look into their logs and see that package diff easily.
Attached patch add package-compare target (obsolete) — Splinter Review
This adds a "package-compare" target callable from the objdir toplevel. I tested this on Linux, I hope it works on Windows (testing wanted!) - Mac should not produce any output as we have no package manifest there currently.
Attachment #334470 - Flags: review?(bugzilla)
Comment on attachment 334470 [details] [diff] [review]
add package-compare target

>diff --git a/suite/installer/ b/suite/installer/
>+	cd $(DIST); find -L bin -type f | sort > bin-list.txt

Note to self: We need a var for the find options that varies per-platform, as -L (dereference symlinks) doesn't work on Windows.
Here's a new version, updated for what testing on Windows revealed (thanks mcsmurf!).
Attachment #334470 - Attachment is obsolete: true
Attachment #334554 - Flags: review?(bugzilla)
Attachment #334470 - Flags: review?(bugzilla)
Blocks: 451740
Attachment #334554 - Flags: review?(bugzilla) → review+
Closed: 11 years ago
Resolution: --- → FIXED
Blocks: 451981
Flags: in-testsuite?
Hardware: PC → All
Target Milestone: --- → seamonkey2.0alpha
Blocks: 453572
Blocks: 456923
You need to log in before you can comment on or make changes to this bug.