Closed
Bug 1268477
Opened 9 years ago
Closed 7 years ago
build/webapp-shared.js does not handle resources anymore
Categories
(Firefox OS Graveyard :: Gaia::Build, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: gerard-majax, Unassigned)
References
Details
Attachments
(4 files)
This is expected fallout from moving to chrome.
Reporter | ||
Comment 1•9 years ago
|
||
Reporter | ||
Comment 2•9 years ago
|
||
I take a look around the problem here and I think is related with the relative path, right?
https://github.com/mozilla-b2g/gaia/pull/34278
I created the PR but I cant not understand if in the treeherder is fine or wrong, can you mentoring me in my first bug?
Flags: needinfo?(lissyx+mozillians)
Reporter | ||
Comment 4•9 years ago
|
||
(In reply to Pochy from comment #3)
> I take a look around the problem here and I think is related with the
> relative path, right?
>
> https://github.com/mozilla-b2g/gaia/pull/34278
>
> I created the PR but I cant not understand if in the treeherder is fine or
> wrong, can you mentoring me in my first bug?
Sure, thanks for sending this PR ! The first thing you should fix in your PR and in your patch is following the naming. I believe this is documented on the Contributing to gaia section of MDN, but to be quick: name the patch and PR as "Bug XXX - Short description r=YYY", with XXX being the bug number (so autolander can attach your PR to the bug) and YYY being the nickname of the reviewer.
Flags: needinfo?(lissyx+mozillians)
Reporter | ||
Comment 5•9 years ago
|
||
It's hard to judge if your PR is helping just with the treeherder link, because so far all tests are broken. I am going to look at re-enabling some asserts I disabled in bug 1266756 and that you might (should) have fixed with your PR :)
Comment 6•9 years ago
|
||
Comment 7•9 years ago
|
||
Reporter | ||
Comment 8•9 years ago
|
||
Right, so the real issue is that your patch is not enough :). In bug 1254281 I have removed the execution of webapp-shared since it was running per-app. We need to re-add the execution and make it global now.
Reporter | ||
Comment 9•9 years ago
|
||
I have added some more patches on my own PR: https://github.com/mozilla-b2g/gaia/pull/34280
But I think it is still not enough to get everything good :/
Flags: needinfo?(pochy.jaaguilera)
Reporter | ||
Comment 10•9 years ago
|
||
Aus, can you have a look at my PR? It seems to be fixing the remains, but I think multilocale is broken and not easy to fix.
Flags: needinfo?(aus)
Comment 11•9 years ago
|
||
(In reply to Alexandre LISSY :gerard-majax from comment #4)
> (In reply to Pochy from comment #3)
> > I take a look around the problem here and I think is related with the
> > relative path, right?
> >
> > https://github.com/mozilla-b2g/gaia/pull/34278
> >
> > I created the PR but I cant not understand if in the treeherder is fine or
> > wrong, can you mentoring me in my first bug?
>
> Sure, thanks for sending this PR ! The first thing you should fix in your PR
> and in your patch is following the naming. I believe this is documented on
> the Contributing to gaia section of MDN, but to be quick: name the patch and
> PR as "Bug XXX - Short description r=YYY", with XXX being the bug number (so
> autolander can attach your PR to the bug) and YYY being the nickname of the
> reviewer.
OK, sorry, I read this in MDN but I was confused, with if it was in the commit message or in the title of the PR, I have this for next bug.
(In reply to Alexandre LISSY :gerard-majax from comment #8)
> Right, so the real issue is that your patch is not enough :). In bug 1254281
> I have removed the execution of webapp-shared since it was running per-app.
> We need to re-add the execution and make it global now.
OK, I missed that. Thanks
(In reply to Alexandre LISSY :gerard-majax from comment #9)
> I have added some more patches on my own PR:
> https://github.com/mozilla-b2g/gaia/pull/34280
>
> But I think it is still not enough to get everything good :/
OK, I take a look around the new information you show to us but maybe Aus is more precise in what happens with multilocale.
Flags: needinfo?(pochy.jaaguilera)
Comment 12•9 years ago
|
||
Ugh, wish I had something more useful to say here but your guess is as good as mine. I've never had to deal with those bits of the build system. :(
Flags: needinfo?(aus)
Comment 13•9 years ago
|
||
I tried something new in my PR thinking that the problem is the path to file to language, but I think the new test on treeherder is worse, I cant not understand what is the real problem with multilocale.
Alex, what do you think, what is the real problem here? or what we are ignoring here?
Flags: needinfo?(lissyx+mozillians)
Reporter | ||
Comment 14•9 years ago
|
||
I have no idea how this is supposed to be working.
Flags: needinfo?(lissyx+mozillians) → needinfo?(rchien)
Comment 15•9 years ago
|
||
What's the problem you're running into? I can't catch your problem on comment 13, could you elaborate more?
Flags: needinfo?(rchien)
Reporter | ||
Comment 16•9 years ago
|
||
Ricky, the issue is exposed in attachment 8746512 [details] and attachment 8746513 [details]
Flags: needinfo?(rchien)
Comment 17•9 years ago
|
||
Try to understand issue on descriptions and attachments, I guess you're missing shared/resources/ after packaging?
I'm going to look into your PR and build system changes during transition plan right now. Please correct me if above part is wrong.
Flags: needinfo?(rchien)
Comment 18•9 years ago
|
||
I guess Pochy has caught issue that probably relative path relate.
https://github.com/mozilla-b2g/gaia/blob/master/build/utils-xpc.js#L149-L154
In build/webapp-shared.js, resolving parent path by "../xxx" build/webapp-shared.js doesn't support this path resolve well. Try to solve this path issue by wrapping path with utils.resolve('../xxx').
Lots of build system issues can be figured out by console.log(fullTargetPath). For instance, you can insert console.log to verify output path after https://github.com/pochy-ja/gaia/blob/4a8bd9130fe4867bdee980e4086c4c4234eb17fc/build/webapp-shared.js#L48
to find out what's going on.
Comment 19•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•