MrLoick / app-engine-patch

Automatically exported from code.google.com/p/app-engine-patch
0 stars 0 forks source link

media versions should work with point versions #187

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
For bugfixes I have needed to change version numbers to be floating point
numbers. This allows "/media/4.1/foo.gif"

line 5 in settings_post.py:
if '%' in MEDIA_URL:
    MEDIA_URL = MEDIA_URL % MEDIA_VERSION
line 7 in settings_pre.py:
MEDIA_URL = '/media/%.1f/'

Original issue reported on code.google.com by jricket...@gmail.com on 26 Jul 2009 at 7:09

GoogleCodeExporter commented 8 years ago
The manual versioning scheme will eventually go away (to be replaced with 
MD5-hash). 
Apart from that, I don't really see a need for float versions. For now, just 
increase 
the version number. Nobody will ever see it, anyway.

Original comment by wkornew...@gmail.com on 26 Jul 2009 at 11:10

GoogleCodeExporter commented 8 years ago
I keep my media versions in sync with my application version. It makes it 
easier to
manage.

Original comment by jricket...@gmail.com on 28 Jul 2009 at 12:24

GoogleCodeExporter commented 8 years ago
If you could just implement the change to settings_post.py, then users of
app-engine-patch could have their own format for the media url, and don't need 
to
bother you.

Original comment by jricket...@gmail.com on 28 Jul 2009 at 12:29

GoogleCodeExporter commented 8 years ago
I don't do media version sync with app version. media version should be 
separated from app version.

Original comment by nasim.ha...@gmail.com on 28 Jul 2009 at 12:44