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)

defect
Points:
2

Tracking

(firefox44 fixed)

RESOLVED FIXED
mozilla44
Iteration:
44.2 - Oct 19
Tracking Status
firefox44 --- fixed

People

(Reporter: standard8, Assigned: standard8)

Details

Attachments

(2 files)

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.
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)
(Note: high prio as this was affecting QA and could affect releases).
Iteration: --- → 44.2 - Oct 19
Points: --- → 2
Rank: 5
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+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Unfortunately I failed to port the patch correctly...
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This uses the proper copy command that I'd tested before and didn't port across properly :-(
Attachment #8671484 - Flags: review?(dmose)
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+
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: