Closed Bug 171010 Opened 22 years ago Closed 22 years ago

GRE installer: Build using manifests developers maintain

Categories

(Core Graveyard :: Installer: GRE, defect, P1)

x86
Windows 2000
defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.3alpha

People

(Reporter: curt, Assigned: asasaki)

Details

(Keywords: topembed)

Attachments

(5 files, 2 obsolete files)

Currently we are maintaing duplicate manefests from what the delopers maintain for creating the GRE and the MfcEmbed installers. We should be using the same manifests. I will make a patch for my scripts and attach the patch to this bug. Aka, you can use my patches for a pattern of what needs to change in the official build scripts for nightly builds.
Aki, here is my patch. Note that the gre installer build needs to replace the call to pkgcp that we were doing with two calls pointing to manifest files under mozilla\embedding\config. Notice also that the /s options adds \bin to the path. For mfcembed you need to leave the pkgcp call that is there now and add two new calls pointing to two different manifest files under mozilla\embedding\config. As witht gre build, the /s option also adds \bin to the path for the pkgcp call that get added (but leave it the way it was for the original call to pkgcp). For this to work correctly when you test it you also need to replace mozilla\xpinstall\packages\pkgs-mfcembed-win with the one I've attached to this bug. Turns out that we need a couple files which the developer's manifests don't deliver, so I stripped the pkgs-mfcembed-win manifest down to contain just those two files.
Attached patch build-verification.pl patch (obsolete) — Splinter Review
testing this.
the installers are up there to test, in the 2002-09-26-14 dir. Guessing we need to test these tomorrow, and then if all's well we can check this stuff in monday.
Status: NEW → ASSIGNED
Aki, I'm not understanding how your patch could have worked. I'm pretty sure that the manifest files in the mozilla\embedding\config directory expect to have mozilla\dist\bin in the --source commandline setting. So I would expect that: + system ("$ENV{MOZ_SRC}\\mozilla\\xpinstall\\packager\\pkgcp.pl --source $ENV{MOZ_SRC}\\mozilla\\dist --destination $ENV{MOZ_SRC}\\stage --file $ENV{MOZ_SRC}\\mozilla\\embedding\\config\\basebrowser-win --os dos --verbose 2>&1 ") && should have to be: + system ("$ENV{MOZ_SRC}\\mozilla\\xpinstall\\packager\\pkgcp.pl --source $ENV{MOZ_SRC}\\mozilla\\dist\\bin --destination $ENV{MOZ_SRC}\\stage --file $ENV{MOZ_SRC}\\mozilla\\embedding\\config\\basebrowser-win --os dos --verbose 2>&1 ") && Everything else looks okay. Lets touch base on this, though.
QA Contact: bugzilla → carosendahl
Attached patch updateSplinter Review
better? will test with a clobber build monday.
Attachment #100796 - Attachment is obsolete: true
Comment on attachment 100938 [details] [diff] [review] update This looks good. r=curt
Attachment #100938 - Flags: review+
installer available for testing in 2002-09-30-10-trunk... nuked dist before running build.
hang on, gotta rerung that... didn't change the pkg file.
ok, now ready for testing.
Component: Installer → Installer: GRE
bleah, with cleanup commands in the script, i'm missing all of gre/ under gre.xpi. will revisit this later.
Is this supposed to be resolved fixed? If so, let's move it there so I know what to focus on when looking at the new builds. Thanks, Charles
not yet.
looks like my respin in 2002-10-04-11-trunk has i18n.dll. this patch doesn't have cleanup of stage/, but i'm thinking i want to check this in and make that another bug, since it'll take a while to figure out.
Good idea. That is an improvement on the current system (we'll be using the right manifests) with no downside since the current system isn't cleaning up the stage area either. Incremental changes are a good thing. Go for it.
Comment on attachment 100751 [details] [diff] [review] Patch 1 for the GRE installer develpment build scripts r=asasaki
Attachment #100751 - Flags: review+
Comment on attachment 100938 [details] [diff] [review] update rs=dveditz
Attachment #100938 - Flags: superreview+
Comment on attachment 100752 [details] Modified mozilla\xpinstall\packages\pkgs-mfcembed-win file super-rheeet=leaf
Attachment #100752 - Flags: superreview+
I just checked in the new pkgs-mfcembed-win. Aki has moved his changes to the build machine. When he checks in his changes I'll also commit the removal of pkgs-gre-win.
Well I have to confess to having made a thourough mess out of this bug. The xpi's have all the files in them, but the directory structure in the xpi's does not match what the install scripts are expecting. I think that, since Aki is not cleaning up the stage\gre folder, enough files must be getting into his build in the right places to fool the install scripts into thinking everything is right, but there is no way that the right stuff is getting to QA. How embarrasing! So, I have created ANOTHER patch which works in my development environment. Aki, looks like we need you yet again to sync up your build scripts with the change I just made. My patch needs to be merged with yours so that all the changes go in at once or the install scripts will definitely be broken. When everything is correct, running the build script for the gre installer should create a dist\stage\gre\Embed folder and a dist\stage\gre\gre folder. These two folders (with their contents) and install.js are the only things that should show up in gre.xpi. Similarly, the the build script for the mfcembed installer should create dist\stage\mfcembed\Embed and dist\stage\mfcembed\gre_app_support which should be the only contents of mfcembed.xpi besides install.js.
Here is the patch described in the previous comment.
Priority: -- → P1
Target Milestone: --- → mozilla1.3alpha
Attached patch yet another bv patch (obsolete) — Splinter Review
built to work with patch 102515.
Attachment #102838 - Attachment is obsolete: true
Comment on attachment 102841 [details] [diff] [review] fixing pkgs-mfcembed thing Thanks Aki. This looks good. r=curt
Attachment #102841 - Flags: review+
The files are the same as those in the corresponding files in the mozilla dist in the same folder mentioned in comment 25. It looks good. On a tangential note, there appears to be something wrong with the build's functionality, but that would be a different bug. The build won't load the embedding smoketests.
Bummer. Perhaps Ashish can answer about the embedding smoketests.
Comment on attachment 102515 [details] [diff] [review] Patch 2 for develper scripts. r=jbetak (This is a prerequisite for bug 167610. I used it there with great success.)
Attachment #102515 - Flags: review+
Comment on attachment 102841 [details] [diff] [review] fixing pkgs-mfcembed thing sr=leaf
Attachment #102841 - Flags: superreview+
Comment on attachment 102515 [details] [diff] [review] Patch 2 for develper scripts. sr=leaf
Attachment #102515 - Flags: superreview+
Keywords: topembed
checked in. in daily builds starting tomorrow.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
hi guys, did anyone notice that mozilla.org instituted a code freeze for the 1.2b period? you've been checking into the trunk quite a lot without any consideration for mozilla.org rules. <blockquote src="http://tinderbox.mozilla.org/showbuilds.cgi?tree=SeaMonkey"> The tree is under tight control for Mozilla 1.2beta. It will remain open for only driver-approved checkins until we branch for 1.2final on or around Oct 30 (that's three weeks). Checkins to the trunk are being approved by drivers@mozilla.org. Including the bug number, your reviewers, and a description of the fix will increase your chances of approval. Please begin the subject of approval requests with [trunk approval]. </blockquote> you've also broken bugzilla.mozilla.org general procedure by verifying bugs that you resolve. I know that some of you have been QA since at least n3gold, that's nice. However whatever policy you followed inside netscape doesn't necessarily apply outside. Beyond that, policy decissions for mozilla.org are supposed to be public or announced by staff@mozilla.org or a module owner. http://www.mozilla.org/owners.html lists the modules and their owners, the GRE doesn't have one, so you can't be relying on some module authority to break the tree rules or set policy.
The code that i've reviewed has been packaging manifest stuff and build automation. The build automation stuff has never required driver approval, and neither has *most* build config stuff. I gave a verbal go-ahead for curt to check in the changes that i sr'd, which might be stretching the bounds of the "blanket approvals for build/config changes," but i don't think packaging manifests are that much of a stretch.
The GRE Installer package looks good - matches the mozilla dist and the contents of basebrowser/gre-win manifests. Going forward, which manifests are we using for packaging purposes, basebrowser-win and gre-win, or something else? marking verified.
Status: RESOLVED → VERIFIED
For GRE we are using: mozilla\embedding\config\basebrowser-win mozilla\embedding\config\gre-win For MfcEmbed we are using: mozilla\embedding\config\gre-win-sup mozilla\embedding\config\basebrowser-win-sup mozilla\xpinstall\packages\pkg-mfcembed-win ...and it looks like I'm going to have to add one more manifest file to fix bug #174619
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: