Jay,

If you have your extension media defined using the media bundles[1], when
you activate an extension, Review Board will copy the static media into
your htdocs/static directory.

[1]
https://www.reviewboard.org/docs/manual/2.0/extending/extensions/static-files/

-David

On Fri, Sep 26, 2014 at 5:01 PM, Jay Lee <jaylee1024...@gmail.com> wrote:

> Hello!
>
> I have upgraded to reviewboard 2.0.7 and have been actively working on
> extensions. However, I have not been able to find a "good" way of exposing
> my extension's static files.
>
> The issue I am running into is that my reviewboard installation relies on
> a 'apache-wsgi.conf' that has the following:
>
>   Alias /static "/export/apps/reviewboard/site/htdocs/static"
>   <Location "/static">
>       SetHandler None
>   </Location>
>
> This means that when an extension is pip installed it ends up in
>
>
> /export/apps/reviewboard//lib/python2.6/site-packages/extension_name/static/js/default.min.js
>
> which does not have the prefix
>
> /export/apps/reviewboard/site/htdocs/static
>
> This causes all my static files to be rejected by the apache web server.
>
> Is there an recommended or clean way of addressing this issue?
>
> Thanks,
> Jay
>
>
>
>
>
>  --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to