document_id
stringlengths
8
12
document
stringlengths
50
3.21k
split
stringclasses
1 value
d_bash_1100
--- +++ @@ -7,7 +7,7 @@ # Path setup source ~/.config/bash/path-edit.bash path_front /sbin /usr/sbin /usr/local/sbin /usr/local/bin /usr/bin /bin -path_back ~/bin ~/.local/bin ~/.poetry/bin ~/.cargo/bin ~/.dotnet /usr/local/go/bin +path_back ~/bin ~/.local/bin ~/.poetry/bin ~/.cargo/bin ~/.dotnet /usr/local/go/bin...
bash
d_bash_1101
--- +++ @@ -1,7 +1,7 @@ # This script is called by rabbitmq-server-ha.ocf during RabbitMQ # cluster start up. It is a convenient place to set your cluster # policy here, for example: -# ${OCF_RESKEY_ctl} set_policy ha-all "." '{"ha-mode":"all", "ha-sync-mode":"automatic"}' --apply-to all --priority 0 +# ${OCF_RESK...
bash
d_bash_1102
--- +++ @@ -7,6 +7,8 @@ # Use default environment vars for localhost if not already set export DM_SUPPLIER_FRONTEND_API_AUTH_TOKEN=${DM_SUPPLIER_FRONTEND_API_AUTH_TOKEN:=myToken} +export DM_PASSWORD_SECRET_KEY=${DM_PASSWORD_SECRET_KEY:=not_very_secret} +export DM_SECRET_SALT=${DM_SECRET_SALT:=its_salty_yum} ec...
bash
d_bash_1103
--- +++ @@ -2,7 +2,7 @@ set -ev -/usr/lib/oracle/18.5/client64/bin/sqlplus system/Oracle18@XEPDB1 <<SQL +${ORACLE_HOME}/bin/sqlplus system/${DATABASE_SYS_PASSWORD}@${DATABASE_NAME} <<SQL @@spec/support/alter_system_user_password.sql @@spec/support/alter_system_set_open_cursors.sql @@spec/support/create_oracle...
bash
d_bash_1104
--- +++ @@ -5,23 +5,23 @@ if [ $CIRCLE_PR_NUMBER ]; then echo -e "Build Pull Request #$CIRCLE_PR_NUMBER => Branch [$CIRCLE_BRANCH]" - ./gradlew build $SWITCHES + ./gradlew clean build $SWITCHES elif [ -z $CIRCLE_TAG ]; then echo -e 'Build Branch with Snapshot => Branch ['$CIRCLE_BRANCH']' - ./gradlew -Pr...
bash
d_bash_1105
--- +++ @@ -3,6 +3,8 @@ ROOT=$(dirname "$0") HELM_DIR="$ROOT/../helm_deploy/cla-public/" + +docker build -t cla_public_local "$ROOT/.." kubectl config use-context docker-for-desktop
bash
d_bash_1106
--- +++ @@ -6,7 +6,7 @@ # Test ladder benchmark echo ladder -python mlp_ladder.py --logdir logs/test/ --id ladder --do_not_save --end_epoch 1 --decay_start 1.0 --which_gpu 0 +python vat_ladder.py --logdir logs/test/ --id ladder --model ladder --do_not_save --end_epoch 1 --decay_start 1.0 --which_gpu 0 # Test e...
bash
d_bash_1107
--- +++ @@ -3,4 +3,4 @@ alias shitter='cd ~/git/veralite/ && bin/lasttripped; cd - > /dev/null' alias drun='docker run --rm -i -t' alias rnl='rename-and-link' -alias gid='pbpaste | ruby -r base64 -n -e '"'"'puts Base64.decode64($_)'"'"'' +alias gid='pbpaste | ruby -r base64 -e '"'"'puts Base64.decode64(STDIN.read)...
bash
d_bash_1108
--- +++ @@ -5,22 +5,33 @@ readonly ARGS=("$@") list_debs(){ + echo "--------Enter .sh listDebs method--------" + echo "$PWD" PATTERN="build/distributions/*.${PACKAGE_TYPE}" echo $PATTERN + echo "--------Leave .sh listDebs method--------" } build(){ + echo "--------Enter .sh build method--------" + ech...
bash
d_bash_1109
--- +++ @@ -5,7 +5,7 @@ if [ $# -lt 5 ]; then echo Usage: $0 dest admin start build status [log] echo where - echo " dest = tinderbox destination email address" + echo " dest = tinderbox destination URL" echo " admin = The admin contact for this build" echo " start = startime in...
bash
d_bash_1110
--- +++ @@ -4,7 +4,7 @@ TOKEN=$1 MSG_SUFFIX=${2:-''} -if [ ! -z "$MSG_SUFFIX" ] +if [ -n "$MSG_SUFFIX" ] then MSG_SUFFIX=" for ${MSG_SUFFIX}" fi
bash
d_bash_1111
--- +++ @@ -3,7 +3,9 @@ echo $TRAVIS_OS_NAME if [ "x$TRAVIS_OS_NAME" = "xosx" ]; then - echo "Do nothing for now on OSX" + brew update + brew install protobuf-c + brew install jansson else # linux sudo add-apt-repository --yes ppa:pi-rho/security sudo apt-get update
bash
d_bash_1112
--- +++ @@ -6,17 +6,19 @@ [ -n "$1" ] && IMG="$1" || IMG="$(ls -1t *.qcow2 | head -1)" if [ "$NIC" = "virtio" ]; then - if [ ! -e virtio*.iso ]; then + LOCAL_ISO="$(ls -1t virtio*.iso | head -1)" 2>/dev/null + if [ -n "${LOCAL_ISO}" ]; then + echo "Using local ISO file ${LOCAL_ISO}" + CDIMA...
bash
d_bash_1113
--- +++ @@ -6,5 +6,5 @@ exit 1 fi -/srv/mer/targets/SailfishOS-i486-x86/usr/lib/qt5/bin/lupdate src/qml/{,cover,pages}/*.qml -verbose -ts lang/sailfactor_$1.ts -/srv/mer/targets/SailfishOS-i486-x86/usr/lib/qt5/bin/lrelease lang/sailfactor_$1.ts +/srv/mer/targets/SailfishOS-i486/usr/lib/qt5/bin/lupdate src/q...
bash
d_bash_1114
--- +++ @@ -18,10 +18,21 @@ git config --global user.email "bazel-bot-development[bot]@users.noreply.github.com" git config --global user.name "Bazel Bot" -git clone https://github.com/googleapis/googleapis.git -git clone https://github.com/googleapis/googleapis-gen.git +SOURCE_CLONE_ARGS= +if [[ $SOURCE_BRANCH !...
bash
d_bash_1115
--- +++ @@ -10,8 +10,8 @@ # Subshell to generate SBT commands ( SET_BINTRAY="set PublishToBintray.publishToBintraySettings ++ Seq(publishMavenStyle := false)" - FULL_VERSIONS="2.10.2 2.10.3 2.10.4 2.11.0" - BIN_VERSIONS="2.10.4 2.11.0" + FULL_VERSIONS="2.10.2 2.10.3 2.10.4 2.11.0 2.11.1" + BIN_VERS...
bash
d_bash_1116
--- +++ @@ -5,11 +5,14 @@ my_ip=$(hostname --ip-address) CASSANDRA_SEEDS=$(host $PEER_DISCOVERY_SERVICE | \ + grep -v "not found" | \ grep -v $my_ip | \ sort | \ head -2 | xargs | \ awk '{print $4}') -export CASSANDRA_SEEDS +if [ ! -z "$CASSANDRA_SEEDS" ]; then + export CASSANDRA_SEEDS...
bash
d_bash_1117
--- +++ @@ -3,19 +3,25 @@ MYSQL_ROOT_PWD=${MYSQL_ROOT_PWD:-"mysql"} -echo "[i] Setting up new power user credentials." +echo "Setting up new power user credentials." service mysql start $ sleep 10 #/usr/bin/mysqld #sleep 10 -echo "[i] Setting root new password." -mysql -h 127.0.0.1 -P 3306 --user=root --pas...
bash
d_bash_1118
--- +++ @@ -10,5 +10,5 @@ for spec in $(find . -name ${glob}) do echo "\nTesting ${spec}" - ts-node ${spec} + ts-node --fast ${spec} done
bash
d_bash_1119
--- +++ @@ -16,6 +16,6 @@ echo $PBS_JOBID - `hostname` - $DEVICE - at `git log --pretty=format:'%h' -n 1` - $REMBED_FLAGS >> ~/rembed_machine_assignments.txt # Use Jon's Theano install. -source /afs/cs.stanford.edu/u/jgauthie/scr/tmp/env-common/bin/activate +source /scr/jgauthie/tmp/env-common/bin/activate THE...
bash
d_bash_1120
--- +++ @@ -1,2 +1,2 @@ #!/bin/bash -CC=avr-gcc CXX=c++ LINK="-mmcu=atmega128 -Wl,-gc-sections" COMP="-O2 -ggdb -Wa,-mmcu=atmega128 -mmcu=atmega128 -ffunction-sections -fdata-sections" cmake -DARCH=AVR -DWORD=8 -DOPSYS=NONE -DSEED=LIBC -DSHLIB=OFF -DSTBIN=ON -DTIMER=NONE -DWITH="DV;BN;FB;EB;PB;CP;HF" -DBENCH=20 -DT...
bash
d_bash_1121
--- +++ @@ -20,7 +20,7 @@ $webpack --config scripts/webpack.config.js tmp build/bookshelf.js -uglifyjs node_modules/knex/build/knex.js > scripts/jsdoc-static/knex.js +uglifyjs node_modules/knex/build/knex.js > scripts/jsdoc-static/assets/knex.min.js npm run jsdoc rm -rf tmp
bash
d_bash_1122
--- +++ @@ -4,3 +4,9 @@ # Author: Ines Neubach <ines.neubach@idn.astzweig.de> # +# - - - +# Constants declared here. +# - - - +HOST_FILE_LOC="/etc/host"; +HFM_DIR="${HOME}/.hfm"; +DEFAULT_FILE="$HFM_DIR/default";
bash
d_bash_1123
--- +++ @@ -8,6 +8,7 @@ fetch v8 cd v8 git checkout 5.4.374.1 +gclient sync make x64.release GYPFLAGS="-Dv8_use_external_startup_data=0 -Dv8_enable_i18n_support=0 -Dv8_enable_gdbjit=0" cd ../.. ./symlink.sh chromium/v8
bash
d_bash_1124
--- +++ @@ -2,12 +2,12 @@ if ! dotnet --info; then echo "Can't find dotnet! Please add to PATH." - exit 1 + return 1 fi if ! git --version; then echo "Can't find git! Please add to PATH." - exit 1 + return 1 fi root=$(pwd)
bash
d_bash_1125
--- +++ @@ -1,9 +1,9 @@ #!/bin/bash set -e -./grailsw refresh-dependencies --non-interactive -./grailsw test-app --non-interactive -./grailsw package-plugin --non-interactive -./grailsw doc --pdf --non-interactive +./grailsw refresh-dependencies --non-interactive --stacktrace +./grailsw test-app --non-interactive -...
bash
d_bash_1126
--- +++ @@ -1,14 +1,27 @@ #!/bin/bash + +if [[ "$(uname)" == 'Darwin' ]]; then + readonly GSED=$(which gsed) + + if [ ! -x "${GSED}" ]; then + echo 'GNU Sed could not be found on Mac OS X.' >&2 + echo 'Please install it via "brew install gnu-sed".' >&2 + fi + + readonly SED="${GSED}" +else + SED=$(which s...
bash
d_bash_1127
--- +++ @@ -5,9 +5,7 @@ git clone https://github.com/ngtcp2/nghttp3 cd nghttp3 autoreconf -i -./configure --prefix=$PWD/build --enable-lib-only \ - LDFLAGS="-fsanitize=address,undefined -fno-sanitize-recover=undefined" \ - CPPFLAGS="-fsanitize=address,undefined -fno-sanitize-recover=undefined -g3" +./confi...
bash
d_bash_1128
--- +++ @@ -9,10 +9,10 @@ else touch /config/config.ini touch /config/sickbeard.db -# mv -f /sickbeard/autoprocesstv/autoProcessTV.cfg /config/autoProcessTV.cfg +# mv -f /sickbeard/autoprocesstv/autoProcessTV.cfg.sample /config/autoProcessTV.cfg fi ln -sf /config/config.ini /sickrage/config.ini ln -sf /config...
bash
d_bash_1129
--- +++ @@ -10,15 +10,13 @@ echo "==> Creating tmpdir" tmpdir=$(/usr/bin/mktemp --directory --tmpdir=${HOME}) -pushd ${tmpdir} +pushd "$tmpdir" -echo "==> Installing cower" -/usr/bin/curl -L -O https://aur.archlinux.org/cgit/aur.git/snapshot/cower.tar.gz -/usr/bin/tar xf cower.tar.gz +echo "==> Installing aurac...
bash
d_bash_1130
--- +++ @@ -22,5 +22,6 @@ echo "# docker info" docker_on $host info echo "# weave version" + docker inspect -f {{.Created}} weaveworks/weave:${WEAVE_VERSION:-latest} weave_on $host version done
bash
d_bash_1131
--- +++ @@ -7,3 +7,4 @@ ~/venv/bin/pip install --editable ~/python-tripleoclient; ~/venv/bin/pip install tripleo-common==5.0.0.0b2 os-cloud-config==5.0.0.0b2 ~/venv/bin/pip install git+git://github.com/openstack/python-heatclient.git@master +~/venv/bin/pip install git+git://github.com/openstack/python-mistralclien...
bash
d_bash_1132
--- +++ @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash if [ -z "$1" ] ; then echo "You have to specify a target directory." >&2 @@ -7,17 +7,20 @@ BASEDIR="$1" +if [ ! -d $BASEDIR ] ; then + mkdir -p $BASEDIR +fi + BASEDIR=$(cd "$BASEDIR" && pwd) -svn export svn://svn.savannah.nongnu.org/librefm "$BASEDIR"/li...
bash
d_bash_1133
--- +++ @@ -4,3 +4,4 @@ grep -q '^/usr/local/bin/fish$' /etc/shells; or echo '/usr/local/bin/fish' | \ sudo tee -a /etc/shells chsh -s /usr/local/bin/fish +sudo chsh -s /usr/local/bin/fish
bash
d_bash_1134
--- +++ @@ -15,6 +15,7 @@ apt-get-update apt-get-install \ + bmon \ curl \ fail2ban \ git \
bash
d_bash_1135
--- +++ @@ -1,6 +1,6 @@ #! /bin/bash -find $1 -type f -print0 | xargs -0 sed -i -r \ +find "$@" -type f -print0 | xargs -0 sed -i -r \ -e 's/Drupal\\wmcontroller\\Entity\\(AbstractPresenter|HasPresenterInterface|PresenterInterface)/Drupal\\wmpresenter\\Entity\\\1/g' \ -e 's/Drupal\\wmcontroller\\Twig\\Extens...
bash
d_bash_1136
--- +++ @@ -30,3 +30,5 @@ --colors=always \ --testsuite Zephir \ --coverage-clover ./unit-tests/output/coverage-Zephir.xml + +exit $?
bash
d_bash_1137
--- +++ @@ -1,8 +1,12 @@ # make or-tools -mkdir deps +mkdir -p deps cd deps svn checkout http://or-tools.googlecode.com/svn/trunk/ or-tools-read-only cd or-tools-read-only make third_party make cplibs +# remove shared objects to enforce static linking +rm -v lib/*.so lib/*.so.* +cd dependencies/install/lib +r...
bash
d_bash_1138
--- +++ @@ -13,7 +13,7 @@ virtualenv ~/env sudo -u postgres createuser -s `whoami` --no-password || true sudo -u postgres createdb changes || true -sudo chown -R `whoami` `npm config get cache` +sudo chown -R `whoami` `npm config get cache` || true source ~/env/bin/activate time make install-test-requirements
bash
d_bash_1139
--- +++ @@ -3,21 +3,26 @@ CURDIR=. echo $CURDIR -rm -rf "$SCRIPTDIR/natives/linux/libJRiftLibrary64.so" -rm -rf "$SCRIPTDIR/linux64" -mkdir "$SCRIPTDIR/linux64" -cd "$SCRIPTDIR/linux64" -cmake -DCMAKE_C_FLAGS="-m64" -DCMAKE_CXX_FLAGS="-m64" -DCMAKE_SHARED_LINKER_FLAGS="-m64" "$SCRIPTDIR" -make -cp "$SCRIPTDIR/lin...
bash
d_bash_1140
--- +++ @@ -1,7 +1,9 @@ #!/bin/bash #This is a jenkins script -export remote_command="/usr/bin/ssh -i /var/lib/jenkins/.ssh/id_rsa ubuntu@era.eha.io " -$remote_command "cd /opt/infrastructure/docker/images/era/era && /usr/bin/sudo git pull origin master" &&\ -$remote_command "/usr/bin/sudo docker build -t era /op...
bash
d_bash_1141
--- +++ @@ -7,7 +7,7 @@ }, "mappings" : { "_default_":{ - "_ttl" : {"enabled":true, "default":"2d"}, + "_ttl" : {"enabled":true, "default":"4d"}, }, "mysql" : { "properties" : {
bash
d_bash_1142
--- +++ @@ -12,6 +12,3 @@ cmake .. make sudo make install - -# Code-coverage -sudo apt-get -qq --yes --force-yes install lcov curl
bash
d_bash_1143
--- +++ @@ -15,3 +15,8 @@ cd $onnx_dir pip install pytest-cov pytest + +# check auto-gen files up-to-date +# docs/Operators.md +python onnx/defs/gen_doc.py -o docs/Operators.md +git diff --exit-code docs/Operators.md
bash
d_bash_1144
--- +++ @@ -26,7 +26,7 @@ ) # install option -OPTbrewvim=--with-lua +OPTbrewvim=--with-luajit # emacs version INSTALL_EMACS_VER=25.1
bash
d_bash_1145
--- +++ @@ -18,9 +18,10 @@ windowBottom title -d 1 "Destroying persistent volumes..." + basedir=`pwd | xargs basename | awk '{print tolower($0)}'` a_PVOLS=( - "chrisultronbackend_chris_dev_db_data" - "chrisultronbackend_swift_storage" + "${basedir//_}_chris_dev_db_data" + "${ba...
bash
d_bash_1146
--- +++ @@ -4,7 +4,8 @@ bash <(curl -s https://codecov.io/bash) -AVALANCHE_IMAGE=$(docker image ls --format="{{.Repository}}:{{.Tag}}" | grep $DOCKERHUB_REPO | head -n 1) +AVALANCHE_IMAGE="$DOCKERHUB_REPO:$COMMIT" +# AVALANCHE_IMAGE=$(docker image ls --format="{{.Repository}}:{{.Tag}}" | grep $DOCKERHUB_REPO | h...
bash
d_bash_1147
--- +++ @@ -30,8 +30,8 @@ # Kokoro checks out the repository here. cd ${KOKORO_ARTIFACTS_DIR?}/github/iree -echo "Checking out submodules" -git submodule update --init --depth 1000 --jobs 8 +echo "Initializing submodules" +./git_scripts/submodule_versions.py init echo "Building and testing with bazel" ./build...
bash
d_bash_1148
--- +++ @@ -8,7 +8,7 @@ rm -rf $DIST_DIR mkdir $DIST_DIR -tar --create . | docker run --rm -e VERSION=${VERSION} -i golang:$GOVERSION bash -c "$(cat build/docker_build.sh)" > ${DIST_DIR}/build.tar +tar --create . | docker run --rm -i golang:$GOVERSION bash -c "$(cat build/docker_build.sh)" > ${DIST_DIR}/build.tar...
bash
d_bash_1149
--- +++ @@ -3,7 +3,7 @@ case "$1" in java8) - echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u302-b08/OpenJDK8U-jdk_x64_linux_hotspot_8u302b08.tar.gz" + echo "https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u312-b07/OpenJDK8U-jdk_x64_linux_hotspot_8u312b07.tar.g...
bash
d_bash_1150
--- +++ @@ -1,3 +1,7 @@ +@class(){ + echo -n "" +} + @description(){ echo -n "" }
bash
d_bash_1151
--- +++ @@ -8,7 +8,7 @@ function gitmergecommit() { git log $1..HEAD --ancestry-path --merges } function gitmerged() { git branch --merged $@ | sed -e '/^*/d' } -function gitcleanup() { git branch -d $(gitmerged) } +function gitcleanup() { git branch -d $(gitmerged); git remote prune origin } function gitshowsvn...
bash
d_bash_1152
--- +++ @@ -25,8 +25,7 @@ required="$required g++" install_msg="$ sudo apt-get install" for package in $required; do - echo " - $package" - if ! dpkg -l $package; then + if ! dpkg -W $package; then required_msg exit 1 # package not present fi
bash
d_bash_1153
--- +++ @@ -2,15 +2,21 @@ # this script creates the necessary containers for integration testing -docker pull docker.elastic.co/elasticsearch/elasticsearch:6.0.1 -docker run --name elastic-test -p 9200:9200 -p 9300:9300 -d -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:6.0.1 +docke...
bash
d_bash_1154
--- +++ @@ -1,7 +1,9 @@ #!/bin/bash -v # Add js build steps here (npm, etc.) +pushd ../api /opt/gradle/bin/gradle build +popd # Fetch AWS ECR variables version=$1
bash
d_bash_1155
--- +++ @@ -1,2 +1,2 @@ #!/bin/sh -/usr/bin/aws s3 sync /var/jenkins_home s3://$S3_BUCKET --sse AES256 --delete --exclude "*workspace/*" +/usr/bin/aws s3 sync /var/jenkins_home s3://$S3_BUCKET --sse AES256 --delete --exclude "*workspace/*" --exclude "*lastSuccessful/*" --exclude "*lastStable/*"
bash
d_bash_1156
--- +++ @@ -1,3 +1,5 @@ +[[ $APPVEYOR_REPO_TAG != 'true' && -z $TRAVIS_TAG ]] && exit 0 + ( echo '-- Installing addons...' bash addons/main.sh
bash
d_bash_1157
--- +++ @@ -1,7 +1,7 @@ alias r='rbenv local 1.8.7-p358' alias ss='script/server' -alias sc='script/console' +alias sc='script/console --irb=pry' alias sg='script/generate' alias sd='script/destroy'
bash
d_bash_1158
--- +++ @@ -10,4 +10,5 @@ ;; *) echo "Error $0 don't handle the os: $os" + ;; esac
bash
d_bash_1159
--- +++ @@ -20,3 +20,6 @@ # Install Composer curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer + +# Enable composer parallel downloads. +composer global require hirak/prestissimo
bash
d_bash_1160
--- +++ @@ -12,7 +12,7 @@ echo Installing WebSocket package. createPackage websocket \ - -a description "Utilities for communicating with WebSockets" + -a description "Utilities for communicating with WebSockets" \ -a parameters '[ {"name":"uri", "required":true, "bindTime":true} ]' waitForAll
bash
d_bash_1161
--- +++ @@ -1,2 +1,10 @@ #!/bin/sh + +if [ -n "${WINDIR}" ]; then + # Give preference to all MSYS64 binaries. This solves issues with mkdir and + # other commands not working properly. + export PATH="/usr/bin:${PATH}" + export PYTHON="/c/Python27/python" +fi + detect-libc prebuild --verbose --target 8.6.0 --str...
bash
d_bash_1162
--- +++ @@ -7,7 +7,5 @@ BASE_DIR=dist/qtrpi/$DEVICE_NAME mkdir -p $BASE_DIR -DATE=$(date +%Y%m%d) - message 'Compressing qtrpi...' -zip -r -q $ROOT/$BASE_DIR/qtrpi-${DEVICE_NAME}_qt-${QT_VERSION}_${DATE}.zip raspi/qt5 raspi/qt5pi +zip -r -q $ROOT/$BASE_DIR/qtrpi-${DEVICE_NAME}_qt-${QT_VERSION}.zip raspi/qt5 rasp...
bash
d_bash_1163
--- +++ @@ -16,7 +16,7 @@ sudo ln -s /opt/oracle/instantclient/sqlplus /usr/bin/sqlplus sudo ln -s /opt/oracle/instantclient_19_9 /opt/oracle/instantclient -sudo sh -c "echo 'instantclient,/opt/oracle/instantclient' | pecl install oci8" +sudo sh -c "echo 'instantclient,/opt/oracle/instantclient' | pecl install oc...
bash
d_bash_1164
--- +++ @@ -24,7 +24,7 @@ cd docs git config user.name "autogenerated docs" git config user.email "docs@dtolnay.github.io" -git rm -q '*' +git rm -q --ignore-unmatch '*' mv ../target/doc/* . git add -A . git commit -qm "autogenerated docs for $TRAVIS_REPO_SLUG"
bash
d_bash_1165
--- +++ @@ -8,7 +8,8 @@ if [ "$TEST_SUITE" == "PYTHON" ]; then echo "Installing opsbro for TESTING (so have libs)" cd .. - python setup.py install + # NOTE: sudo because travis is under ubuntu + sudo python setup.py install # NOTE: nosetests are hooking stdout and sys.paths, and so are not in rea...
bash
d_bash_1166
--- +++ @@ -2,21 +2,35 @@ cd "`dirname "$0"`" ssh ubuntu@coauthor mongodump --db coauthor rsync -a ubuntu@coauthor:dump/coauthor/ coauthor-backup/ -acd_cli sync -acd_cli mkdir /coauthor-backup/`date +%Y-%m-%d` -count=0 -limit=20 -while ! acd_cli ul -q -o coauthor-backup/* /coauthor-backup/`date +%Y-%m-%d` -do - e...
bash
d_bash_1167
--- +++ @@ -4,6 +4,14 @@ sudo yum install ansible ansible-playbook -i "localhost," -c local provisioning/ci.yml + + +echo '###################################' +echo '### Doing top-level npm install ###' +echo '###################################' + +#TODO: We want to delete this step soon... +npm install echo...
bash
d_bash_1168
--- +++ @@ -3,7 +3,9 @@ if command -v "cygpath" > /dev/null; then # We have cygpath to do the conversion ATOMCMD=$(cygpath "$(dirname "$0")/atom.cmd" -a -w) + ARGS=( $(cygpath -a -w "$@" | tr '\n' ' ') ) else + ARGS=$@ pushd "$(dirname "$0")" > /dev/null if [[ $(uname -r) == *-Microsoft ]]; then ...
bash
d_bash_1169
--- +++ @@ -1,7 +1,7 @@ #!/bin/bash set -v -clang-tidy -version +/usr/lib/llvm-5.0/bin/clang-tidy -version FILES=$(find source -type f -name '*.cpp') for f in $FILES; do - clang-tidy $f -checks=-*,clang-analyzer-*,bugprone-*,performance-*,modernize-*,-modernize-use-auto -- -Isource -Iexternal -I. -std=c++1z; + /u...
bash
d_bash_1170
--- +++ @@ -6,3 +6,6 @@ #xset +fp ~/local/lib/X11/fonts export LANG=en_GB.UTF-8 + +cd +
bash
d_bash_1171
--- +++ @@ -1,2 +1,25 @@ #!/bin/bash -xxd -i keywords.txt > RuC/keywords.c +# Pass keywords.txt data to keywords.c +keywords_file="RuC/keywords.c" +keywords_source="keywords.txt" + +# Back off if script is running not from project root +if [ ! -f "${keywords_file}" ] || [ ! -f "${keywords_source}" ] ; then + echo...
bash
d_bash_1172
--- +++ @@ -3,6 +3,7 @@ # # Generate the topic stats report with a query to the database and send # the results out to a pre-configured CSV file for the current date. +# Overwrites existing CSV for today's date, if one exists. # # This script must be run with app as current working directory. # @@ -18,20 +19,25...
bash
d_bash_1173
--- +++ @@ -1,15 +1,16 @@ #!/bin/bash +# this script is compatible with macOS (the sed command) echo "Move _static" -grep -RiIl '_static' _build | xargs sed -i 's/_static/static/g' -mv _build/html/_static _build/html/static +grep -RiIl '_static' _build | xargs sed -i '' -e 's/_static/static/g' +cp -r _build/html/...
bash
d_bash_1174
--- +++ @@ -5,6 +5,6 @@ DM_DATA_API_AUTH_TOKEN=ourtoken \ DM_DATA_API_URL=https://digitalmarketplace-api-ci.tsuru.paas.alphagov.co.uk \ DM_S3_DOCUMENT_BUCKET=admin-frontend-dev-documents \ -DM_SEARCH_API_AUTH_TOKEN=CHbDLQtMvKoAuAtT8GM6vrdGGC \ -DM_SEARCH_API_URL=https://preview-search-api.development.digitalmarket...
bash
d_bash_1175
--- +++ @@ -25,7 +25,7 @@ echo "--- Starting buildkite-agent" export BUILDKITE_AGENT_TOKEN="$token" export BUILDKITE_AGENT_NAME="$name" -export BUILDKITE_AGENT_META_DATA="vmkite-vmdk=$vmdk" +export BUILDKITE_AGENT_META_DATA="vmkite-vmdk=$vmdk,vmkite-guestid=darwin13_64Guest" export BUILDKITE_BOOTSTRAP_SCRIPT_PATH...
bash
d_bash_1176
--- +++ @@ -17,7 +17,7 @@ exit $2 } -fgrep -v "#" $1 | nc $SERVER $PORT > .tmp_test +fgrep -v "#" $1 | nc -q 1 $SERVER $PORT > .tmp_test # diff is "false" if they match if diff .tmp_test $2; then
bash
d_bash_1177
--- +++ @@ -3,7 +3,7 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -TPUT=$(which tput) +TPUT=$(which tput 2>/dev/null) if test -x "$TPUT" && $TPUT setaf 1 >/dev/null ; then RED="$($TPUT setaf 1)" NORMAL="$($TPUT op)"
bash
d_bash_1178
--- +++ @@ -1,7 +1,7 @@ # # build config # -PACKAGES="net-misc/curl app-admin/eselect app-portage/portage-utils app-shells/bash" +PACKAGES="sys-libs/readline net-misc/curl app-admin/eselect app-portage/portage-utils app-shells/bash" # # this method runs in the bb builder container just before starting the buil...
bash
d_bash_1179
--- +++ @@ -13,8 +13,9 @@ echo "Creating tag $TAG and pushing it to github" git tag $TAG +git push --tags git tag -f latest -git push --tags +git push --tags -f echo "You can now upload SwiftiumKit.framework.zip and edit release notes from https://github.com/openium/SwiftiumKit/releases/edit/$TAG"
bash
d_bash_1180
--- +++ @@ -7,6 +7,7 @@ git add docs lein vcs commit git tag `cat project.clj | grep defproject | cut -d" " -f 3 | tr -d "\""` # I'm actually pretty happy with this +git push origin :gh-pages git subtree push --prefix docs origin gh-pages lein deploy clojars lein change version leiningen.release/bump-version
bash
d_bash_1181
--- +++ @@ -5,7 +5,7 @@ chmod +x /home/dmwm/ContainerScripts/deploy_unittest.sh sh /home/dmwm/ContainerScripts/deploy_unittest.sh -echo "export PYTHONPATH=/home/dmwm/wmcore_unittest/WMCore/src/python:$PYTHONPATH" >> ./env_unittest.sh +echo "export PYTHONPATH=/home/dmwm/wmcore_unittest/WMCore/src/python:\$PYTHONPA...
bash
d_bash_1182
--- +++ @@ -6,7 +6,7 @@ echo -e "Testing travis-encrypt" echo -e "$VARNAME" -# if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then +if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo -e "Starting deployment on Github Pages\n" if [ "$TRAVIS" == "true" ]; then git config --global user.email "manos@ia...
bash
d_bash_1183
--- +++ @@ -4,8 +4,7 @@ # which jdk do we have? java -version -# update repo metadata and install some basic packages we need -sudo apt-get update -q2 +# install some basic packages we need sudo apt-get -y install ant ant-optional libev-dev libyaml-dev python-dev python-setuptools wamerican # install some pytho...
bash
d_bash_1184
--- +++ @@ -1,3 +1,3 @@ #!/bin/sh -JAVA_OPTS="${JAVA_OPTS} -DconfigFileLocation=/config/frontend-config.properties " +JAVA_OPTS="${JAVA_OPTS} -DconfigFileLocation=/config/frontend-config.properties -Xmx512M"
bash
d_bash_1185
--- +++ @@ -4,6 +4,7 @@ about-alias 'homebrew abbreviations' alias bup='brew update && brew upgrade --all' +alias bupc='brew update && brew upgrade --all && brew cleanup' alias bout='brew outdated' alias bin='brew install' alias brm='brew uninstall'
bash
d_bash_1186
--- +++ @@ -23,6 +23,7 @@ freenas) jenkins_freenas ;; freenas-tests) jenkins_freenas_tests ;; hbsdvm) sh ${BDIR}/vm/hardenedbsd.sh ${4} ${2} ${3} ;; + exit $? *) echo "Invalid Type: $1" exit 1 ;;
bash
d_bash_1187
--- +++ @@ -12,8 +12,12 @@ ln -snf ~/node_modules node_modules fi -curl -sL https://getcomposer.org/installer > composer-installer -php composer-installer +if [ -f composer.phar ]; then + php composer.phar self-update +else + curl -sL https://getcomposer.org/installer > composer-installer + php composer-inst...
bash
d_bash_1188
--- +++ @@ -31,7 +31,6 @@ fi log "SUCCESS" - # start ganesha - /usr/bin/ganesha.nfsd "${GANESHA_OPTIONS[@]}" -L /var/log/ganesha/ganesha.log "${GANESHA_EPOCH}" || return 0 - exec tailf /var/log/ganesha/ganesha.log + # start ganesha, logging both to STDOUT and to the configured location + exec /usr/bin/ga...
bash
d_bash_1189
--- +++ @@ -2,7 +2,7 @@ pushd `dirname $0` -for foo in {0..1} +for foo in {0..2} do if [[ "$foo" -eq "1" ]]; then @@ -12,7 +12,7 @@ rm /opt/keter/incoming/foo.keter -f fi - for bar in {0..1} + for bar in {0..2} do if [[ "$bar" -eq "1" ]]; then cp ./bar.keter /opt/keter/incoming/ ...
bash
d_bash_1190
--- +++ @@ -6,7 +6,7 @@ pkg_upstream_url=http://www.rpm.org/ pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>" pkg_upstream_url=http://rpm.org -pkg_source=http://www.rpm.org/releases/${pkg_name}-4.12.x/${pkg_name}-${pkg_version}.tar.bz2 +pkg_source=http://ftp.rpm.org/releases/${pkg_name}-4.12.x/${pkg_na...
bash
d_bash_1191
--- +++ @@ -2,7 +2,7 @@ git clone git://github.com/stephenway/monokai.terminal.git -# terminal colors +# terminal colors cd monokai.terminal open monokai.terminal @@ -22,3 +22,12 @@ brew install ctags npm install -g jsctags +# standardjs linter +npm install standardjs + +# ag (silver searcher, a...
bash
d_bash_1192
--- +++ @@ -10,4 +10,4 @@ if [ -f /opt/app/RUNNING_PID ]; then rm /opt/app/RUNNING_PID fi -java $JAVA_OPTS -Duser.dir=/opt/app -Dconfig.file=conf/$ENVIRONMENT.conf -cp $CLASSPATH play.core.server.ProdServerStart +exec java $JAVA_OPTS -Duser.dir=/opt/app -Dconfig.file=conf/$ENVIRONMENT.conf -cp $CLASSPATH play....
bash
d_bash_1193
--- +++ @@ -1,7 +1,10 @@ #!/usr/bin/env bash cat >> ~/.netrc << EOF -machine dyno.heroku.com +machine api.heroku.com + login $HEROKU_TOOLBELT_API_EMAIL + password $HEROKU_TOOLBELT_API_PASSWORD +machine code.heroku.com login $HEROKU_TOOLBELT_API_EMAIL password $HEROKU_TOOLBELT_API_PASSWORD EOF
bash
d_bash_1194
--- +++ @@ -2,7 +2,9 @@ COMPILER=compiler-cli.lisp -CL_IMPL=clisp +# Check if an environmental variable is set for the Common LISP implementation. +# If not, the default choice is GNU CLISP. +CL_IMPL=${CL_IMPL:-clisp} case $CL_IMPL in "abcl") CMD_LINE="abcl --load $COMPILER --" ;;
bash
d_bash_1195
--- +++ @@ -2,7 +2,7 @@ set -e if [[ "$*" == npm*start* ]]; then - npm install -g --production + npm install --production chown -R app "$NODE_CONTENT"
bash
d_bash_1196
--- +++ @@ -18,7 +18,6 @@ install_npm_pkg typescript install_npm_pkg ts-node install_npm_pkg esbuild -install_npm_pkg jest install_npm_pkg npm-check-updates install_npm_pkg netlify-cli
bash
d_bash_1197
--- +++ @@ -10,7 +10,7 @@ # make changes if [[ ! -z "$CASSANDRA_URL" ]]; then - sed "s/cassandra.url=.*/aaa=$CASSANDRA_URL/g" usergrid-default.properties + sed -i "s/cassandra.url=.*/cassandra.url=$CASSANDRA_URL/g" ./usergrid-default.properties fi # make jar of updated usergrid properties
bash
d_bash_1198
--- +++ @@ -21,7 +21,7 @@ FILES=*/${PACKAGENAME}-dev-*.tar.bz2 for filename in $FILES; do anaconda -t $BINSTAR_TOKEN remove ${ORGNAME}/${PACKAGENAME}-dev/${filename} - anaconda -t $BINSTAR_TOKEN upload -u ${ORGNAME} -p ${PACKAGENAME}-dev ${filename} + anaconda -t $BINSTAR_TOKEN upload --force -u ${ORGNAM...
bash
d_bash_1199
--- +++ @@ -2,6 +2,6 @@ source /home/vagrant/venv/bin/activate echo "Re-installing tables for Windows" pip install pip --upgrade > /dev/null -pip uninstall tables > /dev/null -pip install tables --no-binary > /dev/null +pip uninstall -y tables > /dev/null +pip install tables --no-binary all > /dev/null deactivate
bash