##// END OF EJS Templates
templater: keep default resources per template engine (API)...
templater: keep default resources per template engine (API) This allows us to register a repo object as a resource in hgweb template, without loosing '{repo}' symbol: symbol('repo') -> mapping['repo'] (n/a) -> defaults['repo'] resource('repo') -> mapping['repo'] (n/a) -> resources['repo'] I'm thinking of redesigning the templatekw API to take (context, mapping) in place of **(context._resources + mapping), but that will be a big change and not implemented yet. props['templ'] is ported to the resources dict as an example. .. api:: mapping does not contain all template resources. use context.resource() in template functions.

File last commit:

r34424:1baa0772 default
r35484:32c278eb default
Show More
fedora20
11 lines | 169 B | text/plain | TextLexer
Mads Kiilerich
docker: use stable tags for fedora and centos...
r22442 FROM fedora:20
muxator
docker: try to follow the best practices for writing Dockerfiles...
r34424 RUN yum install -y \
gcc \
gettext \
make \
python-devel \
python-docutils \
rpm-build
Mads Kiilerich
dockerrpm: create a yum/dnf repo from the generated rpms...
r22444 # For creating repo meta data
RUN yum install -y createrepo