document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_2200
--- +++ @@ -1,6 +1,11 @@ #!/bin/bash -# Usage/Help +# defaults +DIR=/opt/revealjs/src/presentations/* +FILES=$(find ${DIR} -printf "%f\n"); + + +# usage/help function usage() { cat << EOF @@ -13,14 +18,20 @@ -h Display help -p Specify port (required) + Usage: + + docker run -ti -v /var/ru...
bash
d_bash_2201
--- +++ @@ -1,4 +1,4 @@ -source .env +source env.sh docker-compose stop docker-compose rm -f
bash
d_bash_2202
--- +++ @@ -4,7 +4,7 @@ dest_path=`cd "$2"; pwd` # echo "$src_path --> $dest_path" -for filepath in $src_path/watcher_dashboard/enabled/*.py; do +for filepath in $src_path/watcher_dashboard/local/enabled/*.py; do filename=$(basename $filepath) if [ $filename != "__init__.py" ]; then echo $filep...
bash
d_bash_2203
--- +++ @@ -18,7 +18,7 @@ # Add zsh / oh-my-zsh and make it the default shell apk add zsh -git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh +git clone --depth=1 git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh sed -i -e 's/ash/zsh/g' /etc/passwd # Add Node.js
bash
d_bash_2204
--- +++ @@ -11,7 +11,7 @@ fi ext=".${sp##*.}" spp="${WRKSRC}/$(basename ${sp}).patch" - for i in 1 2 3 4 5 6 7 8 9 10; do + for i in $(seq 1 20); do rm -f "${spp}" touch "${spp}" find "${WRKSRC}" | grep '\.\(c\|h\)$' | while read f; do
bash
d_bash_2205
--- +++ @@ -5,5 +5,5 @@ else TAG="$TRAVIS_BRANCH" fi -docker build -f Dockerfile -t $TRAVIS_REPO_SLUG:$TAG . +docker build -f Dockerfile -t buzzgenerator:$TAG . #$TRAVIS_REPO_SLUG docker push $TRAVIS_REPO_SLUG
bash
d_bash_2206
--- +++ @@ -1,19 +1,7 @@ -echo "diff" -for i in {1..6};do echo -n "rc"$i",";git diff v4.7-rc$i v4.7-rc`expr $i + 1`| wc -l;done - -echo "add" -for i in {1..6};do git diff v4.7-rc$i v4.7-rc`expr $i + 1`| grep "^+"|wc -l;done - -echo "delete" -for i in {1..6};do git diff v4.7-rc$i v4.7-rc`expr $i + 1`| grep "^-"|wc -l;...
bash
d_bash_2207
--- +++ @@ -1 +1,2 @@ -cookiecutter gh:NathanUrwin/cookiecutter-git --no-input <<< yes +#!/bin/bash +/usr/bin/cookiecutter gh:NathanUrwin/cookiecutter-git --no-input <<< yes
bash
d_bash_2208
--- +++ @@ -38,7 +38,7 @@ chmod +x $buildFile # Cleanup - if test ! -d $tempFolder; then + if test -d $tempFolder; then rm -rf $tempFolder fi fi
bash
d_bash_2209
--- +++ @@ -17,7 +17,7 @@ touch /srv/logs/gunicorn.log touch /srv/logs/access.log touch /srv/logs/django.log -tail -n 0 -f /srv/logs/*.log & +tail -n 0 -f /srv/logs/*.log /srv/logs/**/.log & exec gunicorn oeem_energy_datastore.wsgi \ --bind 0.0.0.0:8000 \
bash
d_bash_2210
--- +++ @@ -2,6 +2,17 @@ if [ "${TASK}" = 'compilepy3 ci-py3-unit' ] || [ "${TASK}" = 'ci-py3-integration' ]; then pip install "tox==3.1.3" + + # Install runners + . virtualenv/bin/activate + + CURRENT_DIR=`pwd` + for RUNNER in `ls -d $CURRENT_DIR/contrib/runners/*` + do + echo "Installing runner: $RUNNE...
bash
d_bash_2211
--- +++ @@ -6,8 +6,8 @@ if [ ! -s "$BITCOIN_DATA/bitcoin.conf" ]; then cat <<EOF > "$BITCOIN_DATA/bitcoin.conf" -rpcuser=bitcoin -rpcpassword=password +rpcuser=${BITCOIN_RPC_USER:-bitcoin} +rpcpassword=${BITCOIN_RPC_PASSWORD:-password} EOF fi
bash
d_bash_2212
--- +++ @@ -3,7 +3,7 @@ source ../gen-tests-makefile.sh echo "Generate FST for sim models" find tb/* -name tb*.v | while read name; do - test_name=$(basename -s .v $name) + test_name=$(basename $name .v) echo "Test $test_name" verilog_name=${test_name:3}.v iverilog -o tb/$test_name.out $name $...
bash
d_bash_2213
--- +++ @@ -1,5 +1,5 @@ #! /bin/bash -export PS1='\[\e]0;\u@\h \w\a\n\]\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ ' +export PS1='\[\e]0;\u@\h \w\a\n\]\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ ' export PATH="$PATH:$HOME/scripts"
bash
d_bash_2214
--- +++ @@ -35,6 +35,10 @@ echo "*Reproduced on:*" } + tested(){ + echo "*Tested on:*" + } + local appServer=$(AppServerValidator returnAppServer ${@}) local branch=$(BaseVars returnBranch ${@})
bash
d_bash_2215
--- +++ @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -echo "Note, if you get errors below indicate kubernetes env injection could be faliing..." +echo "If you get errors below, kubernetes env injection could be failing..." echo "env vars...
bash
d_bash_2216
--- +++ @@ -8,10 +8,10 @@ echo "downloading chromedriver" if [[ $os_name == 'Linux' && ! -f $chromedriver_dir/chromedriver ]]; then - cd chromedriver && curl -L https://chromedriver.storage.googleapis.com/2.29/chromedriver_linux64.zip > tmp.zip && unzip -o tmp.zip && rm tmp.zip + cd chromedriver && curl -L h...
bash
d_bash_2217
--- +++ @@ -9,29 +9,19 @@ # |__________________________ 1 parameter in the first position # from the tail - local substitutions="${@: 1: ${#}-2}" # get all the rest - # | | |__________ counting 2 position - # | |_____________ from the arra...
bash
d_bash_2218
--- +++ @@ -14,4 +14,8 @@ rmdir /mnt/vg rm /home/vagrant/VBoxGuestAdditions*.iso - +# Emergency symlink to fix https://www.virtualbox.org/ticket/12879 +# We can remove this after Virtualbox 4.3.11 is released. +if [ -d /opt/VBoxGuestAdditions-4.3.10 ]; then + ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestA...
bash
d_bash_2219
--- +++ @@ -12,7 +12,7 @@ apt-get -y install \ cmake clang libglib2.0-dev libsoup-gnome2.4-dev \ libyajl-dev libblocksruntime-dev libyaml-dev libudev-dev \ - python3 cython3 python3-sphinx + libusb-1.0-0-dev python3 cython3 python3-sphinx ;; defau...
bash
d_bash_2220
--- +++ @@ -17,7 +17,7 @@ fi test -f re2/$LIBRE2 && exit 0 - RE2_REV=${RE2_REV:-2017-04-01} + RE2_REV=${RE2_REV:-2017-06-01} case $(git config --get remote.origin.url) in git@github.com*|https://github.com*|git://github.com*) RE2_URL=https://github.com/google/re2
bash
d_bash_2221
--- +++ @@ -7,7 +7,7 @@ # Look in ~/.oh-my-zsh/themes/ # Optionally, if you set this to "random", it'll load a random theme each # time that oh-my-zsh is loaded. -ZSH_THEME="bureau" +ZSH_THEME='agnoster' # Example aliases # alias zshconfig="mate ~/.zshrc"
bash
d_bash_2222
--- +++ @@ -1,4 +1,4 @@ -sudo apt-get install -qq libgeos++-dev libproj-dev build-essential liblzo2-dev liblzma-dev zlib1g-dev libprotobuf-c0-dev postgresql-9.3-postgis-2.1 +sudo apt-get install -qq libgeos++-dev libproj-dev build-essential liblzo2-dev liblzma-dev zlib1g-dev libprotobuf-c0-dev postgresql-9.3-postgis-...
bash
d_bash_2223
--- +++ @@ -1,9 +1,9 @@ __update_ps1() { if [ -n "$(type -t __git_ps1)" ] && [ "$(type -t __git_ps1)" == function ]; then if [[ $TERM == *256color* ]]; then - PS1="\[\e]0;\u@\h: \w\a\]${PROMPT_CHAIN_COLOR}$(__git_ps1 " (%s)")$INPUT_COLOR"'\$ '; + PS1="\[\e]0;\u@\h: \w\a\]${PROMPT_...
bash
d_bash_2224
--- +++ @@ -8,7 +8,7 @@ # only build doc for master branch export SOURCE_BRANCH="master" -if [ "$TRAVIS_PULL_REQUEST" != "" -o "$TRAVIS_BRANCH" != "$SOURCE_BRANCH" ]; then +if [ "$TRAVIS_PULL_REQUEST" != "false"e -o "$TRAVIS_BRANCH" != "$SOURCE_BRANCH" ]; then echo "Only build for master branch" exit 0 ...
bash
d_bash_2225
--- +++ @@ -24,8 +24,12 @@ dropbox flux iterm2 + macvim onepassword + spectacle spotify + the-unarchiver + transmission " if command -v brew >/dev/null 2>&1; then
bash
d_bash_2226
--- +++ @@ -1,3 +1,5 @@ #!/bin/sh -xset r rate 180 80 -setxkbmap -option caps:escape +if [ "$DISPLAY" != "" ]; then + xset r rate 180 80 + setxkbmap -option caps:escape +fi
bash
d_bash_2227
--- +++ @@ -2,5 +2,5 @@ set -ev if [ "$TRAVIS_JDK_VERSION" == "oraclejdk7" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then echo "<settings><servers><server><id>ossrh</id><username>\${env.OSSRH_USER}</username><password>\${env.OSSRH_PASS}</password></server></servers></setting...
bash
d_bash_2228
--- +++ @@ -4,7 +4,7 @@ ./autogen.sh && \ ./configure && \ make && \ -dpkg-buildpackage -rfakeroot -tc +dpkg-buildpackage -rfakeroot -tc $* GEN_STATUS=$?
bash
d_bash_2229
--- +++ @@ -1 +1,4 @@ -export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting +if (( $+commands[rvm] )) +then + export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting +fi
bash
d_bash_2230
--- +++ @@ -7,5 +7,5 @@ --mpargs package-db=$SNDPATH --mpsearch src \ compile \ --gcc -l cpp \ - --cpp-flags='-DMEMPROFILE -DCACHEPROFILE -DBOOST_LOG_DYN_LINK -Iruntime/cpp/external -Iruntime/cpp -lboost_serialization -lboost_system -lboost_regex -lboost_thread -lre2 -lyaml-cpp -lpthread -lboost_log_set...
bash
d_bash_2231
--- +++ @@ -8,10 +8,10 @@ mdata-get root_ssh_rsa >> /root/.ssh/id_rsa # Mostly not required but we only support it with privat key - if mdata-get root_ssh_rsa_pub 1>/dev/null 2>&1; then - echo "# This file is managed by mdata-get root_ssh_rsa_pub" \ + if mdata-get root_ssh_rsa.pub 1>/dev/null 2>&1; then + ech...
bash
d_bash_2232
--- +++ @@ -14,7 +14,7 @@ echo "==============================================================" echo "docker ${s} log" echo "==============================================================" - docker logs --details $(docker ps -aqf "name=docker_${s}_1") + docker logs --details $(docker ps -aqf "nam...
bash
d_bash_2233
--- +++ @@ -34,7 +34,7 @@ prepend-path LDFLAGS "-L${CLHEP_DIR}/lib" prepend-path PATH $::env(CLHEP_DIR)/bin MODULE_FILE -) > modules/$VERSION-${GCC_VERSION} +) > modules/$VERSION echo "HEP_MODULES/NAME is ${HEP_MODULES}/${NAME}" mkdir -p ${HEP_MODULES}/${NAME}
bash
d_bash_2234
--- +++ @@ -20,7 +20,7 @@ ;; test) - cabal new-test -j4 \ + cabal new-test -j4 --enable-tests \ $CABAL_FLAGS "$@" ;;
bash
d_bash_2235
--- +++ @@ -6,7 +6,7 @@ set -o nounset set -o errexit -DOTFILES=( curlrc gemrc gitconfig gvimrc inputrc irbrc pryrc tmux.conf vimrc zshrc ) +DOTFILES=( curlrc gitconfig inputrc tmux.conf vimrc zshrc ) SSH_CONFIG=ssh_config abort() {
bash
d_bash_2236
--- +++ @@ -8,4 +8,4 @@ cd .. ./configure -make +make CXX=g++-4.8
bash
d_bash_2237
--- +++ @@ -1,5 +1,6 @@ #!/usr/bin/env bash +# Exit if no Ambari repo URL was provided. [[ -z $AMBARI_REPO_URL ]] && exit # Setup the repo and install Ambari server. @@ -14,8 +15,16 @@ # Allow deselecting SmartSense while installing the cluster. # -grep -Fv '<selection>MANDATORY</selection>' /var/lib/ambar...
bash
d_bash_2238
--- +++ @@ -16,14 +16,6 @@ PLUGIN_D="$(dirname $0)" export PATH="${PATH}:${PLUGIN_D}/scripts" -# File that have been taken from other git repos -if [ -e "${0:h}/external" ]; then - for file in ${0:h}/external/**/*(.); do - source "$file" - done -fi - - # # Functions and Completions #
bash
d_bash_2239
--- +++ @@ -24,19 +24,25 @@ xclip \ zsh -# QMK things -sudo apt-get install \ - avr-libc \ - binutils-arm-none-eabi \ - binutils-avr \ - dfu-programmer \ - dfu-util \ - gcc \ - gcc-arm-none-eabi \ - gcc-avr \ - libnewlib-arm-none-eabi \ - teensy-loader-cli \ - unzip \ - wget \ - zip - +echo -n "D...
bash
d_bash_2240
--- +++ @@ -3,6 +3,7 @@ set -o xtrace source /var/onap/functions +source /var/onap/sdc source /var/onap/aai source /var/onap/mso source /var/onap/message_router @@ -20,7 +21,7 @@ install_docker_engine install_docker_compose -for serv in aai mso mr robot vid sdnc; do +for serv in sdc aai mso mr robot vid sd...
bash
d_bash_2241
--- +++ @@ -17,17 +17,20 @@ kc scale deployment k8s-io --replicas=0 kc scale deployment k8s-io --replicas=1 +echo "waiting for all replicas to be up" while true; do - echo "waiting for all replicas to be up" sleep 3 read WANT HAVE < <( \ kc get deployment k8s-io \ - -o go-template='{{.spec...
bash
d_bash_2242
--- +++ @@ -1,2 +1,3 @@ export INSTALL_SCLS=rh-ror42 export ENABLE_SCLS=rh-ror42 +export EXCLUDE_PKGS="--exclude rh-ror42-rubygem-mongo-doc"
bash
d_bash_2243
--- +++ @@ -1,4 +1,4 @@ -CMAKE_COMMON_VARIABLES=" -DCMAKE_INSTALL_PREFIX=$PREFIX \ +CMAKE_COMMON_VARIABLES=" -DCMAKE_INSTALL_PREFIX=$PREFIX/lib/llvm-3.8 \ -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=host \ -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_UTILS=OFF \ -DLLVM_INCLUDE_DOCS=OFF -DLLVM_INCLUDE...
bash
d_bash_2244
--- +++ @@ -1,3 +1,4 @@ #Load themes from yadr and from user's custom prompts (themes) in ~/.zsh.prompts +autoload promptinit fpath=($HOME/.yadr/zsh/prezto-themes $HOME/.zsh.prompts $fpath) promptinit
bash
d_bash_2245
--- +++ @@ -5,7 +5,7 @@ # Do not remove unless CentOS has been validated if [[ -c /dev/kvm ]]; then chmod 660 /dev/kvm - chown root:kvm /dev/kvm + chown root:qemu /dev/kvm fi # Mount xenfs for libxl to work
bash
d_bash_2246
--- +++ @@ -5,12 +5,12 @@ # cd mapbrowser -closure-compiler --js jscoord.js --js config.js --js mapref.js --js mapbrowser.js --js widget.js --js uiSupport.js --js popup.js --js popupmenu.js --js measure.js --js toolbar.js --js areaList.js --js mousepos.js --js layerSwitcher.js --js refSearch.js --js configSupport...
bash
d_bash_2247
--- +++ @@ -5,21 +5,22 @@ safe_copy () { SRC=$1 - DST=$2 - if [ -f ~/$2 ]; then - cp -p ~/$2 ~/$2.orig - echo "backup made ~/$2 => ~/$2.orig" + DST=${HOME}/.$1 + if [ -f ${DST} ]; then + cp -p ${DST} ${DST}.orig + echo "backup made ${DST} => ${DST}.orig" fi - cp $1 $2 + cp ${SRC} ${DST}...
bash
d_bash_2248
--- +++ @@ -12,10 +12,11 @@ local pass="$(openssl rand -base64 170)" openssl aes-256-cbc -in $file -out $target.enc -pass pass:"$pass" echo "$pass" | openssl rsautl -encrypt -pubin -inkey <(ssh-keygen -e -f ~/.ssh/id_rsa.pub -m PKCS8) -out $target.key + mv "$1" "$1~" } dotfiles_decrypt() { local file=$(ec...
bash
d_bash_2249
--- +++ @@ -1,16 +1,16 @@ #!/usr/bin/env bash -for i in `seq -w 1 100`; do ./zoe.py user-new --name group$i --pass group$i --role guest; done +for i in `seq -w 1 50`; do ./zoe.py user-new --name group$i --pass group$i --role guest; done ./zoe.py pre-app-export spark_jupyter_notebook_lab > /tmp/zoeapp.json -fo...
bash
d_bash_2250
--- +++ @@ -7,11 +7,13 @@ echo " TRAVIS_OS_NAME $TRAVIS_OS_NAME" echo " TRAVIS_COMMIT_MESSAGE $TRAVIS_COMMIT_MESSAGE" +required_message="Trigger update site upload" + if [ "$TRAVIS_SECURE_ENV_VARS" = true \ -a "$TRAVIS_PULL_REQUEST" = false \ -a "$TRAVIS_BRANCH" = master \ -a "$TRAVIS_OS_NAME" == linu...
bash
d_bash_2251
--- +++ @@ -15,4 +15,4 @@ #!/bin/bash set -x -DEFAULT_BAZEL_TARGETS="//tensorflow/... //tensorflow/compiler/xla/python/tpu_driver/... -//tensorflow/compiler/tests/... -//tensorflow/compiler/tf2tensorrt/..." +DEFAULT_BAZEL_TARGETS="//tensorflow/... //tensorflow/compiler/xla/python/tpu_driver/... -//tensorflow/co...
bash
d_bash_2252
--- +++ @@ -1,6 +1,6 @@ #!/bin/bash -sudo apt update -sudo apt upgrade +sudo apt update -y +sudo apt upgrade -y sudo apt install -y curl sudo apt install -y kwrite sudo apt install -y git @@ -12,6 +12,7 @@ sudo apt install -y python3-dev sudo apt install -y python3-venv sudo apt install -y python3-pip +sudo ap...
bash
d_bash_2253
--- +++ @@ -15,7 +15,7 @@ echo "Original output can be found at ${OUT?}" echo "Sorted output can be found at ${SORTED_OUT?}" echo "Original reference can be found at ${REF}" -echo "Sorted output can be found at ${SORTED_REF?}" +echo "Sorted reference can be found at ${SORTED_REF?}" echo exec diff "${SORTED_OUT...
bash
d_bash_2254
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash export DJANGO_SETTINGS_MODULE="settings" -mv logs/evennia.log logs/evennia.logs.old +mv -f logs/evennia.log logs/evennia.logs.old ## There are several different ways you can run the server, read the ## description for each and uncomment the desired mode.
bash
d_bash_2255
--- +++ @@ -5,8 +5,8 @@ make prepare make modules_prepare # Make alone will build the dts files too -# make -j4 -make -j4 Image +NUM_CPU=$(nproc) +make -j$NUM_CPU Image make modules make modules_install
bash
d_bash_2256
--- +++ @@ -1,2 +1,3 @@ expression="s/#ServerName.*$/ServerName $1/" -cat /etc/apache2/sites-available/000-default.conf | sed -e "$expression" > /root/output +sed "$expression" -i /etc/apache2/sites-available/000-default.conf +service apache2 reload
bash
d_bash_2257
--- +++ @@ -3,6 +3,7 @@ set -e uname -a +which ${CC} ${CC} --version python --version pip --version
bash
d_bash_2258
--- +++ @@ -1,6 +1,6 @@ #!/bin/bash -# This is the bees CI build. Any changes to the build script should be +# This is the bees CI build. Any changes to the build should be # here instead if in the bees config. set -e @@ -33,7 +33,7 @@ mvn -B -s ${SETTINGS_FILE} install mark "Testing messaging against Horn...
bash
d_bash_2259
--- +++ @@ -2,7 +2,7 @@ set -ex -o pipefail BCBIO_VERSION="1.0.4a" -BCBIO_REVISION="2c652e7" +BCBIO_REVISION="bcc3f9a" NS="quay.io/bcbio" TAG="${BCBIO_VERSION}-${BCBIO_REVISION}"
bash
d_bash_2260
--- +++ @@ -2,7 +2,7 @@ pushd $INPUT_DIR prerelease_version=$(gem search bits_service_client --pre --no-verbose | sed 's/bits_service_client (\([^,]*\).*/\1/') - sed -i src/capi-release/src/cloud_controller_ng/Gemfile.lock 's/bits_service_client.*/bits_service_client (0.2.2.pre.4)/' + sed -i src/capi-re...
bash
d_bash_2261
--- +++ @@ -1,12 +1,38 @@ -#!/usr/bin/env bash +#!/bin/bash + +# Set the tmpdir +if [ -z "$TMPDIR" ]; then + TMPDIR="/tmp" +fi + +# Create a temporary build dir and make sure we clean it up. For +# debugging, comment out the trap line. +DEPLOY=`mktemp -d $TMPDIR/vault-www-XXXXXX` +trap "rm -rf $DEPLOY" INT TERM EXIT...
bash
d_bash_2262
--- +++ @@ -1 +1,77 @@ +#compdef composer +# ------------------------------------------------------------------------------ +# Copyright (c) 2011 Github zsh-users - http://github.com/zsh-users +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitt...
bash
d_bash_2263
--- +++ @@ -1,6 +1,5 @@ #!/bin/bash -x -source '/usr/local/lib/rvm' -bundle install --path "/home/jenkins/bundles/${JOB_NAME}" --deployment +bundle install --path "${HOME}/bundles/${JOB_NAME}" --deployment bundle exec rake db:setup bundle exec rake db:migrate bundle exec rake stats
bash
d_bash_2264
--- +++ @@ -6,7 +6,7 @@ local version="$1"; shift local sha="$1"; shift - local prefix="${1:-/usr/local}"; shift + local prefix="${1:-/usr/local}"; test $# -gt 0 && shift curl -fsSL http://www-us.apache.org/dist/maven/maven-3/"$version"/binaries/apache-maven-"$version"-bin.tar.gz \ -o /tmp/maven.t...
bash
d_bash_2265
--- +++ @@ -12,10 +12,12 @@ --hide-control-chars \ --human-readable \ --ignore=*.pyc \ + --ignore=.swp \ --ignore=.*.swp \ --ignore=.DS_Store \ --ignore=.git \ --ignore=.gitignore \ + --ignore=.sass-cache ...
bash
d_bash_2266
--- +++ @@ -25,10 +25,10 @@ ( cd /build/test pip install -r requirements.txt - python "$SCRIPT_NAME" -o /results/test_results.xml + python "$SCRIPT_NAME" -o /results/"$SCRIPT_NAME""_test_results.xml" ) -chown "$DOCKER_UID:$DOCKER_GID" /results/test_results.xml +chown "$DOCKER_UID:$DOCKER_GID" /results/"$S...
bash
d_bash_2267
--- +++ @@ -2,11 +2,12 @@ # called by Travis CI -if [[ "$TRAVIS_BRANCH" == "develop-v4" ]]; then +if [[ "$TRAVIS_BRANCH" != $DEPLOY_BRANCH ]]; then version=$(head -n 1 VERSION) version="$(echo $version | xargs)" version+="-nightly" echo $version > VERSION + sed -i 's/\:\ \"\(.*\)\"/\:\ \"\...
bash
d_bash_2268
--- +++ @@ -9,4 +9,9 @@ autoreconf -Wno-portability --force --install -I m4 || exit $? cd $ORIGDIR -[ -z "$NO_CONFIGURE" ] && $srcdir/configure --enable-maintainer-mode "$@" +if [ -z "$NO_CONFIGURE" ] +then + $srcdir/configure --enable-maintainer-mode "$@" || exit $? +fi + +exit 0
bash
d_bash_2269
--- +++ @@ -1,6 +1,11 @@ #!/bin/bash + +## Cargo port git fetch master git diff master python setup.py build python setup.py install galaxy-cachefile-validator urls.tsv + +## Bioconda +bash .conda/run.sh
bash
d_bash_2270
--- +++ @@ -8,7 +8,7 @@ # Authors: # Jan Černý <jcerny@redhat.com> -. ../test_common.sh +. ${srcdir}/../test_common.sh # Test cases.
bash
d_bash_2271
--- +++ @@ -4,6 +4,7 @@ python_version=$(python --version 2>&1 | cut -d ' ' -f2) db_file=geoip_${python_version}.mmdb +PYTHONPATH=`pwd` python maxmindupdater/__main__.py $db_file $LICENSE_KEY GeoIP2-Country # Ensure all python versions produce the same result (and that they actually produced a result)
bash
d_bash_2272
--- +++ @@ -2,7 +2,7 @@ rm -f CMakeCache.txt cmake \ -D git_tag=1.1.0-alpha-20-841-gea2eb00 \ - -D WITH_CLI=OFF \ + -D WITH_CLI=ON \ -D WITH_STUDIO=FF \ -D WITH_TOOLS=OFF \ -D WITH_PYTHON=OFF \ @@ -13,5 +13,8 @@ -D USE_EXTERNAL_EXR=ON \ -D USE_EXTERNAL_PNG=ON \ -D USE_EXTERN...
bash
d_bash_2273
--- +++ @@ -24,7 +24,7 @@ exit 1 fi -if git diff-index --quiet origin/master CHANGELOG.md +if ! $(dirname "$BASH_SOURCE")/detect-functional-changes.sh | grep --quiet CHANGELOG.md then echo "CHANGELOG.md has not been modified, while functional changes were made." echo "Explain what you changed befor...
bash
d_bash_2274
--- +++ @@ -15,3 +15,4 @@ # Install IPython globally sudo pip install ipython +sudo pip install ipdb
bash
d_bash_2275
--- +++ @@ -9,5 +9,5 @@ VERSION="$1" mkdir -p ~/rpmbuild/{SOURCES,SPECS} -GZIP=-1 tar -zcf ~/rpmbuild/SOURCES/vespa-$VERSION.tar.gz --transform "s,^,vespa-$VERSION/," * +GZIP=-1 tar -zcf ~/rpmbuild/SOURCES/vespa-$VERSION.tar.gz --transform "flags=r;s,^,vespa-$VERSION/," * sed -e "s,VESPA_VERSION,$VERSION," < di...
bash
d_bash_2276
--- +++ @@ -1,5 +1,5 @@ #!/bin/sh -vows="./node_modules/vows/bin/vows" +vows="./node_modules/.bin/vows" [ ! -x $vows ] && cd .. if [ ! -x $vows ]; then echo "Unable to run Vows." >&2
bash
d_bash_2277
--- +++ @@ -1,5 +1,5 @@ ./scripts/cleanvalidate.sh pearson-3d mkdir -p out images rm out/* images/* - mpiexec -n 8 ./bin/pearson-3d.out 1000 100 + mpiexec -n 8 ./bin/pearson-3d.out 3200 200 ./scripts/plot-pearson-bin.py out/monitor-*.txt
bash
d_bash_2278
--- +++ @@ -16,4 +16,4 @@ ./bin/run_management_command za_hansard_q_and_a_scraper --run-all-steps # Run the committee minutes scraper and imports -# ./bin/run_management_command za_hansard_pmg_api_scraper --scrape --save-json --import-to-sayit --commit +./bin/run_management_command za_hansard_pmg_api_scraper --sc...
bash
d_bash_2279
--- +++ @@ -11,3 +11,9 @@ pip3 install dmgbuild mv syncplay/resources/macOS_readme.pdf syncplay/resources/.macOS_readme.pdf dmgbuild -s appdmg.py "Syncplay" dist_bintray/Syncplay_${VER}.dmg + +# Workaround for deployment issues with newer openssl. +# See https://travis-ci.community/t/ruby-openssl-python-deployment...
bash
d_bash_2280
--- +++ @@ -14,10 +14,10 @@ #tail -f /var/steam/log/console/arma3-server-console.log cd /home/steam/serverfiles -cmd="./arma3server -client -connect=$SERVER_IP -ip=$IP -port=2302 " +cmd="./arma3server -client -connect=$SERVER_IP -ip=$IP -port=$SERVER_PORT " cmd+="-password=$GAME_PASSWORD " cmd+="-bepath=/home/s...
bash
d_bash_2281
--- +++ @@ -26,6 +26,10 @@ ./build.sh cd .. +cd backup/postgis/backup +./build.sh +cd .. + cd pile ./build.sh cd ..
bash
d_bash_2282
--- +++ @@ -1,5 +1,5 @@ #!/bin/sh -yum install bind -y +yum install bind bind-utils -y install -m640 -oroot -gnamed /vagrant/named.conf /etc/ install -m640 -oroot -gnamed /vagrant/example.com.zone /var/named/
bash
d_bash_2283
--- +++ @@ -6,7 +6,7 @@ minor ) TYPE="minor"; break;; major ) TYPE="major"; break;; premajor ) TYPE="premajor --preid=next"; break;; - prelelease ) TYPE="prerelease --preid=next"; break;; + prelelease ) TYPE="prerelease --preid=next --tag next"; break;; esac done cd pro...
bash
d_bash_2284
--- +++ @@ -7,12 +7,11 @@ DATE="$(date +%y%m%d)" LONGDATE="$(date +%y%m%d.%H%M%S)" -COLUMNS="BritBox-columns" SCRAPES="BritBox-scrapes" PROGRAMS_FILE="$SCRAPES/BritBoxPrograms.csv" -MOVIES_JSON_FILE="$COLUMNS/BritBoxMovies-$LONGDATE.json" -SHOWS_JSON_FILE="$COLUMNS/BritBoxShows-$LONGDATE.json" +MOVIES_JSON_FI...
bash
d_bash_2285
--- +++ @@ -20,8 +20,6 @@ cd "${KOKORO_ARTIFACTS_DIR}/git/tink_cc" fi -./kokoro/testutils/update_certs.sh # Sourcing is needed to update the caller environment. -source ./kokoro/testutils/install_cmake.sh source ./kokoro/testutils/install_openssl.sh ./kokoro/testutils/run_cmake_tests.sh . -DTINK_USE_SYSTEM_O...
bash
d_bash_2286
--- +++ @@ -1,17 +1,20 @@ #!/bin/bash -if [[ $TRAVIS_PULL_REQUEST == false && $TRAVIS_BRANCH == "master" ]] +if [[ $TRAVIS_PULL_REQUEST == false && $TRAVIS_BRANCH == "master" && $PY == 3.4 ]] then + # See https://help.github.com/articles/creating-an-access-token-for-command-line-use/ for how to generate a token ...
bash
d_bash_2287
--- +++ @@ -17,6 +17,16 @@ ${_package_name}@requisites : \ pallur-packages@jansson +# FIXME: Move these to the requisites of 'mosaic-components-couchdb'! +${_package_name}@requisites : \ + pallur-packages@js-1.8.5 \ + pallur-packages@nspr-4.9 + +# FIXME: Move these to the requisites of 'mosaic-components-riak...
bash
d_bash_2288
--- +++ @@ -5,7 +5,7 @@ docker rm -f registry.test || true docker run -it -d --name registry.test -p 5000:5000 registry:2.6.0 -docker pull alpine:3.5 +docker pull alpine:3.5 || true for repo in `seq 1 20`; do
bash
d_bash_2289
--- +++ @@ -6,7 +6,7 @@ dir=$(dirname $0) -fly -t ${CONCOURSE_TARGET:-production} \ +fly -t ${CONCOURSE_TARGET:-director} \ sp -p golang-release \ -c $dir/pipeline.yml \ -l <(lpass show --notes 'golang-release pipeline vars')
bash
d_bash_2290
--- +++ @@ -6,9 +6,11 @@ flake8 --select E,W --max-line-length=140 --ignore E722,W503,W504,E128 jarviscli/ installer echo "lint errors checked" echo "" -cd jarviscli/ +( +cd jarviscli || exit echo "checking for unit test" python3 -m unittest discover echo "unit tests checked" echo "" cd .. +)
bash
d_bash_2291
--- +++ @@ -9,7 +9,7 @@ --namespace=${KUBE_ENV_PRODUCTION_NAMESPACE} \ --set fullnameOverride=$RELEASE_NAME \ --set host=$RELEASE_HOST \ - --set secretName=tls-certificate + --set secretName=tls-certificate \ --set image.repository=$DOCKER_REPOSITORY \ --set image.tag=$IMAGE_TAG \ --install
bash
d_bash_2292
--- +++ @@ -21,6 +21,9 @@ echo "Generating coverage report..." paver a11y_coverage +# Force the following if statement to always be true +RUN_PA11YCRAWLER=1 + if [ "$RUN_PA11YCRAWLER" = "1" ] then # The settings that we use are installed with the pa11ycrawler module
bash
d_bash_2293
--- +++ @@ -3,21 +3,21 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]" - ./gradlew --stacktrace --debug build + ./gradlew --stacktrace --info build elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then ec...
bash
d_bash_2294
--- +++ @@ -4,4 +4,5 @@ set -o nounset set -o verbose -find /data/*.js* | xargs jshint +find /data/*.js | xargs jshint +find /data/*.json | xargs jshint
bash
d_bash_2295
--- +++ @@ -19,8 +19,8 @@ <meta http-equiv=refresh content=0;url=latest/> EOF -git config user.name "Travis CI" -git config user.email "luthaf@luthaf.fr" +git config user.name "Lumol bot" +git config user.email "lumol-bot@lumol.org" git config push.default simple git add --all .
bash
d_bash_2296
--- +++ @@ -18,7 +18,7 @@ ./generate-jsdoc.sh # Copy everything to the site. - scp -r gallery common tests jsdoc experimental $site \ + scp -r gallery common tests jsdoc experimental plugins $site \ && \ scp dygraph*.js gadget.xml excanvas.js thumbnail.png screenshot.png docs/* $site/ else
bash
d_bash_2297
--- +++ @@ -6,6 +6,7 @@ # Enable color in git. git config --global color.ui true +git config --global core.pager "diff-highlight | less" # Create backup and swap directories specified in vimrc. mkdir -p "$HOME/.vim/backup/"
bash
d_bash_2298
--- +++ @@ -28,6 +28,7 @@ # https://cryptozombies.io # https://capturetheether.com/ # https://github.com/OpenZeppelin/ethernaut +# https://qed-it.com/2017/07/11/challenge-one-the-functionality-of-zk-snark - ZK Snarks # Debugger # https://medium.com/tenderly/how-to-debug-solidity-smart-contracts-with-tenderly-a...
bash
d_bash_2299
--- +++ @@ -14,11 +14,13 @@ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# -# Purpose: -# -# Run 'pylint' on Python files for programming errors and helps enforcing -# PEP8 coding standards...
bash