Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Stop "make install" from falling over if DESTDIR is defined. | # $Id$
PROG= apm
# CFLAGS+= -I/sys/i386/include
# BINGRP= apm
# BINMODE= 550
LINKS= ${DESTDIR}/usr/sbin/apm ${DESTDIR}/usr/sbin/zzz
NOMAN= 1
.include <bsd.prog.mk>
| # $Id: Makefile,v 1.1 1994/10/01 03:23:23 davidg Exp $
PROG= apm
# CFLAGS+= -I/sys/i386/include
# BINGRP= apm
# BINMODE= 550
# LINKS= ${DESTDIR}/usr/sbin/apm ${DESTDIR}/usr/sbin/zzz
NOMAN= 1
.include <bsd.prog.mk>
|
Fix battery module description to fit width of new description box. There will be a bunch more of these commits coming. | [Desktop Entry]
Type=Link
Name=Battery
Name[de]=
Name[es]=Batería
Name[fr]=
Name[it]=
Name[ja]=
Name[pt]=
Name[pt_BR]=
Name[zh_CN]=
Name[zh_TW]=
Icon=e-module-battery
Comment=<hilight>Battery Gadget</hilight><br>A gadget to visualize your battery<br>status.
Comment[de]=
Comment[es]=<hilight>Dispositivo batería</hilight><br>Un dispositivo para ver el estado de su<br>batería.
Comment[fr]=
Comment[it]=<hilight>Modulo Battery</hilight><br>Un modulo per visualizzare lo<br>stato della batteria.
Comment[ja]=
Comment[pt]=
Comment[pt_BR]=
Comment[zh_CN]=
Comment[zh_TW]=
X-Enlightenment-ModuleType=system
| [Desktop Entry]
Type=Link
Name=Battery
Name[de]=
Name[es]=Batería
Name[fr]=
Name[it]=
Name[ja]=
Name[pt]=
Name[pt_BR]=
Name[zh_CN]=
Name[zh_TW]=
Icon=e-module-battery
Comment=<hilight>Battery Gadget</hilight><br><br>A gadget to visualize your battery status.
Comment[de]=
Comment[es]=<hilight>Dispositivo batería</hilight><br><br>Un dispositivo para ver el estado de su batería.
Comment[fr]=
Comment[it]=<hilight>Modulo Battery</hilight><br><br>Un modulo per visualizzare lo stato della batteria.
Comment[ja]=
Comment[pt]=
Comment[pt_BR]=
Comment[zh_CN]=
Comment[zh_TW]=
X-Enlightenment-ModuleType=system
|
Fix broken standard library documentation building | ARG FROM_TAG=release-alpine
FROM ponylang/ponyc:${FROM_TAG}
RUN apk update \
&& apk upgrade \
&& apk add --update --no-cache \
bash \
git-fast-import \
libffi \
libffi-dev \
libressl \
libressl-dev \
python3 \
python3-dev \
py3-pip \
&& pip3 install --upgrade pip \
&& pip3 install mkdocs \
&& pip3 install mkdocs-ponylang
| ARG FROM_TAG=release-alpine
FROM ponylang/ponyc:${FROM_TAG}
RUN apk update \
&& apk upgrade \
&& apk add --update --no-cache \
bash \
git-fast-import \
libffi \
libffi-dev \
libressl \
libressl-dev \
python3 \
python3-dev \
py3-pip \
&& pip3 install --upgrade pip \
&& pip3 install mkdocs==1.3.1\
&& pip3 install mkdocs-ponylang
|
Add julia requirements (JSON)) to Dockerfile | FROM python:3.7-slim
WORKDIR /root
COPY ./requirements.txt /root/requirements.txt
# TODO: copy in permanent code run stuff?
ENV PYTHONIOENCODING=utf-8
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
RUN apt-get update &&\
apt-get install -y build-essential &&\
apt-get install -y nodejs &&\
apt-get install -y julia &&\
pip install -r requirements.txt &&\
rm requirements.txt
# ENTRYPOINT ["bash"]
CMD ["tail", "-f", "/dev/null"]
| FROM python:3.7-slim
WORKDIR /root
COPY ./requirements.txt /root/requirements.txt
# TODO: copy in permanent code run stuff?
ENV PYTHONIOENCODING=utf-8
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
# TODO: use REQUIRE file for julia?
RUN apt-get update &&\
apt-get install -y curl &&\
apt-get install -y build-essential &&\
apt-get install -y nodejs &&\
apt-get install -y julia &&\
julia -e 'import Pkg; Pkg.add("JSON");' &&\
pip install -r requirements.txt &&\
rm requirements.txt
# ENTRYPOINT ["bash"]
CMD ["tail", "-f", "/dev/null"]
|
Fix ruby 2.3-dev package name. CRd by Randy <randy.antler@socrata.com> | FROM socrata/base
MAINTAINER Socrata <sysadmin@socrata.com>
RUN DEBIAN_FRONTEND=noninteractive apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get --force-yes -fuy install software-properties-common && \
DEBIAN_FRONTEND=noninteractive add-apt-repository -y ppa:brightbox/ruby-ng && \
DEBIAN_FRONTEND=noninteractive apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y ruby2.3 && \
DEBIAN_FRONTEND=noninteractive apt-get purge -y --auto-remove software-properties-common && \
rm -rf /var/lib/apt/lists/*
# skip installing gem documentation
RUN echo 'gem: --no-rdoc --no-ri --no-document' >> "/etc/gemrc" && \
gem install bundler
# LABEL must be last for proper base image discoverability
LABEL repository.socrata/ruby2.3=""
| FROM socrata/base
MAINTAINER Socrata <sysadmin@socrata.com>
RUN DEBIAN_FRONTEND=noninteractive apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get --force-yes -fuy install software-properties-common && \
DEBIAN_FRONTEND=noninteractive add-apt-repository -y ppa:brightbox/ruby-ng && \
DEBIAN_FRONTEND=noninteractive apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y ruby2.3-dev && \
DEBIAN_FRONTEND=noninteractive apt-get purge -y --auto-remove software-properties-common && \
rm -rf /var/lib/apt/lists/*
# skip installing gem documentation
RUN echo 'gem: --no-rdoc --no-ri --no-document' >> "/etc/gemrc" && \
gem install bundler
# LABEL must be last for proper base image discoverability
LABEL repository.socrata/ruby2.3=""
|
Remove redundant files from the code coverage blacklist | <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="../vendor/autoload.php"
>
<php>
<ini name="intl.default_locale" value="en"/>
<ini name="intl.error_level" value="0"/>
<ini name="memory_limit" value="-1"/>
<ini name="date.timezone" value="America/Montreal"/>
</php>
<testsuites>
<testsuite name="Garden Http Test Suite">
<directory suffix="Test.php">.</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="false">
<directory suffix=".php">../src</directory>
<exclude>
<directory suffix=".php">../tests</directory>
<directory suffix=".php">../travis</directory>
<directory suffix=".php">../vendor</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="../vendor/autoload.php"
>
<php>
<ini name="intl.default_locale" value="en"/>
<ini name="intl.error_level" value="0"/>
<ini name="memory_limit" value="-1"/>
<ini name="date.timezone" value="America/Montreal"/>
</php>
<testsuites>
<testsuite name="Garden Http Test Suite">
<directory suffix="Test.php">.</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="false">
<directory suffix=".php">../src</directory>
</whitelist>
</filter>
</phpunit>
|
Make Makefile take a relative path for CFLAGS. Submitted by: Remy Card <Remy.Card@masi.ibp.fr> | # Makefile for xten (Stark) 10/30/93
PROG= xten
SRCS= xten.c
CFLAGS+=-I. -I/usr/src/libexec/xtend
MAN1= xten.1
.include <bsd.prog.mk>
| # Makefile for xten (Stark) 10/30/93
PROG= xten
SRCS= xten.c
CFLAGS+=-I. -I${.CURDIR}/../../libexec/xtend
MAN1= xten.1
.include <bsd.prog.mk>
|
Add module type for conf panel. | [Desktop Entry]
Type=Link
Name=Configuration Panel
Name[it]=Pannello di configurazione
Icon=e-module-conf
Comment=<hilight>The E17 Configuration Panel</hilight>
Comment[it]=<hilight>Il pannello di configurazione di E17</hilight>
| [Desktop Entry]
Type=Link
Name=Configuration Panel
Name[it]=Pannello di configurazione
Icon=e-module-conf
Comment=<hilight>The E17 Configuration Panel</hilight>
Comment[it]=<hilight>Il pannello di configurazione di E17</hilight>
X-Enlightenment-ModuleType=config
|
Make sure we run test coverage | <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
codecoverage= "true"
bootstrap="./vendor/autoload.php"
>
<formatter type="clover" usefile="false" />
<testsuites>
<testsuite name="Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<blacklist>
<directory>vendor/</directory>
<directory>tests/</directory>
<!-- Don't test interfaces -->
<directory suffix="Interface.php">./</directory>
</blacklist>
</filter>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
codecoverage= "true"
bootstrap="./vendor/autoload.php"
>
<formatter type="clover" usefile="false" />
<testsuites>
<testsuite name="Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>src/</directory>
</whitelist>
</filter>
</phpunit>
|
Add the author as co-maintainer, a la mergemaster. | # $FreeBSD$
MAINTAINER= billf@FreeBSD.org
MAN8= pkg_version.1
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/pkg_version.pl ${DESTDIR}${BINDIR}/pkg_version
.include <bsd.prog.mk>
| # $FreeBSD$
MAINTAINER= billf@FreeBSD.org
MAINTAINER+= bmah@CS.Sandia.GOV
MAN8= pkg_version.1
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/pkg_version.pl ${DESTDIR}${BINDIR}/pkg_version
.include <bsd.prog.mk>
|
Fix Package Config file generator | @PACKAGE_INIT@
#Include targets file. This will create IMPORTED target MexIFace
include("${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake")
check_required_components("@PROJECT_NAME@")
#Setup paths to CMAKE utilities
set(MexIFace_CMAKE_DIR @PACKAGE_MexIFace_CMAKE_INSTALL_DIR@) #Relative to this file's install location
set(MexIFace_CMAKE_MODULES_DIR ${MexIFace_CMAKE_DIR}/Modules)
set(MexIFace_CMAKE_TOOLCHAINS_DIR ${MexIFace_CMAKE_DIR}/Toolchains)
set(MexIFace_CMAKE_BUILDCONFIG_DIR ${MexIFace_CMAKE_DIR}/BuildConfig)
set(MexIFace_CMAKE_SCRIPTS_DIR ${MexIFace_CMAKE_DIR}/Scripts)
set(MexIFace_CMAKE_TEMPLATES_DIR ${MexIFace_CMAKE_DIR}/Templates)
#Add modules to path
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${MexIFace_CMAKE_MODULES_DIR})
| @PACKAGE_INIT@
#Include targets file. This will create IMPORTED target MexIFace
include("${CMAKE_CURRENT_LIST_DIR}/@EXPORT_TARGETS_NAME@.cmake")
check_required_components("@PROJECT_NAME@")
#Setup paths to CMAKE utilities
set(MexIFace_CMAKE_DIR @PACKAGE_MexIFace_CMAKE_INSTALL_DIR@) #Relative to this file's install location
set(MexIFace_CMAKE_MODULES_DIR ${MexIFace_CMAKE_DIR}/Modules)
set(MexIFace_CMAKE_TOOLCHAINS_DIR ${MexIFace_CMAKE_DIR}/Toolchains)
set(MexIFace_CMAKE_BUILDCONFIG_DIR ${MexIFace_CMAKE_DIR}/BuildConfig)
set(MexIFace_CMAKE_SCRIPTS_DIR ${MexIFace_CMAKE_DIR}/Scripts)
set(MexIFace_CMAKE_TEMPLATES_DIR ${MexIFace_CMAKE_DIR}/Templates)
#Add modules to path
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${MexIFace_CMAKE_MODULES_DIR})
|
Add whitelist to phpunit config to enable code coverage reports | <?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./vendor/autoload.php" colors="true">
<testsuites>
<testsuite name="JallAopMonologBundle test suite">
<directory suffix="Test.php">./Tests</directory>
</testsuite>
</testsuites>
</phpunit> | <?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./vendor/autoload.php" colors="true">
<testsuites>
<testsuite name="JallAopMonologBundle test suite">
<directory suffix="Test.php">./Tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./Resources</directory>
<directory>./Tests</directory>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>
</phpunit> |
Test the new phpunit config | <?xml version="1.0" encoding="utf-8" ?>
<phpunit
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
bootstrap="./src/Bugsnag/Autoload.php">
<testsuites>
<testsuite name="Bugsnag tests">
<directory>./tests</directory>
</testsuite>
</testsuites>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
failOnRisky="true"
failOnWarning="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
verbose="true"
>
<testsuites>
<testsuite name="Bugsnag PHP Test Suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
</phpunit>
|
Set the binutils arch for as/nm correctly on the amd64 platform. As far as binutils is concerned, the amd64 platform is still called "x86-64"/"x86_64". Setting things from ${MACHINE_ARCH} breaks that. | # $FreeBSD$
.include "../Makefile.inc0"
.PATH: ${SRCDIR}/binutils
LIB= binutils
SRCS+= arlex.l arparse.y arsup.c bucomm.c debug.c filemode.c \
ieee.c rdcoff.c rddbg.c rename.c stabs.c unwind-ia64.c \
wrstabs.c version.c binemul.c budemang.c emul_vanilla.c
WARNS= 0
CFLAGS+= -DTARGET=\"${TARGET_ARCH}-unknown-freebsd\"
CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
CFLAGS+= -I${SRCDIR}/binutils
CFLAGS+= -I${SRCDIR}/bfd
INTERNALLIB= true
.include <bsd.lib.mk>
| # $FreeBSD$
.include "../Makefile.inc0"
.PATH: ${SRCDIR}/binutils
LIB= binutils
SRCS+= arlex.l arparse.y arsup.c bucomm.c debug.c filemode.c \
ieee.c rdcoff.c rddbg.c rename.c stabs.c unwind-ia64.c \
wrstabs.c version.c binemul.c budemang.c emul_vanilla.c
WARNS= 0
.if ${TARGET_ARCH} == "amd64"
BINUTILS_ARCH=x86_64
.else
BINUTILS_ARCH=${TARGET_ARCH}
.endif
CFLAGS+= -DTARGET=\"${BINUTILS_ARCH}-unknown-freebsd\"
CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\"
CFLAGS+= -I${SRCDIR}/binutils
CFLAGS+= -I${SRCDIR}/bfd
INTERNALLIB= true
.include <bsd.lib.mk>
|
Add more restrictions for the tests | <?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
checkForUnintentionallyCoveredCode="true"
>
<testsuites>
<testsuite name="all">
<directory>tests</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="false" />
</logging>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
beStrictAboutChangesToGlobalState="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutResourceUsageDuringSmallTests="true"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutTodoAnnotatedTests="true"
checkForUnintentionallyCoveredCode="true"
forceCoversAnnotation="true"
>
<testsuites>
<testsuite name="all">
<directory>tests</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="false" />
</logging>
</phpunit>
|
Remove my path information from config. | <?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="DynamoBasePath" value="C:\Users\Ian\Documents\GitHub\Dynamo\bin\AnyCPU\Debug"/>
<add key="RequestedLibraryVersion" value="Version220"/>
</appSettings>
</configuration> | <?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="DynamoBasePath" value=""/>
<add key="RequestedLibraryVersion" value="Version220"/>
</appSettings>
</configuration> |
Install the openssl(1) manpage with an MLINK from ssl(8) to at least put something in the location where OpenSSH likes to point. | # $FreeBSD$
PROG= openssl
MAINTAINER= kris
LDADD= -lssl -lcrypto
NOMAN= noman
OPENSSL_SRC= ${.CURDIR}/../../../crypto/openssl/apps
LCRYPTO_SRC= ${.CURDIR}/../../../crypto/openssl/crypto
CFLAGS+= -DMONOLITH -I${.CURDIR}
WITH_RSA?= YES
.if ${WITH_RSA} == NO
CFLAGS+= -DNO_RSA -DNO_SSL2
.endif
SRCS= app_rand.c apps.c asn1pars.c ca.c ciphers.c crl.c crl2p7.c dgst.c \
dh.c dhparam.c dsa.c dsaparam.c enc.c errstr.c gendh.c gendsa.c \
genrsa.c nseq.c openssl.c passwd.c pkcs12.c pkcs7.c pkcs8.c rand.c \
req.c rsa.c s_cb.c s_client.c s_server.c s_socket.c s_time.c \
sess_id.c smime.c speed.c spkac.c verify.c version.c x509.c
.PATH: ${OPENSSL_SRC}
.include <bsd.prog.mk>
| # $FreeBSD$
OPENSSL_SRC= ${.CURDIR}/../../../crypto/openssl/apps
LCRYPTO_SRC= ${.CURDIR}/../../../crypto/openssl/crypto
.PATH: ${OPENSSL_SRC} ${OPENSSL_SRC}/../doc/apps/
PROG= openssl
MAINTAINER= kris
LDADD= -lssl -lcrypto
MAN1= openssl.1
MLINKS= openssl.1 ssl.8
CFLAGS+= -DMONOLITH -I${.CURDIR}
WITH_RSA?= YES
.if ${WITH_RSA} == NO
CFLAGS+= -DNO_RSA -DNO_SSL2
.endif
SRCS= app_rand.c apps.c asn1pars.c ca.c ciphers.c crl.c crl2p7.c dgst.c \
dh.c dhparam.c dsa.c dsaparam.c enc.c errstr.c gendh.c gendsa.c \
genrsa.c nseq.c openssl.c passwd.c pkcs12.c pkcs7.c pkcs8.c rand.c \
req.c rsa.c s_cb.c s_client.c s_server.c s_socket.c s_time.c \
sess_id.c smime.c speed.c spkac.c verify.c version.c x509.c
.include <bsd.prog.mk>
.SUFFIXES: .out .o .c .cc .cpp .cxx .C .m .y .l .s .S .pod
.pod.1:
pod2man ${.IMPSRC} > ${.TARGET}
|
Rename the root PHPUnit configuration file and enable strict mode in all | <?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
strict="false"
verbose="false">
<testsuites>
<testsuite name="Axstrad\TestBundle">
<file>./Functional/WebTestCase.php</file>
</testsuite>
</testsuites>
<logging>
<log type="coverage-html"
target="build/coverage"
title="Axstrad Library"
charset="UTF-8"
yui="true"
highlight="true"
lowUpperBound="35"
highLowerBound="70"
/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
</logging>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
<exclude>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
strict="true"
verbose="false">
<testsuites>
<testsuite name="Axstrad\TestBundle">
<file>./Functional/WebTestCase.php</file>
</testsuite>
</testsuites>
<logging>
<log type="coverage-html"
target="build/coverage"
title="Axstrad Library"
charset="UTF-8"
yui="true"
highlight="true"
lowUpperBound="35"
highLowerBound="70"
/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
</logging>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
<exclude>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
|
Set proper destination directory for cron. Submitted by: jkh | PROG= cron
SRCS= cron.c database.c do_command.c job.c user.c popen.c
MAN3= bitstring.3
MAN8= cron.8
LDADD+= -L${.CURDIR}/../lib -lcron
.include <bsd.prog.mk>
| BINDIR?= /usr/sbin
PROG= cron
SRCS= cron.c database.c do_command.c job.c user.c popen.c
MAN3= bitstring.3
MAN8= cron.8
LDADD+= -L${.CURDIR}/../lib -lcron
.include <bsd.prog.mk>
|
Add -DFREEBSD_AOUT to CFLAGS to ensure we get the correct definitions from <link.h> | # $Id: Makefile,v 1.7 1997/09/02 21:54:38 jdp Exp $
PROG= ldd
SRCS= ldd.c sods.c
CFLAGS+= -Wall
.include <bsd.prog.mk>
| # $Id: Makefile,v 1.8 1998/06/01 13:55:12 peter Exp $
PROG= ldd
SRCS= ldd.c sods.c
CFLAGS+= -Wall -DFREEBSD_AOUT
.include <bsd.prog.mk>
|
Fix wording as suggested by Zachary Goldberg. | [Desktop Entry]
Type=Link
Name=Configuration - Profiles
Icon=e-module-conf_profiles
Comment=<hilight>E17 Configuration Applet</hilight><br>Allows to manage configuration profiles.
| [Desktop Entry]
Type=Link
Name=Configuration - Profiles
Icon=e-module-conf_profiles
Comment=<hilight>E17 Configuration Applet</hilight><br>Allows management of configuration profiles.
|
Increase verbosity of run-tool-opts script | #!/usr/bin/env bash
TOOL_NAME=${tool_name}
OPTS_NAME=${opts_name}
TOOL=${tool}
EXP_NAME=$$(python -m spacer.exp_name ${idx})
OUT=${out_dir}/$${TOOL_NAME}.$${OPTS_NAME}.$${EXP_NAME}
echo "Creating directory: $$OUT"
mkdir -p $$OUT
PARALLEL=${parallel}
JOBS=${jobs}
echo "Starting parallel with $$JOBS jobs..."
time $$PARALLEL -j $$JOBS --ungroup --results $$OUT/{/} $$TOOL :::: ${idx}
| #!/usr/bin/env bash
TOOL_NAME=${tool_name}
OPTS_NAME=${opts_name}
TOOL=${tool}
EXP_NAME=$$(python -m spacer.exp_name ${idx})
OUT=${out_dir}/$${TOOL_NAME}.$${OPTS_NAME}.$${EXP_NAME}
echo "Creating directory: $$OUT"
mkdir -p $$OUT
PARALLEL=${parallel}
JOBS=${jobs}
echo "Experiment: $${EXP_NAME}"
echo "Output directory: $${OUT}"
echo "Starting GNU parallel with $$JOBS jobs ..."
time $$PARALLEL -j $$JOBS --ungroup --results $$OUT/{/} $$TOOL :::: ${idx}
|
Install requirements based on the requirements.txt in Docker | FROM heroku/cedar:14
WORKDIR /app
ENV WORKSPACE_DIR=/app/support/build
RUN apt-get update && apt-get install -y python-pip
RUN pip install 'bob-builder>=0.0.10' 's3cmd>=1.6.0'
ADD . /app
| FROM heroku/cedar:14
WORKDIR /app
ENV WORKSPACE_DIR=/app/support/build
RUN apt-get update && apt-get install -y python-pip
ADD requirements.txt /app/requirements.txt
RUN pip install -r /app/requirements.txt
ADD . /app
|
Add python package that is needed by SLURM at installation | FROM debian
MAINTAINER Artem Polyakov <artemp@mellanox.com>
# Install some ps and Midnight Commander
RUN apt-get update && \
apt-get install -y procps mc && \
apt-get install -y gcc make && \
apt-get install -y wget bzip2 && \
apt-get install -y git
# Prepare tools for compilation
COPY ./compilation /root/
RUN cd /root/compile/scripts/ && ./download_tools.sh
RUN cd /root/compile/scripts/ && ./prepare.sh
RUN echo "BASE=/opt/compile_tools/" >> /root/.bashrc
RUN echo "PATH=\$BASE/bin:\$PATH" >> /root/.bashrc
RUN echo "LD_LIBRARY_PATH=\$BASE/lib:\$LD_LIBRARY_PATH" >> /root/.bashrc
RUN rm -Rf /root/compile | FROM debian
MAINTAINER Artem Polyakov <artemp@mellanox.com>
# Install some ps and Midnight Commander
RUN apt-get update && \
apt-get install -y procps mc && \
apt-get install -y gcc make && \
apt-get install -y wget bzip2 && \
apt-get install -y git && \
apt-get install -y python
# Prepare tools for compilation
COPY ./compilation /root/
RUN cd /root/compile/scripts/ && ./download_tools.sh
RUN cd /root/compile/scripts/ && ./prepare.sh
RUN echo "BASE=/opt/compile_tools/" >> /root/.bashrc
RUN echo "PATH=\$BASE/bin:\$PATH" >> /root/.bashrc
RUN echo "LD_LIBRARY_PATH=\$BASE/lib:\$LD_LIBRARY_PATH" >> /root/.bashrc
RUN rm -Rf /root/compile |
Add code coverage in phpunit. | <?xml version="1.0" encoding="utf-8" ?>
<phpunit bootstrap="./vendor/autoload.php">
<testsuites>
<testsuite name="SugarCli's test suite">
<directory>./tests</directory>
</testsuite>
</testsuites>
</phpunit>
| <?xml version="1.0" encoding="utf-8" ?>
<phpunit bootstrap="./vendor/autoload.php">
<testsuites>
<testsuite name="SugarCli's test suite">
<directory>./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true" processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="false"/>
</logging>
</phpunit>
|
Make private launcher only show in search in Pantheon | [Desktop Entry]
Version=1.0
Type=Application
_Name=Midori Private Browsing
_GenericName=Private Browsing
_Comment=Open a new private browsing window
Categories=GTK;Network;WebBrowser;
Exec=midori --private %U
Icon=midori
Terminal=false
StartupNotify=true
X-Osso-Type=application/x-executable
X-Osso-Service=midori
| [Desktop Entry]
Version=1.0
Type=Application
_Name=Midori Private Browsing
_GenericName=Private Browsing
_Comment=Open a new private browsing window
Categories=GTK;Network;WebBrowser;
Exec=midori --private %U
Icon=midori
Terminal=false
StartupNotify=true
NotShowIn=Pantheon
X-Osso-Type=application/x-executable
X-Osso-Service=midori
|
Add new and Latin15 names | # @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= calendar
SRCS= calendar.c io.c day.c ostern.c paskha.c
CFLAGS+= -Wall
INTER= de_DE.ISO_8859-1 hr_HR.ISO_8859-2 ru_RU.KOI8-R
TEXTMODE?= 444
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar
.for lang in ${INTER}
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
${.CURDIR}/calendars/${lang}/calendar.* \
${DESTDIR}${SHAREDIR}/calendar/${lang};
.endfor
.include <bsd.prog.mk>
| # @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= calendar
SRCS= calendar.c io.c day.c ostern.c paskha.c
CFLAGS+= -Wall
INTER= de_DE.ISO_8859-1 hr_HR.ISO_8859-2 ru_RU.KOI8-R
DE_LINKS= de_DE.ISO8859-1 de_DE.ISO_8859-15 de_DE.ISO8859-15
HR_LINKS= hr_HR.ISO8859-2
TEXTMODE?= 444
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar
.for link in ${DE_LINKS}
ln -sf de_DE.ISO_8859-1 ${DESTDIR}${SHAREDIR}/calendar/${link}
.endfor
.for link in ${HR_LINKS}
ln -sf hr_HR.ISO_8859-2 ${DESTDIR}${SHAREDIR}/calendar/${link}
.endfor
.for lang in ${INTER}
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
${.CURDIR}/calendars/${lang}/calendar.* \
${DESTDIR}${SHAREDIR}/calendar/${lang};
.endfor
.include <bsd.prog.mk>
|
Install a manpage for more. | # Makefile for less
#
# $FreeBSD$
PROG= less
SRCS= main.c screen.c brac.c ch.c charset.c cmdbuf.c command.c decode.c \
edit.c filename.c forwback.c help.c ifile.c input.c jump.c line.c \
linenum.c lsystem.c mark.c optfunc.c option.c opttbl.c os.c output.c \
position.c prompt.c search.c signal.c tags.c ttyin.c version.c
DPADD= ${LIBNCURSES}
LDADD= -lncurses
LINKS= ${BINDIR}/less /usr/bin/more
MAN1= less.1
MANDEPEND= less.1
CLEANFILES+= ${MANDEPEND}
.include "Makefile.common"
.include <bsd.prog.mk>
| # Makefile for less
#
# $FreeBSD$
PROG= less
SRCS= main.c screen.c brac.c ch.c charset.c cmdbuf.c command.c decode.c \
edit.c filename.c forwback.c help.c ifile.c input.c jump.c line.c \
linenum.c lsystem.c mark.c optfunc.c option.c opttbl.c os.c output.c \
position.c prompt.c search.c signal.c tags.c ttyin.c version.c
DPADD= ${LIBNCURSES}
LDADD= -lncurses
LINKS= ${BINDIR}/less /usr/bin/more
MAN1= less.1
MANDEPEND= less.1
CLEANFILES+= ${MANDEPEND}
MLINKS= less.1 more.1
.include "Makefile.common"
.include <bsd.prog.mk>
|
Remove entire field div instead of just the text field | / replace_contents "[data-hook='presentation']"
= label :new_variant, option.option_type.presentation
- if @variant.new_record?
= select(:new_variant, option.option_type.presentation, option.option_type.option_values.collect {|ov| [ ov.presentation, ov.id ] }, {}, {:class => 'select2 fullwidth'})
- else
- opt = @variant.option_values.detect {|o| o.option_type == option.option_type }.try(:presentation)
- if opt && !variant_unit_option_type?(option.option_type)
= text_field(:new_variant, option.option_type.presentation, :value => opt, :disabled => 'disabled', :class => 'fullwidth')
| / replace "[data-hook='presentation']"
- unless variant_unit_option_type?(option.option_type)
.field{"data-hook" => "presentation"}
= label :new_variant, option.option_type.presentation
- if @variant.new_record?
= select(:new_variant, option.option_type.presentation, option.option_type.option_values.collect {|ov| [ ov.presentation, ov.id ] }, {}, {:class => 'select2 fullwidth'})
- else
- if opt = @variant.option_values.detect {|o| o.option_type == option.option_type }.try(:presentation)
= text_field(:new_variant, option.option_type.presentation, :value => opt, :disabled => 'disabled', :class => 'fullwidth')
|
Use execute_process instead of deprecated exec_program, and doesn't use unnecessary IS_SYMLINK. | if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
message(FATAL_ERROR "Cannot find install manifest: @CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
string(REGEX REPLACE "\n" ";" files "${files}")
foreach(file ${files})
message(STATUS "Uninstalling $ENV{DESTDIR}${file}")
if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
exec_program(
"@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
OUTPUT_VARIABLE rm_out
RETURN_VALUE rm_retval
)
if(NOT "${rm_retval}" STREQUAL 0)
message(FATAL_ERROR "Problem when removing $ENV{DESTDIR}${file}")
endif(NOT "${rm_retval}" STREQUAL 0)
else(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
message(STATUS "File $ENV{DESTDIR}${file} does not exist.")
endif(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
endforeach(file)
| if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
message(FATAL_ERROR "Cannot find install manifest: @CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
string(REGEX REPLACE "\n" ";" files "${files}")
foreach(file ${files})
message(STATUS "Uninstalling $ENV{DESTDIR}${file}")
if(EXISTS "$ENV{DESTDIR}${file}")
execute_process(
COMMAND @CMAKE_COMMAND@ -E remove "$ENV{DESTDIR}${file}"
OUTPUT_VARIABLE rm_out
RESULT_VARIABLE rm_retval
)
if(NOT "${rm_retval}" STREQUAL 0)
message(FATAL_ERROR "Problem when removing $ENV{DESTDIR}${file}")
endif(NOT "${rm_retval}" STREQUAL 0)
else(EXISTS "$ENV{DESTDIR}${file}")
message(STATUS "File $ENV{DESTDIR}${file} does not exist.")
endif(EXISTS "$ENV{DESTDIR}${file}")
endforeach(file)
|
Add Categories for Xfce and Gnome | [Desktop Entry]
Type=Application
Name=Window Effects
GenericName=Compton Configuration
Comment=Configure Compton window effects
TryExec=compton-conf
Exec=compton-conf
Icon=preferences-system-windows
Categories=Settings;DesktopSettings;Qt;LXQt;
#TRANSLATIONS_DIR=translations
| [Desktop Entry]
Type=Application
Name=Window Effects
GenericName=Compton Configuration
Comment=Configure Compton window effects
TryExec=compton-conf
Exec=compton-conf
Icon=preferences-system-windows
Categories=Settings;DesktopSettings;Qt;LXQt;X-XFCE-SettingsDialog;X-XFCE-PersonalSettings;X-GNOME-PersonalSettings;
#TRANSLATIONS_DIR=translations
|
Update nginx:stable-alpine Docker digest to d14e35b | # build stage
FROM node:lts-alpine@sha256:0a6a21d28509f56155007444075ef4fdd36eef0a97924623cb641d3766e3b8d3 AS build-stage
COPY common /common
WORKDIR /app
COPY frontend/package*.json ./
RUN npm ci
COPY frontend .
RUN npm run build
# production stage
FROM nginx:stable-alpine@sha256:6386f5445b60d9b48efdc9034111b7ce62098e61309e5d3871542f64722e3211 as production-stage
RUN mkdir /app
WORKDIR /app
COPY --from=build-stage /app/dist /app
COPY .docker-hub/frontend/nginx.conf /etc/nginx/nginx.conf
| # build stage
FROM node:lts-alpine@sha256:0a6a21d28509f56155007444075ef4fdd36eef0a97924623cb641d3766e3b8d3 AS build-stage
COPY common /common
WORKDIR /app
COPY frontend/package*.json ./
RUN npm ci
COPY frontend .
RUN npm run build
# production stage
FROM nginx:stable-alpine@sha256:d14e35b17d5e0c090d6d74a59b54e804ea1dd54686d1e1833277098634aac103 as production-stage
RUN mkdir /app
WORKDIR /app
COPY --from=build-stage /app/dist /app
COPY .docker-hub/frontend/nginx.conf /etc/nginx/nginx.conf
|
Add HTML coverage report and exclude vendor folder | <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="./tests/bootstrap.php"
>
<testsuites>
<testsuite name="ACache Test Suite">
<directory suffix="Test.php">./tests/ACache/Tests/</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml" />
</logging>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="./tests/bootstrap.php"
>
<testsuites>
<testsuite name="ACache Test Suite">
<directory suffix="Test.php">./tests/ACache/Tests/</directory>
</testsuite>
</testsuites>
<filter>
<blacklist>
<directory>vendor</directory>
</blacklist>
</filter>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml" />
<log type="coverage-html" target="build/logs/coverage" />
</logging>
</phpunit>
|
Remove syntaxCheck attribute for phpunit | <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="Tests/bootstrap.php"
>
<testsuites>
<testsuite name="Fxp Composer Asset Plugin Test Suite">
<directory>./Tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./Tests</directory>
<directory>./Resources</directory>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="Tests/bootstrap.php"
>
<testsuites>
<testsuite name="Fxp Composer Asset Plugin Test Suite">
<directory>./Tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./Tests</directory>
<directory>./Resources</directory>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
|
Remove no-longer valid log option 'title' | <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
enforceTimeLimit="true"
bootstrap="./tests/bootstrap.php"
colors="true"
verbose="true">
<testsuite name="Joind.in Test Suite">
<directory>tests/</directory>
</testsuite>
<logging>
<log type="coverage-html" target="build/coverage" title="joindin"
charset="UTF-8" yui="true" highlight="true"
lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
</logging>
<filter>
<whitelist processUncoveredFilesFromWhitelist="false">
<directory suffix=".php">src/controllers</directory>
<directory suffix=".php">src/inc</directory>
<directory suffix=".php">src/models</directory>
<directory suffix=".php">src/services</directory>
<directory suffix=".php">src/views</directory>
<exclude>
<!-- excluded because it both defines symbols and has side effects -->
<file>inc/Autoloader.php</file>
</exclude>
</whitelist>
</filter>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
enforceTimeLimit="true"
bootstrap="./tests/bootstrap.php"
colors="true"
verbose="true">
<testsuite name="Joind.in Test Suite">
<directory>tests/</directory>
</testsuite>
<logging>
<log type="coverage-html" target="build/coverage"
charset="UTF-8" yui="true" highlight="true"
lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
</logging>
<filter>
<whitelist processUncoveredFilesFromWhitelist="false">
<directory suffix=".php">src/controllers</directory>
<directory suffix=".php">src/inc</directory>
<directory suffix=".php">src/models</directory>
<directory suffix=".php">src/services</directory>
<directory suffix=".php">src/views</directory>
<exclude>
<!-- excluded because it both defines symbols and has side effects -->
<file>inc/Autoloader.php</file>
</exclude>
</whitelist>
</filter>
</phpunit>
|
Add stop call systemd in RedHat uninstall. | #!/bin/sh
# errors shouldn't cause script to exit
set +e
if [ "$1" = "0" ] ; then
# uninstall
if [ -f /etc/init/shiny-server.conf ]
then
sudo initctl stop shiny-server 2>/dev/null
fi
if [ -f /etc/init.d/shiny-server ]
then
sudo service shiny-server stop 2>/dev/null
fi
fi
# clear error termination state
set -e
| #!/bin/sh
# errors shouldn't cause script to exit
set +e
if [ "$1" = "0" ] ; then
# uninstall
if [ -f /etc/init/shiny-server.conf ]
then
sudo initctl stop shiny-server 2>/dev/null
elif [ -f /etc/systemd/system/shiny-server.service ]
then
systemctl stop shiny-server 2>/dev/null
elif [ -f /etc/init.d/shiny-server ]
then
sudo service shiny-server stop 2>/dev/null
fi
fi
# clear error termination state
set -e
|
Set Ubuntu version to Xenial, fetch NPB sources using Dockerfile ADD command. | FROM ubuntu:latest
WORKDIR /home
# Install required libraries, download benchmark suite and untar files
RUN apt-get update && apt-get install -y \
wget \
&& wget -nv http://www.nas.nasa.gov/assets/npb/NPB3.3.1.tar.gz \
&& tar -xf NPB3.3.1.tar.gz \
&& rm NPB3.3.1.tar.gz \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /home/NPB3.3.1
| FROM ubuntu:xenial
ADD http://www.nas.nasa.gov/assets/npb/NPB3.3.1.tar.gz /home
RUN cd /home && tar xf NPB3.3.1.tar.gz && rm NPB3.3.1.tar.gz
WORKDIR /home/NPB3.3.1
|
Bring PHPUnit config PHP version requirement in line with Composer config. | <?xml version="1.0" encoding="UTF-8"?>
<phpunit colors="true" verbose="true" bootstrap="tests/bootstrap.php">
<testsuites>
<testsuite name="Rych\Random Tests">
<directory suffix="Test.php" phpVersion="5.3.8" phpVersionOperator=">=">./tests</directory>
</testsuite>
</testsuites>
</phpunit> | <?xml version="1.0" encoding="UTF-8"?>
<phpunit colors="true" verbose="true" bootstrap="tests/bootstrap.php">
<testsuites>
<testsuite name="Rych\Random Tests">
<directory suffix="Test.php" phpVersion="5.3.4" phpVersionOperator=">=">./tests</directory>
</testsuite>
</testsuites>
</phpunit> |
Add HTML output of coverage | <phpunit bootstrap="./vendor/autoload.php">
<testsuites>
<testsuite>
<directory suffix="Test.php">./app/tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./app/src</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>
| <phpunit bootstrap="./vendor/autoload.php">
<testsuites>
<testsuite>
<directory suffix="Test.php">./app/tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./app/src</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="coverage-html" target="build/coverage"/>
</logging>
</phpunit>
|
Exclude files from test coverage that are not compatible with PHP 7.1+ | <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true">
<testsuites>
<testsuite name="zend-filter Test Suite">
<directory>./test</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
<php>
<!-- Zend\Filter tests
Some tests are problematic, largely due to environment.
Specifically, the Zip compression filter has this issue. These
tests are enabled by default; set them to false to disable them. -->
<env name="TESTS_ZEND_FILTER_COMPRESS_ZIP_ENABLED" value="true" />
</php>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true">
<testsuites>
<testsuite name="zend-filter Test Suite">
<directory>./test</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
<exclude>
<file>src/Int.php</file>
<file>src/Null.php</file>
</exclude>
</whitelist>
</filter>
<php>
<!-- Zend\Filter tests
Some tests are problematic, largely due to environment.
Specifically, the Zip compression filter has this issue. These
tests are enabled by default; set them to false to disable them. -->
<env name="TESTS_ZEND_FILTER_COMPRESS_ZIP_ENABLED" value="true" />
</php>
</phpunit>
|
Fix the apt usage in the dockerfile | FROM heroku/cedar:14
WORKDIR /app
ENV WORKSPACE_DIR=/app/support/build
RUN apt-get update
RUN apt-get install -y python-pip
RUN pip install 'bob-builder>=0.0.10' 's3cmd>=1.6.0'
ADD . /app
| FROM heroku/cedar:14
WORKDIR /app
ENV WORKSPACE_DIR=/app/support/build
RUN apt-get update && apt-get install -y python-pip
RUN pip install 'bob-builder>=0.0.10' 's3cmd>=1.6.0'
ADD . /app
|
Add the IA-64 unwind handling (needed for readelf). | #
# $FreeBSD$
#
.include "../Makefile.inc0"
.PATH: ${SRCDIR}/binutils
LIB= binutils
SRCS+= arlex.l arparse.y arsup.c bucomm.c debug.c filemode.c \
ieee.c rdcoff.c rddbg.c rename.c stabs.c wrstabs.c version.c
CFLAGS+= -DTARGET=\"${TARGET_ARCH}-unknown-freebsd\"
CFLAGS+= -DVERSION=\"${VERSION}\"
CFLAGS+= -I${SRCDIR}/binutils
CFLAGS+= -I${SRCDIR}/bfd
NOPROFILE= true
NOPIC= true
INTERNALLIB= true
INTERNALSTATICLIB=true
.include <bsd.lib.mk>
| #
# $FreeBSD$
#
.include "../Makefile.inc0"
.PATH: ${SRCDIR}/binutils
LIB= binutils
SRCS+= arlex.l arparse.y arsup.c bucomm.c debug.c filemode.c \
ieee.c rdcoff.c rddbg.c rename.c stabs.c unwind-ia64.c wrstabs.c version.c
CFLAGS+= -DTARGET=\"${TARGET_ARCH}-unknown-freebsd\"
CFLAGS+= -DVERSION=\"${VERSION}\"
CFLAGS+= -I${SRCDIR}/binutils
CFLAGS+= -I${SRCDIR}/bfd
NOPROFILE= true
NOPIC= true
INTERNALLIB= true
INTERNALSTATICLIB=true
.include <bsd.lib.mk>
|
Remove explicit testing of the NOFSCHG variable. Its functionality (in this file) is now superceeded by INSTALLFLAGS_EDIT in bsd.{prog,kmod,lib}.mk. | # $Id$
#
PROG= man
SRCS= man.c manpath.c glob.c
MAN1= man.1
BINOWN= man
BINMODE=4555
.if !defined(NOFSCHG)
INSTALLFLAGS+= -fschg
.endif
CFLAGS+= -I${LIBDESTDIR}
DPADD= ${LIBMAN}
LDADD= ${LIBMAN}
CFLAGS+= -I${.CURDIR}/../lib -DSTDC_HEADERS -DPOSIX -DHAS_TROFF
CFLAGS+= -DDO_COMPRESS -DALT_SYSTEMS -DSETREUID -DCATMODE=0644
CLEANFILES+= ${MAN1}
MANDEPEND+= ${MAN1}
.PATH: ${.CURDIR}/../manpath
${MAN1}: ${.CURDIR}/man.man
@${ECHO} echo Making ${.TARGET:T} from ${.ALLSRC:T}; \
sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
-e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \
-e 's,%manpath_config_file%,${manpath_config_file},' \
-e 's,%compress%,${compress},' \
${.CURDIR}/man.man > ${MAN1}
.include <bsd.prog.mk>
| # $Id: Makefile,v 1.25 1999/07/05 02:46:20 hoek Exp $
#
PROG= man
SRCS= man.c manpath.c glob.c
MAN1= man.1
BINOWN= man
BINMODE=4555
INSTALLFLAGS+= -fschg
CFLAGS+= -I${LIBDESTDIR}
DPADD= ${LIBMAN}
LDADD= ${LIBMAN}
CFLAGS+= -I${.CURDIR}/../lib -DSTDC_HEADERS -DPOSIX -DHAS_TROFF
CFLAGS+= -DDO_COMPRESS -DALT_SYSTEMS -DSETREUID -DCATMODE=0644
CLEANFILES+= ${MAN1}
MANDEPEND+= ${MAN1}
.PATH: ${.CURDIR}/../manpath
${MAN1}: ${.CURDIR}/man.man
@${ECHO} echo Making ${.TARGET:T} from ${.ALLSRC:T}; \
sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
-e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \
-e 's,%manpath_config_file%,${manpath_config_file},' \
-e 's,%compress%,${compress},' \
${.CURDIR}/man.man > ${MAN1}
.include <bsd.prog.mk>
|
Add 'original' to defaced view to remove warning | <!-- insert_bottom "[data-hook='admin_tabs'], #main-sidebar" -->
<% if can? :admin, Spree::GiftCard %>
<ul class="nav nav-sidebar">
<%= tab Spree.t(:gift_cards), icon: 'credit-card', url: spree.admin_gift_cards_path %>
</ul>
<% end %>
| <!-- insert_bottom "[data-hook='admin_tabs'], #main-sidebar"
original "fe59e93696d1ff1c3d24664cdf404c4189f80a22"
-->
<% if can? :admin, Spree::GiftCard %>
<ul class="nav nav-sidebar">
<%= tab Spree.t(:gift_cards), icon: 'credit-card', url: spree.admin_gift_cards_path %>
</ul>
<% end %>
|
Fix typo now we can use it in external project | @PACKAGE_INIT@
find_package(Qt5 @Qt5Core_VERSION_MAJOR@.@Qt5Core_VERSION_MINOR@ NO_MODULE REQUIRED COMPONENTS Core Gui)
include("${CMAKE_CURRENT_LIST_DIR}/KF5SyntaxHighlightingTarget.cmake")
| @PACKAGE_INIT@
find_package(Qt5 @Qt5Core_VERSION_MAJOR@.@Qt5Core_VERSION_MINOR@ NO_MODULE REQUIRED COMPONENTS Core Gui)
include("${CMAKE_CURRENT_LIST_DIR}/KF5SyntaxHighlightingTargets.cmake")
|
Correct use of title tag | [Desktop Entry]
Type=Link
Name=Illume
Icon=e-module-illume
X-Enlightenment-ModuleType=system
Comment=<hilight>Embedded</hilight><br>This is a module to make Enlightenment tuned for embedded touchscreen<br>displays such as on phones and web-pads with windows always<br>being fullscreen and having a simplified application<br>launcher and manager.
| [Desktop Entry]
Type=Link
Name=Illume
Icon=e-module-illume
X-Enlightenment-ModuleType=system
Comment=<title>Illume for Embedded</title><br>This is a module to make Enlightenment tuned for embedded touchscreen<br>displays such as on phones and web-pads with windows always<br>being fullscreen and having a simplified application<br>launcher and manager.
|
Update clang-format version used in CI | FROM debian:buster-slim
LABEL maintainer="tobias.mayer@tenzir.com"
ENV CC gcc-8
ENV CXX g++-8
# Compiler and dependency setup
RUN apt-get -qq update && apt-get -qqy install \
gcc-8 g++-8 cmake git-core ninja-build clang-format-7 libbenchmark-dev \
python3 python3-venv libpcap-dev libssl-dev libatomic1 jq tcpdump rsync hub \
pandoc
RUN update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1 && \
update-alternatives --install /usr/bin/python python /usr/bin/python3.7 2 && \
update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-7 100
| FROM debian:buster-slim
LABEL maintainer="tobias.mayer@tenzir.com"
ENV CC gcc-8
ENV CXX g++-8
# Compiler and dependency setup
RUN apt-get -qq update && apt-get -qqy install \
gcc-8 g++-8 cmake git-core ninja-build libbenchmark-dev \
python3 python3-pip python3-venv libpcap-dev libssl-dev libatomic1 jq \
tcpdump rsync hub pandoc
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.7 1
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install clang-format
|
Make it set-uid until procfs is fixed. | # @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= w
SRCS= fmt.c pr_time.c proc_compare.c w.c
MAN1= w.1 uptime.1
DPADD= ${LIBKVM}
LDADD= -lkvm
BINGRP= kmem
BINMODE=2555
LINKS= ${BINDIR}/w ${BINDIR}/uptime
.PATH: ${.CURDIR}/../../bin/ps
.include <bsd.prog.mk>
| # @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= w
SRCS= fmt.c pr_time.c proc_compare.c w.c
MAN1= w.1 uptime.1
DPADD= ${LIBKVM}
LDADD= -lkvm
BINOWN= root
BINMODE=4555
LINKS= ${BINDIR}/w ${BINDIR}/uptime
.PATH: ${.CURDIR}/../../bin/ps
.include <bsd.prog.mk>
|
Revert "default rstudio pam profile to /etc/pam.d/login" | #!/bin/sh
# errors shouldn't cause script to exit
set +e
# add rserver user account
useradd -r rstudio-server
# create softlink to admin script in /usr/sbin
ln -f -s ${CMAKE_INSTALL_PREFIX}/bin/rstudio-server /usr/sbin/rstudio-server
# write installed indicator then cooperatively suspend active sessions
# (so they have a chance to get the update)
mkdir -p /etc/rstudio
sh -c "echo `date +%s` > /etc/rstudio/installed"
rstudio-server suspend-all
# add and register init.d script and (re) start the server
cp ${CMAKE_INSTALL_PREFIX}/extras/init.d/redhat/rstudio-server /etc/init.d/
chmod +x /etc/init.d/rstudio-server
chkconfig --add rstudio-server
service rstudio-server stop
service rstudio-server start
# add pam profile
if [ ! -e /etc/pam.d/rstudio ]
then
cp /etc/pam.d/login /etc/pam.d/rstudio
fi
# clear error termination state
set -e
| #!/bin/sh
# errors shouldn't cause script to exit
set +e
# add rserver user account
useradd -r rstudio-server
# create softlink to admin script in /usr/sbin
ln -f -s ${CMAKE_INSTALL_PREFIX}/bin/rstudio-server /usr/sbin/rstudio-server
# write installed indicator then cooperatively suspend active sessions
# (so they have a chance to get the update)
mkdir -p /etc/rstudio
sh -c "echo `date +%s` > /etc/rstudio/installed"
rstudio-server suspend-all
# add and register init.d script and (re) start the server
cp ${CMAKE_INSTALL_PREFIX}/extras/init.d/redhat/rstudio-server /etc/init.d/
chmod +x /etc/init.d/rstudio-server
chkconfig --add rstudio-server
service rstudio-server stop
service rstudio-server start
# add pam profile
if [ ! -e /etc/pam.d/rstudio ]
then
cp ${CMAKE_INSTALL_PREFIX}/extras/pam/redhat/rstudio /etc/pam.d/
fi
# clear error termination state
set -e
|
Add line break so it fits in min size. | [Desktop Entry]
Type=Link
Name=Configuration - Profiles
Icon=e-module-conf_profiles
Comment=<hilight>E17 Configuration Applet</hilight><br>Allows management of configuration profiles.
| [Desktop Entry]
Type=Link
Name=Configuration - Profiles
Icon=e-module-conf_profiles
Comment=<hilight>E17 Configuration Applet</hilight><br>Allows management of configuration<br>profiles.
|
Use the right man page. Submitted by: jkh | # @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= showmount
.include <bsd.prog.mk>
| # @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= showmount
MAN8= showmount.8
.include <bsd.prog.mk>
|
Revert "Add bazel to the docker image" | FROM node:6.10.2-slim
RUN \
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
wget -q -O - https://bazel.build/bazel-release.pub.gpg | apt-key add -
RUN \
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list && \
echo "deb http://debian.fastweb.it/debian stretch main contrib" > /etc/apt/sources.list.d/stretch.list && \
echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" > /etc/apt/sources.list.d/bazel.list
RUN apt-get update
RUN apt-get install -y \
google-chrome-stable \
xvfb \
openjdk-8-jdk \
ssh \
git \
gcc \
bazel \
brotli/stretch
RUN rm -rf /var/lib/apt/lists/*
# Fix for the issue with Selenium, as described here:
# https://github.com/SeleniumHQ/docker-selenium/issues/87
ENV DBUS_SESSION_BUS_ADDRESS=/dev/null
ENTRYPOINT ["/bin/bash"]
| FROM node:6.10.2-slim
RUN \
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list && \
apt-get update && \
apt-get install -y google-chrome-stable xvfb openjdk-7-jdk ssh git gcc && \
rm -rf /var/lib/apt/lists/*
RUN \
echo "deb http://debian.fastweb.it/debian stretch main contrib" > /etc/apt/sources.list.d/stretch.list && \
apt-get update && apt-get install brotli/stretch
# Fix for the issue with Selenium, as described here:
# https://github.com/SeleniumHQ/docker-selenium/issues/87
ENV DBUS_SESSION_BUS_ADDRESS=/dev/null
ENTRYPOINT ["/bin/bash"]
|
Update PHPUnit XML schema location | <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/schema/9.3.xsd"
bootstrap="./vendor/autoload.php"
colors="true"
>
<testsuites>
<testsuite name="Test suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory>./src</directory>
</include>
</coverage>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
bootstrap="./vendor/autoload.php"
colors="true"
>
<testsuites>
<testsuite name="Test suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory>./src</directory>
</include>
</coverage>
</phpunit>
|
Remove getopt*.c, we already have compatible getopt_long() in libc | # $FreeBSD$
SORTDIR= ${.CURDIR}/../../../contrib/gnu-sort
.PATH: ${SORTDIR}/lib ${SORTDIR}/src ${SORTDIR}/man
PROG= sort
SRCS= sort.c \
argmatch.c \
dup-safer.c \
error.c \
fopen-safer.c \
getopt.c \
getopt1.c \
hard-locale.c \
human.c \
long-options.c \
memcoll.c \
physmem.c \
posixver.c \
quote.c \
quotearg.c \
version-etc.c \
xmalloc.c \
xmemcoll.c \
xstrtoul.c \
xstrtoumax.c
CFLAGS+=-I${.CURDIR} -I${SORTDIR}/lib -DHAVE_CONFIG_H \
-DHAVE_LANGINFO_H=1 -DHAVE_NL_LANGINFO=1 -DLOCALEDIR=\"\"
.include <bsd.prog.mk>
| # $FreeBSD$
SORTDIR= ${.CURDIR}/../../../contrib/gnu-sort
.PATH: ${SORTDIR}/lib ${SORTDIR}/src ${SORTDIR}/man
PROG= sort
SRCS= sort.c \
argmatch.c \
dup-safer.c \
error.c \
fopen-safer.c \
hard-locale.c \
human.c \
long-options.c \
memcoll.c \
physmem.c \
posixver.c \
quote.c \
quotearg.c \
version-etc.c \
xmalloc.c \
xmemcoll.c \
xstrtoul.c \
xstrtoumax.c
CFLAGS+=-I${.CURDIR} -I${SORTDIR}/lib -DHAVE_CONFIG_H \
-DHAVE_LANGINFO_H=1 -DHAVE_NL_LANGINFO=1 -DLOCALEDIR=\"\"
.include <bsd.prog.mk>
|
Install pkill(1), aka pgrep(1), to /bin so that rc scripts can use this small and nifty utility. Create compatibility symlinks from /usr/bin for the time being to avoid breaking custom scripts relying on the hardcoded path to the utility. | # $NetBSD: Makefile,v 1.1 2002/03/01 11:21:58 ad Exp $
# $FreeBSD$
PROG= pkill
WARNS?= 5
DPADD= ${LIBKVM}
LDADD= -lkvm
LINKS= ${BINDIR}/pkill ${BINDIR}/pgrep
MLINKS= pkill.1 pgrep.1
.include <bsd.prog.mk>
| # $NetBSD: Makefile,v 1.1 2002/03/01 11:21:58 ad Exp $
# $FreeBSD$
BINDIR= /bin
PROG= pkill
WARNS?= 5
DPADD= ${LIBKVM}
LDADD= -lkvm
LINKS= ${BINDIR}/pkill ${BINDIR}/pgrep
MLINKS= pkill.1 pgrep.1
SYMLINKS= ${BINDIR}/pkill /usr/bin/pkill
SYMLINKS+= ${BINDIR}/pgrep /usr/bin/pgrep
.include <bsd.prog.mk>
|
Fix the bootstrapping aid from revision 1.9. WORLD was renamed to BOOTSTRAPPING. | # From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
.PATH: ${.CURDIR}/../../usr.bin/cksum ${.CURDIR}/../../lib/libc/gen
PROG= mtree
MAN= mtree.8
SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c \
strtofflags.c
.if !defined(WORLD)
CFLAGS+= -DMD5 -DSHA1 -DRMD160
DPADD= ${LIBMD}
LDADD= -lmd
.endif
.include <bsd.prog.mk>
| # From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
.PATH: ${.CURDIR}/../../usr.bin/cksum ${.CURDIR}/../../lib/libc/gen
PROG= mtree
MAN= mtree.8
SRCS= compare.c crc.c create.c excludes.c misc.c mtree.c spec.c verify.c \
strtofflags.c
.if !defined(BOOTSTRAPPING)
CFLAGS+= -DMD5 -DSHA1 -DRMD160
DPADD= ${LIBMD}
LDADD= -lmd
.endif
.include <bsd.prog.mk>
|
Add env variable to avoid error with mysql client | FROM ubuntu:trusty
MAINTAINER FENG, HONGLIN <hfeng@tutum.co>
RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db && \
echo 'deb http://mirrors.syringanetworks.net/mariadb/repo/10.1/ubuntu trusty main' >> /etc/apt/sources.list && \
echo 'deb-src http://mirrors.syringanetworks.net/mariadb/repo/10.1/ubuntu trusty main' >> /etc/apt/sources.list && \
apt-get update && \
apt-get install -y mariadb-server pwgen && \
rm -rf /var/lib/mysql/* && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
#change bind address to 0.0.0.0
RUN sed -i -r 's/bind-address.*$/bind-address = 0.0.0.0/' /etc/mysql/my.cnf
ADD create_mariadb_admin_user.sh /create_mariadb_admin_user.sh
ADD run.sh /run.sh
RUN chmod 775 /*.sh
# Add VOLUMEs to allow backup of config and databases
VOLUME ["/etc/mysql", "/var/lib/mysql"]
EXPOSE 3306
CMD ["/run.sh"]
| FROM ubuntu:trusty
MAINTAINER FENG, HONGLIN <hfeng@tutum.co>
RUN apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db && \
echo 'deb http://mirrors.syringanetworks.net/mariadb/repo/10.1/ubuntu trusty main' >> /etc/apt/sources.list && \
echo 'deb-src http://mirrors.syringanetworks.net/mariadb/repo/10.1/ubuntu trusty main' >> /etc/apt/sources.list && \
apt-get update && \
apt-get install -y mariadb-server pwgen && \
rm -rf /var/lib/mysql/* && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
#change bind address to 0.0.0.0
RUN sed -i -r 's/bind-address.*$/bind-address = 0.0.0.0/' /etc/mysql/my.cnf
ADD create_mariadb_admin_user.sh /create_mariadb_admin_user.sh
ADD run.sh /run.sh
RUN chmod 775 /*.sh
# Add VOLUMEs to allow backup of config and databases
VOLUME ["/etc/mysql", "/var/lib/mysql"]
#Added to avoid in container connection to the database with mysql client error message "TERM environment variable not set"
ENV TERM dumb
EXPOSE 3306
CMD ["/run.sh"]
|
Reduce the number of steps and install required testing deps | from saltstack/ubuntu-13.04-minimal
MAINTAINER SaltStack, Inc.
# Install Testing Dependencies
RUN apt-get install -y -o DPkg::Options::=--force-confold supervisor
RUN apt-get install -y -o DPkg::Options::=--force-confold rabbitmq-server
RUN apt-get install -y -o DPkg::Options::=--force-confold ruby
RUN apt-get install -y -o DPkg::Options::=--force-confold git-core
RUN apt-get install -y -o DPkg::Options::=--force-confold subversion
RUN apt-get install -y -o DPkg::Options::=--force-confold mercurial
RUN apt-get install -y -o DPkg::Options::=--force-confold python-setuptools
RUN apt-get install -y -o DPkg::Options::=--force-confold python-virtualenv
RUN apt-get install -y -o DPkg::Options::=--force-confold python-dev
RUN easy_install mock
RUN easy_install timelib
RUN easy_install https://github.com/saltstack/salt-testing/archive/develop.tar.gz
| from saltstack/ubuntu-13.04-minimal
MAINTAINER SaltStack, Inc.
# Update System
RUN apt-get update && apt-get upgrade -y -o DPkg::Options::=--force-confold
# Install Testing Dependencies
RUN apt-get install -y -o DPkg::Options::=--force-confold \
python-dev \
python-pip \
python-setuptools \
python-virtualenv \
ruby \
git-core \
mercurial \
supervidor \
openssh-client \
rabbitmq-server \
RUN easy_install \
mock \
psutil \
timelib \
apache-libcloud \
coverage \
https://github.com/saltstack/salt-testing/archive/develop.tar.gz \
https://github.com/danielfm/unittest-xml-reporting/archive/master.tar.gz
|
Disable assertions in PR builds | FROM ubuntu:16.04
RUN apt-get update && apt-get install -y --no-install-recommends \
g++ \
make \
file \
curl \
ca-certificates \
python2.7 \
git \
cmake \
sudo \
gdb \
llvm-6.0-tools \
libedit-dev \
zlib1g-dev \
xz-utils
COPY scripts/sccache.sh /scripts/
RUN sh /scripts/sccache.sh
# using llvm-link-shared due to libffi issues -- see #34486
ENV RUST_CONFIGURE_ARGS \
--build=x86_64-unknown-linux-gnu \
--llvm-root=/usr/lib/llvm-6.0 \
--enable-llvm-link-shared
ENV SCRIPT python2.7 ../x.py test src/tools/tidy && python2.7 ../x.py test
| FROM ubuntu:16.04
RUN apt-get update && apt-get install -y --no-install-recommends \
g++ \
make \
file \
curl \
ca-certificates \
python2.7 \
git \
cmake \
sudo \
gdb \
llvm-6.0-tools \
libedit-dev \
zlib1g-dev \
xz-utils
COPY scripts/sccache.sh /scripts/
RUN sh /scripts/sccache.sh
# using llvm-link-shared due to libffi issues -- see #34486
ENV RUST_CONFIGURE_ARGS \
--build=x86_64-unknown-linux-gnu \
--llvm-root=/usr/lib/llvm-6.0 \
--enable-llvm-link-shared
ENV SCRIPT python2.7 ../x.py test src/tools/tidy && python2.7 ../x.py test
# The purpose of this container isn't to test with debug assertions and
# this is run on all PRs, so let's get speedier builds by disabling these extra
# checks.
ENV NO_DEBUG_ASSERTIONS=1
ENV NO_LLVM_ASSERTIONS=1
|
Rename the root PHPUnit configuration file and enable strict mode in all | <?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
strict="false"
verbose="false">
<testsuites>
<testsuite name="Axstrad\Bundle\ExtraFrameworkBundle">
<directory suffix="Test.php">Tests/</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-html"
target="build/coverage"
title="BankAccount"
charset="UTF-8"
yui="true"
highlight="true"
lowUpperBound="35"
highLowerBound="70"
/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
</logging>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
<exclude>
<directory>./Tests</directory>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
strict="true"
verbose="false">
<testsuites>
<testsuite name="Axstrad\Bundle\ExtraFrameworkBundle">
<directory suffix="Test.php">Tests/</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-html"
target="build/coverage"
title="BankAccount"
charset="UTF-8"
yui="true"
highlight="true"
lowUpperBound="35"
highLowerBound="70"
/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
</logging>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
<exclude>
<directory>./Tests</directory>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
|
Switch back to golang base w/ added pkgs | FROM ubuntu:latest
ARG goversion=1.12
ENV HOME=/home/gitpod
ENV PATH=${PATH}:${HOME}/go/bin:/usr/local/go/bin
RUN apt-get update && \
apt-get -y upgrade && \
apt-get install -y \
curl \
git \
gcc \
jq \
openssh-client \
python \
python-yaml \
ruby \
zip \
unzip && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
cd /usr/local && \
curl -L https://dl.google.com/go/go${goversion}.linux-amd64.tar.gz | tar xzf -
| FROM golang:1.12.0
RUN apt-get update && \
apt-get -y upgrade && \
apt-get install -y \
curl \
git \
jq \
openssh-client \
python \
python-yaml \
ruby \
zip \
unzip && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
|
Fix issues with ENV load order in tests | <?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.5/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="config/bootstrap.php"
>
<php>
<ini name="error_reporting" value="-1" />
<env name="APP_ENV" value="test" />
<env name="SHELL_VERBOSITY" value="-1" />
</php>
<testsuites>
<testsuite name="Ilios Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>mesh_data_import</group>
</exclude>
</groups>
<filter>
<whitelist>
<directory>src</directory>
</whitelist>
</filter>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.5/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="config/bootstrap.php"
>
<php>
<ini name="error_reporting" value="-1" />
<env name="APP_ENV" value="test" />
<!--
temporarily add SYMFONY_DEPRECATIONS_HELPER here
until Symfony 4.3 is released which should have have fixed
issues with ENV loading and this can be read from .env.test again
-->
<env name="SYMFONY_DEPRECATIONS_HELPER" value="99999" />
<env name="SHELL_VERBOSITY" value="-1" />
</php>
<testsuites>
<testsuite name="Ilios Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>mesh_data_import</group>
</exclude>
</groups>
<filter>
<whitelist>
<directory>src</directory>
</whitelist>
</filter>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
</phpunit>
|
Add module.php to code coverage test | <?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="Bootstrap.php"
colors="true"
verbose="true"
backupGlobals="false"
backupStaticAttributes="false"
stopOnFailure="false">
<testsuites>
<testsuite name="TwbBundleTest">
<directory suffix=".php">./TwbBundleTest/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">../src/</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="./clover.xml"/>
</logging>
</phpunit> | <?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="Bootstrap.php"
colors="true"
verbose="true"
backupGlobals="false"
backupStaticAttributes="false"
stopOnFailure="false">
<testsuites>
<testsuite name="TwbBundleTest">
<directory suffix=".php">./TwbBundleTest/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">../src/</directory>
<file>../Module.php</file>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="./clover.xml"/>
</logging>
</phpunit> |
Use SRCDIR instead of PATH | # $FreeBSD$
INFO = bison
INFOSECTION= "Programming & development tools."
INFOENTRY_bison= "* Bison: (bison). The GNU YACC-compatible parser generator."
.PATH: ${.CURDIR}/../../../../contrib/bison
.include <bsd.info.mk>
| # $FreeBSD$
INFO = bison
INFOSECTION= "Programming & development tools."
INFOENTRY_bison= "* Bison: (bison). The GNU YACC-compatible parser generator."
SRCDIR= ${.CURDIR}/../../../../contrib/bison
.include <bsd.info.mk>
|
Fix module icon for ofono. | [Desktop Entry]
Type=Link
Name=Mobile Modems Manager
Name[pt_BR]=Gerenciador de modems móveis
Name[es]=Gerenciador de modems moviles
Name[it]=Gestore di modem mobili
Name[fr]=Gestionnaire de modems mobiles
Icon=e-module-connman
Comment=<title>Mobile Modems Manager Gadget</title><br>Control mobile modems.
Comment[pt_BR]=<title>Gerenciador de modems móveis</title><br>Controla modems móveis.
Comment[es]=<title>Gerenciador de modems mobiles</title><br>Controla modems móviles
Comment[it]=<title>Gadget gestione modem mobili</title><br>Controlla i modem mobili.
Comment[fr]=<title>Gestionnaire de modems mobiles</title><br>Contrôle des modems mobiles.
X-Enlightenment-ModuleType=system
| [Desktop Entry]
Type=Link
Name=Mobile Modems Manager
Name[pt_BR]=Gerenciador de modems móveis
Name[es]=Gerenciador de modems moviles
Name[it]=Gestore di modem mobili
Name[fr]=Gestionnaire de modems mobiles
Icon=e-module-ofono
Comment=<title>Mobile Modems Manager Gadget</title><br>Control mobile modems.
Comment[pt_BR]=<title>Gerenciador de modems móveis</title><br>Controla modems móveis.
Comment[es]=<title>Gerenciador de modems mobiles</title><br>Controla modems móviles
Comment[it]=<title>Gadget gestione modem mobili</title><br>Controlla i modem mobili.
Comment[fr]=<title>Gestionnaire de modems mobiles</title><br>Contrôle des modems mobiles.
X-Enlightenment-ModuleType=system
|
Use git option rev-parse instead of non-working option describe in genversion | #! /bin/sh
srcdir=@abs_srcdir@
PACKAGE=@PACKAGE@
VERSION=@VERSION@
if test -f $srcdir/.git/HEAD; then
GIT_REPO="$srcdir/.git"
GIT_HEAD_ID=`GIT_DIR=$GIT_REPO git describe`
elif test -f $srcdir/CLOOG_HEAD; then
GIT_HEAD_ID=`cat $srcdir/CLOOG_HEAD`
else
GIT_HEAD_ID="$PACKAGE-$VERSION-UNKNOWN"
fi
echo $GIT_HEAD_ID | sed -e 's/cloog-//'
| #! /bin/sh
srcdir=@abs_srcdir@
PACKAGE=@PACKAGE@
VERSION=@VERSION@
if test -f $srcdir/.git/HEAD; then
GIT_REPO="$srcdir/.git"
GIT_HEAD_ID="$PACKAGE-$VERSION-`GIT_DIR=$GIT_REPO git rev-parse --short HEAD`"
elif test -f $srcdir/CLOOG_HEAD; then
GIT_HEAD_ID=`cat $srcdir/CLOOG_HEAD`
else
GIT_HEAD_ID="$PACKAGE-$VERSION-UNKNOWN"
fi
echo $GIT_HEAD_ID | sed -e 's/cloog-//'
|
Switch base image Alpine doesn't handle libc the same as ubuntu, so when we build on ubuntu, we can't reuse that image | FROM alpine
COPY . /pufferpanel/
RUN ls -l /pufferpanel/
RUN echo '{}' > /pufferpanel/config.json
ENV PATH "/pufferpanel:${PATH}"
EXPOSE 8080
CMD ["pufferpanel"] | FROM debian:10-slim
COPY pufferpanel /pufferpanel/
COPY client/dist /pufferpanel/client/dist/
RUN echo '{}' > /pufferpanel/config.json
ENV PATH "/pufferpanel:${PATH}"
EXPOSE 8080
CMD ["pufferpanel"] |
Modify configuration file for superbuild find | # - Config file for the FADTTS package
# It defines the following variables
# FADTTS_INCLUDE_DIRS - include directories
# FADTTS_LIBRARIES - libraries generated by FADTTS
# FADTTS_EXECUTABLES - the FADTTS executable
# Compute paths
get_filename_component(FADTTS_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
string(REPLACE ${INSTALL_CMAKE_DIR}
"" FADTTS_INSTALL_DIR
${FADTTS_CMAKE_DIR})
file(TO_CMAKE_PATH "${FADTTS_CMAKE_DIR}/../../../include" FADTTS_INCLUDE_DIRS)
file(TO_CMAKE_PATH "${FADTTS_INSTALL_DIR}/../../lib" FADTTS_LIBRARY_DIRS)
link_directories(${FADTTS_LIBRARY_DIRS})
set(FADTTS_LIBRARIES @FADTTS_LIBRARIES@)
find_program(FADTTSter_EXECUTABLE
NAMES FADTTSter
PATHS
"${FADTTS_INSTALL_DIR}/../../../bin"
NO_DEFAULT_PATH
)
message(STATUS "FADTTS found!")
message(STATUS "\t FADTTSter_EXECUTABLE=" ${FADTTSter_EXECUTABLE})
message(STATUS "\t FADTTS_INCLUDE_DIRS=" ${FADTTS_INCLUDE_DIRS})
message(STATUS "\t FADTTS_LIBRARIES=" ${FADTTS_LIBRARIES})
message(STATUS "\t FADTTS_LIBRARY_DIRS=" ${FADTTS_LIBRARY_DIRS}) | # - Config file for the FADTTS package
# It defines the following variables
# FADTTS_INCLUDE_DIRS - include directories
# FADTTS_LIBRARIES - libraries generated by FADTTS
# FADTTS_EXECUTABLES - the FADTTS executable
# Compute paths
get_filename_component(FADTTS_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
file(TO_CMAKE_PATH "${FADTTS_CMAKE_DIR}/../../../include" FADTTS_INCLUDE_DIRS)
file(TO_CMAKE_PATH "${FADTTS_CMAKE_DIR}/../../" FADTTS_LIBRARY_DIRS)
link_directories(${FADTTS_LIBRARY_DIRS})
set(FADTTS_LIBRARIES FADTTSterLib)
find_program(FADTTSter_EXECUTABLE
NAMES FADTTSter
PATHS
"${FADTTS_CMAKE_DIR}/../../../bin"
NO_DEFAULT_PATH
)
message(STATUS "\t FADTTSter_EXECUTABLE=" ${FADTTSter_EXECUTABLE})
message(STATUS "\t FADTTS_INCLUDE_DIRS=" ${FADTTS_INCLUDE_DIRS})
message(STATUS "\t FADTTS_LIBRARIES=" ${FADTTS_LIBRARIES})
message(STATUS "\t FADTTS_LIBRARY_DIRS=" ${FADTTS_LIBRARY_DIRS}) |
Resolve links pointing to wrapper script. | #!/bin/sh
# This script overload the dynamic library path.
appname=$(basename $0 | sed s,\.sh$,,)
dirname=$(dirname $0)
case "$dirname" in
/*)
dirname="$PWD/$dirname"
;;
esac
paths="$dirname/../lib/$appname"
LD_LIBRARY_PATH="$paths"
export LD_LIBRARY_PATH
DYLD_LIBRARY_PATH="$paths"
export DYLD_LIBRARY_PATH
"$dirname/$appname" $*
| #!/bin/sh
# This script overload the dynamic library path.
# Resolve links referring to me.
if test -L "$0"; then
exec $(readlink -f "$0")
fi
appname=$(basename $0 | sed s,\.sh$,,)
dirname=$(dirname $0)
case "$dirname" in
/*)
dirname="$PWD/$dirname"
;;
esac
paths="$dirname/../lib/$appname"
LD_LIBRARY_PATH="$paths"
export LD_LIBRARY_PATH
DYLD_LIBRARY_PATH="$paths"
export DYLD_LIBRARY_PATH
"$dirname/$appname" $*
|
Remove deprecated strict configuration for PHPUnit | <?xml version="1.0" encoding="utf-8"?>
<phpunit
bootstrap="test/bootstrap.php"
colors="true"
stopOnError="false"
stopOnFailure="false"
stopOnSkipped="false"
stopOnIncomplete="false"
backupGlobals="false"
processIsolation="false"
strict="true"
verbose="false"
mapTestClassNameToCoveredClassName="true"
>
<testsuites>
<testsuite name="bee4/events">
<directory>test/units</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="true"/>
</logging>
</phpunit> | <?xml version="1.0" encoding="utf-8"?>
<phpunit
bootstrap="test/bootstrap.php"
colors="true"
stopOnError="false"
stopOnFailure="false"
stopOnSkipped="false"
stopOnIncomplete="false"
backupGlobals="false"
processIsolation="false"
verbose="false"
mapTestClassNameToCoveredClassName="true"
>
<testsuites>
<testsuite name="bee4/events">
<directory>test/units</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="true"/>
</logging>
</phpunit> |
Exclude tests from code coverage for php function mocking | <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="./phpunit.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
syntaxCheck="false">
<testsuites>
<testsuite name="flysystem/tests">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<filter>
<blacklist>
<directory suffix=".php">./vendor/</directory>
</blacklist>
</filter>
<listeners>
<listener class="\Mockery\Adapter\Phpunit\TestListener" file="./vendor/mockery/mockery/library/Mockery/Adapter/Phpunit/TestListener.php"></listener>
</listeners>
</phpunit> | <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="./phpunit.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
syntaxCheck="false">
<testsuites>
<testsuite name="flysystem/tests">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<filter>
<blacklist>
<directory suffix=".php">./vendor/</directory>
<directory suffix=".php">./tests/</directory>
</blacklist>
</filter>
<listeners>
<listener class="\Mockery\Adapter\Phpunit\TestListener" file="./vendor/mockery/mockery/library/Mockery/Adapter/Phpunit/TestListener.php"></listener>
</listeners>
</phpunit> |
Change composer installation for the new | FROM alpine:3.3
MAINTAINER Ricardo Quintaniha <ricardo.aquintanilha@gmail.com>
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories;
RUN apk add --update php \
php-cli \
php-pdo \
php-pdo_sqlite \
php-pdo_mysql \
php-pdo_pgsql \
php-redis@testing \
php-memcached@testing \
php-json \
php-openssl \
php-dev \
php-curl \
php-mcrypt \
php-phar \
php-xdebug@testing \
&& rm -rf /var/cache/apk/* /var/tmp/* /tmp/*
RUN sed -i 's/display_errors = Off/display_errors = On/g' /etc/php/php.ini \
&& sed -i 's/extension/zend_extension/g' /etc/php/conf.d/xdebug.ini
RUN /usr/bin/php -r "readfile('https://getcomposer.org/installer');" | \
/usr/bin/php -- --install-dir=/usr/local/bin --filename=composer
| FROM alpine:3.3
MAINTAINER Ricardo Quintaniha <ricardo.aquintanilha@gmail.com>
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories;
RUN apk add --update php \
php-cli \
php-pdo \
php-pdo_sqlite \
php-pdo_mysql \
php-pdo_pgsql \
php-redis@testing \
php-memcached@testing \
php-json \
php-openssl \
php-dev \
php-curl \
php-mcrypt \
php-phar \
php-xdebug@testing \
&& rm -rf /var/cache/apk/* /var/tmp/* /tmp/*
RUN sed -i 's/display_errors = Off/display_errors = On/g' /etc/php/php.ini \
&& sed -i 's/extension/zend_extension/g' /etc/php/conf.d/xdebug.ini
RUN php -r "readfile('https://getcomposer.org/installer', false, stream_context_create(['ssl' => ['verify_peer' => false, 'verify_peer_name' => false]]));" > composer-setup.php \
&& php -r "if (hash('SHA384', file_get_contents('composer-setup.php')) === 'fd26ce67e3b237fffd5e5544b45b0d92c41a4afe3e3f778e942e43ce6be197b9cdc7c251dcde6e2a52297ea269370680') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); }" \
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer \
&& php -r "unlink('composer-setup.php');"
|
Add pg support to Rust image | FROM ubuntu:17.04
RUN \
apt-get update -qq && \
apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
curl \
libssl-dev \
libsqlite3-dev \
pkg-config \
sqlite3
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
ENV PATH=/root/.cargo/bin:$PATH
| FROM ubuntu:17.04
RUN \
apt-get update -qq && \
apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
curl \
libpq-dev \
libsqlite3-dev \
libssl-dev \
pkg-config \
sqlite3
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
ENV PATH=/root/.cargo/bin:$PATH
|
Disable phpcs sniff for BC compat | <?xml version="1.0"?>
<ruleset name="phpDocumentor">
<description>The coding standard for phpDocumentor.</description>
<file>src</file>
<file>tests/unit</file>
<exclude-pattern>*/tests/unit/Types/ContextFactoryTest.php</exclude-pattern>
<arg value="p"/>
<rule ref="phpDocumentor">
</rule>
<rule ref="SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming.SuperfluousPrefix">
<exclude-pattern>*/src/*/Abstract*.php</exclude-pattern>
</rule>
</ruleset>
| <?xml version="1.0"?>
<ruleset name="phpDocumentor">
<description>The coding standard for phpDocumentor.</description>
<file>src</file>
<file>tests/unit</file>
<exclude-pattern>*/tests/unit/Types/ContextFactoryTest.php</exclude-pattern>
<arg value="p"/>
<rule ref="phpDocumentor">
</rule>
<rule ref="SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming.SuperfluousPrefix">
<exclude-pattern>*/src/*/Abstract*.php</exclude-pattern>
</rule>
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
<exclude-pattern>*/src/PseudoTypes/False_.php</exclude-pattern>
<exclude-pattern>*/src/PseudoTypes/True_.php</exclude-pattern>
</rule>
</ruleset>
|
Add debugging tools to image | FROM appsvc/rubybase:2.3.3
MAINTAINER Azure App Services Container Images <appsvc-images@microsoft.com>
COPY init_container.sh /bin/
COPY startup.sh /opt/
COPY sshd_config /etc/ssh/
COPY hostingstart.html /home/site/wwwroot/hostingstart.html
COPY staticsite.rb /opt/staticsite.rb
RUN apt-get update -qq \
&& apt-get install -y nodejs openssh-server --no-install-recommends \
&& echo "root:Docker!" | chpasswd
RUN eval "$(rbenv init -)" \
&& rbenv global 2.3.3
RUN chmod 755 /bin/init_container.sh \
&& mkdir -p /home/LogFiles/ \
&& chmod 755 /opt/startup.sh
EXPOSE 2222 8080
ENV PORT 8080
ENV WEBSITE_ROLE_INSTANCE_ID localRoleInstance
ENV WEBSITE_INSTANCE_ID localInstance
ENV PATH ${PATH}:/home/site/wwwroot
WORKDIR /home/site/wwwroot
ENTRYPOINT [ "/bin/init_container.sh" ]
| FROM appsvc/rubybase:2.3.3
MAINTAINER Azure App Services Container Images <appsvc-images@microsoft.com>
COPY init_container.sh /bin/
COPY startup.sh /opt/
COPY sshd_config /etc/ssh/
COPY hostingstart.html /home/site/wwwroot/hostingstart.html
COPY staticsite.rb /opt/staticsite.rb
RUN apt-get update -qq \
&& apt-get install -y nodejs openssh-server vim curl wget tcptraceroute --no-install-recommends \
&& echo "root:Docker!" | chpasswd
RUN eval "$(rbenv init -)" \
&& rbenv global 2.3.3
RUN chmod 755 /bin/init_container.sh \
&& mkdir -p /home/LogFiles/ \
&& chmod 755 /opt/startup.sh
EXPOSE 2222 8080
ENV PORT 8080
ENV WEBSITE_ROLE_INSTANCE_ID localRoleInstance
ENV WEBSITE_INSTANCE_ID localInstance
ENV PATH ${PATH}:/home/site/wwwroot
WORKDIR /home/site/wwwroot
ENTRYPOINT [ "/bin/init_container.sh" ]
|
Comment out proc-alpha.sgml's line temporarily. | # $FreeBSD$
# Original revision: 1.6
RELN_ROOT?= ${.CURDIR}/../../..
DOC?= article
FORMATS?= html
INSTALL_COMPRESSED?= gz
INSTALL_ONLY_COMPRESSED?=
JADEFLAGS+= -V %generate-article-toc%
# SGML content
SRCS+= article.sgml
SRCS+= proc-alpha.sgml
SRCS+= ../common/hw.ent
SRCS+= ../common/artheader.sgml
SRCS+= ../common/dev.sgml
.include "${RELN_ROOT}/share/mk/doc.relnotes.mk"
.include "${DOC_PREFIX}/share/mk/doc.project.mk"
| # $FreeBSD$
# Original revision: 1.6
RELN_ROOT?= ${.CURDIR}/../../..
DOC?= article
FORMATS?= html
INSTALL_COMPRESSED?= gz
INSTALL_ONLY_COMPRESSED?=
JADEFLAGS+= -V %generate-article-toc%
# SGML content
SRCS+= article.sgml
#SRCS+= proc-alpha.sgml
SRCS+= ../common/hw.ent
SRCS+= ../common/artheader.sgml
SRCS+= ../common/dev.sgml
.include "${RELN_ROOT}/share/mk/doc.relnotes.mk"
.include "${DOC_PREFIX}/share/mk/doc.project.mk"
|
Add symfony/phpunit-bridge to show deprecations | <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="./Tests/bootstrap.php"
>
<testsuites>
<testsuite name="DoctrineMongoDBBundle Test Suite">
<directory>./Tests/</directory>
</testsuite>
</testsuites>
<php>
<!-- <server name="SYMFONY" value="/path/to/symfony/src" /> -->
<!-- <server name="SYMFONY_TESTS" value="/path/to/symfony/tests" /> -->
<!-- <server name="DOCTRINE_MONGODB_ODM" value="/path/to/doctrine-mongodb-odm/lib" /> -->
<!-- <server name="DOCTRINE_MONGODB" value="/path/to/doctrine-mongodb/lib" /> -->
<!-- <server name="DOCTRINE_COMMON" value="/path/to/doctrine-common/lib" /> -->
<!-- Allow 1 direct deprecation until https://github.com/doctrine/DoctrineMongoDBBundle/pull/675 is merged -->
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[direct]=1"/>
</php>
<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./Resources</directory>
<directory>./Tests</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="./Tests/bootstrap.php"
>
<testsuites>
<testsuite name="DoctrineMongoDBBundle Test Suite">
<directory>./Tests/</directory>
</testsuite>
</testsuites>
<php>
<!-- <server name="SYMFONY" value="/path/to/symfony/src" /> -->
<!-- <server name="SYMFONY_TESTS" value="/path/to/symfony/tests" /> -->
<!-- <server name="DOCTRINE_MONGODB_ODM" value="/path/to/doctrine-mongodb-odm/lib" /> -->
<!-- <server name="DOCTRINE_MONGODB" value="/path/to/doctrine-mongodb/lib" /> -->
<!-- <server name="DOCTRINE_COMMON" value="/path/to/doctrine-common/lib" /> -->
<!-- Allow 1 direct deprecation until https://github.com/doctrine/DoctrineMongoDBBundle/pull/675 is merged -->
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[direct]=1"/>
</php>
<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./Resources</directory>
<directory>./Tests</directory>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
</listeners>
</phpunit>
|
Correct spammage from MACHINE_ARCH commit - you don't want to *replace* the SUBDIR list in that case, you want to augment it. Also move a stray .endif to its proper location. Heh, no wonder my release builds were falling over! ;) | # $Id: Makefile,v 1.36 1997/04/12 07:19:09 peter Exp $
SUBDIR= bc bison cc cpio cvs dc dialog diff diff3 genclass gperf \
grep gzip man patch ptx rcs sdiff send-pr \
sort tar texinfo
.if ${MACHINE_ARCH} == "i386"
SUBDIR=as awk gdb groff ld
.if !defined(NOPERL) && exists(${.CURDIR}/perl)
SUBDIR+=perl
.endif
.endif
.include <bsd.subdir.mk>
| # $Id: Makefile,v 1.37 1998/02/19 09:34:59 jb Exp $
SUBDIR= bc bison cc cpio cvs dc dialog diff diff3 genclass gperf \
grep gzip man patch ptx rcs sdiff send-pr \
sort tar texinfo
.if ${MACHINE_ARCH} == "i386"
SUBDIR+=as awk gdb groff ld
.endif
.if !defined(NOPERL) && exists(${.CURDIR}/perl)
SUBDIR+=perl
.endif
.include <bsd.subdir.mk>
|
Revert r221053 by replacing WARNS?= 3 since it's breaking the build on several arches. | # @(#)Makefile 8.1 (Berkeley) 7/19/93
# $FreeBSD$
PROG= rlogin
BINOWN= root
BINMODE=4555
PRECIOUSPROG=
.include <bsd.prog.mk>
| # @(#)Makefile 8.1 (Berkeley) 7/19/93
# $FreeBSD$
PROG= rlogin
BINOWN= root
BINMODE=4555
PRECIOUSPROG=
WARNS?= 3
.include <bsd.prog.mk>
|
Work around world breakage in previous commit. The bug is in <security/pam_misc.h>. It declares a function parameter named 'send', so nothing that includes both <unistd.h> (which declares send(2)) and <security/pam_misc.h> be compiled with WARNS=2 unless NO_WERRROR is set. | # From: @(#)Makefile 8.1 (Berkeley) 7/19/93
# $FreeBSD$
PROG= login
SRCS= login.c login_access.c login_fbtab.c
MAN= login.1 login.access.5
CFLAGS+=-DLOGIN_ACCESS -DLOGALL
DPADD= ${LIBUTIL} ${LIBCRYPT} ${LIBPAM}
LDADD= -lutil -lcrypt ${MINUSLPAM}
WARNS?= 2
BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg
NEED_LIBNAMES= yes
.include <bsd.prog.mk>
| # From: @(#)Makefile 8.1 (Berkeley) 7/19/93
# $FreeBSD$
PROG= login
SRCS= login.c login_access.c login_fbtab.c
MAN= login.1 login.access.5
CFLAGS+=-DLOGIN_ACCESS -DLOGALL
WARNS?= 2
NO_WERROR=
DPADD= ${LIBUTIL} ${LIBCRYPT} ${LIBPAM}
LDADD= -lutil -lcrypt ${MINUSLPAM}
BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg
NEED_LIBNAMES= yes
.include <bsd.prog.mk>
|
Add fish to the devcontainer | # [Choice] Ruby version (use -bullseye variants on local arm64/Apple Silicon): 3, 3.0, 2, 2.7, 2.6, 3-bullseye, 3.0-bullseye, 2-bullseye, 2.7-bullseye, 2.6-bullseye, 3-buster, 3.0-buster, 2-buster, 2.7-buster, 2.6-buster
ARG VARIANT=2-bullseye
FROM mcr.microsoft.com/vscode/devcontainers/ruby:0-${VARIANT}
# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
ARG NODE_VERSION="none"
RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
# [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here>
# [Optional] Uncomment this line to install additional gems.
# RUN gem install <your-gem-names-here>
# [Optional] Uncomment this line to install global node packages.
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1 | # [Choice] Ruby version (use -bullseye variants on local arm64/Apple Silicon): 3, 3.0, 2, 2.7, 2.6, 3-bullseye, 3.0-bullseye, 2-bullseye, 2.7-bullseye, 2.6-bullseye, 3-buster, 3.0-buster, 2-buster, 2.7-buster, 2.6-buster
ARG VARIANT=2-bullseye
FROM mcr.microsoft.com/vscode/devcontainers/ruby:0-${VARIANT}
# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
ARG NODE_VERSION="none"
RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
# Install additional OS packages.
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends fish
# [Optional] Uncomment this line to install additional gems.
# RUN gem install <your-gem-names-here>
# [Optional] Uncomment this line to install global node packages.
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1
|
Allow compilation of VTK with multiple cores... | if(UNIX)
if(APPLE)
set(ENV{DYLD_LIBRARY_PATH} "@CMAKE_CURRENT_BINARY_DIR@/python-build/lib")
else()
set(ENV{LD_LIBRARY_PATH} "@CMAKE_CURRENT_BINARY_DIR@/python-build/lib")
endif()
execute_process(
COMMAND make
WORKING_DIRECTORY "@CMAKE_CURRENT_BINARY_DIR@/@proj@-build"
)
endif()
| if(UNIX)
if( VTK_WRAP_PYTHON )
if(APPLE)
set(ENV{DYLD_LIBRARY_PATH} "@CMAKE_CURRENT_BINARY_DIR@/python-build/lib")
else()
set(ENV{LD_LIBRARY_PATH} "@CMAKE_CURRENT_BINARY_DIR@/python-build/lib")
endif()
execute_process(
COMMAND make
WORKING_DIRECTORY "@CMAKE_CURRENT_BINARY_DIR@/@proj@-build"
)
endif()
endif()
|
Install `diffutils` in Alpine Linux image | FROM alpine:3.10
RUN apk update \
&& apk add --no-cache \
bison \
build-base \
cmake \
curl \
file \
git \
ninja \
ronn \
yaml-cpp-dev
# Google Test
ENV GTEST_ROOT=/opt/gtest
ARG GTEST_VER=release-1.8.1
RUN mkdir -p ${GTEST_ROOT} \
&& cd /tmp \
&& curl -o gtest.tar.gz \
-L https://github.com/google/googletest/archive/${GTEST_VER}.tar.gz \
&& tar -zxvf gtest.tar.gz --strip-components=1 -C ${GTEST_ROOT} \
&& rm gtest.tar.gz
# Create User:Group
# The id is important as jenkins docker agents use the same id that is running
# on the slaves to execute containers
ARG JENKINS_USERID
RUN adduser \
-u ${JENKINS_USERID} \
-D \
jenkins
USER ${JENKINS_USERID}
RUN git config --global user.email 'Jenkins <autobuilder@libelektra.org>' \
&& git config --global user.name 'Jenkins'
| FROM alpine:3.10
RUN apk update \
&& apk add --no-cache \
bison \
build-base \
cmake \
curl \
diffutils \
file \
git \
ninja \
ronn \
yaml-cpp-dev
# Google Test
ENV GTEST_ROOT=/opt/gtest
ARG GTEST_VER=release-1.8.1
RUN mkdir -p ${GTEST_ROOT} \
&& cd /tmp \
&& curl -o gtest.tar.gz \
-L https://github.com/google/googletest/archive/${GTEST_VER}.tar.gz \
&& tar -zxvf gtest.tar.gz --strip-components=1 -C ${GTEST_ROOT} \
&& rm gtest.tar.gz
# Create User:Group
# The id is important as jenkins docker agents use the same id that is running
# on the slaves to execute containers
ARG JENKINS_USERID
RUN adduser \
-u ${JENKINS_USERID} \
-D \
jenkins
USER ${JENKINS_USERID}
RUN git config --global user.email 'Jenkins <autobuilder@libelektra.org>' \
&& git config --global user.name 'Jenkins'
|
Use npm ci in Dockerfile | # Copyright (C) 2012 - 2016 Tim Düsterhus
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
FROM node:16
RUN mkdir -p /usr/src/app/
WORKDIR /usr/src/app
COPY package.json package-lock.json /usr/src/app/
RUN npm install
COPY . /usr/src/app/
USER node
EXPOSE 9001
CMD [ "node", "server.js" ]
| # Copyright (C) 2012 - 2016 Tim Düsterhus
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
FROM node:16
RUN mkdir -p /usr/src/app/
WORKDIR /usr/src/app
COPY package.json package-lock.json /usr/src/app/
RUN npm ci
COPY . /usr/src/app/
USER node
EXPOSE 9001
CMD [ "node", "server.js" ]
|
Create libreoffice image version 5.3 build | FROM ubuntu:16.10
ENV DEBIAN_FRONTEND noninteractive
## Create a 'docker' user
RUN addgroup --gid 9999 docker \
&& adduser --uid 9999 --gid 9999 --disabled-password --gecos "Docker User" docker \
&& usermod -L docker
RUN apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get update \
&& apt-get install -y \
ghostscript \
libxinerama1 \
libdbus-glib-1-2 \
libcairo2 \
libcups2 \
libgl1-mesa-dri \
libgl1-mesa-glx \
libsm6 \
fonts-opensymbol \
hyphen-fr \
hyphen-de \
hyphen-en-us \
hyphen-it \
hyphen-ru \
fonts-dejavu \
fonts-dejavu-core \
fonts-dejavu-extra \
fonts-dustin \
fonts-f500 \
fonts-fanwood \
fonts-freefont-ttf \
fonts-liberation \
fonts-lmodern \
fonts-lyx \
fonts-sil-gentium \
fonts-texgyre \
fonts-tlwg-purisa \
curl \
--no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN mkdir /tmp/lo \
&& cd /tmp/lo \
&& curl -L -k https://download.documentfoundation.org/libreoffice/stable/5.3.0/deb/x86_64/LibreOffice_5.3.0_Linux_x86-64_deb.tar.gz | tar xz --strip-components=1 \
&& cd DEBS \
&& dpkg -i *.deb \
&& rm -fr /tmp/lo
# for compat with canvadocs converter, which hardcodes path to soffice
RUN ln -s /opt/libreoffice5.3/program/soffice /usr/bin/soffice
ENV PATH $PATH:/opt/libreoffice5.3/program
USER docker
| |
Add Dockerfile for fast testing image | FROM postgres:12
MAINTAINER Hendrikx ITC
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
libpq-dev \
libyaml-cpp-dev
COPY docker-resources/usr/bin/* /usr/bin/
COPY docker-resources/init-minerva-db-and-instance.sh /docker-entrypoint-initdb.d/
COPY src /minerva
COPY postgresql.conf /etc/postgresql/postgresql.conf
RUN pip3 install minerva-etl
VOLUME /custom
VOLUME /instance
CMD ["postgres", "-c", "config_file=/etc/postgresql/postgresql.conf"]
| |
Add phpunit file for max-execution-time | <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="vendor/autoload.php"
>
<testsuites>
<testsuite name="Swarrot MaxExecutionTime test suite">
<directory>./Tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./vendor</directory>
<directory>./Tests</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
| |
Add stable Dockerfile for 16.04 | FROM ubuntu:xenial
MAINTAINER Andrew Schwartzmeyer <andschwa@microsoft.com>
ARG POWERSHELL_RELEASE=v6.0.0-alpha.9
ARG POWERSHELL_PACKAGE=powershell_6.0.0-alpha.9-1ubuntu1.16.04.1_amd64.deb
# Setup the locale
ENV LANG en_US.UTF-8
ENV LC_ALL $LANG
RUN locale-gen $LANG && update-locale
# Install dependencies and clean up
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
libc6 \
libcurl3 \
ca-certificates \
libgcc1 \
libicu55 \
libssl1.0.0 \
libstdc++6 \
libtinfo5 \
libunwind8 \
libuuid1 \
zlib1g \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
# Install PowerShell package and clean up
RUN curl -SLO https://github.com/PowerShell/PowerShell/releases/download/$POWERSHELL_RELEASE/$POWERSHELL_PACKAGE \
&& dpkg -i $POWERSHELL_PACKAGE \
&& rm $POWERSHELL_PACKAGE
# Use array to avoid Docker prepending /bin/sh -c
ENTRYPOINT [ "powershell" ]
| |
Install GHC 7.4.2 on top of alanz/debian-base-64 | FROM alanz/debian-base-64
MAINTAINER alan.zimm@gmail.com
ENV DEBIAN_FRONTEND noninteractive
####### GHC 7.4.2 ######################
RUN wget http://www.haskell.org/ghc/dist/7.4.2/ghc-7.4.2-x86_64-unknown-linux.tar.bz2
RUN tar xvfj ghc-7.4.2-x86_64-unknown-linux.tar.bz2
RUN cd ghc-7.4.2 && ./configure
RUN cd ghc-7.4.2 && make install
| |
Add config file for phpcs | <?xml version="1.0"?>
<ruleset name="EngineWorks">
<description>The EngineWorks (PSR-2 based) coding standard.</description>
<arg name="tab-width" value="4"/>
<arg name="encoding" value="utf-8"/>
<arg name="report-width" value="auto"/>
<arg name="extensions" value="php"/>
<rule ref="PSR2" />
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
<rule ref="Generic.CodeAnalysis.EmptyStatement"/>
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/>
<rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/>
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
<rule ref="Generic.Formatting.SpaceAfterNot"/>
<rule ref="Generic.Functions.CallTimePassByReference"/>
<rule ref="Generic.NamingConventions.ConstructorName"/>
<rule ref="Generic.PHP.DeprecatedFunctions"/>
<rule ref="Squiz.PHP.DisallowSizeFunctionsInLoops"/>
<rule ref="Squiz.Scope.MemberVarScope"/>
<rule ref="Squiz.WhiteSpace.CastSpacing"/>
<rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing"/>
<rule ref="Squiz.WhiteSpace.OperatorSpacing"/>
<rule ref="Zend.Files.ClosingTag"/>
</ruleset>
| |
Add Spree routing proxy to configuration sidebar override | <!-- insert_bottom "[data-hook='admin_configurations_sidebar_menu']" -->
<%= configurations_sidebar_menu_item Spree.t(:'i18n.store_translations'), admin_translations_path('stores', current_store) if can? :manage, Spree::Store %>
| <!-- insert_bottom "[data-hook='admin_configurations_sidebar_menu']" -->
<%= configurations_sidebar_menu_item Spree.t(:'i18n.store_translations'), spree.admin_translations_path('stores', current_store) if can? :manage, Spree::Store %>
|
Add support for Go 1.6 RC 2 | # Go cross compiler (xgo): Go 1.6 release candidate 2 layer
# Copyright (c) 2016 Péter Szilágyi. All rights reserved.
#
# Released under the MIT license.
FROM karalabe/xgo-base
MAINTAINER Péter Szilágyi <peterke@gmail.com>
# Configure the root Go distribution and bootstrap based on it
RUN \
export ROOT_DIST=https://storage.googleapis.com/golang/go1.6rc2.linux-amd64.tar.gz && \
export ROOT_DIST_SHA=9c19fa0fe32ee9bff79123d47147a5fd15fec451806bf5644a01173a86a8a4b9 && \
\
$BOOTSTRAP_PURE
ENV GO_VERSION 160
| |
Remove a translation message that gotten mixed accidentally | [Desktop Entry]
Type=Service
ServiceTypes=LxQtPanel/Plugin
Name=CPU monitor
Comment=Displays the current CPU load.
Name[ru]=Загрузка ЦП
Comment[ru]=Плагин загрузки ЦП
| [Desktop Entry]
Type=Service
ServiceTypes=LxQtPanel/Plugin
Name=CPU monitor
Comment=Displays the current CPU load.
#TRANSLATIONS_DIR=../translations
|
Add the installed image for openSUSE 12.3 | from saltstack/opensuse-12.3-minimal
MAINTAINER SaltStack, Inc.
# Install Dependencies
RUN zypper --non-interactive install --auto-agree-with-licenses python-setuptools
# Install Salt
RUN easy_install https://github.com/saltstack/salt/archive/develop.tar.gz
| |
Build opiepasswd from contrib_opie module. | # $FreeBSD$
#
OPIE_DIST?=../../contrib/opie
PROG= opiepasswd
SRCS= opiepasswd.c
MAN1= opiepasswd.1
CFLAGS+=-I${OPIE_DIST}
DPADD= ${LIBOPIE} ${LIBMD}
LDADD= -lopie -lmd
.PATH: ${OPIE_DIST}
.include <bsd.prog.mk>
| |
Add SSDT for .NET SDK | # escape=`
FROM microsoft/dotnet-framework:4.7.2-sdk-20180814-windowsservercore-ltsc2016
RUN nuget install Microsoft.Data.Tools.Msbuild -Version 10.0.61804.210 | |
Update PHPUnit version to 9 | <?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="bin/.phpunit/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="tests/bootstrap.php"
>
<php>
<ini name="error_reporting" value="-1" />
<server name="APP_ENV" value="test" force="true" />
<server name="SHELL_VERBOSITY" value="-1" />
<server name="SYMFONY_PHPUNIT_REMOVE" value="" />
<server name="SYMFONY_PHPUNIT_VERSION" value="8" />
</php>
<testsuites>
<testsuite name="Ilios">
<directory>tests</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>mesh_data_import</group>
</exclude>
</groups>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
</whitelist>
</filter>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="bin/.phpunit/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="tests/bootstrap.php"
>
<php>
<ini name="error_reporting" value="-1" />
<server name="APP_ENV" value="test" force="true" />
<server name="SHELL_VERBOSITY" value="-1" />
<server name="SYMFONY_PHPUNIT_REMOVE" value="" />
<server name="SYMFONY_PHPUNIT_VERSION" value="9" />
</php>
<testsuites>
<testsuite name="Ilios">
<directory>tests</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>mesh_data_import</group>
</exclude>
</groups>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
</whitelist>
</filter>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
</phpunit>
|
Add 2.2 Wheezy, also based on the 2.1 Dockerfile | FROM buildpack-deps:wheezy
RUN apt-get update && apt-get install -y curl procps && rm -rf /var/lib/apt/lists/*
ENV RUBY_MAJOR 2.2
ENV RUBY_VERSION 2.2.0-preview2
# some of ruby's build scripts are written in ruby
# we purge this later to make sure our final image uses what we just built
RUN apt-get update \
&& apt-get install -y bison ruby \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /usr/src/ruby \
&& curl -SL "http://cache.ruby-lang.org/pub/ruby/$RUBY_MAJOR/ruby-$RUBY_VERSION.tar.bz2" \
| tar -xjC /usr/src/ruby --strip-components=1 \
&& cd /usr/src/ruby \
&& autoconf \
&& ./configure --disable-install-doc \
&& make -j"$(nproc)" \
&& apt-get purge -y --auto-remove bison ruby \
&& make install \
&& rm -r /usr/src/ruby
# skip installing gem documentation
RUN echo 'gem: --no-rdoc --no-ri' >> "$HOME/.gemrc"
# install things globally, for great justice
ENV GEM_HOME /usr/local/bundle
ENV PATH $GEM_HOME/bin:$PATH
RUN gem install bundler \
&& bundle config --global path "$GEM_HOME" \
&& bundle config --global bin "$GEM_HOME/bin"
# don't create ".bundle" in all our apps
ENV BUNDLE_APP_CONFIG $GEM_HOME
CMD [ "irb" ]
| |
Create Makefile for tests, docs and deployment | .PHONY: docs
test:
python setup.py test
coverage:
python setup.py test -a '--cov={{cookiecutter.repo_name}} --cov-report=html'
xdg-open htmlcov/index.html
docs:
$(MAKE) -C docs html
xdg-open docs/build/html/index.html
apk:
buildozer -v android debug
deploy:
buildozer android deploy logcat
| |
Add XML config for PHPUnit | <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="tests/bootstrap.php"
>
<testsuites>
<testsuite name="Hashpath Test Suite">
<directory>./code/tests/</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-html" target="build/coverage" title="Cache Include"
charset="UTF-8" yui="true" highlight="true"
lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
</logging>
<filter>
<whitelist>
<directory>./src/</directory>
</whitelist>
</filter>
</phpunit> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.