Closed Bug 508965 Opened 15 years ago Closed 15 years ago

Product name support in signing Makefile

Categories

(Release Engineering :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: catlee, Assigned: catlee)

Details

Attachments

(1 file)

In the 3.6a1 release, we needed to hack the Makefile so that the proper product got passed to sign-release.py.

Should PRODUCT=namoroka have been set for this release?  And if so, how does that affect how we calculate PRODUCT_DIR, which is used for checking out the stubs.

The sign-files target should be modified so that it calls sign-release.py with --product=$(PRODUCT) or $(PRODUCT_NAME) or $(BRAND_NAME) or something.
For what it's worth, the old signing scripts deal with this by regexes like the following:
$OLD_WIN32_EXE_REGEX = '\.win32\.installer\.exe$';
$OLD_WIN32_MAR_EXT = '.win32.complete.mar';
$NEW_WIN32_EXE_REGEX = '([\w-]+)\/(\w+)\ Setup\ ([\d\.]+)(\ \w+\ \d+)?\.exe';
Also sets WORKDIR to $(PWD), which is equivalent to what we're doing for regular releases, but makes testing easier!

So far 3.6a1 we would have called make with BRAND_NAME=namoroka
Attachment #393215 - Flags: review?(nthomas)
Attachment #393215 - Flags: review?(bhearsum)
Attachment #393215 - Flags: review?(bhearsum) → review+
Comment on attachment 393215 [details] [diff] [review]
Add BRAND_NAME, APP_NAME to Makefile

This seems fine, but can you default BRAND_NAME to $(PRODUCT) rather than firefox?
catlee seems to be working on this, assigning to him.
Assignee: nobody → catlee
Comment on attachment 393215 [details] [diff] [review]
Add BRAND_NAME, APP_NAME to Makefile

Looks fine.
Attachment #393215 - Flags: review?(nthomas) → review+
Comment on attachment 393215 [details] [diff] [review]
Add BRAND_NAME, APP_NAME to Makefile

changeset:   343:cb02be8882aa
Attachment #393215 - Flags: checked-in+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: