Status

Socorro
Symbols
RESOLVED FIXED
7 months ago
7 months ago

People

(Reporter: peterbe, Assigned: peterbe)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

7 months ago
All existing symbols (in AWS webeng) are uploaded into a prefix directory called "v1". And this is copied into Tecken with this https://github.com/mozilla-services/tecken/blob/de646a1b1e16e311bee1e404accb0e3a4288709c/tecken/settings.py#L398
That way, uploaders (of .zip) files don't need to specify the prefix. It gets set by Tecken automatically. 

However, for Symbol Download and Symbolication you're expected to set this in the DJANGO_SYMBOL_URLS. E.g. `https://s3.amazonaws.com/symbols-public-dev/v1` but that's easy to miss. 

Best to keep it safe and simple but still with the possibility to override with environment variables. 

So, If you do set `DJANGO_SYMBOL_URLS=https://s3.amazonaws.com/symbols-public-dev` it will use `settings.UPLOAD_FILE_PREFIX` as the prefix automagically. 

Note; If you set `DJANGO_SYMBOL_URLS=https://s3.amazonaws.com/symbols-public-dev/iknowmyprefixes` then that settings.UPLOAD_FILE_PREFIX will not be used. 

Note 2; The name "UPLOAD_FILE_PREFIX" isn't a good name since it's going to be used for both uploads and downloads.
(Assignee)

Updated

7 months ago
Assignee: nobody → peterbe

Updated

7 months ago
Status: NEW → RESOLVED
Last Resolved: 7 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.