Closed Bug 716635 Opened 14 years ago Closed 14 years ago

Pull deploy.py update assets into update() rather than pre_update()

Categories

(support.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
2012-01-17

People

(Reporter: tgavankar, Assigned: tgavankar)

Details

deploy.py does asset updating (get_highcharts, compress_assets) in pre_update() right now, which is actually running for the next time deploy.py is supposed to run. The correct functionality should do asset updating in update() instead.
Done https://github.com/mozilla/kitsune/commit/bad4517. As for verification, since -dev has TEMPLATE_DEBUG = True, we won't be able to tell if it worked on -dev, and so the steps for verification are to ensure that the js/css files are using the minified versions (filename-min.js?build=hash) rather than the individual source files. We should verify that it works on both staging as well as prod when it deploys.
Assignee: nobody → tgavankar
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2012-01-17
Verified in staging, page source: /media/js/common-min.js?build=d708da6 Will verify post-release
Verified post release
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.