mozilla/commonplace — pull request #14 by cvan (2013-11-22 03:45:13+00:00)
Title: keep track of url()s so we can appcache them

# Summary
It's easy to cache `splash.styl.css`, `include.css`, `include.js`, etc. But thinks like our fonts get cachebusted by commonplace's `includes` command after they've been stylus-ised.

If we're going to appcache things like our fonts we need to get the full URLs for this given build (BUILD_ID) and generate a dynamic `manifest.appcache` based on them.

# Usage
```
%% commonplace includes
Commonplace v0.1.15
Found different commonplace version.
Generated includes may not work as expected.
Created /opt/fireplace/hearth/media/cssurls.txt
Created /opt/fireplace/hearth/media/css/include.css
Created /opt/fireplace/hearth/media/js/include.js
```

# /opt/fireplace/hearth/media/cssurls.txt
```text
/media/fonts/FeuraSans/FeuraSansWeb-Light.woff?1385091642732
/media/fonts/FeuraSans/FeuraSansWeb-Regular.woff?1385091642732
/media/fonts/FeuraSans/FeuraSansWeb-Medium.woff?1385091642732
/media/fonts/FeuraSans/FeuraSansWeb-Bold.woff?1385091642732
/media/img/pretty/marketplace_logo.png?1385091642834
/media/img/btn_spinner.png?1385091642834
/media/img/icons/eggs/h1.gif?1385091642834
/media/img/icons/eggs/h4.gif?1385091642834
/media/img/pretty/rocket.png?1385091642834
/media/img/logos/footzilla.png?1385091642834
/media/img/logos/footzilla-2x.png?1385091642834
/media/img/icons/regions/worldwide.png?1385091642834
/media/img/icons/regions/br.png?1385091642834
/media/img/icons/regions/co.png?1385091642834
/media/img/icons/regions/es.png?1385091642834
/media/img/icons/regions/gr.png?1385091642834
/media/img/icons/regions/mx.png?1385091642834
/media/img/icons/regions/pl.png?1385091642834
/media/img/icons/regions/uk.png?1385091642834
/media/img/icons/regions/us.png?1385091642834
/media/img/icons/regions/ve.png?1385091642834
/media/img/icons/regions/rs.png?1385091642834
/media/img/icons/regions/me.png?1385091642834
/media/img/icons/regions/hu.png?1385091642834
/media/img/icons/regions/gr.png?1385091642834
/media/img/icons/regions/de.png?1385091642834
/media/img/icons/regions/ar.png?1385091642834
/media/img/icons/regions/uy.png?1385091642834
/media/img/icons/regions/pe.png?1385091642834
/media/img/icons/regions/cn.png?1385091642834
/media/img/btn_spinner_2x.png?1385091642834
/media/img/btn_spinner_alt_2x.png?1385091642834
/media/img/pretty/marketplace_logo.png?1385091642947
/media/img/pretty/search.svg?1385091642947
/media/img/pretty/close.svg?1385091642947
/media/img/pretty/settings_gear.svg?1385091642947
/media/img/pretty/back_arrow.svg?1385091642947
/media/img/pretty/back_arrow_active.svg?1385091642947
/media/img/btn_spinner.png?1385091642947
/media/img/pretty/settings_gear_active.svg?1385091642947
/media/img/pretty/list_view_active.svg?1385091642947
/media/img/pretty/screenshot_view.svg?1385091642947
/media/img/pretty/list_view.svg?1385091642947
/media/img/pretty/screenshot_view_active.svg?1385091642947
/media/img/pretty/cats-sprite.svg?1385091643036
/media/img/carriers/movistar.png?1385091643036
/media/img/carriers/deutsche_telekom.svg?1385091643036
/media/img/carriers/congstar.png?1385091643036
/media/img/carriers/telenor.svg?1385091643036
/media/img/carriers/claro.png?1385091643036
/media/img/carriers/vivo.png?1385091643036
/media/img/carriers/telenor.svg?1385091643036
/media/img/pretty/dropdown_mobile.svg?1385091643036
/media/img/pretty/tick.svg?1385091643036
/media/img/pretty/tick-white.svg?1385091643036
/media/img/pretty/dropdown.svg?1385091643036
/media/img/pretty/dropdown_active.svg?1385091643036
/media/img/icons/slider_arrow.png?1385091643168
/media/img/icons/slider_arrow-2x.png?1385091643168
/media/img/btn_spinner.png?1385091643288
/media/img/btn_spinner.png?1385091643289
/media/img/btn_spinner_18.png?1385091643289
/media/img/btn_spinner_alt_2x.png?1385091643289
/media/img/btn_spinner_18_2x.png?1385091643289
/media/img/pretty/collection_default.png?1385091643341
/media/img/icons/ratings/ESRB_e.png?1385091643454
/media/img/icons/ratings/ESRB_e10.png?1385091643454
/media/img/icons/ratings/ESRB_t.png?1385091643454
/media/img/icons/ratings/ESRB_m.png?1385091643454
/media/img/icons/ratings/ESRB_ao.png?1385091643454
/media/img/icons/ratings/USK_0.png?1385091643454
/media/img/icons/ratings/USK_6.png?1385091643454
/media/img/icons/ratings/USK_12.png?1385091643454
/media/img/icons/ratings/USK_16.png?1385091643454
/media/img/icons/ratings/USK_18.png?1385091643454
/media/img/icons/ratings/pegi_3.png?1385091643454
/media/img/icons/ratings/pegi_7.png?1385091643454
/media/img/icons/ratings/pegi_12.png?1385091643454
/media/img/icons/ratings/pegi_16.png?1385091643454
/media/img/icons/ratings/pegi_18.png?1385091643454
/media/img/icons/ratings/descriptors/pegi_discrimination.png?1385091643454
/media/img/icons/ratings/descriptors/pegi_drugs.png?1385091643454
/media/img/icons/ratings/descriptors/pegi_fear.png?1385091643454
/media/img/icons/ratings/descriptors/pegi_gambling.png?1385091643454
/media/img/icons/ratings/descriptors/pegi_language.png?1385091643454
/media/img/icons/ratings/descriptors/pegi_nudity.png?1385091643454
/media/img/icons/ratings/descriptors/pegi_online.png?1385091643454
/media/img/icons/ratings/descriptors/pegi_sex.png?1385091643454
/media/img/icons/ratings/descriptors/pegi_violence.png?1385091643454
/media/img/icons/ratings/interactives/ESRB_shares-info_small.png?1385091643454
/media/img/icons/ratings/interactives/ESRB_shares-location_small.png?1385091643454
/media/img/icons/ratings/interactives/ESRB_users-interact_small.png?1385091643454
/media/img/pretty/dropdown.svg?1385091643506
/media/img/pretty/dropdown_active.svg?1385091643506
/media/img/logos/firefox-256.png?1385091643604
/media/img/btn_spinner.png?1385091643648
/media/img/grain.png?1385091643746
/media/img/pretty/tick-white.svg?1385091643898
/media/img/icons/mac-applications.jpg?1385091643898
/media/img/icons/win-start.png?1385091643898
/media/img/pretty/stars_small.svg?1385091643993
/media/img/pretty/stars_large.svg?1385091643993
```