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

RESOLVED FIXED in seamonkey2.0a1

Status

SeaMonkey
Build Config
RESOLVED FIXED
10 years ago
9 years ago

People

(Reporter: Robert Kaiser, Assigned: Robert Kaiser)

Tracking

Trunk
seamonkey2.0a1
Dependency tree / graph
Bug Flags:
in-testsuite ?

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

10 years ago
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.
(Assignee)

Comment 1

10 years ago
Created attachment 334470 [details] [diff] [review]
add package-compare target

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)
(Assignee)

Comment 2

10 years ago
Comment on attachment 334470 [details] [diff] [review]
add package-compare target

>diff --git a/suite/installer/Makefile.in b/suite/installer/Makefile.in
>+	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.
(Assignee)

Comment 3

10 years ago
Created attachment 334554 [details] [diff] [review]
add package-compare target, v2

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)
(Assignee)

Updated

10 years ago
Blocks: 451740
Attachment #334554 - Flags: review?(bugzilla) → review+
(Assignee)

Updated

10 years ago
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Blocks: 451981
Flags: in-testsuite?
Hardware: PC → All
Target Milestone: --- → seamonkey2.0alpha
(Assignee)

Updated

10 years ago
Blocks: 453572

Updated

9 years ago
Blocks: 456923
You need to log in before you can comment on or make changes to this bug.