Closed
Bug 1212272
Opened 10 years ago
Closed 10 years ago
"make dist" for the Loop standalone doesn't update the css and supplementary files properly
Categories
(Hello (Loop) :: Client, defect, P1)
Hello (Loop)
Client
Tracking
(firefox44 fixed)
| Tracking | Status | |
|---|---|---|
| firefox44 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
Details
Attachments
(2 files)
|
863 bytes,
patch
|
dmosedale
:
review+
|
Details | Diff | Splinter Review |
|
811 bytes,
patch
|
dmosedale
:
review+
|
Details | Diff | Splinter Review |
I just happened to look at the dev server, and noticed that the ToS looked wrong on the standalone page. Investigation showed it had an out-of-date css compared to what was on mozilla-central.
Digging deeper, I found that content/ was fine, but dist/ was out-of-date for the css. I also then found there was an additional dist/content directory with up-to-date css.
The problem is with `cp -pr content dist` - it'll copy content to within dist if dist already exists.
I have a patch coming up to fix this.
| Assignee | ||
Comment 1•10 years ago
|
||
This swaps us to use content/* -> dist which always gets it right, and also optionally creates the dist directory if it doesn't exist.
I've swapped to -R for cp as on Mac the man page says (and on the dev server it supports both):
"""
Historic versions of the cp utility had a -r option. This implementation supports that option; however, its use is strongly discouraged, as it does not correctly copy special files, symbolic links, or fifo's.
"""
Attachment #8670706 -
Flags: review?(dmose)
| Assignee | ||
Comment 2•10 years ago
|
||
(Note: high prio as this was affecting QA and could affect releases).
Iteration: --- → 44.2 - Oct 19
Points: --- → 2
Rank: 5
Comment 3•10 years ago
|
||
Comment on attachment 8670706 [details] [diff] [review]
'make dist' for the Loop standalone doesn't update the css and supplementary files properly.
Review of attachment 8670706 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks for the fix, r=dmose
Attachment #8670706 -
Flags: review?(dmose) → review+
Comment 5•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
| Assignee | ||
Comment 6•10 years ago
|
||
Unfortunately I failed to port the patch correctly...
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 7•10 years ago
|
||
This uses the proper copy command that I'd tested before and didn't port across properly :-(
Attachment #8671484 -
Flags: review?(dmose)
Comment 8•10 years ago
|
||
Comment on attachment 8671484 [details] [diff] [review]
Follow-up to bug 1212272 - use the correct cp command.
Review of attachment 8671484 [details] [diff] [review]:
-----------------------------------------------------------------
r=dmose
Attachment #8671484 -
Flags: review?(dmose) → review+
Comment 10•10 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•