Redefine the location of 'static' folder in Pillar and extensions #54052

Open
opened 2018-02-11 20:46:47 +01:00 by Francesco Siddi · 2 comments

Currently we automatically create pillar_static and <extension_name>_static values to be used in url_for() to serve static files. We expect to find a static directory inside the extension package.

Since this is stupid (according to the engineering team) we propose to move static to the root of the repo. This means changing the behavior of register_static_file_endpoint and move the static directory to the new location in all Pillar extensions.

Any comments @dr.sybren?

Currently we automatically create `pillar_static` and `<extension_name>_static` values to be used in `url_for()` to serve static files. We expect to find a `static` directory inside the extension package. Since this is *stupid* (according to the engineering team) we propose to move `static` to the root of the repo. This means changing the behavior of `register_static_file_endpoint` and move the `static` directory to the new location in all Pillar extensions. Any comments @dr.sybren?
Francesco Siddi self-assigned this 2018-02-11 20:46:47 +01:00

Added subscribers: @dr.sybren, @fsiddi, @pablovazquez

Added subscribers: @dr.sybren, @fsiddi, @pablovazquez

Looks good to me :)

Looks good to me :)
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: archive/pillar#54052
No description provided.