Closed
Bug 351168
Opened 18 years ago
Closed 18 years ago
Build Lightning+WCAP when building nightlies
Categories
(Calendar :: General, defect)
Calendar
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mattwillis, Assigned: mattwillis)
Details
Attachments
(2 files, 4 obsolete files)
2.03 KB,
patch
|
rhelmer
:
first-review+
preed
:
second-review+
|
Details | Diff | Splinter Review |
12.11 KB,
patch
|
mattwillis
:
first-review+
dmosedale
:
second-review+
|
Details | Diff | Splinter Review |
We want to build a version of Lightning with WCAP enabled when we build nightlies. WCAP is off by default. To prevent us from having two actual Lightning's in circulation claiming to be 0.3, we should create a small "WCAP Enabler" extension, and then package both the "stock" Lightning with the "WCAP Enabler" in a multi-extension XPI. Yet to be determined is distribution. We're not sure if this wants to be hosted from addons.mozilla.org or not.
Assignee | ||
Comment 1•18 years ago
|
||
This was my first cut. I believe daniel.boelzle@sun.com has updates for it.
Attachment #236550 -
Flags: first-review?(daniel.boelzle)
Assignee | ||
Comment 2•18 years ago
|
||
Requesting blocking0.3? per discussions with dmose and mozilla.
Flags: blocking0.3?
Assignee | ||
Updated•18 years ago
|
Whiteboard: [no l10n impact]
Updated•18 years ago
|
Status: NEW → ASSIGNED
Updated•18 years ago
|
Assignee: nobody → daniel.boelzle
Status: ASSIGNED → NEW
Updated•18 years ago
|
Status: NEW → ASSIGNED
Comment 3•18 years ago
|
||
Thanks Matt for the patch. As previuosly agreed, I have made some changes to it: - naming to non-caml: i.e. wcap-enabler, lightning-wcap - added uuids - fixed build dependency to lightning.xpi - split up tinderbox patch
Attachment #236550 -
Attachment is obsolete: true
Attachment #236701 -
Flags: second-review?
Attachment #236701 -
Flags: first-review?(dmose)
Attachment #236550 -
Flags: first-review?(daniel.boelzle)
Comment 4•18 years ago
|
||
Attachment #236702 -
Flags: first-review?(preed)
Comment 5•18 years ago
|
||
Comment on attachment 236702 [details] [diff] [review] pushing lightning-wcap.xpi to xpi-stage I don't know all the history/details, but if the -wcap.xpi is optional/not part of the regular lightning release or you could build the -wcap XPI by itself, you probably want this to be its own if(-e $lightningWcapXpi) branch, instead of including it in this branch. Alternatively, you could do if ((-e $lightningXpi || -e $wcapXpi) && ...), but then you have to disambiguate in the block anyway so the cp's don't fail. I'll r- to clear this out of my queue, but if I have some of the above details wrong, LMK, and I'll look at this again.
Attachment #236702 -
Flags: first-review?(preed) → first-review-
Assignee | ||
Comment 6•18 years ago
|
||
Returns busted if things just don't work out the way we planned
Attachment #236702 -
Attachment is obsolete: true
Attachment #236843 -
Flags: second-review?
Attachment #236843 -
Flags: first-review?(rhelmer)
Assignee | ||
Updated•18 years ago
|
Attachment #236843 -
Flags: second-review? → second-review?(preed)
Comment 7•18 years ago
|
||
Comment on attachment 236843 [details] [diff] [review] tinderbox patch - rev1 - Addresses preed's comments Much better. r=preed.
Attachment #236843 -
Flags: second-review?(preed) → second-review+
Assignee | ||
Comment 8•18 years ago
|
||
Comment on attachment 236843 [details] [diff] [review] tinderbox patch - rev1 - Addresses preed's comments BIG OL' DISCLAIMER: ------------------- Don't check this patch in until the OTHER one (with the Makefiles and stuff) is reviewed and checked in. Otherwise we'll stop having Lightning builds.
Updated•18 years ago
|
Flags: blocking0.3? → blocking0.3+
Updated•18 years ago
|
Attachment #236843 -
Flags: first-review?(rhelmer) → first-review+
Assignee | ||
Updated•18 years ago
|
Whiteboard: [no l10n impact] → [no l10n impact][needs review dmose]
Comment 9•18 years ago
|
||
According to my notes from our phone meeting, ssa suggested leaving the new event dialog preffed off for 0.3, in order to allow for apples-to-apples analysis of feedback from WCAP users about how the default dialog works for them. Also, do we want to make the WCAP enable extension have an extension dependency on Lightning?
Assignee | ||
Comment 10•18 years ago
|
||
Comment on attachment 236701 [details] [diff] [review] lightning-wcap.xpi = { lightning.xpi, wcap-enabler.xpi } Before dmose takes a whack at this, I've got some nits... >diff -x CVS -a -U 8 -pN -r /cygdrive/d/pim/mozilla/mozilla_ref/calendar/prototypes/wcap/lightning-wcap/install.rdf mozilla/calendar/prototypes/wcap/lightning-wcap/install.rdf >+ <em:id>{2C3512D6-F84B-4b20-AF47-5AB0F0B6192E}</em:id> We should be using human-readable UIDs for new apps and extensions (as long as they don't have to work in Firefox/Tbird 1.0.x) I suggest lightning-wcap@calendar.mozilla.org >diff -x CVS -a -U 8 -pN -r /cygdrive/d/pim/mozilla/mozilla_ref/calendar/prototypes/wcap/wcap-enabler/Makefile.in mozilla/calendar/prototypes/wcap/wcap-enabler/Makefile.in >+PREF_JS_EXPORTS = $(srcdir)/wcapEnabler.js If you're changing from CamelHumps to hyphens, let's do it here as well (and rename the file) >diff -x CVS -a -U 8 -pN -r /cygdrive/d/pim/mozilla/mozilla_ref/calendar/prototypes/wcap/wcap-enabler/install.rdf mozilla/calendar/prototypes/wcap/wcap-enabler/install.rdf >+ <em:id>{E738F0DA-ED22-4baa-A607-EDE6A66D7F20}</em:id> Again, let's use a human-readable UID. wcap-enabler@calendar.mozilla.org? >diff -x CVS -a -U 8 -pN -r /cygdrive/d/pim/mozilla/mozilla_ref/calendar/prototypes/wcap/wcap-enabler/wcapEnabler.js mozilla/calendar/prototypes/wcap/wcap-enabler/wcapEnabler.js First off, let's rename the file to use hyphens as I mentioned earlier. >+// This file contains the preferences to enable WCAP support in Lightning >+pref("calendar.prototypes.wcap", true); >+pref("calendar.wcap.enabled", true); We should probably add a comment to each of these lines describing what effect they each have. In addition, I should have set "calendar.prototypes.wcap" to false so we didn't turn on the prototype event dialog. >Index: mozilla/extensions/lightning/Makefile.in >=================================================================== >-DIRS = ../../calendar/lightning >+DIRS = ../../calendar/lightning ../../calendar/prototypes/wcap/lightning-wcap Let's split this up in like this: DIRS = \ $(topsrcdir)/calendar/lightning \ $(topsrcdir)/calendar/prototypes/wcap/lightning-wcap \ $(NULL) Note my lack of tabs. That's on purpose :)
Assignee | ||
Comment 11•18 years ago
|
||
(In reply to comment #9) > Also, do we want to make the WCAP enable extension have an extension dependency > on Lightning? I misspoke in IRC. Basic "don't install A unless B is already installed" dependency does work at the moment (see bug 298497) but it's extremely rudimentary, having to support to _help_ you find the missing dependency. (Sounds like .rpm a lot of the time) :) I don't think adding that dependency checking to wcap-enabler gains us more than the grief it might well cause. I (with no real data to base this on, mind you) forsee wcap-enabler attempting to get installed first, so that even though both xpis are in the multi-xpi, wcap-enabler refuses to install since lightning is not installed. On the other hand, if I install wcap-enabler without lightning, nothing in my life really changes. I have two prefs set that without lightning, nothing relies on. Another nit on the patch that needs resolution is hosting and updateURLs. Will we host these through a.m.o? We want updateURL elements regardless, and if we're not using a.m.o, we'll need to think of a good place for the update.rdfs to live.
Assignee | ||
Comment 12•18 years ago
|
||
(In reply to comment #11) > ...having to support to _help_ you find the missing dependency... That should be having _no_ support...
Comment 13•18 years ago
|
||
(In reply to comment #9) > According to my notes from our phone meeting, ssa suggested leaving the new > event dialog preffed off for 0.3, in order to allow for apples-to-apples > analysis of feedback from WCAP users about how the default dialog works for > them. Right, I remember. Though I think the prototype event dialog fits WCAP users' needs better, mainly because it supports accepting invitations(!), auto-completion from LDAP and freebusy information. Our QA team has extensively tested it with the WCAP provider. Thus with respect to usability and quality, this is IMO the better default combination for users.
Comment 14•18 years ago
|
||
(In reply to comment #10) > (From update of attachment 236701 [details] [diff] [review] [edit]) > We should be using human-readable UIDs for new apps and extensions (as long as > they don't have to work in Firefox/Tbird 1.0.x) Are human-readable ids generally preferred over uuids nowadays in mozilla?
Assignee | ||
Comment 15•18 years ago
|
||
(In reply to comment #14) > Are human-readable ids generally preferred over uuids nowadays in mozilla? For extensions, yes. See http://developer.mozilla.org/en/docs/install.rdf#id Obviously not for nsIModules and other internal stuff
Assignee | ||
Updated•18 years ago
|
Whiteboard: [no l10n impact][needs review dmose] → [no l10n impact][needs updated patch]
Comment 16•18 years ago
|
||
Attachment #236701 -
Attachment is obsolete: true
Attachment #238208 -
Flags: second-review?(dmose)
Attachment #238208 -
Flags: first-review?(mattwillis)
Attachment #236701 -
Flags: second-review?
Attachment #236701 -
Flags: first-review?(dmose)
Assignee | ||
Comment 17•18 years ago
|
||
Comment on attachment 238208 [details] [diff] [review] updated lightning-wcap.xpi = { lightning.xpi, wcap-enabler.xpi } This looks good. Thanks for the changes. I want to hold off on giving review until we decide on that "todo" pref, and until we decide what em:updateUrl to add to these. I don't want these extensions in the wild without the updateUrl
Comment 18•18 years ago
|
||
(In reply to comment #13) > Thus with respect to usability and quality, this is IMO the better default > combination for users. The interesting thing about making the regular dialog the default and release-noting the pref is that since most users don't closely read the release notes, they're likely to try the regular dialog first. When they realize that features they care about are missing, they'll be motivated to figure out how to access those features: flipping the pref and using the tabbed dialog. It should then be possible to get at least some level of feedback from them about the usability of the simplified dialog vs. the tabbed dialog. If we ship with the tabbed dialog set by default, they'd never be motivated to actually try the simplified version and be in a position to give that feedback.
Comment 19•18 years ago
|
||
Although I can follow the previous reasoning, wouldn't it be a good idea to mention the different dialogs on amo and/or on the website/wiki in order to collect user feedback? I suspect that only a tiny fraction of users read the release notes and know how to toggle the pref. Chances are better that users try both versions and compare without the need to manually configure prefs.
Assignee | ||
Comment 20•18 years ago
|
||
This is the same as daniel's patch, only with added updateURLs and setting the prototype event dialog pref to false, which are the nits I wanted addressed. I applied them and am reattaching this because daniel's on holiday. r1=lilmatt
Attachment #238208 -
Attachment is obsolete: true
Attachment #238524 -
Flags: second-review?(dmose)
Attachment #238524 -
Flags: first-review+
Attachment #238208 -
Flags: second-review?(dmose)
Attachment #238208 -
Flags: first-review?(mattwillis)
Assignee | ||
Updated•18 years ago
|
Whiteboard: [no l10n impact][needs updated patch] → [no l10n impact][needs review dmose]
Comment 21•18 years ago
|
||
(In reply to comment #19) > Although I can follow the previous reasoning, wouldn't it be a good idea to > mention the different dialogs on amo and/or on the website/wiki in order to > collect user feedback? I suspect that only a tiny fraction of users read the > release notes and Making this info more widely available sounds like a good idea, but I'm not sure that that's likely to make a tremendous difference in discoverability, unless people read those other places more than they tend to read release notes. > know how to toggle the pref. Chances are better that users > try both versions and compare without the need to manually configure prefs. I assume you mean by enabling/disabling the WCAP-enabler extension in the extensions dialog? This still seems to have the problem that none of the WCAP users are likely to be motivated to try the simpler dialog once they've used the more advanced one, since the "feature-completeness" is going to outweigh any "simplicity/ease-of-use" wins, especially since any users who think to use the enable/disable UI for this seem likely to be power-users anyway. Do you disagree?
Comment 22•18 years ago
|
||
Using that UI would also turn off WCAP support itself, which makes it seem even less desirable for that set of users.
Comment 23•18 years ago
|
||
(In reply to comment #21) > extensions dialog? This still seems to have the problem that none of the WCAP > users are likely to be motivated to try the simpler dialog once they've used > the more advanced one, since the "feature-completeness" is going to outweigh > any "simplicity/ease-of-use" wins, especially since any users who think to use > the enable/disable UI for this seem likely to be power-users anyway. Do you Dan, I see your point. But I assume WCAP users will most likely miss a feature to accept an invitation. The other features the prototype UI offers are nice to have but essentially redundant (i.e. freebusy information, LDAP auto completion, different tabbed design). Concerning invitations, AFAIK even ITIP is no solution. It usually works for calendar-systems interoperation only: The Sun server only sends an ITIP request if the attendee has no account, so does google cal (IIRC). This IMO a valid/needed feature of an event dialog.
Comment 24•18 years ago
|
||
(In reply to comment #21) > I assume you mean by enabling/disabling the WCAP-enabler extension in the > extensions dialog? no, i was refering to toggle the standard/advanced dialog pref. > This still seems to have the problem that none of the WCAP > users are likely to be motivated to try the simpler dialog once they've used > the more advanced one, since the "feature-completeness" is going to outweigh > any "simplicity/ease-of-use" wins, especially since any users who think to use > the enable/disable UI for this seem likely to be power-users anyway. Do you > disagree? i personally don't agree that both dialogs are so much different at all. the socalled advanced dialog has not a tremendous amount of additional features, it all boils down to 1) ldap support 2) accept/decline invitations 3) support for freebusy. the real difference between the dialogs is the layout and structure. and this is exactly where i would like to get feedback about (without forcing users to discover hidden preferences). i really wouldn't mind if this feedback results in people being totally happy with the standard dialog, by the way. but besides that, if it doesn't hurt, why can't we just push forward and give the 'advanced' dialog a chance?
Comment 25•18 years ago
|
||
> I applied them and am reattaching this because daniel's on holiday.
Matt agreed to take over the bug.
IMO there aren't any leftovers except for the ongoing prototypes UI pref discussion. We should split that discussion off the overall issue and bring in this patch soon to have the chance to discover further problems in daily tinderbox life. Changing the pref later on (depending on the discussion's outcome) is no big issue.
Assignee: daniel.boelzle → mattwillis
Status: ASSIGNED → NEW
Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Comment 26•18 years ago
|
||
Comment on attachment 238524 [details] [diff] [review] updated version of daniel's patch If you would prefer to have the non-standard dialog preffed on by default, I can live with that. In general, looks good; r=dmose. In order to avoid taking folks by surprise, let's not land this quite yet, I'd like to get some feedback from the upcoming newsgroup post. Once that happens, I'll mark r+ on the patch.
Updated•18 years ago
|
Whiteboard: [no l10n impact][needs review dmose] → [no l10n impact][awaiting ng post feedback]
Assignee | ||
Updated•18 years ago
|
Whiteboard: [no l10n impact][awaiting ng post feedback] → [patch in hand][awaiting ng post feedback]
Comment 27•18 years ago
|
||
Comment on attachment 238524 [details] [diff] [review] updated version of daniel's patch The announcement has been around in the newsgroup since late last week. Feel free to land at will.
Attachment #238524 -
Flags: second-review?(dmose) → second-review+
Updated•18 years ago
|
Whiteboard: [patch in hand][awaiting ng post feedback] → [patch in hand][needs checkin]
Assignee | ||
Comment 28•18 years ago
|
||
Comment on attachment 238524 [details] [diff] [review] updated version of daniel's patch Patch landed on MOZILLA_1_8_BRANCH and trunk.
Assignee | ||
Comment 29•18 years ago
|
||
Comment on attachment 236843 [details] [diff] [review] tinderbox patch - rev1 - Addresses preed's comments Patch checked in on trunk. (No /m/tools/tinderbox dir on branch)
Assignee | ||
Updated•18 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•