##// 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
centos6
20 lines | 295 B | text/plain | TextLexer
Mads Kiilerich
docker: use stable tags for fedora and centos...
r22442 FROM centos:centos6
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 \
tar
Mads Kiilerich
dockerrpm: create a yum/dnf repo from the generated rpms...
r22444 # For creating repo meta data
RUN yum install -y createrepo
muxator
docker: try to follow the best practices for writing Dockerfiles...
r34424
Mathias De Maré
makefile: build on CentOS 6 with a Python 2.7...
r33597 # For python
muxator
docker: try to follow the best practices for writing Dockerfiles...
r34424 RUN yum install -y \
bzip2-devel \
ncurses-devel \
openssl-devel \
readline-devel \
zlib-devel