Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Remove 2.1 mode for jruby
language: ruby before_install: gem install bundler bundler_args: --without yard guard benchmarks script: "bundle exec rake ci:metrics" rvm: - 1.9.3 - 2.0.0 - 2.1.2 - ruby-head - rbx-2 matrix: include: - rvm: jruby env: JRUBY_OPTS="$JRUBY_OPTS --debug --1.9" # for simplecov - rvm: jruby env: JRUBY_OPTS="$JRUBY_OPTS --debug --2.0" # for simplecov - rvm: jruby env: JRUBY_OPTS="$JRUBY_OPTS --debug --2.1" # for simplecov - rvm: jruby-head env: JRUBY_OPTS="$JRUBY_OPTS --debug --2.1" # for simplecov allow_failures: - rvm: ruby-head fast_finish: true notifications: irc: channels: - irc.freenode.org#rom-rb on_success: never on_failure: change
language: ruby before_install: gem install bundler bundler_args: --without yard guard benchmarks script: "bundle exec rake ci:metrics" rvm: - 1.9.3 - 2.0.0 - 2.1.2 - ruby-head - rbx-2 matrix: include: - rvm: jruby env: JRUBY_OPTS="$JRUBY_OPTS --debug --1.9" # for simplecov - rvm: jruby env: JRUBY_OPTS="$JRUBY_OPTS --debug --2.0" # for simplecov - rvm: jruby-head env: JRUBY_OPTS="$JRUBY_OPTS --debug --1.9" # for simplecov - rvm: jruby-head env: JRUBY_OPTS="$JRUBY_OPTS --debug --2.0" # for simplecov allow_failures: - rvm: ruby-head fast_finish: true notifications: irc: channels: - irc.freenode.org#rom-rb on_success: never on_failure: change
Remove codecov as it fails for some reason.
language: python # # Test test matrix is spelled out explicitly here. # # For each supported version of Python, we will test with coverage. # matrix: include: - python: 3.6 env: TOXENV=pep8,pylint - python: 3.6 env: TOXENV=docs - python: 3.4 env: TOXENV=py34,codecov - python: 3.5 env: TOXENV=py35,codecov - python: 3.6 env: TOXENV=py36,codecov - python: 3.7-dev env: TOXENV=py37,codecov # Failures on these unsupported python versions are allowed allow_failures: - env: TOXENV=py35,codecov - env: TOXENV=py37,codecov install: - pip install tox script: - tox -vvv notifications: email: false
language: python # # Test test matrix is spelled out explicitly here. # # For each supported version of Python, we will test with coverage. # matrix: include: - python: 3.6 env: TOXENV=pep8,pylint - python: 3.6 env: TOXENV=docs - python: 3.4 env: TOXENV=py34 - python: 3.5 env: TOXENV=py35 - python: 3.6 env: TOXENV=py36 - python: 3.7-dev env: TOXENV=py37 # Failures on these unsupported python versions are allowed allow_failures: - env: TOXENV=py35 - env: TOXENV=py37 install: - pip install tox script: - tox -vvv notifications: email: false
Stop building pushes to non-master branches
--- language: node_js node_js: - "4" sudo: false cache: directories: - node_modules env: - EMBER_TRY_SCENARIO=default - EMBER_TRY_SCENARIO=ember-release - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=ember-canary matrix: fast_finish: true allow_failures: - env: EMBER_TRY_SCENARIO=ember-canary before_install: - npm config set spin false - npm install -g bower - bower --version - npm install phantomjs-prebuilt - node_modules/phantomjs-prebuilt/bin/phantomjs --version install: - npm install - bower install script: # Usually, it's ok to finish the test scenario without reverting # to the addon's original dependency state, skipping "cleanup". - ember try:one $EMBER_TRY_SCENARIO test --skip-cleanup
--- language: node_js node_js: - "4" sudo: false cache: directories: - node_modules env: - EMBER_TRY_SCENARIO=default - EMBER_TRY_SCENARIO=ember-release - EMBER_TRY_SCENARIO=ember-beta - EMBER_TRY_SCENARIO=ember-canary matrix: fast_finish: true allow_failures: - env: EMBER_TRY_SCENARIO=ember-canary branches: only: - master before_install: - npm config set spin false - npm install -g bower - bower --version - npm install phantomjs-prebuilt - node_modules/phantomjs-prebuilt/bin/phantomjs --version install: - npm install - bower install script: # Usually, it's ok to finish the test scenario without reverting # to the addon's original dependency state, skipping "cleanup". - ember try:one $EMBER_TRY_SCENARIO test --skip-cleanup
Test back to Go 1.10
language: go os: - linux - osx - windows go: - "1.13.x" before_script: - | if [[ $TRAVIS_GO_VERSION == '1.13.x' && $TRAVIS_OS_NAME == 'linux' ]]; then curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin fi script: - go test -v -race ./... - | if [[ $TRAVIS_GO_VERSION == '1.13.x' && $TRAVIS_OS_NAME == 'linux' ]]; then golangci-lint run fi env: - GO111MODULE=on
language: go os: - linux - osx - windows go: - "1.10.x" - "1.11.x" - "1.12.x" - "1.13.x" before_script: - | if [[ $TRAVIS_GO_VERSION == '1.13.x' && $TRAVIS_OS_NAME == 'linux' ]]; then curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin fi script: - go test -v -race ./... - | if [[ $TRAVIS_GO_VERSION == '1.13.x' && $TRAVIS_OS_NAME == 'linux' ]]; then golangci-lint run fi env: - GO111MODULE=on
Whitelist all branches for deploy
language: erlang otp_release: - 18.0 - 17.0 - R16B script: make clean test sudo: false branches: only: - master notifications: email: recipients: - zotonic-commits@googlegroups.com on_success: change #[always|never|change] # default: change on_failure: always #[always|never|change] # default: always deploy: provider: script script: hex.sh on: tags: true
language: erlang otp_release: - 18.0 - 17.0 - R16B script: make clean test sudo: false branches: only: - master notifications: email: recipients: - zotonic-commits@googlegroups.com on_success: change #[always|never|change] # default: change on_failure: always #[always|never|change] # default: always deploy: provider: script script: hex.sh on: tags: true all_branches: true
Update distro map with enterprise-3.1 branch
--- openshift-origin: name: OpenShift Origin author: OpenShift Documentation Project <dev@lists.openshift.redhat.com> site: community site_name: OpenShift Community Documentation site_url: https://docs.openshift.org/ branches: master: name: Latest dir: latest origin: name: Milestone 5 dir: stable openshift-online: name: OpenShift Online author: OpenShift Documentation Project <dev@lists.openshift.redhat.com> site: commercial site_name: OpenShift Product Documentation site_url: https://docs.openshift.com/ branches: online: name: Latest dir: online openshift-enterprise: name: OpenShift Enterprise author: OpenShift Documentation Project <dev@lists.openshift.redhat.com> site: commercial site_name: OpenShift Product Documentation site_url: https://docs.openshift.com/ branches: enterprise-3.0: name: '3.0' dir: enterprise/3.0 master: name: '3.1 Preview' dir: enterprise/3.1 openshift-dedicated: name: OpenShift Dedicated author: OpenShift Documentation Project <dev@lists.openshift.redhat.com> site: commercial site_name: OpenShift Product Documentation site_url: https://docs.openshift.com/ branches: master: name: '3.1 Preview' dir: dedicated/3.1
--- openshift-origin: name: OpenShift Origin author: OpenShift Documentation Project <dev@lists.openshift.redhat.com> site: community site_name: OpenShift Community Documentation site_url: https://docs.openshift.org/ branches: master: name: Latest dir: latest origin: name: Milestone 5 dir: stable openshift-online: name: OpenShift Online author: OpenShift Documentation Project <dev@lists.openshift.redhat.com> site: commercial site_name: OpenShift Product Documentation site_url: https://docs.openshift.com/ branches: online: name: Latest dir: online openshift-enterprise: name: OpenShift Enterprise author: OpenShift Documentation Project <dev@lists.openshift.redhat.com> site: commercial site_name: OpenShift Product Documentation site_url: https://docs.openshift.com/ branches: enterprise-3.0: name: '3.0' dir: enterprise/3.0 enterprise-3.1: name: '3.1' dir: enterprise/3.1 openshift-dedicated: name: OpenShift Dedicated author: OpenShift Documentation Project <dev@lists.openshift.redhat.com> site: commercial site_name: OpenShift Product Documentation site_url: https://docs.openshift.com/ branches: master: name: '3.1 Preview' dir: dedicated/3.1
Add 0.12 and iojs to CI run.
language: node_js node_js: - "0.11" - "0.10" before_install: - npm update -g npm - npm link --loglevel error - npm install -g coveralls --loglevel error script: - bob build - cat .bob/coverage/buster-istanbul/lcov.info | coveralls
sudo: false language: node_js node_js: - "0.11" - "0.10" - "0.12" - iojs before_install: - npm update -g npm - npm install -g bob coveralls --loglevel error script: - bob build - cat .bob/coverage/buster-istanbul/lcov.info | coveralls
Make sure Cython is installed
dist: trusty language: python python: - 3.4 - 3.5 - 3.6 env: global: - PIP_DOWNLOAD_CACHE="pip_download_cache" addons: apt: sources: - sourceline: 'ppa:cleishm/neo4j' packages: - build-essential - cypher-lint - libcypher-parser-dev cache: pip: true directories: - $HOME/.cache/pip before_cache: - rm -f $HOME/.cache/pip/log/debug.log install: - pip install -Uq pip setuptools coveralls script: - python setup.py build_ext --inplace - python setup.py test after_success: coveralls matrix: fast_finish: true notifications: email: false
dist: trusty language: python python: - 3.4 - 3.5 - 3.6 env: global: - PIP_DOWNLOAD_CACHE="pip_download_cache" addons: apt: sources: - sourceline: 'ppa:cleishm/neo4j' packages: - build-essential - libcypher-parser-dev cache: pip: true directories: - $HOME/.cache/pip before_cache: - rm -f $HOME/.cache/pip/log/debug.log install: - pip install -Uq pip setuptools coveralls cython script: - python setup.py test after_success: coveralls matrix: fast_finish: true notifications: email: false
Fix php package name for Debian
--- site_name: default # where do you want messages to go ? slack_channel: addis-hackfest java6_name: Debian: java-1.6.0-openjdk RedHat: java-1.6.0-openjdk java7_name: Debian: java-1.7.0-openjdk RedHat: java-1.7.0-openjdk managed_prerequisites: - python2.7 - python-simplejson prerequisites: Debian: - vim - make - git - python-pip - python-setuptools - python-dev - libssl-dev - gcc - nano - joe - libffi-dev - php5-curl - php5-cli - jq RedHat: - vim - make - git - python-pip - python-setuptools - python-devel - gcc - libffi-dev - php5-curl - php5-cli - jq glibrary: admin_user: admin admin_email: hackfest@ct.infn.it url: https://glibrary.ct.infn.it:3500
--- site_name: default # where do you want messages to go ? slack_channel: addis-hackfest java6_name: Debian: java-1.6.0-openjdk RedHat: java-1.6.0-openjdk java7_name: Debian: java-1.7.0-openjdk RedHat: java-1.7.0-openjdk managed_prerequisites: - python2.7 - python-simplejson prerequisites: Debian: - vim - make - git - python-pip - python-setuptools - python-dev - libssl-dev - gcc - nano - joe - libffi-dev - php-curl - php-cli - jq RedHat: - vim - make - git - python-pip - python-setuptools - python-devel - gcc - libffi-dev - php5-curl - php5-cli - jq glibrary: admin_user: admin admin_email: hackfest@ct.infn.it url: https://glibrary.ct.infn.it:3500
Update OpenMaps to 1.0.6 (7)
Categories: - Navigation License: GPL-3.0-only WebSite: https://framagit.org/tom79/openmaps SourceCode: https://framagit.org/tom79/openmaps IssueTracker: https://framagit.org/tom79/openmaps/issues AutoName: OpenMaps RepoType: git Repo: https://framagit.org/tom79/openmaps.git Builds: - versionName: 1.0.5 versionCode: 6 commit: 1.0.5 subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 1.0.5 CurrentVersionCode: 6
Categories: - Navigation License: GPL-3.0-only WebSite: https://framagit.org/tom79/openmaps SourceCode: https://framagit.org/tom79/openmaps IssueTracker: https://framagit.org/tom79/openmaps/issues AutoName: OpenMaps RepoType: git Repo: https://framagit.org/tom79/openmaps.git Builds: - versionName: 1.0.5 versionCode: 6 commit: 1.0.5 subdir: app gradle: - yes - versionName: 1.0.6 versionCode: 7 commit: 1.0.6 subdir: app gradle: - yes AutoUpdateMode: Version %v UpdateCheckMode: Tags CurrentVersion: 1.0.6 CurrentVersionCode: 7
Remove doc_ and dev_url from recipe
{% set name = "findiff" %} {% set version = "0.8.9" %} package: name: "{{ name|lower }}" version: "{{ version }}" source: url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz" sha256: c89eade4ad7f7adfa3871ba00235c582ef42b6dba0e2d84c78e242be70cdbe64 build: number: 0 script: "{{ PYTHON }} -m pip install . -vv" noarch: python requirements: host: - python >=3.6 - pip >=21.0.1 - pytest-runner >=5.3.0 run: - numpy >=1.14.2 - python >=3.6 - scipy >=1.3.1 - sympy >=1.8 - pytest-runner >=5.3.0 test: commands: - pip check requires: - pip imports: - findiff - test requires: - pytest >=6.2.3 - pytest-runner >=5.3.0 about: home: "https://github.com/maroba/findiff" license: MIT license_family: MIT license_file: LICENSE summary: "A Python package for finite difference derivatives in any number of dimensions." doc_url: dev_url: extra: recipe-maintainers: - tnigon
{% set name = "findiff" %} {% set version = "0.8.9" %} package: name: "{{ name|lower }}" version: "{{ version }}" source: url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz" sha256: c89eade4ad7f7adfa3871ba00235c582ef42b6dba0e2d84c78e242be70cdbe64 build: number: 0 script: "{{ PYTHON }} -m pip install . -vv" noarch: python requirements: host: - python >=3.6 - pip >=21.0.1 - pytest-runner >=5.3.0 run: - numpy >=1.14.2 - python >=3.6 - scipy >=1.3.1 - sympy >=1.8 - pytest-runner >=5.3.0 test: commands: - pip check requires: - pip imports: - findiff - test requires: - pytest >=6.2.3 - pytest-runner >=5.3.0 about: home: "https://github.com/maroba/findiff" license: MIT license_family: MIT license_file: LICENSE summary: "A Python package for finite difference derivatives in any number of dimensions." extra: recipe-maintainers: - tnigon
Fix binder by excluding conda default channel
name: jupyterlab channels: - conda-forge dependencies: - jupyterlab - ipywidgets - pandas - nodejs
name: jupyterlab channels: - nodefaults - conda-forge dependencies: - jupyterlab - ipywidgets - pandas - nodejs
Add privilage to install python3-nose
--- - hosts: all tasks: - name: installing python3 packages package: name={{ item }} state=present with_items: - python3 - python3-venv - python3-nose - python3-pip - shell: cmd: | set -e set -x ./s2aio.sh install executable: /bin/bash chdir: 'src/{{ zuul.project.canonical_name }}' environment: USE_PYTHON3: "True"
--- - hosts: all tasks: - name: installing python3 packages package: name={{ item }} state=present with_items: - python3 - python3-venv - python3-nose - python3-pip become: yes - shell: cmd: | set -e set -x ./s2aio.sh install executable: /bin/bash chdir: 'src/{{ zuul.project.canonical_name }}' environment: USE_PYTHON3: "True"
Update analyzer and test dependency.
name: kernel dependencies: # We import some of the analyzer's internal files, so lock the patch version. analyzer: 0.28.1 path: ^1.3.9 args: ^0.13.4 logging: ^0.11.2 package_config: ^1.0.0 dev_dependencies: test: ^0.12.13 stack_trace: ^1.6.6
name: kernel dependencies: # We import some of the analyzer's internal files, so lock the patch version. analyzer: 0.29.0-alpha.1 path: ^1.3.9 args: ^0.13.4 logging: ^0.11.2 package_config: ^1.0.0 dev_dependencies: test: 0.12.15+6 stack_trace: ^1.6.6 dependency_overrides: analyzer: 0.29.0-alpha.1 test: 0.12.15+6 # Override version constraint on package:test
Add lint, switch coverage to script
box: node:0.12 build: steps: - npm-install - script: name: echo nodejs information code: | echo "node version $(node -v) running" echo "npm version $(npm -v) running" - script: name: run tests code: | make test after-steps: # Run and report coverage - npm install -g codeclimate-test-reporter - codeclimate-test-reporter < coverage/lcov.info
box: node:0.12 build: steps: - npm-install - script: name: echo nodejs information code: | echo "node version $(node -v) running" echo "npm version $(npm -v) running" - script: name: lint code code: | make lint - script: name: run tests code: | make test after-steps: # Run and report coverage - script: name: run code coverage report code: | npm install -g codeclimate-test-reporter codeclimate-test-reporter < coverage/lcov.info
Switch to using github context for both commit message and sha.
name: JS Tests on: push: branches: - develop - master pull_request: types: - opened - reopened - synchronize jobs: js-tests: name: JS runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Read .nvmrc run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)" id: nvm - name: Setup Node.js (.nvmrc) uses: actions/setup-node@v1 with: node-version: "${{ steps.nvm.outputs.NVMRC }}" - name: Cache Node - npm uses: actions/cache@v1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node-cache- - name: npm install run: npm ci env: PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true - name: Jest Tests run: npm run test:js - name: Build JS (Production Version, with tests) run: npm run build:test - name: Bundlesize run: npm run test:bundlesize env: BUNDLESIZE_GITHUB_TOKEN: ${{ secrets.BUNDLESIZE_GITHUB_TOKEN }} CI_REPO_OWNER: 'google' CI_REPO_NAME: 'site-kit-wp' CI_COMMIT_MESSAGE: ${{ github.event.head_commit.message }} CI_COMMIT_SHA: ${{ env.GITHUB_SHA }}
name: JS Tests on: push: branches: - develop - master pull_request: types: - opened - reopened - synchronize jobs: js-tests: name: JS runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Read .nvmrc run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)" id: nvm - name: Setup Node.js (.nvmrc) uses: actions/setup-node@v1 with: node-version: "${{ steps.nvm.outputs.NVMRC }}" - name: Cache Node - npm uses: actions/cache@v1 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node-cache- - name: npm install run: npm ci env: PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true - name: Jest Tests run: npm run test:js - name: Build JS (Production Version, with tests) run: npm run build:test - name: Bundlesize run: npm run test:bundlesize env: BUNDLESIZE_GITHUB_TOKEN: ${{ secrets.BUNDLESIZE_GITHUB_TOKEN }} CI_REPO_OWNER: 'google' CI_REPO_NAME: 'site-kit-wp' CI_COMMIT_MESSAGE: ${{ github.event.head_commit.message }} CI_COMMIT_SHA: ${{ github.sha }}
Work around gvm's .git archiving.
--- - name: clone gvm git: dest={{ home }}/.gvm repo=https://github.com/moovweb/gvm.git tags: ["go"] - name: complete gvm install template: src=templates/gvm.j2 dest={{ home }}/.gvm/scripts/gvm mode=0755 tags: ["go"] - name: install go shell: . {{ home }}/.gvm/scripts/gvm && gvm install go{{ golang_version }} tags: ["go"] - name: set the default version of go shell: . {{ home }}/.gvm/scripts/gvm && gvm use go{{ golang_version }} --default tags: ["go"]
--- - name: dearchive gvm's git repo shell: '[ -d {{ home }}/.gvm/git.bak ] && mv {{ home }}/.gvm/git.bak {{ home }}/.gvm/.git || true' tags: ["go"] - name: clone gvm git: dest={{ home }}/.gvm repo=https://github.com/moovweb/gvm.git tags: ["go"] - name: complete gvm install template: src=templates/gvm.j2 dest={{ home }}/.gvm/scripts/gvm mode=0755 tags: ["go"] - name: install go shell: . {{ home }}/.gvm/scripts/gvm && gvm install go{{ golang_version }} tags: ["go"] - name: set the default version of go shell: . {{ home }}/.gvm/scripts/gvm && gvm use go{{ golang_version }} --default tags: ["go"]
Update platforms in Test Kitchen
driver: name: vagrant provisioner: name: chef_zero platforms: - name: centos-5.10 - name: centos-6.5 suites: - name: default run_list: - recipe[yum-remi::default]
driver: name: vagrant provisioner: name: chef_zero platforms: - name: centos-5.11 - name: centos-6.7 - name: centos-7.1 - name: fedora-21 suites: - name: default run_list: - recipe[yum-remi::default]
Revert "dts: stm32 spi can configure the frame-format"
# Copyright (c) 2018, I-SENSE group of ICCS # SPDX-License-Identifier: Apache-2.0 # Common fields for STM32 SPI peripherals. include: spi-controller.yaml properties: reg: required: true interrupts: required: true frame-format: type: boolean required: false description: | Use Frame Format to support TI or motorola SPI mode when the SPI interface is compatible with the TI protocol. The FRF bit of the SPIx_CR2 configures the SPI to be compliant with this protocol. false: SPI Motorola mode (default) true: SPI TI mode pinctrl-0: type: phandles required: false description: | Pin configuration for SPI signals (MISO, MOSI, SCK and optional NSS). We expect that the phandles will reference pinctrl nodes. For example the SPI3 would be <&spi3_sck_pc10 &spi3_miso_pc11 &spi3_mosi_pc12>; Example with NSS Pin <&spi3_sck_pc10 &spi3_miso_pc11 &spi3_mosi_pc12 &spi3_nss_pa15>;
# Copyright (c) 2018, I-SENSE group of ICCS # SPDX-License-Identifier: Apache-2.0 # Common fields for STM32 SPI peripherals. include: spi-controller.yaml properties: reg: required: true interrupts: required: true pinctrl-0: type: phandles required: false description: | Pin configuration for SPI signals (MISO, MOSI, SCK and optional NSS). We expect that the phandles will reference pinctrl nodes. For example the SPI3 would be <&spi3_sck_pc10 &spi3_miso_pc11 &spi3_mosi_pc12>; Example with NSS Pin <&spi3_sck_pc10 &spi3_miso_pc11 &spi3_mosi_pc12 &spi3_nss_pa15>;
Use gnu sed on mac
{% set name = "guile" %} {% set version = "2.2.4" %} package: name: {{ name }} version: {{ version }} source: url: https://ftp.gnu.org/gnu/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: 33b904c0bf4e48e156f3fb1d0e6b0392033bd610c6c9d9a0410c6e0ea96a3e5c build: number: 0 skip: True # [win] requirements: build: - {{ compiler('c') }} host: - libunistring - libffi - bdw-gc - gmp - libiconv - readline - libtool - pkg-config run: - libunistring - libtool - libffi - bdw-gc - gmp - libiconv - readline test: commands: - guile -v about: home: https://www.gnu.org/software/guile license: LGPL-3.0 license_file: LICENSE summary: 'The GNU C implementation of the Scheme programming language' doc_url: https://www.gnu.org/software/guile/manual/ extra: recipe-maintainers: - ChristopherHogan
{% set name = "guile" %} {% set version = "2.2.4" %} package: name: {{ name }} version: {{ version }} source: url: https://ftp.gnu.org/gnu/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: 33b904c0bf4e48e156f3fb1d0e6b0392033bd610c6c9d9a0410c6e0ea96a3e5c build: number: 0 skip: True # [win] requirements: build: - {{ compiler('c') }} host: - sed # [osx] - libunistring - libffi - bdw-gc - gmp - libiconv - readline - libtool - pkg-config run: - libunistring - libtool - libffi - bdw-gc - gmp - libiconv - readline test: commands: - guile -v about: home: https://www.gnu.org/software/guile license: LGPL-3.0 license_file: LICENSE summary: 'The GNU C implementation of the Scheme programming language' doc_url: https://www.gnu.org/software/guile/manual/ extra: recipe-maintainers: - ChristopherHogan
Fix CI pub get and analysis
name: moor_ffi description: "Provides sqlite bindings using dart:ffi, including a moor executor" version: 0.5.0-dev homepage: https://github.com/simolus3/moor/tree/develop/moor_ffi issue_tracker: https://github.com/simolus3/moor/issues environment: sdk: ">=2.6.0 <3.0.0" dependencies: moor: ^3.0.0 ffi: ^0.1.3 collection: ^1.0.0 meta: ^1.0.2 dev_dependencies: test: ^1.6.0 path: ^1.6.0 dependency_overrides: moor: path: ../moor flutter: plugin: # the flutter.plugin key needs to exists so that this project gets recognized as a plugin when imported. We need to # get recognized as a plugin so that our build scripts are executed. foo: bar
name: moor_ffi description: "Provides sqlite bindings using dart:ffi, including a moor executor" version: 0.5.0-dev homepage: https://github.com/simolus3/moor/tree/develop/moor_ffi issue_tracker: https://github.com/simolus3/moor/issues environment: sdk: ">=2.6.0 <3.0.0" dependencies: moor: ^3.0.0-dev ffi: ^0.1.3 collection: ^1.0.0 meta: ^1.0.2 dev_dependencies: test: ^1.6.0 path: ^1.6.0 dependency_overrides: moor: path: ../moor flutter: plugin: # the flutter.plugin key needs to exists so that this project gets recognized as a plugin when imported. We need to # get recognized as a plugin so that our build scripts are executed. foo: bar
Add or update the Azure App Service build and deployment workflow config
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy # More GitHub Actions for Azure: https://github.com/Azure/actions name: Build and deploy JAR app to Azure Web App - nvclanalytics on: push: branches: - master workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Java version uses: actions/setup-java@v1 with: java-version: '11' - name: Build with Maven run: mvn clean install - name: Upload artifact for deployment job uses: actions/upload-artifact@v2 with: name: java-app path: '${{ github.workspace }}/target/*.jar' deploy: runs-on: ubuntu-latest needs: build environment: name: 'Production' url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} steps: - name: Download artifact from build job uses: actions/download-artifact@v2 with: name: java-app - name: Deploy to Azure Web App id: deploy-to-webapp uses: azure/webapps-deploy@v2 with: app-name: 'nvclanalytics' slot-name: 'Production' publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_8BFD000597B644B0AA7F50917FC68C4F }} package: '*.jar'
Add support for Travis CI.
language: python python: - 2.7 - 3.2 - 3.3 - 3.4 - 3.5 - pypy - pypy3 install: - pip install flake8 - if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then pip install 'coverage<4.0.0'; else pip install coverage; fi - pip install coveralls - pip install mock - pip install nose script: - nosetests tests --with-coverage --cover-package=git_edit_index --cover-erase - flake8 --ignore=E501 git-edit-index tests/git_edit_index_tests.py after_success: - coveralls
Set up CI with Azure Pipelines
trigger: - master pool: vmImage: 'ubuntu-latest' steps: - task: DotNetCoreCLI@2 inputs: command: 'restore' projects: | Simmetric.IO.Csv/Simmetric.IO.Csv.csproj Simmetric.IO.Csv.Test/Simmetric.IO.Csv.Test.csproj feedsToUse: 'select' - task: DotNetCoreCLI@2 inputs: command: 'build' projects: | Simmetric.IO.Csv/Simmetric.IO.Csv.csproj Simmetric.IO.Csv.Test/Simmetric.IO.Csv.Test.csproj arguments: '--no-restore -c $(BuildConfiguration)' - task: DotNetCoreCLI@2 inputs: command: 'test' projects: 'Simmetric.IO.Csv.Test/Simmetric.IO.Csv.Test.csproj' arguments: '--no-build --nologo -c $(BuildConfiguration) --collect "Code coverage"' - task: DotNetCoreCLI@2 inputs: command: 'pack' packagesToPack: 'Simmetric.IO.Csv/Simmetric.IO.Csv.csproj' nobuild: true includesymbols: true versioningScheme: 'off'
Set up CI with Azure Pipelines
# Starter pipeline # Start with a minimal pipeline that you can customize to build and deploy your code. # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml pool: vmImage: 'Ubuntu 16.04' steps: - script: echo Hello, world! displayName: 'Run a one-line script' - script: | echo Add other tasks to build, test, and deploy your project. echo See https://aka.ms/yaml displayName: 'Run a multi-line script'
Update from Forestry.io - Updated Forestry configuration
--- label: FAQ Doc hide_body: false is_partial: false fields: - type: field_group_list name: section label: Section description: FAQ Section Area fields: - type: field_group_list name: questions label: Questions description: Questions in the section fields: - type: text name: question label: question description: The question. config: required: true - type: textarea name: answer label: answer description: The answer config: required: true wysiwyg: true schema: format: markdown
Add tests if only maximum size volumes are specified
name: Only maximum sizes specified dynamic_schema: - id: lv1 type: lv max_size: 30 - id: lv2 type: lv max_size: 20 - id: vg1 type: vg contains: - lv1 - lv2 hw_info: disks: - id: sda size: 100 expected: - disk_id: sda size: 100 spaces: - space_id: lv1 size: 30 - space_id: lv2 size: 20 - space_id: unallocated size: 50
Set up CI with Azure Pipelines
# .NET Desktop # Build and run tests for .NET Desktop or Windows classic desktop solutions. # Add steps that publish symbols, save build artifacts, and more: # https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net trigger: - master pool: vmImage: 'VS2017-Win2016' variables: solution: '**/*.sln' buildPlatform: 'Any CPU' buildConfiguration: 'Release' steps: - task: NuGetToolInstaller@0 - task: NuGetCommand@2 inputs: restoreSolution: '$(solution)' - task: VSBuild@1 inputs: solution: '$(solution)' platform: '$(buildPlatform)' configuration: '$(buildConfiguration)' - task: VSTest@2 inputs: platform: '$(buildPlatform)' configuration: '$(buildConfiguration)'
Add playbook to patch and reboot servers behind the load balancer
--- # This playbook will patch the application servers behind the load balancer # one at a time. - hosts: appservers serial: 1 # These tasks run before applying the update to each host pre_tasks: - name: pull the server from the load balancer haproxy: 'state=disabled backend=app host={{ inventory_hostname }} socket=/var/lib/haproxy/stats' delegate_to: "{{ item }}" with_items: '{{groups.lbservers}}' roles: - common - jboss tasks: - name: apply all available patches yum: name: '*' state: latest - name: restart server shell: sleep 2 && shutdown -r now "Patched with Ansible" async: 1 poll: 0 ignore_errors: true - name: wait for server to come back local_action: wait_for host={{ inventory_hostname }} state=started delay=30 timeout=300 sudo: false post_tasks: - name: wait for jboss to come back up wait_for: 'host={{ inventory_hostname }} port=8080 state=started timeout=600' - name: put the server back in the load balancer haproxy: 'state=enabled backend=app host={{ inventory_hostname }} socket=/var/lib/haproxy/stats' delegate_to: "{{ item }}" with_items: groups.lbservers
Update from Hackage at 2022-01-04T19:02:08Z
homepage: https://github.com/teto/mptcpanalyzer changelog-type: '' hash: 4cb574878e41f4838f5aaca6067df7c6ec51ae00b47f4ae88c3b9bc78b389d2f test-bench-deps: base: '>=4.12' hspec: -any text: -any ip: -any mptcp: -any maintainer: teto synopsis: Datastructures to describe TCP and MPTCP connections changelog: '' basic-deps: bytestring-conversion: -any base: '>=4.12 && <5.18' unordered-containers: -any text: -any Frames: -any ip: '>=1.7.3' enumset: -any containers: -any lens: -any all-versions: - 0.0.1 author: '' latest: 0.0.1 description-type: markdown description: | Presentation === This is a haskell library that contains basic datastructures to describe TCP and MPTCP connections (source port/IP) etc. license-name: GPL-3.0-only
Add Travis CI for glfw v3.1 Go package.
language: go go: - 1.5 before_install: - sudo apt-get update - sudo apt-get install -qq libgl1-mesa-dev xorg-dev install: - go get golang.org/x/tools/cmd/vet script: - go get -t -v ./v3.1/... - diff -u <(echo -n) <(gofmt -d .) - go tool vet . - go test -v -race ./v3.1/...
Put back config.yml to force refresh
excerpt_separator: "" pygments: true markdown: kramdown url: http://erdence.github.io title: machined rugs # tagline: # description: The work and progress of a work-in-progress. description: A misplaced space paginate: 1
Update from Hackage at 2020-01-24T16:31:57Z
homepage: '' changelog-type: markdown hash: 80525ee756bf0282b2dd54b0724273e8f772a34c8bcbc784f369a3ca07d5ee66 test-bench-deps: {} maintainer: vamchale@gmail.com synopsis: Bindings to libbz2 changelog: | # bz2 ## 0.1.0.0 Initial release basic-deps: bytestring: -any base: ! '>=4.4 && <5' all-versions: - 0.1.0.0 author: Vanessa McHale latest: 0.1.0.0 description-type: markdown description: "# bz2\n\nLow-level bindings to [bzip2](https://www.sourceware.org/bzip2/). \n" license-name: BSD-3-Clause
Update from Hackage at 2020-01-18T03:22:33Z
homepage: '' changelog-type: markdown hash: 0111338b8bcfb243f6230d2dd61f45d943b9d6a5db0019bd76e8e7fe94b70d8f test-bench-deps: {} maintainer: vamchale@gmail.com synopsis: Backpack signature for BZip compression changelog: | # bzip-signature ## 0.1.0.0 Initial release basic-deps: bytestring: -any base: ! '>=4.10 && <5' all-versions: - 0.1.0.0 author: Vanessa McHale latest: 0.1.0.0 description-type: markdown description: | # bzip-signature A backpack module signature, to be used with [bzlib](http://hackage.haskell.org/package/bzlib). license-name: BSD-3-Clause
Update from Hackage at 2020-02-26T07:46:05Z
homepage: '' changelog-type: markdown hash: fecb6865d8209a8a7417c1d8a984737f09aa43a696c72d55aaf03ac0929ea70e test-bench-deps: bytestring: -any base: -any deriving-aeson: -any aeson: -any maintainer: fumiexcel@gmail.com synopsis: Type driven generic aeson instance customisation changelog: | # Revision history for deriving-aeson ## 0 -- 2020-02-26 * First version. Released on an unsuspecting world. basic-deps: base: ! '>=4.12 && <5' aeson: -any all-versions: - '0' author: Fumiaki Kinoshita latest: '0' description-type: haddock description: |- This package provides a newtype wrapper with FromJSON/ToJSON instances customisable via a phantom type parameter. The instances can be rendered to the original type using DerivingVia. license-name: BSD-3-Clause
Update from Hackage at 2018-03-07T18:07:58Z
homepage: https://github.com/andrewthad/bytearray#readme changelog-type: markdown hash: 538863f120ddc6e8fc8fd035d54b10b78f5c95647ffd4eb5964133bbdd1a386a test-bench-deps: base: ! '>=4.7 && <5' tasty-hedgehog: ! '>=0.1.0.2' hedgehog: ! '>=0.5' gauge: -any containers: ! '>=0.5.10' ghc-prim: -any tasty-hunit: ! '>=0.9' packed: -any tasty: ! '>=1.0' maintainer: andrew.thaddeus@gmail.com synopsis: '' changelog: ! '# Changelog for bytearray ## Unreleased changes ' basic-deps: base: ! '>=4.10 && <5' ghc-prim: ! '>=0.5.1.1 && <0.6' primitive: ! '>=0.6 && <0.7' all-versions: - '0.1.0' author: Andrew Martin latest: '0.1.0' description-type: markdown description: ! '# bytearray ' license-name: BSD3
Add bob.io.matlab recipe [skip appveyor]
{% set version = "2.0.4" %} package: name: bob.io.matlab version: {{ version }} source: fn: bob.io.matlab-{{ version }}.zip url: https://pypi.python.org/packages/source/b/bob.io.matlab/bob.io.matlab-{{ version }}.zip md5: 089155b2d864a6dca0f30491da0ed4fc build: number: 0 skip: true # [not linux] script: python -B setup.py install --single-version-externally-managed --record record.txt requirements: build: - python - setuptools - bob.extension - bob.blitz - bob.core - bob.io.base - libmatio - gcc # [linux] run: - python - bob.extension - bob.blitz - bob.core - bob.io.base - libmatio - libgcc # [linux] test: imports: - bob - bob.io - bob.io.matlab commands: - nosetests -sv bob.io.matlab requires: - nose about: home: http://github.com/bioidiap/bob.io.matlab license: Modified BSD License (3-clause) summary: Enable bob.io.base to handle Matlab(R) files extra: recipe-maintainers: - 183amir
Reduce number of tests by removing go tip tests.
language: go go: - 1.3 - 1.4 - 1.5 - tip install: - go get github.com/bwmarrin/discordgo - go get -v .
language: go go: - 1.3 - 1.4 - 1.5 install: - go get github.com/bwmarrin/discordgo - go get -v .
Add configuration for Travis CI
language: go go: - 1.8.x install: - go get github.com/Masterminds/glide script: - make test before_deploy: - make dist deploy: provider: releases api-key: $GITHUB_TOKEN file_glob: true file: dist/* skip_cleanup: true on: tags: true
Move JRuby head into allowed failures for CI
language: ruby script: 'bundle exec rake test:coverage --trace' install: - bundle install --retry=3 rvm: - 2.0.0 - 2.1.0 - 2.1.1 - 2.1.2 - 2.1.3 - 2.1.4 - 2.1.5 - 2.2 - rbx-2 matrix: include: - rvm: jruby env: JRUBY_OPTS="--2.0" - rvm: jruby-head env: JRUBY_OPTS="--2.1" allow_failures: - rvm: jruby-head
language: ruby script: 'bundle exec rake test:coverage --trace' install: - bundle install --retry=3 rvm: - 2.0.0 - 2.1.0 - 2.1.1 - 2.1.2 - 2.1.3 - 2.1.4 - 2.1.5 - 2.2 - rbx-2 matrix: include: - rvm: jruby-head allow_failures: - rvm: jruby-head
Use GraalVM CE 1.0.0 RC1 to verify the scripts
language: java sudo: false before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start || echo Without Xvfb - wget https://github.com/oracle/graal/releases/download/vm-1.0.0-rc1/graalvm-ce-1.0.0-rc1-linux-amd64.tar.gz - tar fxvz graalvm-ce-1.0.0-rc1-linux-amd64.tar.gz - ./graalvm-1.0.0-rc1/bin/gu install -c org.graalvm.ruby - ./graalvm-1.0.0-rc1/bin/gu install -c org.graalvm.R - ./graalvm-1.0.0-rc1/bin/gu install -c org.graalvm.python script: - ./.test.sh ./graalvm-1.0.0-rc1/ os: - linux
Add script for disabling SELinux
--- - hosts: all tasks: - name: Disable SELinux for current session command: setenforce 0 - name: Disable SELinux persistently command: sed -i 's/enforcing/permissive/g' /etc/selinux/config
Update from Hackage at 2021-08-05T19:51:57Z
homepage: '' changelog-type: markdown hash: dd64c07fa4dcd36411c1d4ad1638cb02b35e06f7d90f92dcaea14cbe253a476b test-bench-deps: {} maintainer: maintainer@obsidian.systems synopsis: Functor-parametric containers changelog: | # Revision history for vessel ## 0.1.0.0 * Initial release basic-deps: semialign: '>=1' these: '>=1 && <1.1' dependent-sum: '>=0.7 && <0.8' witherable: '>=0.2 && <=0.3.2' monoidal-containers: '>=0.6 && <0.7' constraints-extras: '>=0.3 && <0.4' base: '>=4.9 && <4.15' dependent-map: '>=0.4 && <0.5' dependent-monoidal-map: '>=0.1.1.0 && <0.2' patch: '>=0.0.4.0 && <0.1' constraints: '>=0.10 && <0.15' containers: '>=0.6 && <0.7' bifunctors: '>=5.5 && <5.6' mtl: '>=2.2 && <2.3' reflex: '>=0.6.4 && <0.9' dependent-sum-aeson-orphans: '>=0.3 && <0.4' aeson: '>=1.4 && <1.6' all-versions: - 0.1.0.0 author: Obsidian Systems LLC latest: 0.1.0.0 description-type: markdown description: |+ # vessel: functor-parametric containers [![Haskell](https://img.shields.io/badge/language-Haskell-orange.svg)](https://haskell.org) [![Hackage](https://img.shields.io/hackage/v/vessel.svg)](https://hackage.haskell.org/package/vessel) [![Hackage CI](https://matrix.hackage.haskell.org/api/v2/packages/vessel/badge)](https://matrix.hackage.haskell.org/#/package/vessel) [![Github CI](https://github.com/obsidiansystems/vessel/workflows/github-action/badge.svg)](https://github.com/obsidiansystems/vessel/actions) [![BSD3 License](https://img.shields.io/badge/license-BSD3-blue.svg)](https://github.com/obsidiansystems/vessel/blob/master/LICENSE) See the [tutorial](tutorial/Tutorial.md) for a worked example of how to use this library. *** [![Obsidian Systems](https://obsidian.systems/static/images/ObsidianSystemsLogo.svg)](https://obsidian.systems) license-name: BSD-3-Clause
Enable GitHub actions to test
--- name: Verify install on: pull_request: branches: - main push: branches: - main defaults: run: working-directory: 'ansible-desktop-ubuntu' jobs: validate: name: Validate install runs-on: ubuntu-20.04 steps: - name: Checkout codebase uses: actions/checkout@v2 with: path: 'ansible-desktop-ubuntu' - name: Set up Python 3 uses: actions/setup-python@v2 with: python-version: '3.9' - name: Run installer run: sh install.sh with: path: 'ansible-desktop-ubuntu'
Add config for building on AppVeyor.
clone_depth: 5 environment: CONDA_PATH: "C:\\Miniconda3" matrix: - PYTHON_VERSION: "3.4" #- PYTHON_VERSION: "3.5" platform: - x86 - x64 install: # Use the pre-installed Miniconda for the desired arch - ps: if($env:PYTHON_VERSION -eq '3.5') { $env:CONDA_PATH="$($env:CONDA_PATH)5" } - ps: if($env:TARGET_ARCH -eq 'x64') { $env:CONDA_PATH="$($env:CONDA_PATH)-x64" } - ps: $env:path="$($env:CONDA_PATH);$($env:CONDA_PATH)\Scripts;$($env:CONDA_PATH)\Library\bin;C:\cygwin\bin;$($env:PATH)" - cmd: conda config --set always_yes yes --set changeps1 no - cmd: conda update -q conda # Useful for debugging any issues with conda - cmd: conda info -a - cmd: sed -i -e s/python=3/python=%PYTHON_VERSION%/ environment.yml - cmd: conda env create -q -f environment.yml - cmd: activate unidata-workshop - cmd: python --version - cmd: conda list # Skip .NET project specific build phase. build: off test_script: - cmd: find . -name "*.ipynb" -print0 | xargs -0 -n1 jupyter nbconvert --execute --ExecutePreprocessor.timeout=120 --inplace
Enable automated PDK tests with GitHub Actions
name: Run PDK tests on Puppet 7.7 on: - push - pull_request jobs: validate-7_7: runs-on: ubuntu-latest steps: - name: Clone repository uses: actions/checkout@v2 - name: Run pdk validate uses: puppets-epic-show-theatre/action-pdk-validate@v1 with: puppet-version: "7.7" # [optional] A string indicating the Puppet version to validate against, such as "5.4.2" or "5.5". # pe-version: "" # [optional] A string indicating the PE version to validate against, such as "2017.3.5" or "2018.1". test-7_7: runs-on: ubuntu-latest steps: - name: Clone repository uses: actions/checkout@v2 - name: Run unit tests uses: puppets-epic-show-theatre/action-pdk-test-unit@v1 with: puppet-version: "7.7" # [optional] A string indicating the Puppet version to validate against, such as "5.4.2" or "5.5". # pe-version: "" # [optional] A string indicating the PE version to validate against, such as "2017.3.5" or "2018.1".
Add Mitch Phillips @google.com address to the auto_ccs list.
homepage: "http://llvm.org/" primary_contact: "kcc@google.com" auto_ccs: - "mascasa@google.com" - "jdevlieghere@apple.com" - "vsk@apple.com" - "akilsrin@apple.com" - "llvm-bugs@lists.llvm.org" - "igmyrj@gmail.com" - "mitchphillips@outlook.com" - "xpl0re@gmail.com" - "jfb@chromium.org" - "eneyman@google.com" # TODO(kcc): enable msan. sanitizers: - address # The LLVM build currently supports only libFuzzer fuzzing_engines: - libfuzzer # Bug reports are public by default: view_restrictions: none
homepage: "http://llvm.org/" primary_contact: "kcc@google.com" auto_ccs: - "mascasa@google.com" - "jdevlieghere@apple.com" - "vsk@apple.com" - "akilsrin@apple.com" - "llvm-bugs@lists.llvm.org" - "igmyrj@gmail.com" - "mitchphillips@outlook.com" - "mitchp@google.com" - "xpl0re@gmail.com" - "jfb@chromium.org" - "eneyman@google.com" # TODO(kcc): enable msan. sanitizers: - address # The LLVM build currently supports only libFuzzer fuzzing_engines: - libfuzzer # Bug reports are public by default: view_restrictions: none
Add esmlab conda package recipe
{% set name = "esmlab" %} {% set version = "0.0.1" %} package: name: {{ name }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: https://github.com/NCAR/esmlab/archive/v{{ version }}.tar.gz build: script: "{{ PYTHON }} -m pip install . --no-deps -vv" noarch: python number: 0 requirements: build: - python run: - python - xarray - cftime - dask - netcdf4 test: source_files: - tests requires: - pytest imports: - esmlab commands: - pytest --verbose about: home: https://github.com/NCAR/esmlab license: Apache-2.0 license_file: LICENSE summary: | Tools for working with earth system multi-model analyses with xarray. dev_url: https://github.com/NCAR/esmlab doc_url: https://esmlab.readthedocs.io/en/latest/ extra: recipe-maintainers: - andersy005 - kmpaul
Exclude external files from code climate
engines: rubocop: enabled: true golint: enabled: true eslint: enabled: true csslint: enabled: true duplication: enabled: true config: languages: - ruby - javascript exclude_paths: - "app/public/tinymce/**/*" - "app/public/upndown.bundle.js" - "app/public/marked.js"
Add a gitlab CI file.
# Optional: Pick zero or more services to be used on all builds. # Only needed when using a docker container to run your tests in. # Check out: http://docs.gitlab.com/ce/ci/docker/using_docker_images.html#what-is-a-service #services: # - mysql:latest # - redis:latest # - postgres:latest # Optional: Install a C compiler, cmake and git into the container. # You will often need this when you (or any of your dependencies) depends on C code. #before_script: #- apt-get update -yqq #- apt-get install -yqq --no-install-recommends build-essential image: "rust:latest" variables: CARGO_HOME: ".cargo" cache: paths: - "$CARGO_HOME" # Use cargo to test the project test:cargo: # Official language image. Look for the different tagged releases at: # https://hub.docker.com/r/library/rust/tags/ tags: - docker script: - rustc --version && cargo --version # Print version info for debugging - cargo test --verbose --jobs 1 --release # Don't paralize to make errors more readable
Set up CI with Azure Pipelines
# HTML # Archive your static HTML application and save it with the build record. # Add steps that build, run tests, deploy, and more: # https://aka.ms/yaml pool: vmImage: 'Ubuntu 16.04' steps: - task: ArchiveFiles@2 inputs: rootFolderOrFile: '$(build.sourcesDirectory)' includeRootFolder: false - task: PublishBuildArtifacts@1
Install the latest pip & setuptools packages
machine: python: version: 2.7 environment: TOX_ENV: docs TOX_ENV: lint TOX_ENV: py26 TOX_ENV: py27 checkout: post: - git submodule update --init dependencies: pre: - pip install tox test: override: - tox -e $TOX_ENV
machine: python: version: 2.7 environment: TOX_ENV: docs TOX_ENV: lint TOX_ENV: py26 TOX_ENV: py27 checkout: post: - git submodule update --init dependencies: pre: - pip install -U pip setuptools - pip install tox test: override: - tox -e $TOX_ENV
Enable CI/CD with Github Workflows
name: Java CI/CD on: [push] jobs: build: runs-on: ubuntu-latest steps: - name: Git Clone uses: actions/checkout@v2 - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: java-version: 1.8 server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml server-username: MAVEN_USERNAME # env variable for username in deploy server-password: MAVEN_PASSWORD # env variable for token in deploy - name: Adjust Git Config run: | git config --global user.email "action@github.com" git config --global user.name "GitHub Action" - name: Build Reactor with Maven if: github.ref != 'refs/heads/master' run: mvn -B clean install --file pom.xml - name: Deploy Reactor with Maven if: github.ref == 'refs/heads/master' run: mvn -B clean deploy --file pom.xml env: MAVEN_USERNAME: ${{ secrets.OSSRH_TOKEN_USER }} MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN_PASSWORD }}
Configure Travis CI just for running RuboCop
language: ruby dist: xenial cache: bundler: true jobs: include: - rvm: 2.7.1 name: "RuboCop" script: bundle exec rubocop branches: only: - master
Update from Hackage at 2020-07-10T17:36:30Z
homepage: https://github.com/dnmfarrell/Percent-Encoder changelog-type: markdown hash: 62606d1483dd0bd857c837b8eba787f92af1ea3743d6fae054d81e141d600d20 test-bench-deps: bytestring: -any percent-encoder: -any base: -any criterion: -any quickcheck-instances: -any network-uri: -any QuickCheck: -any maintainer: davidnmfarrell@gmail.com synopsis: Percent encode/decode ByteStrings changelog: | # Revision history for percent-encoder ## 0.0.0.0 -- YYYY-mm-dd * First version. Released on an unsuspecting world. basic-deps: bytestring: '>=0.10.0 && <0.11' base: '>=4.8.2 && <4.14' array: '>=0.5.1 && <0.6' all-versions: - 0.0.0.0 author: David Farrell latest: 0.0.0.0 description-type: haddock description: a fast percent encoder/decoder for bytestrings license-name: BSD-3-Clause
Build with Actions, ship coverage to Codecov.
name: Node CI on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [10.x, 12.x] steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - name: npm install run: npm install --no-package-lock - name: npm ls run: npm ls - name: npm install nyc, prove, codecov run: npm install -g nyc prove codecov - name: npm test run: nyc npm test env: CI: true - name: generate codecov report run: nyc report --reporter=text-lcov > coverage.lcov - name: ship coverage to codecov run: codecov --branch=${GITHUB_REF##*/} env: CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
Update from Hackage at 2016-11-16T12:12:54Z
homepage: https://github.com/icidasset/shikensu#README changelog-type: '' hash: bbeedb60151d5be5fea3c0eb804634a0bafeea961ea1828997feb37f94beb8f3 test-bench-deps: bytestring: -any flow: -any base: -any unordered-containers: -any text: ! '>=1.2 && <2' filepath: -any shikensu: -any tasty-hunit: ==0.9.* tasty: ==0.11.* aeson: -any directory: -any maintainer: icid.asset@gmail.com synopsis: A small toolset for building static websites changelog: '' basic-deps: bytestring: ==0.10.* flow: ==1.0.* base: ==4.* unordered-containers: ==0.2.* filepath: ==1.4.* Glob: ==0.7.* aeson: ==0.11.* directory: ! '>=1.2.6 && <2' all-versions: - '0.1.0' author: Steven Vandevelde latest: '0.1.0' description-type: haddock description: Please see README.md license-name: MIT
Update from Hackage at 2017-02-07T14:56:49Z
homepage: https://github.com/githubuser/unitym#readme changelog-type: '' hash: 16d2b498c5adcfd28c7dbc0cde9ec3a79dec1b015ee55bb17997a6f0e54c4290 test-bench-deps: {} maintainer: example@example.com synopsis: Initial project template from stack changelog: '' basic-deps: base: ! '>=4.7 && <5' text: ! '>=1.2 && <1.3' transformers: ! '>=0.5 && <0.6' all-versions: - '0.1.0.0' author: Author name here latest: '0.1.0.0' description-type: markdown description: '' license-name: BSD3
Add new markdown button translations
flarum-markdown: ## # UNIQUE KEYS - The following keys are used in only one location each. ## # Translations in this namespace are used by the forum user interface. forum: # These translations are used by the composer (emoji autocompletion function). composer: bold_tooltip: Grassetto code_tooltip: Inserisci codice header_tooltip: Intestazione italic_tooltip: Corsivo link_tooltip: Link ordered_list_tooltip: Elenco numerato quote_tooltip: Citazione unordered_list_tooltip: Elenco puntato
Add module to set kernel params with sysctl
--- - name: Set kernel parameters sysctl: name: "{{ item.name }}" value: "{{ item.value }}" state: "{{ item.state | default(omit) }}" reload: "{{ item.reload | default(omit) }}" sysctl_file: /etc/sysctl.d/98-ansible.conf sysctl_set: "{{ item.sysctl_set | default(omit) }}" with_inheritance_chain: "kernel_params"
Add relnotes for ODL migration to diagstatus API
--- fixes: - | The recommended API for checking when OpenDaylight is up and ready has changed. Use the new ODL Infrautils diagstatus REST API endpoint, vs the old netvirt:1 endpoint.
Update scss-lint config for Hound.
scss_files: "**/*.scss" linters: BangFormat: enabled: true space_before_bang: true space_after_bang: false BorderZero: enabled: false convention: none ColorKeyword: enabled: uppercase severity: warning ColorVariable: enabled: true Comment: enabled: true DebugStatement: enabled: true DeclarationOrder: enabled: true DuplicateProperty: enabled: true ElsePlacement: enabled: true style: same_line EmptyLineBetweenBlocks: enabled: true ignore_single_line_blocks: true EmptyRule: enabled: true FinalNewline: enabled: true present: true HexLength: enabled: falseuppercase style: short HexNotation: enabled: true style: uppercase HexValidation: enabled: true IdSelector: enabled: true ImportantRule: enabled: true ImportPath: enabled: true leading_underscore: false filename_extension: false Indentation: enabled: true allow_non_nested_indentation: false character: space width: 2 LeadingZero: enabled: true style: exclude_zero MergeableSelector: enabled: true force_nesting: true NameFormat: enabled: true allow_leading_underscore: true convention: hyphenated_lowercase NestingDepth: enabled: true max_depth: 3 severity: warning PlaceholderInExtend: enabled: false PropertyCount: enabled: true include_nested: false max_properties: 5 PropertySortOrder: enabled: true ignore_unspecified: false severity: warning separate_groups: false PropertySpelling: enabled: true extra_properties: [] QualifyingElement: enabled: true allow_element_with_attribute: false allow_element_with_class: false allow_element_with_id: false severity: warning SelectorDepth: enabled: true max_depth: 2 severity: warning SelectorFormat: enabled: true convention: hyphenated_lowercase Shorthand: enabled: true severity: warning SingleLinePerProperty: enabled: true allow_single_line_rule_sets: true SingleLinePerSelector: enabled: true SpaceAfterComma: enabled: true SpaceAfterPropertyColon: enabled: true style: one_space SpaceAfterPropertyName: enabled: true SpaceBeforeBrace: enabled: true style: space allow_single_line_padding: false SpaceBetweenParens: enabled: true spaces: 0 StringQuotes: enabled: true style: double_quotes TrailingSemicolon: enabled: true TrailingZero: enabled: false UnnecessaryMantissa: enabled: true UnnecessaryParentReference: enabled: true UrlFormat: enabled: true UrlQuotes: enabled: true VariableForProperty: enabled: false properties: [] VendorPrefixes: enabled: false identifier_list: bourbon include: [] exclude: [] ZeroUnit: enabled: true severity: warning
Add Probot No Response default configuration
# Configuration for probot-no-response - https://github.com/probot/no-response # Number of days of inactivity before an Issue is closed for lack of response daysUntilClose: 14 # Label requiring a response responseRequiredLabel: more-information-needed # Comment to post when closing an Issue for lack of response. Set to `false` to disable closeComment: > This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
Add Scss Lint custom configuration
linters: BangFormat: enabled: true space_before_bang: true space_after_bang: false BorderZero: enabled: true ColorKeyword: enabled: false Comment: enabled: false DebugStatement: enabled: true DeclarationOrder: enabled: true DuplicateProperty: enabled: false ElsePlacement: enabled: true style: same_line EmptyLineBetweenBlocks: enabled: true ignore_single_line_blocks: false EmptyRule: enabled: true FinalNewline: enabled: true present: true HexLength: enabled: true style: short HexNotation: enabled: true style: lowercase HexValidation: enabled: true IdSelector: enabled: true ImportPath: enabled: true leading_underscore: false filename_extension: false Indentation: enabled: true character: space width: 2 LeadingZero: enabled: true style: include_zero MergeableSelector: enabled: false force_nesting: false NameFormat: enabled: true convention: hyphenated_lowercase allow_leading_underscore: true NestingDepth: enabled: true max_depth: 3 PlaceholderInExtend: enabled: true PropertySortOrder: enabled: false ignore_unspecified: false PropertySpelling: enabled: true extra_properties: [] QualifyingElement: enabled: true allow_element_with_attribute: false allow_element_with_class: false allow_element_with_id: false SelectorDepth: enabled: true max_depth: 3 SelectorFormat: enabled: true convention: hyphenated_BEM Shorthand: enabled: true SingleLinePerProperty: enabled: true allow_single_line_rule_sets: false SingleLinePerSelector: enabled: true SpaceAfterComma: enabled: true SpaceAfterPropertyColon: enabled: true style: one_space SpaceAfterPropertyName: enabled: true SpaceBeforeBrace: enabled: true style: space allow_single_line_padding: true SpaceBetweenParens: enabled: true spaces: 0 StringQuotes: enabled: true style: single_quotes TrailingSemicolon: enabled: true TrailingZero: enabled: true UnnecessaryMantissa: enabled: true UnnecessaryParentReference: enabled: true UrlFormat: enabled: false UrlQuotes: enabled: true VendorPrefixes: enabled: true identifier_list: base include: [] exclude: [] ZeroUnit: enabled: true
Add maven central release workflow
on: repository_dispatch: types: [http4k-release] env: ACTIONS_ALLOW_UNSECURE_COMMANDS: true jobs: Release: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Setup Java uses: actions/setup-java@v1 with: java-version: 11 - name: Release to Maven Central run: | ./gradlew closeAndReleaseRepository \ -PnexusUsername="${{ secrets.NEXUS_USERNAME }}" \ -PnexusPassword="${{ secrets.NEXUS_PASSWORD }}"
Exclude vendor dir from Scrutinizer.
filter: excluded_paths: - 'tests/*' dependency_paths: - 'vendor/*' checks: php: true javascript: true tools: php_analyzer: true php_code_sniffer: config: standard: "PSR2" php_cs_fixer: enabled: true config: { level: psr2 } php_mess_detector: true php_loc: enabled: true excluded_dirs: [vendor] build: environment: timezone: "Europe/Amsterdam" php: "7.0" mysql: false postgresql: false redis: false
filter: excluded_paths: - 'tests/*' - 'vendor/*' dependency_paths: - 'vendor/*' checks: php: true javascript: true tools: php_analyzer: true php_code_sniffer: config: standard: "PSR2" php_cs_fixer: enabled: true config: { level: psr2 } php_mess_detector: true php_loc: enabled: true excluded_dirs: [vendor] build: environment: timezone: "Europe/Amsterdam" php: "7.0" mysql: false postgresql: false redis: false
Add a new CI job which runs on daily basis and verifies Libcloud can be installed from pip using all the supported versions.
# Workflow which verifies that the latest stable version can be installed from # pip on all the supported Python versions name: Install stable version using pip on: push: branches: - requests_changes pull_request: branches: - requests_changes schedule: - cron: '0 13 * * *' - cron: '0 2 * * *' jobs: install_and_verify: name: Install latest stable version runs-on: ubuntu-latest timeout-minutes: 5 strategy: fail-fast: false matrix: python_version: - 3.5 - 3.6 - 3.7 - 3.8 - 3.9 - pypy3 steps: - uses: actions/checkout@master with: fetch-depth: 1 - name: Use Python ${{ matrix.python_version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python_version }} - name: Install Libcloud run: | pip show apache-libcloud && exit 1 pip install apache-libcloud pip show apache-libcloud
Create github action for Ruby project to run rspec tests
name: Ruby on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Set up Ruby 2.6 uses: actions/setup-ruby@v1 with: ruby-version: 2.6.3 - name: Build and run tests run: | gem install bundler bundle install --jobs 4 --retry 3 bundle exec rspec spec
Update from Hackage at 2020-01-15T16:48:12Z
homepage: https://github.com/layer-3-communications/palo-alto-syslog changelog-type: markdown hash: 5b9df235d71a6f471aaf57e2e438138cf31e2f54ad45fe2b3beef655364da7b6 test-bench-deps: base: -any pan-os-syslog: -any gauge: -any byteslice: -any primitive: -any maintainer: amartin@layer3com.com synopsis: Parse syslog traffic from PAN-OS changelog: | # Revision history for palo-alto-syslog ## 0.1.0.0 -- 2020-01-15 * Initial release. basic-deps: primitive-addr: ! '>=0.1.0.2 && <2' base: ! '>=4.12.0.0 && <5' run-st: ! '>=0.1 && <0.2' ip: ! '>=1.6 && <1.8' chronos: ! '>=1.0.6 && <1.1' byteslice: ! '>=0.1.3 && <0.3' primitive: ! '>=0.7 && <0.8' bytesmith: ! '>=0.3.1 && <0.4' all-versions: - 0.1.0.0 author: Andrew Martin latest: 0.1.0.0 description-type: haddock description: |- Parse syslog traffic from PAN-OS. The data types in this library are optimized for decoding logs, not for creating them. On consumer-grade hardware, the benchmark suite demonstrates that 500-byte traffic logs are parsed in under one microsecond. Contributions are welcome. This project's goals are: * Support as many PAN-OS syslog types as possible: traffic, threat, hip-match, etc. * Support as many versions of PAN-OS as possible: 8.0, 8.1, 9.0, etc. * High performance. This library strives to avoid unneeded allocations. Some allocations cannot be avoided. For example, it is necessary to allocate space for the results. * Do a minimum amount of useful work on each field. The reasoning is that users will typically discard most of the fields, so there is no point wasting clock cycles doing unneeded work. Its hard to define what this is precisely. Roughly, the rule this library follows is that integral fields are parsed as @Word64@, and non-integral fields are @Bytes@. This library does not attempt to validate hostnames, URIs, etc. A good way to think about this library is that it is kind of like a tokenizer. It is the first step when parsing PAN-OS logs into some application-specific data type. There almost certainly needs to be a second step to decodes fields that are actually of interest to an application. This second step may involve validating URIs, splitting the user domain and user name, etc. license-name: BSD-3-Clause
Add pdb for pods created by prow
# Copyright 2020 The Kubernetes Authors All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # The purpose of the PodDisruptionBudget here is to never allow evicting pods created by prow. # Eviction of pods can happen for one of two reasons: # * Cluster autoscaler downscaling # * Someome/Something using `kubectl drain` # # It is still possible to delete the pods via a normal delete call. See https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/#the-eviction-api apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: prow-pods namespace: test-pods spec: maxUnavailable: 0 selector: matchLabels: created-by-prow: "true"
Add build check to CI
name: Build libmodbus on: push: branches: [ "master" ] pull_request: branches: [ "master" ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: configure run: ./configure - name: make run: make - name: make check run: make check - name: make distcheck run: make distcheck
Update the st2 role and add support for Ubuntu 20.04
--- galaxy_info: description: Install StackStorm and all its components author: armab company: StackStorm license: Apache 2.0 min_ansible_version: 2.5 platforms: - name: Ubuntu versions: - bionic - xenial - name: EL versions: - 7 - 8 galaxy_tags: - system - stackstorm - st2 - automation - remediation - devops dependencies: - role: StackStorm.epel when: ansible_facts.os_family == 'RedHat' - role: StackStorm.st2repo
--- galaxy_info: description: Install StackStorm and all its components author: armab company: StackStorm license: Apache 2.0 min_ansible_version: 2.5 platforms: - name: Ubuntu versions: - bionic - xenial - focal - name: EL versions: - 7 - 8 galaxy_tags: - system - stackstorm - st2 - automation - remediation - devops dependencies: - role: StackStorm.epel when: ansible_facts.os_family == 'RedHat' - role: StackStorm.st2repo
Update from Hackage at 2020-12-14T03:54:15Z
homepage: https://github.com/poscat0x04/libversion changelog-type: '' hash: 1537db87d0665c02a61f33fbf28ae31876224b6af22aeb0132dc88c5309fb18c test-bench-deps: {} maintainer: poscat@mail.poscat.moe synopsis: Haskell binding to libversion changelog: '' basic-deps: bytestring: -any base: '>=4.10 && <5' all-versions: - 0.1.0 author: Poscat latest: 0.1.0 description-type: haddock description: Haskell binding to libversion, an advanced version string comparison library license-name: BSD-3-Clause
Enable automatic reboots on CI slaves
--- classes: - git - ci_environment::jenkins_slave - ci_environment::firewall_config::jenkins_slave - mongodb - gds_mongodb ci_environment::jenkins_slave::jenkins_home: /home/jenkins jenkins::slave::manage_slave_user: 1 jenkins::slave::slave_user: jenkins jenkins::slave::slave_home: /home/jenkins jenkins::slave::version: 1.9 mongodb::replSet: 'gds-ci' mongodb::enable_10gen: true mongodb::version: 2.4.9 gds_mongodb::members: ['localhost'] gds_mongodb::replSet: 'gds-ci'
--- apt::unattended_upgrades::auto_reboot: true classes: - git - ci_environment::jenkins_slave - ci_environment::firewall_config::jenkins_slave - mongodb - gds_mongodb ci_environment::jenkins_slave::jenkins_home: /home/jenkins jenkins::slave::manage_slave_user: 1 jenkins::slave::slave_user: jenkins jenkins::slave::slave_home: /home/jenkins jenkins::slave::version: 1.9 mongodb::replSet: 'gds-ci' mongodb::enable_10gen: true mongodb::version: 2.4.9 gds_mongodb::members: ['localhost'] gds_mongodb::replSet: 'gds-ci'
Add a github workflow for OSS-Fuzz integration.
name: CIFuzz on: [pull_request] jobs: Fuzzing: runs-on: ubuntu-latest steps: - name: Build Fuzzers id: build uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master with: oss-fuzz-project-name: 'mtail' dry-run: false - name: Run Fuzzers uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master with: oss-fuzz-project-name: 'mtail' fuzz-seconds: 3600 dry-run: false - name: Upload Crash uses: actions/upload-artifact@v1 if: failure() && steps.build.outcome == 'success' with: name: artifacts path: ./out/artifacts
Update from Hackage at 2022-08-20T16:19:38Z
homepage: https://github.com/larskuhtz/hs-sha-validation changelog-type: markdown hash: 412c651174f56a41eed68b9a6d97647b6798b9ac654bfa230db66042b553a41c test-bench-deps: {} maintainer: lakuhtz@gmail.com synopsis: Validation SHA Implementations changelog: | # Revision history for the sha-validation package ## 0.1.0.0 -- 2022-08-20 * First version. Released on an unsuspecting world. basic-deps: bytestring: '>=0.10' base: '>=4.11 && <5' text: '>=1.1' filepath: '>=1.4' base16-bytestring: '>=0.1.1.7' attoparsec: '>=0.14' template-haskell: '>=2.16' vector: '>=0.12' directory: '>=1.3' all-versions: - 0.1.0.0 author: Lars Kuhtz latest: 0.1.0.0 description-type: markdown description: | Haskel support for NIST Secure Hash Algorithm Validation Tests license-name: MIT
Add workflow for releasing vagrant_cloud gem
name: Ruby Gem on: push: branches: [ release-* ] jobs: build: name: Build + Publish runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Ruby 2.6 uses: actions/setup-ruby@v1 with: version: 2.6.x - name: Publish to GPR run: | mkdir -p $HOME/.gem touch $HOME/.gem/credentials chmod 0600 $HOME/.gem/credentials printf -- "---\n:github: Bearer ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials gem build *.gemspec gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem env: GEM_HOST_API_KEY: ${{secrets.GPR_AUTH_TOKEN}} OWNER: username - name: Publish to RubyGems run: | mkdir -p $HOME/.gem touch $HOME/.gem/credentials chmod 0600 $HOME/.gem/credentials printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials gem build *.gemspec gem push *.gem env: GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
Build with actions, ship coverage to Codecov.
name: Node CI on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [12.x] steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - name: npm install run: npm install --no-package-lock - name: npm ls run: npm ls - name: npm install nyc, prove, codecov run: npm install -g nyc prove codecov - name: npm test run: nyc npm test env: CI: true - name: generate codecov report run: nyc report --reporter=text-lcov > coverage.lcov - name: ship coverage to codecov run: codecov --branch=${GITHUB_REF##*/} env: CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
Add run time package requirements
{% set name = "ParamTools" %} {% set version = "0.4.1" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: 1d3c56102039035aa3b6f0ac7e926caac7a29b57d4c6448aafbd2f0b5b7bf8da build: noarch: python number: 0 script: "{{ PYTHON }} -m pip install . --no-deps -vv" requirements: host: - python - pip run: - python test: imports: - paramtools - paramtools.contrib about: home: http://github.com/PSLmodels/ParamTools license: MIT license_family: MIT license_file: LICENSE.txt summary: 'Library for parameter processing and validation with a focus on computational modeling projects ' description: | ParamTools defines the inputs for computational modeling projects, facilitates updating the default inputs, and validating the inputs. ParamTools is also used to build GUIs. doc_url: http://paramtools.readthedocs.io/ dev_url: https://github.com/PSLmodels/ParamTools extra: recipe-maintainers: - hdoupe
{% set name = "ParamTools" %} {% set version = "0.4.1" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: 1d3c56102039035aa3b6f0ac7e926caac7a29b57d4c6448aafbd2f0b5b7bf8da build: noarch: python number: 0 script: "{{ PYTHON }} -m pip install . --no-deps -vv" requirements: host: - python - pip run: - python - marshmallow >=3.* - numpy - python-dateutil >=2.8.0 test: imports: - paramtools - paramtools.contrib about: home: http://github.com/PSLmodels/ParamTools license: MIT license_family: MIT license_file: LICENSE.txt summary: 'Library for parameter processing and validation with a focus on computational modeling projects ' description: | ParamTools defines the inputs for computational modeling projects, facilitates updating the default inputs, and validating the inputs. ParamTools is also used to build GUIs. doc_url: http://paramtools.readthedocs.io/ dev_url: https://github.com/PSLmodels/ParamTools extra: recipe-maintainers: - hdoupe
Set the external urls for Prometheus, Alertmanager and Grafana
- type: replace path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/web?/external_url? value: https://prometheus.((system_domain)) - type: replace path: /instance_groups/name=alertmanager/jobs/name=alertmanager/properties/alertmanager/web?/external_url value: https://alertmanager.((system_domain)) - type: replace path: /instance_groups/name=grafana/jobs/name=grafana/properties/grafana/server?/root_url value: https://grafana.((system_domain))
Set up AppVeyor Windows continuous build.
os: Visual Studio 2015 install: - ps: | Add-Type -AssemblyName System.IO.Compression.FileSystem if (!(Test-Path -Path "C:\maven" )) { (new-object System.Net.WebClient).DownloadFile( 'http://www.us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip', 'C:\maven-bin.zip' ) [System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven") } - cmd: SET PATH=C:\maven\apache-maven-3.3.9\bin;%JAVA_HOME%\bin;%PATH% - cmd: SET MAVEN_OPTS=-XX:MaxPermSize=2g -Xmx4g - cmd: SET JAVA_OPTS=-XX:MaxPermSize=2g -Xmx4g build_script: - mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V test_script: - mvn test -B cache: - C:\maven\ - C:\Users\appveyor\.m2 notifications: - provider: Email to: - error-prone-team+ci@google.com on_build_failure: true on_build_status_changed: true
Enable automerge for development dependencies
name: Dependabot auto-merge on: pull_request_target permissions: pull-requests: write contents: write jobs: dependabot: runs-on: ubuntu-latest if: ${{ github.actor == 'dependabot[bot]' }} steps: - name: Dependabot metadata id: metadata uses: dependabot/fetch-metadata@v1 with: github-token: "${{ secrets.GITHUB_TOKEN }}" - name: Output Checks run: | echo ${{steps.metadata.outputs.dependency-names}} echo ${{steps.metadata.outputs.update-type}} echo ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}} echo ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}} echo ${{steps.metadata.outputs.dependency-type}} echo ${{steps.metadata.outputs.dependency-type == 'direct:development'}} - name: Enable auto-merge for develpment dependencies if: ${{ steps.metadata.outputs.dependency-type == 'direct:development' && (steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch') }} run: gh pr merge --auto --merge "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Update from Hackage at 2015-08-12T03:38:46+0000
homepage: https://github.com/ryo0ka/tictactoe3d changelog-type: '' hash: 1176873cfa0a3b18ae1032bb1f37327046d00c633c3ef77c75e10954567e9177 test-bench-deps: {} maintainer: ryoka0418@gmail.com synopsis: 3D Tic-Tac-Toe logic changelog: '' basic-deps: hArduino: ==0.9 tuples-homogenous-h98: ==0.1.1.0 base: ! '>=4.7 && <4.8' vector: ! '>=0.10 && <0.11' all-versions: - '0.1.0.0' author: ryo0ka latest: '0.1.0.0' description-type: markdown description: ! "# tictactoe3d\r\nDefines 3D Tic-Tac-Toe game logic and state machine." license-name: GPL-3
Add proxy container with let's encrypt support
version: '3' services: proxy: image: jwilder/nginx-proxy:alpine labels: com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true" ports: - 80:80 - 443:443 networks: - ttrss_frontend volumes: - certs:/etc/nginx/certs - vhost:/etc/nginx/vhost.d - html:/usr/share/nginx/html - /var/run/docker.sock:/tmp/docker.sock:ro letscrypt-proxy: image: jrcs/letsencrypt-nginx-proxy-companion depends_on: - proxy volumes: - certs:/etc/nginx/certs - vhost:/etc/nginx/vhost.d - html:/usr/share/nginx/html - /var/run/docker.sock:/var/run/docker.sock:ro volumes: certs: vhost: html: networks: ttrss_frontend: external: true
Add single playbook for setup
#!/usr/bin/env ansible-playbook - name: Setup Pi for Life In Lights hosts: lifeinlights tasks: - name: Get Leiningen script get_url: url=https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein dest=/usr/local/bin/lein mode=0755 sudo: yes - name: Execute lein script to install dependencies shell: lein - name: Install LIRC package apt: name=lirc update_cache=yes sudo: yes - name: Replace /etc/lirc/hardware.conf with updated file copy: src=files/hardware.conf dest=/etc/lirc/hardware.conf mode=0644 sudo: yes - name: Replace /etc/lirc/lircd.conf with updated file copy: src=files/lircd.conf dest=/etc/lirc/lircd.conf mode=0644 sudo: yes - name: Restart LIRC service service: name=lirc state=restarted sudo: yes - name: Install unclutter package apt: name=unclutter update_cache=yes sudo: yes - name: Disable boot features copy: src=files/config.txt dest=/boot/config.txt mode=0644 sudo: yes - name: Install new autostart copy: src=files/autostart dest=/etc/xdg/lxsession/LXDE/autostart mode=0644 sudo: yes - name: Install new lightdm.conf copy: src=files/lightdm.conf dest=/etc/lightdm/lightdm.conf mode=0644 sudo: yes - name: Set timezone command: /usr/bin/timedatectl set-timezone EST5EDT sudo: yes
Update from Hackage at 2017-02-26T13:31:58Z
homepage: https://github.com/oisdk/mono-traversable-compat changelog-type: '' hash: 45d7caa96cbe6add071c30a28eef2ed1e4ce90bf15a0f53b8f2324a64f8ddd19 test-bench-deps: {} maintainer: mail@doisinkidney.com synopsis: Wrapper providing Foldable instance for MonoFoldables. changelog: '' basic-deps: base: ! '>=4.7 && <5' mono-traversable: ! '>=0.5' all-versions: - '0.1.0.0' author: Donnacha Oisín Kidney latest: '0.1.0.0' description-type: haddock description: Please see README.md license-name: MIT
Add a config file for Travis CI
language: ruby rvm: - 1.8.7 script: "rake spec" branches: only: - master env: - PUPPET_VERSION=3.7.3 - PUPPET_VERSION=2.7.17 notifications: email: false gemfile: Gemfile
Add Travis CI. No integration testing yet.
language: csharp dotnet: 3.1.201 mono: none matrix: include: - os: linux # .NET Core 3.1 requires Ubuntu 16.04+ (Xenial) # https://github.com/dotnet/core/blob/master/release-notes/3.1/3.1-supported-os.md#linux # The default vesion in Travis CI is currently 16.04 (Xenial) # https://docs.travis-ci.com/user/reference/linux/#default dist: bionic - os: osx # .NET Core 3.1 requires OSX 10.13+ # https://github.com/dotnet/core/blob/master/release-notes/3.1/3.1-supported-os.md#macos # The default version in Travis CI is currently OS X 10.13 so nothing needs to be done # https://docs.travis-ci.com/user/reference/osx/#OS-X-Version script: - export PATH="$PATH:$HOME/.dotnet/tools" - dotnet tool install -g Cake.Tool --version 0.37.0 - dotnet cake build.cake - dotnet cake build.cake --target Run-Unit-Tests - dotnet cake build.cake --target Publish-Artifacts
Build with Travis-CI: MacOS and Linux
language: csharp sudo: false mono: none os: - linux - osx dotnet: 1.0.4 dist: trusty env: global: - DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true - DOTNET_CLI_TELEMETRY_OPTOUT=1 before_install: - if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi script: - dotnet restore && ls test/**/*.csproj | xargs -L1 dotnet test -c Release
Update from Hackage at 2015-11-22T12:16:20+0000
homepage: http://github.com/tvh/haxl-amazonka#readme changelog-type: '' hash: 360466927f82110c63cbd3f98da74cfb2e7222ba2828040e4daabcdc8ffee7df test-bench-deps: {} maintainer: tvh@tvholtz.de synopsis: Haxl data source for accessing AWS services through amazonka. changelog: '' basic-deps: amazonka: ! '>=1.3' base: ! '>=4.7 && <5' haxl: ! '>=0.3' async: -any conduit: -any amazonka-core: ! '>=1.3' hashable: -any transformers: -any all-versions: - '0.1.0.0' author: Timo von Holtz latest: '0.1.0.0' description-type: haddock description: Haxl data source for accessing AWS services through amazonka. license-name: BSD3
Add docker compose config file for dev env
version: '2' services: delivery: build: context: ./delivery volumes: - "./delivery:/src/app" labels: - "traefik.frontend.rule=PathPrefixStrip:/delivery" - "traefik.port=3000" - "traefik.backend=delivery" gateway: image: traefik:v1.1.2 ports: - "80:80" - "8080:8080" volumes: - "./gateway/dev.toml:/etc/traefik/traefik.toml" - "/var/run/docker.sock:/var/run/docker.sock" labels: - "traefik.backend=gateway"
Add 'ls' on the binary to see the file sizes
language: go go: - 1.3.3 - 1.4.2 - release os: - linux - osx notifications: irc: "chat.freenode.net#restic" install: - go get github.com/mitchellh/gox - gox -build-toolchain -os "linux darwin" - go get -v -t ./... script: - go build -ldflags "-s" ./... - go build -ldflags "-s" -o restic ./cmd/restic - sh -c "cd cmd/restic && gox -verbose -os 'linux darwin'" - "stat --printf='binary size: %s' restic" - go test -v ./... - ./testsuite.sh - sh -c "cd backend && go test -v -test.sftppath /usr/lib/openssh/sftp-server ./..." - gofmt -l *.go */*.go */*/*.go - test -z "$(gofmt -l *.go */*.go */*/*.go)"
language: go go: - 1.3.3 - 1.4.2 - release os: - linux - osx notifications: irc: "chat.freenode.net#restic" install: - go get github.com/mitchellh/gox - gox -build-toolchain -os "linux darwin" - go get -v -t ./... script: - go build -ldflags "-s" ./... - go build -ldflags "-s" -o restic ./cmd/restic - sh -c "cd cmd/restic && gox -verbose -os 'linux darwin' && ls -al" - go test -v ./... - ./testsuite.sh - sh -c "cd backend && go test -v -test.sftppath /usr/lib/openssh/sftp-server ./..." - gofmt -l *.go */*.go */*/*.go - test -z "$(gofmt -l *.go */*.go */*/*.go)"
Add support for Travis Continuous Integration
# ## BEGIN LICENSE BLOCK # # Copyright (c) <2012-2014>, Raul Perez <repejota@gmail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # * Neither the name of the <organization> nor the # names of its contributors may be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ## END LICENSE BLOCK # language: node_js node_js: - "0.11" - "0.10" - "0.8" - "0.6"
Update from Hackage at 2021-06-07T08:16:01Z
homepage: https://github.com/githubuser/union-angle#readme changelog-type: markdown hash: 0e4425bf99262b46958a599f96fa9060071d98695b218e059653c766de7d61ef test-bench-deps: base: '>=4.7 && <5' union-angle: -any maintainer: yoshikuni.jujo.pc@gmail.com synopsis: Union type that include radian angle and degree angle changelog: | # Changelog for union-angle ## Unreleased changes basic-deps: base: '>=4.7 && <5' all-versions: - 0.1.0.0 author: Yoshikuni Jujo latest: 0.1.0.0 description-type: markdown description: | # union-angle Union type that include radian angle and degree angle. ``` > a = Radian pi > a Radian 3.141592653589793 > degree a 180.0 > Degree d = a > d 180.0 > Degree 180 Degree 180 > it + Radian pi Radian 6.283185307179586 ``` license-name: BSD-3-Clause
Add Travis for automatic tests
language: python python: - "2.6" - "2.7" - "3.2" - "3.3" - "3.4" - "3.5" - "3.6" # command to install dependencies install: "pip install -r requirements.txt" # command to run tests script: pytest
Use modulesync to manage meta files
--- language: ruby bundler_args: --without development script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'" after_success: ["git clone -q git://github.com/puppetlabs/ghpublisher.git .forge-releng", ".forge-releng/publish"] env: global: - PUBLISHER_LOGIN=camptocamp - secure: "ENkpHtG0v+r0QSiOF3+JdACwbqR0c1oLhbvoY4VGNh1blJtBRlTEyBcBjNGwfQdG3Ww9MjBKhHlBLRS8S3KXelczf9ooTCcFNDWv5ctJ1Uqerjd+/xHO2Ro/4iv8PvzmLViN1nVbR17SAqM2z66rlSckJS/h0b+AlZyTPui+GUo=" matrix: fast_finish: true include: - rvm: 1.8.7 env: PUPPET_GEM_VERSION="~> 2.7" - rvm: 1.8.7 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 2.0.0 env: PUPPET_GEM_VERSION="~> 3.0" notifications: email: false
--- language: ruby bundler_args: --without development script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'" after_success: ["git clone -q git://github.com/puppetlabs/ghpublisher.git .forge-releng", ".forge-releng/publish"] env: global: - PUBLISHER_LOGIN=camptocamp - secure: "ENkpHtG0v+r0QSiOF3+JdACwbqR0c1oLhbvoY4VGNh1blJtBRlTEyBcBjNGwfQdG3Ww9MjBKhHlBLRS8S3KXelczf9ooTCcFNDWv5ctJ1Uqerjd+/xHO2Ro/4iv8PvzmLViN1nVbR17SAqM2z66rlSckJS/h0b+AlZyTPui+GUo=" matrix: fast_finish: true include: - rvm: 1.8.7 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 1.9.3 env: PUPPET_GEM_VERSION="~> 3.0" - rvm: 2.0.0 env: PUPPET_GEM_VERSION="~> 3.0" notifications: email: false
Add an example of yaml style config
label: Utilization Analysis of Moasp subgroups: - label: Tree Structure type: tree, data: - abs_seq - level - TimerName - label: Percentage subgroups: - label: Time type: percent data: MaxRDTSC_abs_percent - label: Flops type: percent data: Float_ops_abs_percent - label: MFlops type: bars data: MFLOP_s
Update from Hackage at 2015-11-30T20:16:55+0000
homepage: '' changelog-type: '' hash: c2b7bbbc1258fccebb94821e17aefea5c207b4ba2de8e1222f380d8088bbf2a9 test-bench-deps: {} maintainer: muesli4@gmail.com synopsis: Provides zips where the combining doesn't stop premature, but instead uses default elements. changelog: '' basic-deps: base: ! '>=4.7 && <4.9' all-versions: - '0.1.0.0' author: Moritz Bruder latest: '0.1.0.0' description-type: markdown description: ! "# list-zip-def\n\nProvides zip functions that use a given default value, whenever one list is exhausted, but not all.\n\n Prelude> import Data.List.Zip\n \ Prelude Data.List.Zip> zipDef 0 0 [1, 2, 3] [1]\n [(1,1)(2,0)(3,0)]\n\n" license-name: PublicDomain
Add initial VSTS build definition
queue: name: Hosted VS2017 timeoutInMinutes: 60 trigger: branches: include: ["master"] paths: exclude: [".github", "doc", "*.md"] variables: BuildConfiguration: Release VisualStudioVersion: 15.0 GeneratePInvokesTxt: true TreatWarningsAsErrors: true ReportDir: bin\$(BuildConfiguration) steps: - task: BatchScript@1 inputs: filename: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\Tools\VsDevCmd.bat arguments: -no_logo modifyEnvironment: true displayName: Setup Environment Variables - powershell: choco install pandoc displayName: Install prerequisites - powershell: .\build.ps1 -Restore displayName: Restore packages - powershell: .\build.ps1 -Configuration $(BuildConfiguration) -Build displayName: Build - powershell: .\build.ps1 -Configuration $(BuildConfiguration) -Test -NoParallelTests displayName: Test - powershell: | tools\Get-CoverageReport.ps1 -NoBuild -Configuration $(BuildConfiguration) -OutFile "$(ReportDir)\coverage.md" pandoc -f markdown -t html "$(ReportDir)\coverage.md" -o "$(ReportDir)\coverage.html" displayName: Collect P/Invoke coverage report - task: CopyFiles@2 displayName: 'Copy Files to: $(build.artifactstagingdirectory)\PInvoke coverage report' inputs: SourceFolder: $(ReportDir) Contents: | coverage.html coverage.md TargetFolder: $(build.artifactstagingdirectory)\PInvoke coverage report - task: PublishBuildArtifacts@1 displayName: 'Publish Artifact: PInvoke coverage report' inputs: PathtoPublish: $(build.artifactstagingdirectory)\PInvoke coverage report ArtifactName: PInvoke coverage report - task: CopyFiles@2 displayName: 'Copy Files to: $(build.artifactstagingdirectory)\PInvoke method coverage' inputs: SourceFolder: bin Contents: '**\*.pinvokes.txt' TargetFolder: '$(build.artifactstagingdirectory)\PInvoke method coverage' - task: PublishBuildArtifacts@1 displayName: 'Publish Artifact: PInvoke method coverage' inputs: PathtoPublish: $(build.artifactstagingdirectory)\PInvoke method coverage ArtifactName: PInvoke method coverage - task: CopyFiles@2 displayName: 'Copy Files to: $(build.artifactstagingdirectory)\Exported methods' inputs: SourceFolder: bin Contents: '**\*.exports.txt' TargetFolder: '$(build.artifactstagingdirectory)\Exported methods' - task: PublishBuildArtifacts@1 displayName: 'Publish Artifact: Exported methods' inputs: PathtoPublish: $(build.artifactstagingdirectory)\Exported methods ArtifactName: Exported methods - task: CopyFiles@2 displayName: 'Copy Files to: $(build.artifactstagingdirectory)\NuGet packages' inputs: SourceFolder: bin Contents: '**\*.nupkg' TargetFolder: '$(build.artifactstagingdirectory)\NuGet packages' - task: PublishBuildArtifacts@1 displayName: 'Publish Artifact: NuGet packages' inputs: PathtoPublish: $(build.artifactstagingdirectory)\NuGet packages ArtifactName: NuGet packages
Add changelog workflow (automated commit)
name: "Update Changelog" on: release: types: [released] jobs: update: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2 with: ref: main - name: Update Changelog uses: stefanzweifel/changelog-updater-action@v1 with: latest-version: ${{ github.event.release.name }} release-notes: ${{ github.event.release.body }} - name: Commit updated CHANGELOG uses: stefanzweifel/git-auto-commit-action@v4 with: branch: main commit_message: Update CHANGELOG file_pattern: CHANGELOG.md