##// END OF EJS Templates
byteify-strings: add --treat-as-kwargs argument to handle kwargs-like objects...
byteify-strings: add --treat-as-kwargs argument to handle kwargs-like objects This argument will help extensions move to Python 3 as keyword arguments should not be byte-prefixed. Most of the time, code bases will call this object `kwargs`, but other conventions exist like `opts`, so it should make sense to allow for custom names. This is a best effort solution that does minimal static checking; cases like `options = [o for o in ('a', 'b', 'c') if kwargs.get(o)]` and other just as complicated will not be detected.

File last commit:

r41270:4c0d4bbd default
r42908:f95b59ff default
Show More
centos7
16 lines | 278 B | text/plain | TextLexer
Gregory Szorc
packaging: move most of contrib/docker to contrib/packaging/docker...
r38023 FROM centos:centos7
Gregory Szorc
packaging: consistently create build user in Dockerfiles...
r38475
Mathias De Mare
packaging: allow running packaging with custom uid+gid for CentOS...
r41270 RUN groupadd -g %GID% build && \
useradd -u %UID% -g %GID% -s /bin/bash -d /build -m build
Gregory Szorc
packaging: consistently create build user in Dockerfiles...
r38475
Gregory Szorc
packaging: move most of contrib/docker to contrib/packaging/docker...
r38023 RUN yum install -y \
gcc \
gettext \
make \
python-devel \
python-docutils \
rpm-build \
tar
# For creating repo meta data
RUN yum install -y createrepo