Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Test to see how .cvsignore works... | nDims = [ 2 ];
dimList = [
90, 1, 45,
40, 1, 20
];
format = [ 'float32' ];
nrecords = [ 1 ];
timeStepNumber = [ 0 ];
| |
Add prelim test result from fitting | MATLAB 5.0 MAT-file, Platform: GLNXA64, Created on: Thu Jun 1 11:51:50 2017 IM 0 xc``p b6
3"av NJ-.q,ap$9 d* xc``9X|F$TƐZ\ZgaqgX|Xnb 12 X3`RP+KRS |ĜDTf^Z>T[0 φ yUǑ\rߡB~WoHSg8NAwyQȶ?鹓|dHv $HL/O7S54.aֿI؏{a{[88@RX1 \ $sA3,X܁l +/ϊߛH1 J'bazæE?#Тlw M E?l'ݰ"VZ0Y<d*t | |
Fix employee_details lookup to be exported globally. | [transforms]
export = system
[lookups/employee_details.csv]
access = read : [ * ], write : [ * ]
export = system
owner = nobody
version = 6.1.3
modtime = 1410902072.530265000
| |
Add select to default speech commands, remove "toggle diagnostics" and "toggle profiler" since they are not used anywhere. | %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1f18fec9b55c4f818e284af454161962, type: 3}
m_Name: DefaultMixedRealitySpeechCommandsProfile
m_EditorClassIdentifier:
isCustomProfile: 0
startBehavior: 0
recognitionConfidenceLevel: 1
speechCommands:
- keyword: Menu
keyCode: 9
action:
id: 2
description: Menu
axisConstraint: 2
- keyword: Toggle Diagnostics
keyCode: 100
action:
id: 1
description: Toggle Diagnostics
axisConstraint: 0
- keyword: Toggle Profiler
keyCode: 112
action:
id: 7
description: Grip Press
axisConstraint: 3
| %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1f18fec9b55c4f818e284af454161962, type: 3}
m_Name: DefaultMixedRealitySpeechCommandsProfile
m_EditorClassIdentifier:
isCustomProfile: 0
startBehavior: 0
recognitionConfidenceLevel: 1
speechCommands:
- localizationKey:
keyword: Menu
keyCode: 9
action:
id: 2
description: Menu
axisConstraint: 2
- localizationKey:
keyword: Select
keyCode: 100
action:
id: 1
description: Toggle Diagnostics
axisConstraint: 0
|
Remove missing scene from build settings | %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1045 &1
EditorBuildSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes:
- enabled: 0
path: Assets/Main.unity
| %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1045 &1
EditorBuildSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes: []
|
Disable fptl for forward opaque (use cluster) due to a bug | %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 31c50a63970c0c843ab7cbf7d67d5b33, type: 3}
m_Name: TilePassProducer
m_EditorClassIdentifier:
m_TileSettings:
enableTileAndCluster: 1
enableSplitLightEvaluation: 1
enableComputeLightEvaluation: 0
enableComputeFeatureVariants: 1
enableClustered: 1
enableFptlForOpaqueWhenClustered: 1
enableBigTilePrepass: 1
diffuseGlobalDimmer: 1
specularGlobalDimmer: 1
tileDebugByCategory: 0
m_PassResources: {fileID: 11400000, guid: 7f2998544b2ac3848822b80ec3e6c446, type: 2}
| %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 31c50a63970c0c843ab7cbf7d67d5b33, type: 3}
m_Name: TilePassProducer
m_EditorClassIdentifier:
m_TileSettings:
enableTileAndCluster: 1
enableSplitLightEvaluation: 1
enableComputeLightEvaluation: 0
enableComputeFeatureVariants: 1
enableClustered: 1
enableFptlForOpaqueWhenClustered: 0
enableBigTilePrepass: 1
diffuseGlobalDimmer: 1
specularGlobalDimmer: 1
tileDebugByCategory: 0
m_PassResources: {fileID: 11400000, guid: 7f2998544b2ac3848822b80ec3e6c446, type: 2}
|
Set MainScene as Main :) | %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1045 &1
EditorBuildSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes:
- enabled: 1
path: Assets/Scenes/GameScene.unity
| %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1045 &1
EditorBuildSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes:
- enabled: 1
path: Assets/Scenes/MainScene.unity
- enabled: 1
path: Assets/Scenes/GameScene.unity
|
Fix for bug introduced in 4.1.2 where lookups were not exported but props and transforms are. | # TODO: should these only exported to app instead of system?
# Application-level permissions
[]
access = read : [ * ], write : [ admin, power ]
### EVENT TYPES
[eventtypes]
export = system
### PROPS
[props]
export = system
### TRANSFORMS
[transforms]
export = none
[lookups]
export = none
## OTHER
[savedsearches]
export = none
[commands]
export = system
| # Application-level permissions
[]
access = read : [ * ], write : [ admin, power ]
### EVENT TYPES
[eventtypes]
export = system
### PROPS
[props]
export = none
### TRANSFORMS
[transforms]
export = none
[lookups]
export = none
## OTHER
[savedsearches]
export = none
[commands]
export = system
|
Revert "Replace WWW with UnityWebRequest" | fileFormatVersion: 2
guid: 7de4bfd57db50164d8d21e2b6c389d04
timeCreated: 1465958131
licenseType: Free
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
isPreloaded: 0
isOverridable: 0
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 0
settings:
CPU: AnyCPU
userData:
assetBundleName:
assetBundleVariant:
| fileFormatVersion: 2
guid: 7de4bfd57db50164d8d21e2b6c389d04
timeCreated: 1465958131
licenseType: Free
PluginImporter:
serializedVersion: 1
iconMap: {}
executionOrder: {}
isPreloaded: 0
platformData:
Any:
enabled: 1
settings: {}
Editor:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:
|
Increase Physics Update - hopefully not longer missing Maze Events | %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!5 &1
TimeManager:
m_ObjectHideFlags: 0
Fixed Timestep: .0199999996
Maximum Allowed Timestep: .333333343
m_TimeScale: 1
| %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!5 &1
TimeManager:
m_ObjectHideFlags: 0
Fixed Timestep: 0.01
Maximum Allowed Timestep: 0.33333334
m_TimeScale: 1
|
Add default namespace to project settings | %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!159 &1
EditorSettings:
m_ObjectHideFlags: 0
serializedVersion: 3
m_ExternalVersionControlSupport: Visible Meta Files
m_SerializationMode: 2
m_DefaultBehaviorMode: 0
m_SpritePackerMode: 2
m_SpritePackerPaddingPower: 1
m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd
m_ProjectGenerationRootNamespace:
m_UserGeneratedProjectSuffix:
| %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!159 &1
EditorSettings:
m_ObjectHideFlags: 0
serializedVersion: 3
m_ExternalVersionControlSupport: Visible Meta Files
m_SerializationMode: 2
m_DefaultBehaviorMode: 0
m_SpritePackerMode: 2
m_SpritePackerPaddingPower: 1
m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd
m_ProjectGenerationRootNamespace: IAT.ResearchDemonstrator
m_UserGeneratedProjectSuffix:
|
Save computed means as annex to Table 1 | MATLAB 5.0 MAT-file, Platform: PCWIN64, Created on: Sat Nov 12 06:49:55 2016 IM xc``P`f``@ P>#0$iji q!10 g'X?w0 eb.7N juϚ +N{c8埴`6lנ7Ϟ;PuuZƳOՒZeK:l^-ꁼt߈;<^}Du7i{M9bK8\T}%pdPIqo"kJ8%[~Oqhly py}w+^xXAaN)/^eNftD!́]kO)36;,[{(8Yuyc f£o?;uKUyff_gg!wQ<篆ѿlk⭢Oߵ}^b=GɎִ^\(/اݒI4j˓I}swH_dW<MIo~h=r= FDy | |
Add meta information for the constellation art | local constellation_helper = asset.require('./generate_constellations')
local constellationsCSV = asset.localResource('constellation_data.csv')
local nodes = {}
asset.onInitialize(function ()
nodes = constellation_helper.createConstellations('Constellation Art', constellationsCSV)
for _, n in ipairs(nodes) do
openspace.addSceneGraphNode(n);
end
end)
asset.onDeinitialize(function ()
for _, n in ipairs(nodes) do
openspace.removeSceneGraphNode(n.Identifier);
end
end)
| local constellation_helper = asset.require('./generate_constellations')
local constellationsCSV = asset.localResource('constellation_data.csv')
local nodes = {}
asset.onInitialize(function ()
nodes = constellation_helper.createConstellations('Constellation Art', constellationsCSV)
for _, n in ipairs(nodes) do
openspace.addSceneGraphNode(n);
end
end)
asset.onDeinitialize(function ()
for _, n in ipairs(nodes) do
openspace.removeSceneGraphNode(n.Identifier);
end
end)
asset.meta = {
Name = "Constellation Images",
Version = "1.0",
Description = "Artistic images depicting the constellations",
Author = "James Hedberg",
URL = "ccnyplanetarium.org"
License = ""
}
|
Add -D_KVM_VNODE to indicate that despite being a userland program, we want to know the vnode structures internals. | # @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= fstat
SRCS= cd9660.c fstat.c msdosfs.c
DPADD= ${LIBKVM}
LDADD= -lkvm
BINGRP= kmem
BINMODE=2555
WARNS?= 6
.include <bsd.prog.mk>
| # @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= fstat
SRCS= cd9660.c fstat.c msdosfs.c
DPADD= ${LIBKVM}
LDADD= -lkvm
BINGRP= kmem
BINMODE=2555
WARNS?= 6
CFLAGS+=-D_KVM_VNODE
.include <bsd.prog.mk>
|
Add mockery listener to phpunit | <?xml version="1.0" encoding="utf-8" ?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/8.0/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
stopOnFailure="true">
<testsuites>
<testsuite name="Unit Tests">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
<exclude>
<directory>./tests</directory>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="junit" target="build/logs/junit.xml" />
</logging>
</phpunit> | <?xml version="1.0" encoding="utf-8" ?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/8.0/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
stopOnFailure="true">
<testsuites>
<testsuite name="Unit Tests">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
<exclude>
<directory>./tests</directory>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="\Mockery\Adapter\Phpunit\TestListener" />
</listeners>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="junit" target="build/logs/junit.xml" />
</logging>
</phpunit> |
Revert update to aws-sam-cli==0.22.0 for build-python2.7 | FROM lambci/lambda-base:build
ENV AWS_EXECUTION_ENV=AWS_Lambda_python2.7 \
PYTHONPATH=/var/runtime
RUN rm -rf /var/runtime /var/lang && \
curl https://lambci.s3.amazonaws.com/fs/python2.7.tgz | tar -zx -C /
# Add these as a separate layer as they get updated frequently
RUN pip install -U virtualenv pipenv --no-cache-dir && \
pip install -U awscli boto3 aws-sam-cli==0.31.0 aws-lambda-builders==0.5.0 --no-cache-dir
| FROM lambci/lambda-base:build
ENV AWS_EXECUTION_ENV=AWS_Lambda_python2.7 \
PYTHONPATH=/var/runtime
RUN rm -rf /var/runtime /var/lang && \
curl https://lambci.s3.amazonaws.com/fs/python2.7.tgz | tar -zx -C /
# Add these as a separate layer as they get updated frequently
RUN curl --silent --show-error --retry 5 https://bootstrap.pypa.io/get-pip.py | python && \
pip install -U virtualenv pipenv --no-cache-dir && \
pip install -U awscli boto3 aws-sam-cli==0.22.0 aws-lambda-builders==0.5.0 --no-cache-dir
|
Update php74-swoole: 4.5.1 --> 4.5.2 | #######################################
# PHPDocker.io PHP 7.4 / Swoole image #
#######################################
FROM phpdockerio/php74-cli
ENV SWOOLE_VERSION=v4.5.1
# Install FPM
RUN apt-get update \
&& apt-get -y --no-install-recommends install \
build-essential \
git \
php7.4-dev \
&& cd /tmp \
&& git clone https://github.com/swoole/swoole-src.git \
&& cd swoole-src \
&& git checkout ${SWOOLE_VERSION}\
&& phpize \
&& ./configure --enable-openssl --enable-http2 --enable-sockets --enable-mysqlnd \
&& make \
&& make install-modules \
&& echo "extension=swoole.so" >> /etc/php/7.4/cli/php.ini \
&& apt autoremove --purge -y git php7.4-dev build-essential \
&& cd / \
&& rm -rf /tmp/swole-src \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
| #######################################
# PHPDocker.io PHP 7.4 / Swoole image #
#######################################
FROM phpdockerio/php74-cli
ENV SWOOLE_VERSION=v4.5.2
# Install FPM
RUN apt-get update \
&& apt-get -y --no-install-recommends install \
build-essential \
git \
php7.4-dev \
&& cd /tmp \
&& git clone https://github.com/swoole/swoole-src.git \
&& cd swoole-src \
&& git checkout ${SWOOLE_VERSION}\
&& phpize \
&& ./configure --enable-openssl --enable-http2 --enable-sockets --enable-mysqlnd \
&& make \
&& make install-modules \
&& echo "extension=swoole.so" >> /etc/php/7.4/cli/php.ini \
&& apt autoremove --purge -y git php7.4-dev build-essential \
&& cd / \
&& rm -rf /tmp/swole-src \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
|
Enable PHPUnit to run tests in AppBundle | <?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/4.8/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
>
<php>
<ini name="error_reporting" value="-1" />
<server name="KERNEL_CLASS" value="AppKernel" />
</php>
<testsuites>
<testsuite name="Project Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>src</directory>
<exclude>
<directory>src/*Bundle/Resources</directory>
<directory>src/*/*Bundle/Resources</directory>
<directory>src/*/Bundle/*Bundle/Resources</directory>
</exclude>
</whitelist>
</filter>
</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/4.8/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
>
<php>
<ini name="error_reporting" value="-1" />
<server name="KERNEL_CLASS" value="AppKernel" />
</php>
<testsuites>
<testsuite name="Project Test Suite">
<directory>tests</directory>
</testsuite>
<testsuite name="AppBundle">
<directory>src/AppBundle/Tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>src</directory>
<exclude>
<directory>src/*Bundle/Resources</directory>
<directory>src/*/*Bundle/Resources</directory>
<directory>src/*/Bundle/*Bundle/Resources</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
|
Add HTML coverage to PHPUnit configuration | <?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite>
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-text" target="php://stdout"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite>
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-text" target="php://stdout"/>
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>
|
FIX convert CI bootstrap references to new their new locations in vendor | <phpunit bootstrap="cms/tests/bootstrap.php" colors="true">
<testsuite name="blog">
<directory>tests/</directory>
</testsuite>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src/</directory>
<exclude>
<directory suffix=".php">tests/</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
| <phpunit bootstrap="vendor/silverstripe/cms/tests/bootstrap.php" colors="true">
<testsuite name="blog">
<directory>tests/</directory>
</testsuite>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src/</directory>
<exclude>
<directory suffix=".php">tests/</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
|
Add a distfile target to generate a distfile to be used by the ports-mgmt/pkg_install port. | # $FreeBSD$
.include <bsd.own.mk>
SUBDIR= lib add create delete info updating version
.include <bsd.subdir.mk>
| # $FreeBSD$
.include <bsd.own.mk>
SUBDIR= lib add create delete info updating version
.include <bsd.subdir.mk>
CP= /bin/cp
RM= /bin/rm
TAR= /usr/bin/tar
DATE!= date +%Y%m%d
distfile: clean
@(cd ${.CURDIR}/..; \
${CP} -r pkg_install pkg_install-${DATE}; \
${TAR} -czf pkg_install/pkg_install-${DATE}.tar.gz \
--exclude .#* --exclude *~ --exclude CVS \
--exclude pkg_install-*.tar.gz pkg_install-${DATE}; \
${RM} -rf pkg_install-${DATE})
|
Use python3 in linux ci build | 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 \
python3 python3-venv libpcap-dev libssl-dev libatomic1
| 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 \
python3 python3-venv libpcap-dev libssl-dev libatomic1
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
|
Install using ${INSTALL}, not using `install'. | # $Id$
PROG= units
beforeinstall:
install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
${.CURDIR}/units.lib ${DESTDIR}/usr/share/misc
.include <bsd.prog.mk>
| # $Id: Makefile,v 1.3 1997/02/22 19:57:30 peter Exp $
PROG= units
beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
${.CURDIR}/units.lib ${DESTDIR}/usr/share/misc
.include <bsd.prog.mk>
|
Fix module description to use proper grammar. | [Desktop Entry]
Type=Link
Name=IBox
Icon=e-module-ibox
Comment=<hilight>IconBox Gadget</hilight><br><br>An home for your iconified applications.
Comment[de]=
Comment[es]=<hilight>Dispositivo IconBox</hilight><br><br>Un contenedor para sus aplicaciones iconificadas.
Comment[fr]=
Comment[it]=<hilight>Modulo IBox</hilight><br><br>Un contenitore per le applicazioni iconificate.
Comment[ja]=
Comment[pt]=
Comment[pt_BR]=
Comment[zh_CN]=
Comment[zh_TW]=
| [Desktop Entry]
Type=Link
Name=IBox
Icon=e-module-ibox
Comment=<hilight>IconBox Gadget</hilight><br><br>A home for your iconified applications.
Comment[de]=
Comment[es]=<hilight>Dispositivo IconBox</hilight><br><br>Un contenedor para sus aplicaciones iconificadas.
Comment[fr]=
Comment[it]=<hilight>Modulo IBox</hilight><br><br>Un contenitore per le applicazioni iconificate.
Comment[ja]=
Comment[pt]=
Comment[pt_BR]=
Comment[zh_CN]=
Comment[zh_TW]=
|
Update go build to 1.11 | FROM lambci/lambda-base:build
ENV GOLANG_VERSION=1.10.3 \
GOPATH=/go \
PATH=/go/bin:/usr/local/go/bin:$PATH \
AWS_EXECUTION_ENV=AWS_Lambda_go1.x
WORKDIR /go/src/handler
RUN rm -rf /var/runtime /var/lang && \
curl https://lambci.s3.amazonaws.com/fs/go1.x.tgz | tar -zx -C / && \
curl https://dl.google.com/go/go${GOLANG_VERSION}.linux-amd64.tar.gz | tar -zx -C /usr/local && \
go get github.com/golang/dep/cmd/dep && \
go install github.com/golang/dep/cmd/dep && \
go get golang.org/x/vgo
CMD ["dep", "ensure"]
| FROM lambci/lambda-base:build
ENV GOLANG_VERSION=1.11 \
GOPATH=/go \
PATH=/go/bin:/usr/local/go/bin:$PATH \
AWS_EXECUTION_ENV=AWS_Lambda_go1.x
WORKDIR /go/src/handler
RUN rm -rf /var/runtime /var/lang && \
curl https://lambci.s3.amazonaws.com/fs/go1.x.tgz | tar -zx -C / && \
curl https://dl.google.com/go/go${GOLANG_VERSION}.linux-amd64.tar.gz | tar -zx -C /usr/local && \
go get github.com/golang/dep/cmd/dep && \
go install github.com/golang/dep/cmd/dep && \
go get golang.org/x/vgo
CMD ["dep", "ensure"]
|
Make sure link to /etc/rmt happens. | # @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= rmt
MAN8= rmt.8
beforeinstall:
ln -s ${BINDIR}/rmt ${DESTDIR}/etc/rmt
.include <bsd.prog.mk>
| # @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= rmt
MAN8= rmt.8
beforeinstall:
ln -fs ${BINDIR}/rmt ${DESTDIR}/etc/rmt
.include <bsd.prog.mk>
|
Update the Python3 in Dockerfile to 3.5 | {% if cookiecutter.use_python2 == 'n' -%}
FROM python:3.4
{% else %}
FROM python:2.7
{%- endif %}
ENV PYTHONUNBUFFERED 1
# Requirements have to be pulled and installed here, otherwise caching won't work
ADD ./requirements /requirements
ADD ./requirements.txt /requirements.txt
RUN pip install -r /requirements.txt
RUN pip install -r /requirements/local.txt
RUN groupadd -r django && useradd -r -g django django
ADD . /app
RUN chown -R django /app
ADD ./compose/django/gunicorn.sh /gunicorn.sh
ADD ./compose/django/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh && chown django /entrypoint.sh
RUN chmod +x /gunicorn.sh && chown django /gunicorn.sh
WORKDIR /app
ENTRYPOINT ["/entrypoint.sh"]
| {% if cookiecutter.use_python2 == 'n' -%}
FROM python:3.5
{% else %}
FROM python:2.7
{%- endif %}
ENV PYTHONUNBUFFERED 1
# Requirements have to be pulled and installed here, otherwise caching won't work
ADD ./requirements /requirements
ADD ./requirements.txt /requirements.txt
RUN pip install -r /requirements.txt
RUN pip install -r /requirements/local.txt
RUN groupadd -r django && useradd -r -g django django
ADD . /app
RUN chown -R django /app
ADD ./compose/django/gunicorn.sh /gunicorn.sh
ADD ./compose/django/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh && chown django /entrypoint.sh
RUN chmod +x /gunicorn.sh && chown django /gunicorn.sh
WORKDIR /app
ENTRYPOINT ["/entrypoint.sh"]
|
Add automake for yarn install. | FROM opencomp/php:7.4-fpm-alpine3.11
LABEL maintainer="Jean Traullé <jean@opencomp.fr>"
RUN apk add --no-cache \
# For building php extensions
autoconf build-base \
# For installing composer dependencies
yarn \
zlib \
git \
# For panther testing
chromium \
chromium-chromedriver \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& composer global require hirak/prestissimo \
&& pecl install pcov ast \
&& docker-php-ext-enable pcov ast \
# Clearing package cache and temp directory
&& rm -rf /var/cache/apk/* /tmp/*
ENV TMPDIR /var/www/html/tmp
ENV PANTHER_CHROME_DRIVER_BINARY /usr/lib/chromium/chromedriver
ENV PANTHER_CHROME_BINARY /usr/bin/chromium-browser
ENV PANTHER_NO_SANDBOX 1
| FROM opencomp/php:7.4-fpm-alpine3.11
LABEL maintainer="Jean Traullé <jean@opencomp.fr>"
RUN apk add --no-cache \
# For building php extensions
autoconf automake build-base \
# For installing composer dependencies
yarn \
zlib \
git \
# For panther testing
chromium \
chromium-chromedriver \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& composer global require hirak/prestissimo \
&& pecl install pcov ast \
&& docker-php-ext-enable pcov ast \
# Clearing package cache and temp directory
&& rm -rf /var/cache/apk/* /tmp/*
ENV TMPDIR /var/www/html/tmp
ENV PANTHER_CHROME_DRIVER_BINARY /usr/lib/chromium/chromedriver
ENV PANTHER_CHROME_BINARY /usr/bin/chromium-browser
ENV PANTHER_NO_SANDBOX 1
|
Put Wocky debug information in test logs, now we use it | #!/bin/sh
cd "@abs_top_builddir@/tests/twisted/tools"
export SALUT_DEBUG=all GIBBER_DEBUG=all
ulimit -c unlimited
exec > salut-testing.log 2>&1
if test -n "$SALUT_TEST_VALGRIND"; then
export G_DEBUG=gc-friendly
export G_SLICE=always-malloc
SALUT_WRAPPER="valgrind --leak-check=full --num-callers=20"
elif test -n "$SALUT_TEST_REFDBG"; then
if test -z "$REFDBG_OPTIONS" ; then
export REFDBG_OPTIONS="btnum=10"
fi
if test -z "$SALUT_WRAPPER" ; then
SALUT_WRAPPER="refdbg"
fi
fi
export G_DEBUG=fatal-warnings" ${G_DEBUG}"
exec @abs_top_builddir@/libtool --mode=execute $SALUT_WRAPPER @abs_top_builddir@/src/telepathy-salut
| #!/bin/sh
cd "@abs_top_builddir@/tests/twisted/tools"
export SALUT_DEBUG=all GIBBER_DEBUG=all WOCKY_DEBUG=all
ulimit -c unlimited
exec > salut-testing.log 2>&1
if test -n "$SALUT_TEST_VALGRIND"; then
export G_DEBUG=gc-friendly
export G_SLICE=always-malloc
SALUT_WRAPPER="valgrind --leak-check=full --num-callers=20"
elif test -n "$SALUT_TEST_REFDBG"; then
if test -z "$REFDBG_OPTIONS" ; then
export REFDBG_OPTIONS="btnum=10"
fi
if test -z "$SALUT_WRAPPER" ; then
SALUT_WRAPPER="refdbg"
fi
fi
export G_DEBUG=fatal-warnings" ${G_DEBUG}"
exec @abs_top_builddir@/libtool --mode=execute $SALUT_WRAPPER @abs_top_builddir@/src/telepathy-salut
|
Fix breakage for NOSHARED case. | # $FreeBSD$
PROG= ncplogin
SRCS= ncplogin.c
MAN1= ncplogin.1 ncplogout.1
LINKS= ${BINDIR}/ncplogin ${BINDIR}/ncplogout
LDADD+= -lipx -lncp
DPADD+= ${LIBIPX} ${LIBNCP}
.include <bsd.prog.mk>
| # $FreeBSD$
PROG= ncplogin
MAN1= ncplogin.1 ncplogout.1
LINKS= ${BINDIR}/ncplogin ${BINDIR}/ncplogout
LDADD= -lncp -lipx
DPADD= ${LIBNCP} ${LIBIPX}
.include <bsd.prog.mk>
|
Install modern version of mercurial | FROM cloudfoundry/cflinuxfs3
RUN mkdir -p /usr/share/man/man1
RUN apt-get update && apt-get install -y \
build-essential \
file \
libasound2-dev \
libcups2-dev \
libffi-dev \
libfontconfig1-dev \
libfreetype6-dev \
libx11-dev \
libxext-dev \
libxrandr-dev \
libxrender-dev \
libxt-dev \
libxtst-dev \
mercurial \
zip \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /opt/openjdk-8 \
&& curl -sL https://java-buildpack.cloudfoundry.org/openjdk-jdk/bionic/x86_64/openjdk-1.8.0_202.tar.gz \
| tar xzvf - -C /opt/openjdk-8
RUN mkdir -p /opt/openjdk-11 \
&& curl -sL https://java-buildpack.cloudfoundry.org/openjdk-jdk/bionic/x86_64/openjdk-11.0.2_09.tar.gz \
| tar xzvf - -C /opt/openjdk-11
| FROM cloudfoundry/cflinuxfs3
RUN mkdir -p /usr/share/man/man1
RUN apt-get update && apt-get install -y \
build-essential \
file \
libasound2-dev \
libcups2-dev \
libffi-dev \
libfontconfig1-dev \
libfreetype6-dev \
libx11-dev \
libxext-dev \
libxrandr-dev \
libxrender-dev \
libxt-dev \
libxtst-dev \
python-pip \
zip \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN pip2 install mercurial
RUN mkdir -p /opt/openjdk-8 \
&& curl -sL https://java-buildpack.cloudfoundry.org/openjdk-jdk/bionic/x86_64/openjdk-jdk-1.8.0_222-bionic.tar.gz \
| tar xzvf - -C /opt/openjdk-8
RUN mkdir -p /opt/openjdk-11 \
&& curl -sL https://java-buildpack.cloudfoundry.org/openjdk-jdk/bionic/x86_64/openjdk-jdk-11.0.4_11-bionic.tar.gz \
| tar xzvf - -C /opt/openjdk-11
|
Add proc-ia64.sgml to SRCS (uncomment). | # $FreeBSD$
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-ia64.sgml
SRCS+= ../common/hw.ent
SRCS+= ../common/artheader.sgml
SRCS+= ../common/dev.sgml
SRCS+= ${DEV-AUTODIR}/catalog-auto
SRCS+= ${DEV-AUTODIR}/dev-auto.sgml
.include "${RELN_ROOT}/share/mk/doc.relnotes.mk"
.include "${DOC_PREFIX}/share/mk/doc.project.mk"
| # $FreeBSD$
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-ia64.sgml
SRCS+= ../common/hw.ent
SRCS+= ../common/artheader.sgml
SRCS+= ../common/dev.sgml
SRCS+= ${DEV-AUTODIR}/catalog-auto
SRCS+= ${DEV-AUTODIR}/dev-auto.sgml
.include "${RELN_ROOT}/share/mk/doc.relnotes.mk"
.include "${DOC_PREFIX}/share/mk/doc.project.mk"
|
Install missing syslog-ng-incubator package on CentOS (3.6) | FROM centos:latest
MAINTAINER Andras Mitzki <andras.mitzki@balabit.com>
ADD https://copr.fedoraproject.org/coprs/czanik/syslog-ng36/repo/epel-7/czanik-syslog-ng36-epel-7.repo /etc/yum.repos.d/
RUN yum update -y && yum install -y epel-release
RUN yum install -y \
java-1.8.0-openjdk \
syslog-ng-geoip \
syslog-ng-java \
syslog-ng-libdbi \
syslog-ng-mongodb \
syslog-ng-python \
syslog-ng-redis \
syslog-ng-riemann \
syslog-ng-smtp \
syslog-ng
CMD ["/sbin/syslog-ng", "-Fedv"]
| FROM centos:latest
MAINTAINER Andras Mitzki <andras.mitzki@balabit.com>
ADD https://copr.fedoraproject.org/coprs/czanik/syslog-ng36/repo/epel-7/czanik-syslog-ng36-epel-7.repo /etc/yum.repos.d/
RUN yum update -y && yum install -y epel-release
RUN yum install -y \
java-1.8.0-openjdk \
syslog-ng-geoip \
syslog-ng-java \
syslog-ng-libdbi \
syslog-ng-mongodb \
syslog-ng-python \
syslog-ng-redis \
syslog-ng-riemann \
syslog-ng-smtp \
syslog-ng-incubator \
syslog-ng
CMD ["/sbin/syslog-ng", "-Fedv"]
|
Remove mockery listener from test config | <?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="EventBand Test Suite">
<directory>./tests</directory>
</testsuite>
</testsuites>
<listeners>
<listener class="\Mockery\Adapter\Phpunit\TestListener"/>
</listeners>
</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="EventBand Test Suite">
<directory>./tests</directory>
</testsuite>
</testsuites>
</phpunit> |
Switch to weak deprecation notices | <?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="Installers Test Suite">
<directory>tests/Composer/Installers</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>src/Composer/Installers</directory>
</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="tests/bootstrap.php"
>
<php>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
</php>
<testsuites>
<testsuite name="Installers Test Suite">
<directory>tests/Composer/Installers</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>src/Composer/Installers</directory>
</whitelist>
</filter>
</phpunit> |
Update phpunit config; also removes deprecated strict setting | <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="./tests/Bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
syntaxCheck="true"
strict="false"
verbose="true">
>
<testsuites>
<testsuite name="Mockery Test Suite">
<directory suffix="Test.php">./tests</directory>
<exclude>./tests/Mockery/MockingVariadicArgumentsTest.php</exclude>
<file phpVersion="5.6.0" phpVersionOperator=">=">./tests/Mockery/MockingVariadicArgumentsTest.php</file>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./library/</directory>
</whitelist>
</filter>
<listeners>
<listener
class='Mockery\Adapter\Phpunit\TestListener'
file='./library/Mockery/Adapter/Phpunit/TestListener.php'/>
</listeners>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="./tests/Bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
syntaxCheck="true"
verbose="true">
>
<testsuites>
<testsuite name="Mockery Test Suite">
<directory suffix="Test.php">./tests</directory>
<exclude>./tests/Mockery/MockingVariadicArgumentsTest.php</exclude>
<file phpVersion="5.6.0" phpVersionOperator=">=">./tests/Mockery/MockingVariadicArgumentsTest.php</file>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./library/</directory>
</whitelist>
<blacklist>
<file>./library/Mockery/Adapter/Phpunit/MockeryPHPUnitIntegration.php</file>
</blacklist>
</filter>
<listeners>
<listener
class='Mockery\Adapter\Phpunit\TestListener'
file='./library/Mockery/Adapter/Phpunit/TestListener.php'/>
</listeners>
</phpunit>
|
Work out the list of emulations based on the cross-architectures defined. The TARGET is now set from an included makefile. | #
# $Id: Makefile,v 1.1 1998/03/12 02:55:20 jdp Exp $
#
.include "../Makefile.inc0"
.PATH: ${SRCDIR}/ld
PROG= ld
SCRIPTDIR= /usr/libdata/ldscripts
SRCS+= ldcref.c ldctor.c ldemul.c ldexp.c ldfile.c \
ldgram.y ldlang.c ldlex.l ldmain.c ldmisc.c \
ldver.c ldwrite.c lexsup.c mri.c
CFLAGS+= -DDEFAULT_EMULATION=\"${EMULATION}\"
CFLAGS+= -DSCRIPTDIR=\"${DESTDIR}/usr/libdata\"
CFLAGS+= -DTARGET=\"${TARGET}\"
CFLAGS+= -I${SRCDIR}/ld
LDADD+= -L${RELTOP}/libbfd -lbfd
LDADD+= -L${RELTOP}/libiberty -liberty
CLEANDIRS+= ldscripts
afterinstall:
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${LDSCRIPTS:S|^|ldscripts/|} ${DESTDIR}${SCRIPTDIR}
.include <bsd.prog.mk>
| #
# $Id: Makefile,v 1.2 1998/05/04 16:31:41 bde Exp $
#
.include "../Makefile.inc0"
.PATH: ${SRCDIR}/ld
PROG= ld
SCRIPTDIR= /usr/libdata/ldscripts
SRCS+= ldcref.c ldctor.c ldemul.c ldexp.c ldfile.c \
ldgram.y ldlang.c ldlex.l ldmain.c ldmisc.c \
ldver.c ldwrite.c lexsup.c mri.c
CFLAGS+= -DSCRIPTDIR=\"${DESTDIR}/usr/libdata\"
CFLAGS+= -I${SRCDIR}/ld
LDADD+= -L${RELTOP}/libbfd -lbfd
LDADD+= -L${RELTOP}/libiberty -liberty
CLEANDIRS+= ldscripts
beforedepend: ldemul-list.h
EMXFR=
EMLST=
.for _e in ${EMS}
EMXFR+= extern ld_emulation_xfer_type ${_e};
EMLST+= &${_e},
.endfor
ldemul-list.h:
echo "${EMXFR}" > ldemul-list.h
echo "#define EMULATION_LIST ${EMLST} 0" >> ldemul-list.h
afterinstall:
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${LDSCRIPTS:S|^|ldscripts/|} ${DESTDIR}${SCRIPTDIR}
.include <bsd.prog.mk>
|
Revert the order in which to clean because this way forward-declarations.h was regenerated after cleaning. | # $Id$
# Copyright W. Bangerth, University of Heidelberg, 1998
all: deal.II examples
clean: lib-clean source-clean examples-clean
deal.II:
cd source ; make
examples:
cd examples ; make
lib-clean:
-rm -f *~ include/*~ include/*/*~ include/basic/forward-declarations.h*
cd lib ; make clean
examples-clean:
cd examples ; make clean
source-clean:
cd source ; make clean
TAGS:
etags include/*/*.h source/*/*.cc
.PHONY: all deal.II examples TAGS
.PHONY: clean lib-clean examples-clean source-clean
| # $Id$
# Copyright W. Bangerth, University of Heidelberg, 1998
all: deal.II examples
clean: source-clean examples-clean lib-clean
deal.II:
cd source ; make
examples:
cd examples ; make
lib-clean:
-rm -f *~ include/*~ include/*/*~ include/basic/forward-declarations.h*
cd lib ; make clean
examples-clean:
cd examples ; make clean
source-clean:
cd source ; make clean
TAGS:
etags include/*/*.h source/*/*.cc
.PHONY: all deal.II examples TAGS
.PHONY: clean lib-clean examples-clean source-clean
|
Fix the path to the boostrap files in the components | <?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="Symfony Process Component Test Suite">
<directory>./Tests/</directory>
</testsuite>
</testsuites>
<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"
syntaxCheck="false"
bootstrap="Tests/bootstrap.php"
>
<testsuites>
<testsuite name="Symfony Process Component Test Suite">
<directory>./Tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./Resources</directory>
<directory>./Tests</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
|
Add new upstream file to libiberty. | # $FreeBSD$
.include "../Makefile.inc0"
.PATH: ${SRCDIR}/libiberty
LIB= iberty
SRCS= argv.c \
concat.c \
choose-temp.c \
cp-demangle.c \
cp-demint.c \
cplus-dem.c \
dyn-string.c \
getpwd.c \
getruntime.c \
floatformat.c \
hashtab.c \
hex.c \
lbasename.c \
lrealpath.c \
make-relative-prefix.c \
make-temp-file.c \
objalloc.c \
obstack.c \
safe-ctype.c \
xatexit.c \
xexit.c \
xmalloc.c \
xstrdup.c \
xstrerror.c
# The following files are needed by gdb(1)
SRCS+= splay-tree.c
WARNS?= 1
CFLAGS+= -DHAVE_CONFIG_H
INTERNALLIB=
.include <bsd.lib.mk>
| # $FreeBSD$
.include "../Makefile.inc0"
.PATH: ${SRCDIR}/libiberty
LIB= iberty
SRCS= argv.c \
concat.c \
choose-temp.c \
cp-demangle.c \
cp-demint.c \
cplus-dem.c \
dyn-string.c \
getpwd.c \
getruntime.c \
floatformat.c \
hashtab.c \
hex.c \
lbasename.c \
lrealpath.c \
make-relative-prefix.c \
make-temp-file.c \
objalloc.c \
obstack.c \
safe-ctype.c \
unlink-if-ordinary.c \
xatexit.c \
xexit.c \
xmalloc.c \
xstrdup.c \
xstrerror.c
# The following files are needed by gdb(1)
SRCS+= splay-tree.c
WARNS?= 1
CFLAGS+= -DHAVE_CONFIG_H
INTERNALLIB=
.include <bsd.lib.mk>
|
Remove some project specific stuff that leaked in | FROM python:3.5-alpine
WORKDIR /app
ENV PATH=/virtualenv/bin:$PATH
RUN apk update && apk upgrade
RUN apk add curl "postgresql-dev" \
"musl-dev" \
"gcc" \
"linux-headers" \
"libffi-dev" \
"zlib-dev" \
"jpeg-dev"
RUN pip install --no-cache-dir virtualenv && \
mkdir /virtualenv && \
virtualenv /virtualenv
COPY pip.conf /virtualenv/
COPY requirements.* /app/
RUN /virtualenv/bin/pip install -r requirements.in
COPY . /app
WORKDIR /app/schmusic
| FROM python:3.5-alpine
WORKDIR /app
RUN apk update && apk upgrade
RUN apk add curl "postgresql-dev" \
"musl-dev" \
"gcc" \
"linux-headers" \
"libffi-dev" \
"zlib-dev" \
"jpeg-dev"
RUN pip install --no-cache-dir virtualenv && \
mkdir /virtualenv && \
virtualenv /virtualenv
ENV PATH=/virtualenv/bin:$PATH
COPY requirements.* /code/
RUN pip install -r requirements.in
|
Exclude the template file from PHPUnit's code coverage tool | <?xml version="1.0" encoding="utf-8"?>
<!--
phpunit -c phpunit.xml
-->
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
syntaxCheck="true"
forceCoversAnnotation="true"
bootstrap="./vendor/autoload.php">
<testsuites>
<testsuite name="unit">
<directory>./tests/UnitTest/</directory>
</testsuite>
<testsuite name="integration">
<directory>./tests/IntegrationTest/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
</whitelist>
</filter>
</phpunit>
| <?xml version="1.0" encoding="utf-8"?>
<!--
phpunit -c phpunit.xml
-->
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
syntaxCheck="true"
forceCoversAnnotation="true"
bootstrap="./vendor/autoload.php">
<testsuites>
<testsuite name="unit">
<directory>./tests/UnitTest/</directory>
</testsuite>
<testsuite name="integration">
<directory>./tests/IntegrationTest/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
<exclude>
<file>src/DI/Compiler/Template.php</file>
</exclude>
</whitelist>
</filter>
</phpunit>
|
Adjust error_reporting to allow deprecation messages for 3.0 | <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
>
<testsuites>
<testsuite name="Symfony Validator Component Test Suite">
<directory>./Tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./vendor</directory>
<directory>./Tests</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
>
<php>
<!-- Disable E_USER_DEPRECATED until 3.0 -->
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
<ini name="error_reporting" value="-16385"/>
</php>
<testsuites>
<testsuite name="Symfony Validator Component Test Suite">
<directory>./Tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./vendor</directory>
<directory>./Tests</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
|
Add directory whitelist for code coverage | <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="true"
backupStaticAttributes="true"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="true"
verbose="true">
<testsuites>
<testsuite name="OTPAuthenticate Test Suite">
<directory suffix=".php">./tests</directory>
</testsuite>
</testsuites>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="true"
backupStaticAttributes="true"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="true"
verbose="true">
<testsuites>
<testsuite name="OTPAuthenticate Test Suite">
<directory suffix=".php">./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">./lib/</directory>
</whitelist>
</filter>
</phpunit>
|
Change file name to remove after build | FROM kveroneau/fpc:3.2.0
RUN mkdir /code
WORKDIR /code
CMD cd $PROBLEM && \
if [ "$(find . -name '*.pas' | wc -l)" -eq 1 ]; then \
fpc -opas.out *.pas > /dev/null; \
if [ -f in.txt ]; then \
./pas.out < in.txt > result-pas.txt; \
else \
./pas.out > result-pas.txt; \
fi; \
rm -rf 1000.o pas.out; \
fi
| FROM kveroneau/fpc:3.2.0
RUN mkdir /code
WORKDIR /code
CMD cd $PROBLEM && \
if [ "$(find . -name '*.pas' | wc -l)" -eq 1 ]; then \
fpc -opas.out *.pas > /dev/null; \
if [ -f in.txt ]; then \
./pas.out < in.txt > result-pas.txt; \
else \
./pas.out > result-pas.txt; \
fi; \
rm -rf *.o pas.out; \
fi
|
Comment out the XIDLE extension stuff, it breaks make world on systems with Xinside's CDE installed | # $Id: Makefile,v 1.2 1993/11/10 03:46:04 smace Exp $
PROG = rpc.rusersd
SRCS = rusersd.c rusers_proc.c
MAN8 = rpc.rusersd.8
DPADD= ${LIBRPCSVC} ${LIBUTIL}
LDADD= -lrpcsvc -lutil
.if exists(/usr/include/X11/extensions/xidle.h)
CFLAGS+= -DXIDLE
LDADD+= -L/usr/X386/lib -lXext -lX11
.endif
.include <bsd.prog.mk>
| # $Id: Makefile,v 1.1.1.1 1994/08/28 14:53:44 csgr Exp $
PROG = rpc.rusersd
SRCS = rusersd.c rusers_proc.c
MAN8 = rpc.rusersd.8
DPADD= ${LIBRPCSVC} ${LIBUTIL}
LDADD= -lrpcsvc -lutil
#.if exists(/usr/include/X11/extensions/xidle.h)
#CFLAGS+= -DXIDLE
#LDADD+= -L/usr/X386/lib -lXext -lX11
#.endif
.include <bsd.prog.mk>
|
Use whitelist intead of blacklist to get code coverage. | <?xml version="1.0" encoding="UTF-8"?>
<phpunit
colors="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="./tests/bootstrap.php"
>
<php>
<ini name="memory_limit" value="-1"/>
<ini name="apc.enable_cli" value="1"/>
</php>
<!-- Add any additional test suites you want to run here -->
<testsuites>
<testsuite name="CsvView Test Suite">
<directory>./tests/TestCase</directory>
</testsuite>
</testsuites>
<!-- Setup a listener for fixtures -->
<listeners>
<listener
class="\Cake\TestSuite\Fixture\FixtureInjector"
file="./vendor/cakephp/cakephp/src/TestSuite/Fixture/FixtureInjector.php">
<arguments>
<object class="\Cake\TestSuite\Fixture\FixtureManager" />
</arguments>
</listener>
</listeners>
<!-- Prevent coverage reports from looking in tests and vendors -->
<filter>
<blacklist>
<directory suffix=".php">./config/</directory>
<directory suffix=".php">./vendor/</directory>
<directory suffix=".ctp">./vendor/</directory>
<directory suffix=".php">./tests/</directory>
<directory suffix=".ctp">./tests/</directory>
</blacklist>
</filter>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<phpunit
colors="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="./tests/bootstrap.php"
>
<php>
<ini name="memory_limit" value="-1"/>
<ini name="apc.enable_cli" value="1"/>
</php>
<!-- Add any additional test suites you want to run here -->
<testsuites>
<testsuite name="CsvView Test Suite">
<directory>./tests/TestCase</directory>
</testsuite>
</testsuites>
<!-- Setup a listener for fixtures -->
<listeners>
<listener
class="\Cake\TestSuite\Fixture\FixtureInjector"
file="./vendor/cakephp/cakephp/src/TestSuite/Fixture/FixtureInjector.php">
<arguments>
<object class="\Cake\TestSuite\Fixture\FixtureManager" />
</arguments>
</listener>
</listeners>
<filter>
<whitelist>
<directory suffix=".php">./src/</directory>
<directory suffix=".ctp">./src/</directory>
</whitelist>
</filter>
</phpunit>
|
Add variable to enable stacktrace on rust | FROM rust:1.48
RUN mkdir /code
WORKDIR /code
CMD cd $PROBLEM && \
if [ "$(find . -name '*.rs' | wc -l)" -eq 1 ]; then \
rustc -o main *.rs; \
if [ -f in.txt ]; then \
./main < in.txt > result-rs.txt; \
else \
./main > result-rs.txt; \
fi; \
rm -rf main; \
fi
| FROM rust:1.48
ENV RUST_BACKTRACE 1
RUN mkdir /code
WORKDIR /code
CMD cd $PROBLEM && \
if [ "$(find . -name '*.rs' | wc -l)" -eq 1 ]; then \
rustc -o main *.rs; \
if [ -f in.txt ]; then \
./main < in.txt > result-rs.txt; \
else \
./main > result-rs.txt; \
fi; \
rm -rf main; \
fi
|
Fix ITK targets within find_package() | # Find the ParameterSerializer includes and library
#
# ParameterSerializer_INCLUDE_DIRS - list of directories with headers.
# ParameterSerializer_LIBRARIES - list of libraries to link against.
# ParameterSerializer_FOUND - set to 1 if found.
set( ParameterSerializer_FOUND 1 )
get_filename_component( ParameterSerializer_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH )
set( ParameterSerializer_INCLUDE_DIRS "@ParameterSerializer_INCLUDE_DIRS@" )
# We need to let CMake know the location of the json library.
set( used_jsoncpp_config "@JsonCpp_DIR@/JsonCppConfig.cmake" )
if( NOT DEFINED JsonCpp_LIBRARIES AND EXISTS "${used_jsoncpp_config}" )
include( "${used_jsoncpp_config}" )
endif()
if( NOT ParameterSerializer_TARGETS_IMPORTED AND NOT ParameterSerializer_BINARY_DIR )
set( ParameterSerializer_TARGETS_IMPORTED 1 )
include( "${ParameterSerializer_CMAKE_DIR}/ParameterSerializerTargets.cmake" )
endif()
set( ParameterSerializer_LIBRARIES "@ParameterSerializer_LIBRARIES@" )
| # Find the ParameterSerializer includes and library
#
# ParameterSerializer_INCLUDE_DIRS - list of directories with headers.
# ParameterSerializer_LIBRARIES - list of libraries to link against.
# ParameterSerializer_FOUND - set to 1 if found.
set( ParameterSerializer_FOUND 1 )
get_filename_component( ParameterSerializer_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH )
set( ParameterSerializer_INCLUDE_DIRS "@ParameterSerializer_INCLUDE_DIRS@" )
find_package(ITK REQUIRED)
set(ITK_FOUND FALSE)
# We need to let CMake know the location of the json library.
set( used_jsoncpp_config "@JsonCpp_DIR@/JsonCppConfig.cmake" )
if( NOT DEFINED JsonCpp_LIBRARIES AND EXISTS "${used_jsoncpp_config}" )
include( "${used_jsoncpp_config}" )
endif()
if( NOT ParameterSerializer_TARGETS_IMPORTED AND NOT ParameterSerializer_BINARY_DIR )
set( ParameterSerializer_TARGETS_IMPORTED 1 )
include( "${ParameterSerializer_CMAKE_DIR}/ParameterSerializerTargets.cmake" )
endif()
set( ParameterSerializer_LIBRARIES "@ParameterSerializer_LIBRARIES@" )
|
Add a PAE(4) MLINK for simplicity. | # $FreeBSD$
MAN= aic.4 alpm.4 amdpm.4 apm.4 ar.4 asc.4 \
cs.4 cx.4 cy.4 \
dgb.4 el.4 ep.4 ex.4 fe.4 gsc.4 \
ie.4 io.4 le.4 linux.4 lnc.4 longrun.4 mcd.4 \
meteor.4 mse.4 npx.4 \
pae.4 pcf.4 perfmon.4 pnp.4 pnpbios.4 \
ray.4 rdp.4 sbni.4 smapi.4 scd.4 \
spkr.4 sr.4 streams.4 svr4.4 \
tx.4 viapm.4 vpd.4 vx.4 \
wd.4 wl.4 wt.4
MLINKS= spkr.4 speaker.4
MLINKS+=sbni.4 if_sbni.4
MANSUBDIR=/i386
.include <bsd.prog.mk>
| # $FreeBSD$
MAN= aic.4 alpm.4 amdpm.4 apm.4 ar.4 asc.4 \
cs.4 cx.4 cy.4 \
dgb.4 el.4 ep.4 ex.4 fe.4 gsc.4 \
ie.4 io.4 le.4 linux.4 lnc.4 longrun.4 mcd.4 \
meteor.4 mse.4 npx.4 \
pae.4 pcf.4 perfmon.4 pnp.4 pnpbios.4 \
ray.4 rdp.4 sbni.4 smapi.4 scd.4 \
spkr.4 sr.4 streams.4 svr4.4 \
tx.4 viapm.4 vpd.4 vx.4 \
wd.4 wl.4 wt.4
MLINKS=pae.4 PAE.4
MLINKS+=spkr.4 speaker.4
MLINKS+=sbni.4 if_sbni.4
MANSUBDIR=/i386
.include <bsd.prog.mk>
|
Install cryptography package in stdlib builder | 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 wheel \
&& 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 wheel \
&& pip3 install mkdocs \
&& pip3 install cryptography==3.3 \
&& pip3 install mkdocs-ponylang
|
Drop the use of Bison for Byacc now that we don't need to depend on the --broken-undeftoken-init Bison 1.25 bug. | # $FreeBSD$
.include "../Makefile.inc"
.PATH: ${GCCDIR}/cp
YACC= bison --broken-undeftoken-init
PROG= cc1plus
SRCS= parse.c parse.h
SRCS+= call.c class.c cvt.c decl.c decl2.c errfn.c error.c except.c expr.c \
friend.c init.c lex.c method.c pt.c ptree.c repo.c rtti.c \
search.c semantics.c sig.c spew.c tree.c typeck.c typeck2.c xref.c
BINDIR= /usr/libexec
NOMAN= 1
NOSHARED=yes
CFLAGS+= -I${GCCDIR}/cp -I.
DPADD+= ${LIBCC_INT}
LDADD+= ${LIBCC_INT}
.ORDER: parse.c parse.h
parse.c parse.h: parse.y
${YACC} -d -o parse.c ${GCCDIR}/cp/parse.y
grep '^#define[ ]*YYEMPTY' parse.c >>parse.h
CLEANFILES+= parse.c parse.h
CPPHDRS= exception new new.h typeinfo
beforeinstall:
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
${CPPHDRS:S;^;${GCCDIR}/cp/inc/;} \
${DESTDIR}/usr/include/g++
.include <bsd.prog.mk>
| # $FreeBSD$
.include "../Makefile.inc"
.PATH: ${GCCDIR}/cp
PROG= cc1plus
SRCS= parse.c parse.h
SRCS+= call.c class.c cvt.c decl.c decl2.c errfn.c error.c except.c expr.c \
friend.c init.c lex.c method.c pt.c ptree.c repo.c rtti.c \
search.c semantics.c sig.c spew.c tree.c typeck.c typeck2.c xref.c
BINDIR= /usr/libexec
NOMAN= 1
NOSHARED=yes
CFLAGS+= -I${GCCDIR}/cp -I.
DPADD+= ${LIBCC_INT}
LDADD+= ${LIBCC_INT}
.ORDER: parse.c parse.h
parse.c parse.h: parse.y
${YACC} -d -o parse.c ${GCCDIR}/cp/parse.y
grep '^#define[ ]*YYEMPTY' parse.c >>parse.h
CLEANFILES+= parse.c parse.h
CPPHDRS= exception new new.h typeinfo
beforeinstall:
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
${CPPHDRS:S;^;${GCCDIR}/cp/inc/;} \
${DESTDIR}/usr/include/g++
.include <bsd.prog.mk>
|
Install Kaleb's iso_8859_1 by default. | # @(#)Makefile 8.1 (Berkeley) 6/7/93
PROG= mklocale
SRCS= yacc.c lex.c
CFLAGS+=-I.
CLEANFILES+=y.tab.h yacc.c lex.c
MAN1= mklocale.1
LOCALES= ja_JP.EUC ru_SU.KOI8-R
LOCALEDIR= ${DESTDIR}/usr/share/locale
afterinstall:
-if [ -d ${LOCALEDIR} ]; then true; else mkdir -p ${LOCALEDIR}; fi
for locale in ${LOCALES}; do \
mkdir -p ${LOCALEDIR}/$$locale || true; \
mklocale -o ${LOCALEDIR}/$$locale/LC_CTYPE ${.CURDIR}/$$locale; \
chmod ${BINMODE} ${LOCALEDIR}/$$locale; \
done
chown -R ${BINOWN}.${BINGRP} ${LOCALEDIR}
.include <bsd.prog.mk>
| # @(#)Makefile 8.1 (Berkeley) 6/7/93
PROG= mklocale
SRCS= yacc.c lex.c
CFLAGS+=-I.
CLEANFILES+=y.tab.h yacc.c lex.c
MAN1= mklocale.1
LOCALES= ja_JP.EUC ru_SU.KOI8-R iso_8859_1
LOCALEDIR= ${DESTDIR}/usr/share/locale
afterinstall:
-if [ -d ${LOCALEDIR} ]; then true; else mkdir -p ${LOCALEDIR}; fi
for locale in ${LOCALES}; do \
mkdir -p ${LOCALEDIR}/$$locale || true; \
mklocale -o ${LOCALEDIR}/$$locale/LC_CTYPE ${.CURDIR}/$$locale; \
chmod ${BINMODE} ${LOCALEDIR}/$$locale; \
done
chown -R ${BINOWN}.${BINGRP} ${LOCALEDIR}
.include <bsd.prog.mk>
|
Fix beforeinstall target: use chflags /usr/bin/chpass ONLY if chpass present | # @(#)Makefile 8.2 (Berkeley) 4/2/94
PROG= chpass
SRCS= chpass.c edit.c field.c pw_copy.c pw_scan.c pw_util.c table.c util.c
BINOWN= root
BINMODE=4555
.PATH: ${.CURDIR}/../../usr.sbin/pwd_mkdb ${.CURDIR}/../../usr.sbin/vipw
CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../usr.sbin/vipw
LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
beforeinstall:
chflags noschg /usr/bin/chpass
afterinstall:
chflags schg /usr/bin/chpass
.include <bsd.prog.mk>
| # @(#)Makefile 8.2 (Berkeley) 4/2/94
PROG= chpass
SRCS= chpass.c edit.c field.c pw_copy.c pw_scan.c pw_util.c table.c util.c
BINOWN= root
BINMODE=4555
.PATH: ${.CURDIR}/../../usr.sbin/pwd_mkdb ${.CURDIR}/../../usr.sbin/vipw
CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../usr.sbin/vipw
LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
beforeinstall:
[ -r /usr/bin/chpass ] && chflags noschg /usr/bin/chpass
afterinstall:
chflags schg /usr/bin/chpass
.include <bsd.prog.mk>
|
Increase default iterations for random tests | <?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"
>
<php>
<!--
When running tests that repeat random results to achieve an
average, set the base number of iterations required.
Larger values will result in fewer false failures, but will take
longer to run.
Default: 1000
-->
<const name="RANDOM_BASE_ITERATIONS" value="1000"/>
</php>
<testsuites>
<testsuite name="DrupalReleaseDate Test Suite">
<directory>./tests/DrupalReleaseDate/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./src</directory>
<exclude>
<file>./src/bootstrap.php</file>
<file>./src/app.php</file>
</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="tests/bootstrap.php"
>
<php>
<!--
When running tests that repeat random results to achieve an
average, set the base number of iterations required.
Larger values will result in fewer false failures, but will take
longer to run.
Default: 1000
-->
<const name="RANDOM_BASE_ITERATIONS" value="4000"/>
</php>
<testsuites>
<testsuite name="DrupalReleaseDate Test Suite">
<directory>./tests/DrupalReleaseDate/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./src</directory>
<exclude>
<file>./src/bootstrap.php</file>
<file>./src/app.php</file>
</exclude>
</whitelist>
</filter>
</phpunit>
|
Move tmp package out of package root directory. | #!/usr/bin/env bash
scirunbuild_dir=@CMAKE_BINARY_DIR@
productroot_dir=@PKG_ROOT_DIR@
if [[ ! -e $productroot_dir ]]; then
echo "$productroot_dir does not exist"
exit 1
fi
@PKGBUILD_EXE@ --analyze --root $productroot_dir $scirunbuild_dir/@CPACK_PACKAGE_NAME@.plist
@PKGBUILD_EXE@ --identifier edu.utah.sci.@CPACK_PACKAGE_NAME@ --root $productroot_dir \
--component-plist $scirunbuild_dir/@CPACK_PACKAGE_NAME@.plist \
--install-location /Applications $scirunbuild_dir/@CPACK_PACKAGE_NAME@.pkg
@PRODUCTBUILD_EXE@ --distribution $scirunbuild_dir/CPack.Distribution.dist \
--package-path $productroot_dir $productroot_dir/tmp.pkg
# Tip: pkgutil --expand can be used to debug package building
@PKGUTIL_EXE@ --expand $productroot_dir/tmp.pkg $productroot_dir/tmp
@PKGUTIL_EXE@ --flatten $productroot_dir/tmp $scirunbuild_dir/@PKG_FILE_NAME@.pkg
rm -f $scirunbuild_dir/@CPACK_PACKAGE_NAME@.pkg $scirunbuild_dir/@CPACK_PACKAGE_NAME@.plist
rm -Rf $productroot_dir/tmp
| #!/usr/bin/env bash
scirunbuild_dir=@CMAKE_BINARY_DIR@
productbuild_dir=@PKG_BUILD_DIR@
productroot_dir=@PKG_ROOT_DIR@
if [[ ! -e $productroot_dir ]]; then
echo "$productroot_dir does not exist"
exit 1
fi
@PKGBUILD_EXE@ --analyze --root $productroot_dir $scirunbuild_dir/@CPACK_PACKAGE_NAME@.plist
@PKGBUILD_EXE@ --identifier edu.utah.sci.@CPACK_PACKAGE_NAME@ --root $productroot_dir \
--component-plist $scirunbuild_dir/@CPACK_PACKAGE_NAME@.plist \
--install-location /Applications $scirunbuild_dir/@CPACK_PACKAGE_NAME@.pkg
@PRODUCTBUILD_EXE@ --distribution $scirunbuild_dir/CPack.Distribution.dist \
--package-path $productroot_dir $productbuild_dir/tmp.pkg
# Tip: pkgutil --expand can be used to debug package building
@PKGUTIL_EXE@ --expand $productbuild_dir/tmp.pkg $productbuild_dir/tmp
@PKGUTIL_EXE@ --flatten $productbuild_dir/tmp $scirunbuild_dir/@PKG_FILE_NAME@.pkg
rm -f $scirunbuild_dir/@CPACK_PACKAGE_NAME@.pkg $scirunbuild_dir/@CPACK_PACKAGE_NAME@.plist
rm -Rf $productbuild_dir/tmp
|
Remove deprecated PHPUnit strict configuration | <?xml version="1.0" encoding="utf-8"?>
<phpunit
bootstrap="test/units/bootstrap.php"
colors="true"
stopOnError="false"
stopOnFailure="false"
stopOnSkipped="false"
stopOnIncomplete="false"
strict="true"
verbose="false"
mapTestClassNameToCoveredClassName="true"
>
<testsuites>
<testsuite name="Bee4">
<directory phpVersion="5.4.0" phpVersionOperator=">=">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/units/bootstrap.php"
colors="true"
stopOnError="false"
stopOnFailure="false"
stopOnSkipped="false"
stopOnIncomplete="false"
verbose="false"
mapTestClassNameToCoveredClassName="true"
>
<testsuites>
<testsuite name="Bee4">
<directory phpVersion="5.4.0" phpVersionOperator=">=">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> |
Move from Ubuntu to Alpine | FROM ubuntu:18.04
RUN apt update && apt install shellcheck
RUN mkdir /code
WORKDIR /code
| FROM alpine:latest
RUN apk -U upgrade && apk add shellcheck
RUN mkdir /code
WORKDIR /code
|
Fix the base image of Dockerfile on py3.7-alpine3.8-selenium | FROM python:3.6-alpine3.7
# update apk repo
RUN echo "http://dl-4.alpinelinux.org/alpine/v3.7/main" >> /etc/apk/repositories && \
echo "http://dl-4.alpinelinux.org/alpine/v3.7/community" >> /etc/apk/repositories
# install chromedriver
RUN apk update
RUN apk add chromium chromium-chromedriver
# install selenium
RUN pip install selenium==3.13.0
| FROM python:3.7-alpine3.8
# update apk repo
RUN echo "http://dl-4.alpinelinux.org/alpine/v3.7/main" >> /etc/apk/repositories && \
echo "http://dl-4.alpinelinux.org/alpine/v3.7/community" >> /etc/apk/repositories
# install chromedriver
RUN apk update
RUN apk add chromium chromium-chromedriver
# install selenium
RUN pip install selenium==3.13.0
|
Refactor Dockerfile, add virtualenv properly | FROM pl31/debian:stretch
MAINTAINER Patrick Büch <dh@paco.pl31.de>
# install services
RUN apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install \
python3-pip \
jupyter-notebook jupyter-client jupyter-core \
jupyter-nbconvert jupyter-nbformat \
jupyter-nbextension-jupyter-js-widgets python3-ipywidgets
# bad enough debian notebook (4.2.3) is somehow broken or incompatible
RUN pip3 install --no-cache-dir "notebook>4.3,<5"
# add user jupyter to run jupyter
RUN useradd --create-home jupyter
# install pgcontents and run it once to test dependencies
RUN apt-get -y install python3-requests python3-alembic python3-psycopg2 python3-click \
tox python3-nose && \
pip3 install --no-cache-dir pgcontents && \
pgcontents --help
# runtime configuration
CMD runuser -l jupyter -c \
'jupyter notebook --no-browser --no-mathjax --ip=* --port=8888'
# expose ports
EXPOSE 8888
| FROM pl31/debian:stretch
MAINTAINER Patrick Büch <dh@paco.pl31.de>
USER root
# install services
RUN apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install \
python3-pip virtualenv \
jupyter-notebook jupyter-client jupyter-core \
jupyter-nbconvert jupyter-nbformat \
jupyter-nbextension-jupyter-js-widgets python3-ipywidgets
# dependencies for jupyter-contrib-nbextensions
RUN apt-get -y install \
python3-lxml python3-yaml
# add user jupyter to run jupyter
RUN useradd --create-home jupyter
USER jupyter
# create virtual environment and activate it
RUN virtualenv -p python3 --system-site-packages ~/jupyterenv
# install latest notebook 4 + nbextensions
# and activate nbextensions
RUN bash -c "source ~/jupyterenv/bin/activate && \
pip install --no-cache-dir \
'notebook<5,>4.3' \
'jupyter-core<5,>4.3' \
'jupyter-contrib-nbextensions' && \
jupyter contrib nbextension install --user && \
jupyter nbextensions_configurator enable --user" && \
mkdir ~/notebooks
USER root
# install dependencies for pgcontents
# run pgcontents once to test dependencies
RUN apt-get -y install python3-requests python3-alembic \
python3-psycopg2 python3-click \
tox python3-nose
USER jupyter
# Install pgcontents and run once to test dependencies
RUN bash -c "source ~/jupyterenv/bin/activate && \
pip install --no-cache-dir pgcontents && \
pgcontents --help"
# runtime configuration
CMD bash -c "source ~/jupyterenv/bin/activate && \
cd ~/notebooks && \
jupyter notebook --no-browser --no-mathjax --ip=* --port=8888"
# expose ports
EXPOSE 8888
|
Clean up apk installs in alpine docker latest | FROM alpine:3.12
ENV PATH "/root/.local/share/ponyup/bin:$PATH"
RUN apk add --update --no-cache \
binutils-gold \
build-base \
clang \
curl \
git \
libexecinfo-dev \
libexecinfo-static
RUN sh -c "$(curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/ponylang/ponyup/latest-release/ponyup-init.sh)" \
&& ponyup update ponyc nightly --platform=musl\
&& ponyup update stable nightly \
&& ponyup update corral nightly \
&& ponyup update changelog-tool nightly
WORKDIR /src/main
CMD ["ponyc"]
| FROM alpine:3.12
ENV PATH "/root/.local/share/ponyup/bin:$PATH"
RUN apk add --update --no-cache \
clang \
curl \
build-base \
binutils-gold \
libexecinfo-dev \
libexecinfo-static \
git
RUN sh -c "$(curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/ponylang/ponyup/latest-release/ponyup-init.sh)" \
&& ponyup update ponyc nightly --platform=musl\
&& ponyup update stable nightly \
&& ponyup update corral nightly \
&& ponyup update changelog-tool nightly
WORKDIR /src/main
CMD ["ponyc"]
|
Install c++filt in /usr/libexec/${OBJFORMAT}. The version that was installed in /usr/bin normally got clobbered when objformat was installed. Indirection through objformat is correct although underscore handling is the only thing that differs for aout and elf -- going through objformat is the easiest way to set c++filt's underscore handling flag correctly. | #
# $Id: Makefile,v 1.5 1999/04/04 16:36:31 obrien Exp $
#
.include "../Makefile.inc"
.PATH: ${GCCDIR}
PROG = c++filt
SRCS = cplus-dem.c getopt.c getopt1.c underscore.c
NOMAN= 1
CFLAGS+= -DMAIN -DIN_GCC -DVERSION=\"$(version)\"
CLEANFILES= tmp-dum.c tmp-dum.s underscore.c
underscore.c:
echo "int xxy_us_dummy;" >tmp-dum.c
${CC} -S tmp-dum.c
echo '/*WARNING: This file is automatically generated!*/' >underscore.c
if grep _xxy_us_dummy tmp-dum.s > /dev/null ; then \
echo "int prepends_underscore = 1;" >>underscore.c; \
else \
echo "int prepends_underscore = 0;" >>underscore.c; \
fi
rm -f tmp-dum.c tmp-dum.s
.include <bsd.prog.mk>
| #
# $Id: Makefile,v 1.6 1999/07/04 15:51:39 bde Exp $
#
.include "../Makefile.inc"
.PATH: ${GCCDIR}
PROG = c++filt
SRCS = cplus-dem.c getopt.c getopt1.c underscore.c
BINDIR= /usr/libexec/${OBJFORMAT}
NOMAN= 1
CFLAGS+= -DMAIN -DIN_GCC -DVERSION=\"$(version)\"
CLEANFILES= tmp-dum.c tmp-dum.s underscore.c
underscore.c:
echo "int xxy_us_dummy;" >tmp-dum.c
${CC} -S tmp-dum.c
echo '/*WARNING: This file is automatically generated!*/' >underscore.c
if grep _xxy_us_dummy tmp-dum.s > /dev/null ; then \
echo "int prepends_underscore = 1;" >>underscore.c; \
else \
echo "int prepends_underscore = 0;" >>underscore.c; \
fi
rm -f tmp-dum.c tmp-dum.s
.include <bsd.prog.mk>
|
Install zlib for building nokogiri and link cc/c++. | FROM ubuntu:14.04
RUN locale-gen en_US.UTF-8
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
RUN apt-get update && apt-get install -y \
bzip2 \
libyaml-0-2 \
libssl1.0.0 \
clang-3.6 \
libedit-dev \
make
ADD https://rubinius-binaries-rubinius-com.s3-us-west-2.amazonaws.com/ubuntu/14.04/x86_64/rubinius-3.60.tar.bz2 /tmp/rubinius.tar.bz2
RUN cd /opt && tar xvjf /tmp/rubinius.tar.bz2
ENV PATH /opt/rubinius/3.60/bin:/opt/rubinius/3.60/gems/bin:$PATH
CMD ["bash"]
| FROM ubuntu:14.04
RUN locale-gen en_US.UTF-8
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
RUN apt-get update && apt-get install -y \
bzip2 \
libyaml-0-2 \
libssl1.0.0 \
clang-3.6 \
libedit-dev \
zlib1g-dev \
make
ADD https://rubinius-binaries-rubinius-com.s3-us-west-2.amazonaws.com/ubuntu/14.04/x86_64/rubinius-3.60.tar.bz2 /tmp/rubinius.tar.bz2
RUN cd /opt && tar xvjf /tmp/rubinius.tar.bz2
RUN ln -sf `which clang-3.6` /usr/bin/cc
RUN ln -sf `which clang++-3.6` /usr/bin/c++
ENV PATH /opt/rubinius/3.60/bin:/opt/rubinius/3.60/gems/bin:$PATH
CMD ["bash"]
|
Change php timezone and memory limit | FROM magnum/php-build
MAINTAINER Dan Sosedoff "dan@magnum-ci.com"
# Install PHP runtime
RUN php-build -i development --pear 5.4.25 /usr/local
# Install PHPUnit
RUN pear channel-discover pear.phpunit.de
RUN pear install phpunit/PHPUnit
# Install composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer | FROM magnum/php-build
MAINTAINER Dan Sosedoff "dan@magnum-ci.com"
# Install PHP runtime
RUN php-build -i development --pear 5.4.25 /usr/local
# Tweak PHP configuration
RUN sed -i "/;date.timezone =/c\date.timezone = UTC" /usr/local/etc/php.ini
RUN sed -i "/memory_limit = /c\memory_limit = 512M" /usr/local/etc/php.ini
# Install PHPUnit
RUN pear channel-discover pear.phpunit.de
RUN pear install phpunit/PHPUnit
# Install composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer |
Add ruby. Must... fix... group... code! | INSTALLDIR= ${DESTDIR}${prefix}/share/darwinports/resources/port1.0/group
RSRCS= perl5-1.0.tcl python-1.0.tcl zope-1.0.tcl
include ../../../../Mk/dports.autoconf.mk
all:
clean:
distclean:
install:
$(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${INSTALLDIR}
$(SILENT)set -x; for file in ${RSRCS}; do \
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}; \
done
| INSTALLDIR= ${DESTDIR}${prefix}/share/darwinports/resources/port1.0/group
RSRCS= perl5-1.0.tcl python-1.0.tcl ruby-1.0.tcl zope-1.0.tcl
include ../../../../Mk/dports.autoconf.mk
all:
clean:
distclean:
install:
$(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${INSTALLDIR}
$(SILENT)set -x; for file in ${RSRCS}; do \
$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}; \
done
|
Add all rqlite binaries to 6.8.0 | FROM alpine:latest
MAINTAINER Philip O'Toole <philip.otoole@yahoo.com>
ENV RQLITE_VERSION=6.8.0
RUN apk update && \
apk --no-cache add curl tar && \
curl -L https://github.com/rqlite/rqlite/releases/download/v${RQLITE_VERSION}/rqlite-v${RQLITE_VERSION}-linux-amd64-musl.tar.gz -o rqlite-v${RQLITE_VERSION}-linux-amd64-musl.tar.gz && \
tar xvfz rqlite-v${RQLITE_VERSION}-linux-amd64-musl.tar.gz && \
cp rqlite-v${RQLITE_VERSION}-linux-amd64-musl/rqlited /bin && \
rm -fr rqlite-v${RQLITE_VERSION}-linux-amd64-musl rqlite-v${RQLITE_VERSION}-linux-amd64-musl.tar.gz && \
apk del curl tar
RUN mkdir -p /rqlite/file
VOLUME /rqlite/file
EXPOSE 4001 4002
COPY docker-entrypoint.sh /bin/docker-entrypoint.sh
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["rqlite"]
| FROM alpine:latest
MAINTAINER Philip O'Toole <philip.otoole@yahoo.com>
ENV RQLITE_VERSION=6.8.0
RUN apk update && \
apk --no-cache add curl tar && \
curl -L https://github.com/rqlite/rqlite/releases/download/v${RQLITE_VERSION}/rqlite-v${RQLITE_VERSION}-linux-amd64-musl.tar.gz -o rqlite-v${RQLITE_VERSION}-linux-amd64-musl.tar.gz && \
tar xvfz rqlite-v${RQLITE_VERSION}-linux-amd64-musl.tar.gz && \
cp rqlite-v${RQLITE_VERSION}-linux-amd64-musl/* /bin && \
rm -fr rqlite-v${RQLITE_VERSION}-linux-amd64-musl rqlite-v${RQLITE_VERSION}-linux-amd64-musl.tar.gz && \
apk del curl tar
RUN mkdir -p /rqlite/file
VOLUME /rqlite/file
EXPOSE 4001 4002
COPY docker-entrypoint.sh /bin/docker-entrypoint.sh
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["rqlite"]
|
Kill old Kerberos password-changing support: | # From: @(#)Makefile 8.3 (Berkeley) 4/2/94
# $Id: Makefile,v 1.4 1994/09/29 13:05:44 csgr Exp $
PROG= passwd
SRCS= local_passwd.c passwd.c pw_copy.c pw_util.c
LDADD= -lcrypt
.PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \
${.CURDIR}/../rlogin
CFLAGS+=-DCRYPT -I${.CURDIR} -I${.CURDIR}/../../usr.sbin/vipw \
-I${.CURDIR}/../../usr.bin/chpass
.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \
|| defined(MAKE_EBONES))
SRCS+= krb_passwd.c
CFLAGS+=-DKERBEROS
LDADD+=-lkrb -ldes
DPADD= ${LIBKRB} ${LIBDES}
DISTRIBUTION= krb
.endif
BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg
.include <bsd.prog.mk>
| # From: @(#)Makefile 8.3 (Berkeley) 4/2/94
# $Id: Makefile,v 1.5 1994/11/20 23:21:06 wollman Exp $
PROG= passwd
SRCS= local_passwd.c passwd.c pw_copy.c pw_util.c
LDADD= -lcrypt
.PATH: ${.CURDIR}/../../usr.bin/chpass ${.CURDIR}/../../usr.sbin/vipw \
${.CURDIR}/../rlogin
CFLAGS+=-DCRYPT -I${.CURDIR} -I${.CURDIR}/../../usr.sbin/vipw \
-I${.CURDIR}/../../usr.bin/chpass
BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg
.include <bsd.prog.mk>
|
Make the SUBDIR list more granular to assist in my GCC hacking. | # $FreeBSD$
# The order of some of these are rather important. Some depend on previous
# subdirs.
SUBDIR= cc_fbsd cc_tools cc_int cccp cpp cc1 cc cc1plus c++ c++filt doc
.if !defined(NO_OBJC)
SUBDIR+= cc1obj
.endif
.if !defined(NO_FORTRAN)
SUBDIR+= f77 f771 f77doc
.endif
.include <bsd.subdir.mk>
| # $FreeBSD$
# The order of some of these are rather important. Some depend on previous
# subdirs.
SUBDIR= cc_fbsd cc_tools cc_int cccp cc1 cc
.if !defined(NO_CPP)
SUBDIR+= cpp
.endif
.if !defined(NO_CXX)
SUBDIR+= cc1plus c++ c++filt doc
.endif
.if !defined(NO_OBJC)
SUBDIR+= cc1obj
.endif
.if !defined(NO_FORTRAN)
SUBDIR+= f77 f771 f77doc
.endif
.include <bsd.subdir.mk>
|
Fix 'make world' breakage caused by missing comment character. | $FreeBSD$
PROG= burncd
MAN8= burncd.8
.include <bsd.prog.mk>
| # $FreeBSD$
PROG= burncd
MAN8= burncd.8
.include <bsd.prog.mk>
|
Hide pay with amazon button if the payment method hasn't been configured | <!-- insert_bottom "[data-hook='cart_buttons']" -->
<%= render :partial => "spree/amazon/login" %>
| <!-- insert_bottom "[data-hook='cart_buttons']" -->
<% if Spree::Gateway::Amazon.count > 0 %>
<%= render :partial => "spree/amazon/login" %>
<% end %>
|
Put Characters in the Utilities folder | [Desktop Entry]
Type=Application
_Name=Characters
_Comment=Utility application to find and insert unusual characters
Icon=gnome-characters
Exec=gapplication launch org.gnome.Characters
DBusActivatable=true
StartupNotify=true
Categories=GNOME;GTK;Utility;
_Keywords=characters;unicode;
| [Desktop Entry]
Type=Application
_Name=Characters
_Comment=Utility application to find and insert unusual characters
Icon=gnome-characters
Exec=gapplication launch org.gnome.Characters
DBusActivatable=true
StartupNotify=true
Categories=GNOME;GTK;Utility;X-GNOME-Utilities;
_Keywords=characters;unicode;
|
Adjust error_reporting to allow deprecation messages for 3.0 | <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
>
<testsuites>
<testsuite name="Symfony DependencyInjection Component Test Suite">
<directory>./Tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./Resources</directory>
<directory>./Tests</directory>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
>
<php>
<!-- Disable E_USER_DEPRECATED until 3.0 -->
<!-- php -r 'echo -1 & ~E_USER_DEPRECATED;' -->
<ini name="error_reporting" value="-16385"/>
</php>
<testsuites>
<testsuite name="Symfony DependencyInjection Component Test Suite">
<directory>./Tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory>./Resources</directory>
<directory>./Tests</directory>
<directory>./vendor</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
|
Make man the default owner, don't bother with sgid. | PROG= man
SRCS= man.c manpath.c glob.c
BINMODE=2555
BINGRP= man
.if exists(${.CURDIR}/../lib/obj)
LDADD= -L${.CURDIR}/../lib/obj -lman
CFLAGS+= -I${.CURDIR}/../lib/obj
.else
LDADD= -L${.CURDIR}/../lib/ -lman
.endif
.if exists(${.CURDIR}/obj)
MAN1= ${.CURDIR}/obj/man.1
.else
MAN1= ${.CURDIR}/man.1
.endif
DPADD+= ${MAN1}
CFLAGS+= -I${.CURDIR}/../lib -DSTDC_HEADERS -DPOSIX -DHAS_TROFF
CFLAGS+= -DDO_COMPRESS -DALT_SYSTEMS -DSETREUID -DCATMODE=0664
CLEANFILES+= ${MAN1}
${MAN1}: ${.CURDIR}/man.man
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>
| PROG= man
SRCS= man.c manpath.c glob.c
BINMODE=4555
BINOWN= man
.if exists(${.CURDIR}/../lib/obj)
LDADD= -L${.CURDIR}/../lib/obj -lman
CFLAGS+= -I${.CURDIR}/../lib/obj
.else
LDADD= -L${.CURDIR}/../lib/ -lman
.endif
.if exists(${.CURDIR}/obj)
MAN1= ${.CURDIR}/obj/man.1
.else
MAN1= ${.CURDIR}/man.1
.endif
DPADD+= ${MAN1}
CFLAGS+= -I${.CURDIR}/../lib -DSTDC_HEADERS -DPOSIX -DHAS_TROFF
CFLAGS+= -DDO_COMPRESS -DALT_SYSTEMS -DSETREUID -DCATMODE=0664
CLEANFILES+= ${MAN1}
${MAN1}: ${.CURDIR}/man.man
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>
|
Improve coverage reporting accuracy. On Windows, on dash19, the "/tests/" files were still being reported in the overall coverage results. Correct the exclude regular expression so that full path file names with "\" in them may also match the exclude expression. | SET(CTEST_EXTRA_COVERAGE_GLOB "*.php")
SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
${CTEST_CUSTOM_COVERAGE_EXCLUDE}
"/tests/"
"/testing/"
"/append_coverage.php"
"/prepend_coverage.php"
)
| SET(CTEST_EXTRA_COVERAGE_GLOB "*.php")
SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
${CTEST_CUSTOM_COVERAGE_EXCLUDE}
"[/\\\\]tests[/\\\\]"
"[/\\\\]testing[/\\\\]"
"[/\\\\]append_coverage.php"
"[/\\\\]prepend_coverage.php"
)
|
Update docker file to .net 5 | #See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build
WORKDIR /src
COPY ["Certify.Service.Worker/Certify.Service.Worker.csproj", "Certify.Service.Worker/"]
RUN dotnet restore "Certify.Service.Worker/Certify.Service.Worker.csproj"
COPY . .
WORKDIR "/src/Certify.Service.Worker"
RUN dotnet build "Certify.Service.Worker.csproj" -c Release -o /app/build
FROM build AS publish
RUN dotnet publish "Certify.Service.Worker.csproj" -c Release -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "Certify.Service.Worker.dll"] | #See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build
WORKDIR /src
COPY ["Certify.Service.Worker/Certify.Service.Worker.csproj", "Certify.Service.Worker/"]
RUN dotnet restore "Certify.Service.Worker/Certify.Service.Worker.csproj"
COPY . .
WORKDIR "/src/Certify.Service.Worker"
RUN dotnet build "Certify.Service.Worker.csproj" -c Release -o /app/build
FROM build AS publish
RUN dotnet publish "Certify.Service.Worker.csproj" -c Release -o /app/publish
FROM base AS final
RUN dotnet dev-certs https -ep ${HOME}/.aspnet/https/aspnetapp.pfx -p { password here }
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "Certify.Service.Worker.dll"] |
Remove tar image at the end of the build | FROM debian:jessie
MAINTAINER Tibo Delor "delor.thibault@gmail.com"
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -qqy curl \
&& rm -rf /var/lib/apt/lists/* \
&& curl -sSkLO https://static.rust-lang.org/dist/rust-1.10.0-x86_64-unknown-linux-gnu.tar.gz \
&& curl -sSkL https://static.rust-lang.org/dist/rust-1.10.0-x86_64-unknown-linux-gnu.tar.gz.sha256 | sha256sum -c - \
&& mkdir rust \
&& tar -C /rust -xzf rust-1.10.0-x86_64-unknown-linux-gnu.tar.gz --strip-components=1 \
&& /rust/install.sh --without=rust-docs \
&& rm -rf /rust /usr/local/share/doc/ /usr/local/share/man/
| FROM debian:jessie
MAINTAINER Tibo Delor "delor.thibault@gmail.com"
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -qqy curl \
&& rm -rf /var/lib/apt/lists/* \
&& curl -sSkLO https://static.rust-lang.org/dist/rust-1.10.0-x86_64-unknown-linux-gnu.tar.gz \
&& curl -sSkL https://static.rust-lang.org/dist/rust-1.10.0-x86_64-unknown-linux-gnu.tar.gz.sha256 | sha256sum -c - \
&& mkdir rust \
&& tar -C /rust -xzf rust-1.10.0-x86_64-unknown-linux-gnu.tar.gz --strip-components=1 \
&& /rust/install.sh --without=rust-docs \
&& rm -rf /rust-1.10.0-x86_64-unknown-linux-gnu.tar.gz /rust /usr/local/share/doc/ /usr/local/share/man/
|
Update node:lts-alpine Docker digest to 631ad30 | # build stage
FROM node:lts-alpine@sha256:d36152974d98ad2f340c4ac72228bc8665cb96dcfef97120f735290406a3fbce 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:7ae8e5c3080f6012f8dc719e2308e60e015fcfa281c3b12bf95614bd8b6911d6 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:631ad30cbe1a7e5987c25d80ae9c1279fff478a5fa5787659730fb4286664e11 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:7ae8e5c3080f6012f8dc719e2308e60e015fcfa281c3b12bf95614bd8b6911d6 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
|
Update broken path in phpunit configuration | <phpunit bootstrap="vendor/silverstripe/framework/tests/bootstrap.php" colors="true">
<testsuite name="Default">
<directory>tests/php</directory>
</testsuite>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src/</directory>
<exclude>
<directory suffix=".php">tests/</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
| <phpunit bootstrap="vendor/silverstripe/framework/tests/bootstrap.php" colors="true">
<testsuite name="Default">
<directory>tests/</directory>
</testsuite>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src/</directory>
<exclude>
<directory suffix=".php">tests/</directory>
</exclude>
</whitelist>
</filter>
</phpunit>
|
Fix another typo: Retrun --> Return | ###############################################################################
# Config file for DARTCore
#
# This sets the following variables:
# DARTCore_INCLUDE_DIRS - Directories containing the DART include files.
# DARTCore_LIBRARIES - Libraries needed to use DART.
# DARTCore_LIBRARY_DIRS - Directories that contain the DART libraries.
# DARTCore_VERSION - DART version.
#===============================================================================
# DARTCore_INCLUDE_DIRS
#===============================================================================
set(DARTCore_INCLUDE_DIRS
"@CMAKE_INSTALL_PREFIX@/include"
"@EIGEN3_INCLUDE_DIRS@"
"@BULLET_INCLUDE_DIRS@")
#===============================================================================
# DARTCore_LIBRARY_DIRS
#===============================================================================
set(DARTCore_LIBRARY_DIRS "@CMAKE_INSTALL_PREFIX@/lib" "@Boost_LIBRARY_DIRS@")
#===============================================================================
# DARTCore_LIBRARIES
#===============================================================================
get_filename_component(CURRENT_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
include("${CURRENT_DIR}/DARTCoreTargets.cmake")
# Retrun absolute path of the library instead of just library name as
# recommended in CMake documentation:
# http://www.cmake.org/cmake/help/v3.0/command/link_directories.html
find_library(dart_core_location
NAMES "dart-core"
PATHS "@CMAKE_INSTALL_PREFIX@/lib")
set(DARTCore_LIBRARIES "${dart_core_location}")
#===============================================================================
# DARTCore_VERSION
#===============================================================================
set(DARTCore_VERSION @DART_VERSION@)
| ###############################################################################
# Config file for DARTCore
#
# This sets the following variables:
# DARTCore_INCLUDE_DIRS - Directories containing the DART include files.
# DARTCore_LIBRARIES - Libraries needed to use DART.
# DARTCore_LIBRARY_DIRS - Directories that contain the DART libraries.
# DARTCore_VERSION - DART version.
#===============================================================================
# DARTCore_INCLUDE_DIRS
#===============================================================================
set(DARTCore_INCLUDE_DIRS
"@CMAKE_INSTALL_PREFIX@/include"
"@EIGEN3_INCLUDE_DIRS@"
"@BULLET_INCLUDE_DIRS@")
#===============================================================================
# DARTCore_LIBRARY_DIRS
#===============================================================================
set(DARTCore_LIBRARY_DIRS "@CMAKE_INSTALL_PREFIX@/lib" "@Boost_LIBRARY_DIRS@")
#===============================================================================
# DARTCore_LIBRARIES
#===============================================================================
get_filename_component(CURRENT_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
include("${CURRENT_DIR}/DARTCoreTargets.cmake")
# Return absolute path of the library instead of just library name as
# recommended in CMake documentation:
# http://www.cmake.org/cmake/help/v3.0/command/link_directories.html
find_library(dart_core_location
NAMES "dart-core"
PATHS "@CMAKE_INSTALL_PREFIX@/lib")
set(DARTCore_LIBRARIES "${dart_core_location}")
#===============================================================================
# DARTCore_VERSION
#===============================================================================
set(DARTCore_VERSION @DART_VERSION@)
|
Use whitelist instead of blacklist in phpunit filter config (blacklist is deprecated) | <?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="bootstrap.php"
>
<testsuites>
<testsuite name="TestBundle Test Suite">
<directory>.</directory>
</testsuite>
</testsuites>
<filter>
<blacklist>
<directory>../vendor</directory>
</blacklist>
</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="bootstrap.php"
>
<testsuites>
<testsuite name="TestBundle Test Suite">
<directory>.</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>../</directory>
<exclude>
<directory>../vendor</directory>
<directory>../Tests</directory>
</exclude>
</whitelist>
</filter>
</phpunit> |
Remove syntax check and add strict flags | <?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="Slim Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./Slim/</directory>
</whitelist>
</filter>
</phpunit>
| <?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.7/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutChangesToGlobalState="true"
beStrictAboutOutputDuringTests="true"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="tests/bootstrap.php"
>
<testsuites>
<testsuite name="Slim Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory>./Slim/</directory>
</whitelist>
</filter>
</phpunit>
|
Make the dependencies work a little better.. | # @(#)Makefile 8.3 (Berkeley) 7/19/93
PROG= rdist
CFLAGS+=-I${.CURDIR}
SRCS= docmd.c expand.c lookup.c main.c rshrcmd.c server.c
OBJS+= gram.o
CLEANFILES=y.tab.h
# To use the old method, which requires setuid-root and all the baggage and
# security holes that goes with it, uncomment:
# CFLAGS+= -DDIRECT_RCMD
# BINOWN= root
# BINMODE=4555
# INSTALLFLAGS=-fschg
.include <bsd.prog.mk>
| # @(#)Makefile 8.3 (Berkeley) 7/19/93
PROG= rdist
CFLAGS+=-I${.CURDIR}
SRCS= docmd.c expand.c lookup.c main.c rshrcmd.c server.c
SRCS+= gram.c
CLEANFILES=y.tab.h gram.c
# To use the old method, which requires setuid-root and all the baggage and
# security holes that goes with it, uncomment:
# CFLAGS+= -DDIRECT_RCMD
# BINOWN= root
# BINMODE=4555
# INSTALLFLAGS=-fschg
.include <bsd.prog.mk>
|
Exclude integration tests from PHPUnit | <?xml version="1.0"?>
<phpunit
bootstrap="./tests/Bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
verbose="true"
stopOnFailure="false"
processIsolation="false"
backupGlobals="false"
>
<testsuite name="SlmQueue tests">
<directory>./tests</directory>
</testsuite>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="./tests/build/logs/clover.xml"/>
</logging>
</phpunit>
| <?xml version="1.0"?>
<phpunit
bootstrap="./tests/Bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
verbose="true"
stopOnFailure="false"
processIsolation="false"
backupGlobals="false"
>
<testsuite name="SlmQueue tests">
<directory>./tests</directory>
<exclude>./tests/integration</exclude>
</testsuite>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="./tests/build/logs/clover.xml"/>
</logging>
</phpunit>
|
Use our auto-YACC'ing rules to do most of the work. | # $FreeBSD$
AWKSRC= ${.CURDIR}/../../contrib/one-true-awk
.PATH: ${AWKSRC}
PROG= nawk
SRCS= b.c lex.c lib.c main.c parse.c proctab.c run.c tran.c ytab.c ytab.h
CFLAGS+= -I. -I${AWKSRC}
DPADD= ${LIBM}
LDADD= -lm
.if ${MACHINE_ARCH} == "sparc64"
LINKS+= ${BINDIR}/nawk ${BINDIR}/awk
MLINKS+= nawk.1 awk.1
.endif
CLEANFILES+= maketab proctab.c ytab.c ytab.h
.ORDER: ytab.c ytab.h proctab.c
ytab.c ytab.h: ${AWKSRC}/awkgram.y
@echo Expect 42 reduce/shift conflicts and 83 reduce/reduce conflicts
${YACC} -d ${AWKSRC}/awkgram.y
mv -f y.tab.c ytab.c
mv -f y.tab.h ytab.h
proctab.c: maketab
./maketab > proctab.c
build-tools: maketab
maketab: ytab.h ${AWKSRC}/maketab.c
${CC} ${CFLAGS} ${AWKSRC}/maketab.c -o maketab
CLEANFILES+= nawk.1
nawk.1: awk.1
ln -sf ${.ALLSRC} ${.TARGET}
.include <bsd.prog.mk>
| # $FreeBSD$
AWKSRC= ${.CURDIR}/../../contrib/one-true-awk
.PATH: ${AWKSRC}
PROG= nawk
SRCS= awkgram.y b.c lex.c lib.c main.c parse.c proctab.c run.c tran.c
CFLAGS+= -I. -I${AWKSRC}
DPADD= ${LIBM}
LDADD= -lm
.if ${MACHINE_ARCH} == "sparc64"
LINKS+= ${BINDIR}/nawk ${BINDIR}/awk
MLINKS+= nawk.1 awk.1
.endif
CLEANFILES+= maketab proctab.c ytab.c ytab.h
ytab.h: awkgram.h
ln -sf ${.ALLSRC} ${.TARGET}
proctab.c: maketab
./maketab > proctab.c
build-tools: maketab
maketab: ytab.h ${AWKSRC}/maketab.c
${CC} ${CFLAGS} ${AWKSRC}/maketab.c -o maketab
CLEANFILES+= nawk.1
nawk.1: awk.1
ln -sf ${.ALLSRC} ${.TARGET}
.include <bsd.prog.mk>
|
Remove CMD instruction in gremlin-console Dockerfile | FROM openjdk:8u131-jre
LABEL maintainer "jbmusso@gmail.com"
ENV GREMLIN_CONSOLE_VERSION 3.2.4
ENV GREMLIN_CONSOLE_ZIP_URL https://www.apache.org/dyn/closer.cgi?action=download&filename=tinkerpop/$GREMLIN_CONSOLE_VERSION/apache-tinkerpop-gremlin-console-$GREMLIN_CONSOLE_VERSION-bin.zip
RUN cd /opt && \
wget -O gremlin-console.zip "$GREMLIN_CONSOLE_ZIP_URL" && \
unzip gremlin-console.zip && \
ln -s apache-tinkerpop-gremlin-console-$GREMLIN_CONSOLE_VERSION gremlin-console && \
rm gremlin-console.zip
WORKDIR /opt/gremlin-console
ENTRYPOINT ["bin/gremlin.sh"]
CMD ["bin/gremlin.sh"]
| FROM openjdk:8u131-jre
LABEL maintainer "jbmusso@gmail.com"
ENV GREMLIN_CONSOLE_VERSION 3.2.4
ENV GREMLIN_CONSOLE_ZIP_URL https://www.apache.org/dyn/closer.cgi?action=download&filename=tinkerpop/$GREMLIN_CONSOLE_VERSION/apache-tinkerpop-gremlin-console-$GREMLIN_CONSOLE_VERSION-bin.zip
RUN cd /opt && \
wget -O gremlin-console.zip "$GREMLIN_CONSOLE_ZIP_URL" && \
unzip gremlin-console.zip && \
ln -s apache-tinkerpop-gremlin-console-$GREMLIN_CONSOLE_VERSION gremlin-console && \
rm gremlin-console.zip
WORKDIR /opt/gremlin-console
ENTRYPOINT ["bin/gremlin.sh"]
|
Fix error when uploading image | <!-- insert_after '[data-hook=active]' -->
<div class="field">
<%= f.label :icon %>
<%= f.file_field :icon %>
<%= image_tag @payment_method.icon.url(:normal) %>
</div>
| <!-- insert_after '[data-hook=active]' -->
<div class="field">
<%= label_tag nil, Spree.t(:icon) %>
<%= file_field :payment_method, :icon %>
<%= image_tag @payment_method.icon.url(:normal) %>
</div>
|
Fix ioctl.c creation to deal with the depend case more properly. | # @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= kdump
CFLAGS+=-I${.CURDIR}/../ktrace -I${.CURDIR}/../..
SRCS= kdump.c ioctl.c subr.c
.PATH: ${.CURDIR}/../ktrace
CLEANFILES+=ioctl.c
ioctl.c:
sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include > ioctl.c
.include <bsd.prog.mk>
| # @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= kdump
CFLAGS+=-I${.CURDIR}/../ktrace -I${.CURDIR}/../..
SRCS= kdump.c ioctl.c subr.c
.PATH: ${.CURDIR}/../ktrace
CLEANFILES+=ioctl.c
.if make(depend)
ioctl.c: .PHONY
.else
ioctl.c: mkioctls
.endif
sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include > ${.TARGET}
.include <bsd.prog.mk>
|
Add a filter block in the phpunit config file | <phpunit
bootstrap="./bootstrap.php.dist"
colors="true">
<testsuites>
<testsuite>
<directory suffix="Test.php">./tests/phpunit/</directory>
</testsuite>
</testsuites>
</phpunit>
| <phpunit
bootstrap="./bootstrap.php.dist"
colors="true">
<testsuites>
<testsuite>
<directory suffix="Test.php">./tests/phpunit/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<file>./wp-async-task.php</file>
</whitelist>
</filter>
</phpunit>
|
Use SRCDIR instead of PATH | # $FreeBSD$
INFO = gperf
INFOSECTION= "Programming & development tools."
INFOENTRY_gperf= "* Gperf: (gperf). The GNU perfect hash function generator."
.PATH: ${.CURDIR}/../../../../contrib/gperf
.include <bsd.info.mk>
| # $FreeBSD$
INFO = gperf
INFOSECTION= "Programming & development tools."
INFOENTRY_gperf= "* Gperf: (gperf). The GNU perfect hash function generator."
SRCDIR= ${.CURDIR}/../../../../contrib/gperf
.include <bsd.info.mk>
|
Add test.txt in requirements objects | .DEFAULT_GOAL := help
REQUIREMENTS_DIR = requirements
objects = $(REQUIREMENTS_DIR)/base.txt $(REQUIREMENTS_DIR)/dev.txt
requirements/%.txt: $(REQUIREMENTS_DIR)/%.in $(REQUIREMENTS_DIR)/base.in
pip-compile $<
.PHONY: requirements
requirements: $(objects) ## Compile requirements with pip-compile
.PHONY: upgrade-requirements
upgrade-requirements: ## Upgrade and compile requirements with pip-compile --upgrade
for file in $(REQUIREMENTS_DIR)/*.in; do \
pip-compile --upgrade $$file; \
done
.PHONY: translations
translations: ## Regenerate .po files with ./manage.py makemessages
./manage.py makemessages -a -i "deployment/*" -i "requirements/*" -i "virtualization/*" -i "node_modules/*"
.PHONY: compile-translations
compile-translations: ## Compile .po files with ./manage.py compilemessages
./manage.py compilemessages
.PHONY: help
help: ## Display this help
@grep -E '^[.a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort -k 1,1 | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
clean:
rm $(objects)
| .DEFAULT_GOAL := help
REQUIREMENTS_DIR = requirements
objects = $(REQUIREMENTS_DIR)/base.txt $(REQUIREMENTS_DIR)/dev.txt $(REQUIREMENTS_DIR)/test.txt
requirements/%.txt: $(REQUIREMENTS_DIR)/%.in $(REQUIREMENTS_DIR)/base.in
pip-compile $<
.PHONY: requirements
requirements: $(objects) ## Compile requirements with pip-compile
.PHONY: upgrade-requirements
upgrade-requirements: ## Upgrade and compile requirements with pip-compile --upgrade
for file in $(REQUIREMENTS_DIR)/*.in; do \
pip-compile --upgrade $$file; \
done
.PHONY: translations
translations: ## Regenerate .po files with ./manage.py makemessages
./manage.py makemessages -a -i "deployment/*" -i "requirements/*" -i "virtualization/*" -i "node_modules/*"
.PHONY: compile-translations
compile-translations: ## Compile .po files with ./manage.py compilemessages
./manage.py compilemessages
.PHONY: help
help: ## Display this help
@grep -E '^[.a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort -k 1,1 | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
clean:
rm $(objects)
|
Normalize paths with other containers. | # Generate the HTML output.
FROM markstory/cakephp-docs-builder as builder
RUN pip install git+https://github.com/sphinx-contrib/video.git@master
COPY docs /data/docs
RUN cd /data/docs-builder && \
# In the future repeat website for each version
make website LANGS="en fr ja pt" SOURCE=/data/docs DEST=/data/website/1.x
# Build a small nginx container with just the static site in it.
FROM nginx:1.15-alpine
COPY --from=builder /data/website /data/website
COPY --from=builder /data/docs-builder/nginx.conf /etc/nginx/conf.d/default.conf
# Move each version into place
RUN mv /data/website/1.x/html/ /usr/share/nginx/html/1.x
| # Generate the HTML output.
FROM markstory/cakephp-docs-builder as builder
RUN pip install git+https://github.com/sphinx-contrib/video.git@master
COPY docs /data/docs
# build docs with sphinx
RUN cd /data/docs-builder && \
make website LANGS="en fr ja pt" SOURCE=/data/docs DEST=/data/website
# Build a small nginx container with just the static site in it.
FROM nginx:1.15-alpine
COPY --from=builder /data/website /data/website
COPY --from=builder /data/docs-builder/nginx.conf /etc/nginx/conf.d/default.conf
# Move docs into place.
RUN mv /data/website/html/* /usr/share/nginx/html
# Also versioned for deployment boundary reasons
RUN ln -s /usr/share/nginx/html /usr/share/nginx/html/1.x
|
Connect the snmp_wlan(3) module to the build. | # $FreeBSD$
.include <bsd.own.mk>
.PATH: ${.CURDIR}/../../../contrib/bsnmp/snmpd
.if ${MK_ATM} != "no"
_snmp_atm= snmp_atm
.endif
SUBDIR= ${_snmp_atm} \
snmp_bridge \
snmp_hostres \
snmp_mibII \
snmp_pf
.if ${MK_NETGRAPH_SUPPORT} != "no"
SUBDIR+=snmp_netgraph
.endif
INCS= snmpmod.h
INCSDIR= ${INCLUDEDIR}/bsnmp
.include <bsd.prog.mk>
| # $FreeBSD$
.include <bsd.own.mk>
.PATH: ${.CURDIR}/../../../contrib/bsnmp/snmpd
.if ${MK_ATM} != "no"
_snmp_atm= snmp_atm
.endif
SUBDIR= ${_snmp_atm} \
snmp_bridge \
snmp_hostres \
snmp_mibII \
snmp_pf \
snmp_wlan
.if ${MK_NETGRAPH_SUPPORT} != "no"
SUBDIR+=snmp_netgraph
.endif
INCS= snmpmod.h
INCSDIR= ${INCLUDEDIR}/bsnmp
.include <bsd.prog.mk>
|
Use docker image with bash and curl | FROM debian:9.5-slim
LABEL "com.github.actions.name"="Test install-jdk.sh action"
LABEL "com.github.actions.description"="Write arguments to the standard output"
LABEL "com.github.actions.icon"="mic"
LABEL "com.github.actions.color"="purple"
LABEL "repository"="https://github.com/sormuras/bach/tree/master/.github/action/test-install-jdk-action"
LABEL "homepage"="https://github.com/sormuras/bach/tree/master/.github/action/test-install-jdk-action"
LABEL "maintainer"="Christian Stein <sormuras@github.com>"
ADD entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
| FROM maiwj/curl
LABEL "com.github.actions.name"="Test install-jdk.sh action"
LABEL "com.github.actions.description"="Write arguments to the standard output"
LABEL "com.github.actions.icon"="terminal"
LABEL "com.github.actions.color"="blue"
LABEL "repository"="https://github.com/sormuras/bach/tree/master/.github/action/test-install-jdk-action"
LABEL "homepage"="https://github.com/sormuras/bach"
LABEL "maintainer"="Christian Stein <sormuras@github.com>"
ADD entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
|
Fix CMake Threads dependency issue | # absl CMake configuration file.
include(FindThreads)
@PACKAGE_INIT@
include ("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake") | # absl CMake configuration file.
include(CMakeFindDependencyMacro)
find_dependency(Threads)
@PACKAGE_INIT@
include ("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake") |
Revert "Fix replace_reports deface override" | <!-- replace "erb:contains('if can? :admin, Spree::Admin::ReportsController')"
closing_selector "erb:contains('end')" -->
<%= tab(:integration, :endpoint_testing, :url => spree.admin_integration_path, :icon => 'icon-cogs') %>
| <!-- replace "code:contains('if can? :admin, Spree::Admin::ReportsController')"
closing_selector "code:contains('end')" -->
<%= tab(:integration, :endpoint_testing, :url => spree.admin_integration_path, :icon => 'icon-cogs') %>
|
Migrate phpunit config to new format | <phpunit bootstrap="./vendor/autoload.php" colors="true">
<testsuites>
<testsuite name="WoohooLabs\\Harmony Tests">
<directory>./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
</whitelist>
</filter>
</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" convertDeprecationsToExceptions="false">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
<testsuites>
<testsuite name="WoohooLabs\\Zen Tests">
<directory>./tests</directory>
</testsuite>
</testsuites>
</phpunit>
|
Add whitelist to PHPUnit configuration | <phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.0/phpunit.xsd"
forceCoversAnnotation="false"
verbose="false" bootstrap="./tests/bootstrap.php">
<testsuites>
<testsuite name="All SwissPaymentSlip tests">
<file>./tests/Exception/DisabledDataExceptionTest.php</file>
<file>./tests/PaymentSlipDataTest.php</file>
<file>./tests/OrangePaymentSlipDataTest.php</file>
<file>./tests/PaymentSlipTest.php</file>
<file>./tests/OrangePaymentSlipTest.php</file>
</testsuite>
</testsuites>
</phpunit>
| <phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.0/phpunit.xsd"
forceCoversAnnotation="false"
verbose="false" bootstrap="./tests/bootstrap.php">
<testsuites>
<testsuite name="All SwissPaymentSlip tests">
<file>./tests/Exception/DisabledDataExceptionTest.php</file>
<file>./tests/PaymentSlipDataTest.php</file>
<file>./tests/OrangePaymentSlipDataTest.php</file>
<file>./tests/PaymentSlipTest.php</file>
<file>./tests/OrangePaymentSlipTest.php</file>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="false">
<directory suffix=".php">src</directory>
</whitelist>
</filter>
</phpunit>
|
Add ftp.c to makefile - that might make it work better. Sheesh! | LIB= install
SRCS= file.c msg.c plist.c str.c exec.c global.c pen.c
CFLAGS+= ${DEBUG}
NOPROFILE= yes
NOPIC= yes
install:
@echo -n
.include <bsd.lib.mk>
| LIB= install
SRCS= file.c ftp.c msg.c plist.c str.c exec.c global.c pen.c
CFLAGS+= ${DEBUG}
NOPROFILE= yes
NOPIC= yes
install:
@echo -n
.include <bsd.lib.mk>
|
Delete the recently introduced NOOBJ. The obj directory will soon be used to hold gzipped man pages. | MAN8= spkrtest.8
NOOBJ= yes
beforeinstall:
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/spkrtest.pl ${DESTDIR}${BINDIR}/spkrtest
.include <bsd.prog.mk>
| MAN8= spkrtest.8
beforeinstall:
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/spkrtest.pl ${DESTDIR}${BINDIR}/spkrtest
.include <bsd.prog.mk>
|
Update AXI PS2 Driver Makefile | COMPILER=
ARCHIVER=
CP=cp
COMPILER_FLAGS=
EXTRA_COMPILER_FLAGS=
LIB=libxil.a
RELEASEDIR=../../../lib
INCLUDEDIR=../../../include
INCLUDES=-I./. -I${INCLUDEDIR}
INCLUDEFILES=*.h
LIBSOURCES=*.c
OUTS = *.o
libs:
echo "Compiling axi_ps2..."
$(COMPILER) $(COMPILER_FLAGS) $(EXTRA_COMPILER_FLAGS) $(INCLUDES) $(LIBSOURCES)
$(ARCHIVER) -r ${RELEASEDIR}/${LIB} ${OUTS}
make clean
include:
${CP} $(INCLUDEFILES) $(INCLUDEDIR)
clean:
rm -rf ${OUTS}
| COMPILER=
ARCHIVER=
CP=cp
COMPILER_FLAGS=
EXTRA_COMPILER_FLAGS=
LIB=libxil.a
CC_FLAGS = $(COMPILER_FLAGS)
ECC_FLAGS = $(EXTRA_COMPILER_FLAGS)
RELEASEDIR=../../../lib
INCLUDEDIR=../../../include
INCLUDES=-I./. -I${INCLUDEDIR}
LIBSOURCES:=*.c
INCLUDEFILES:=*.h
OBJECTS = $(addsuffix .o, $(basename $(wildcard *.c)))
IPNAME=axi_ps2_v1_0
libs: banner ${IPNAME}_libs clean
%.o: %.c
${COMPILER} $(CC_FLAGS) $(ECC_FLAGS) $(INCLUDES) -o $@ $<
banner:
echo "Compiling ${IPNAME}"
${IPNAME}_libs: ${OBJECTS}
$(ARCHIVER) -r ${RELEASEDIR}/${LIB} ${OBJECTS}
.PHONY: include
include: ${IPNAME}_includes
${IPNAME}_includes:
${CP} ${INCLUDEFILES} ${INCLUDEDIR}
clean:
rm -rf ${OBJECTS}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.