commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
old_contents
stringlengths
0
4.24k
new_contents
stringlengths
1
5.44k
subject
stringlengths
14
778
message
stringlengths
15
9.92k
lang
stringclasses
277 values
license
stringclasses
13 values
repos
stringlengths
5
127k
0aedcf02cf05e59d6841a340a1d7c7a322c21509
.circleci/config.yml
.circleci/config.yml
version: 2 jobs: build: branches: only: - master working_directory: /var/tmp docker: - image: diegovalle/elcrimen-docker steps: - checkout - run: name: Build the website https://elcri.men command: | sudo -H -E bash -c "cp ansible/* /etc/ansible && cd /etc/ansible && echo $ANSIBLE_PASSWORD > password.txt && ansible-playbook -c local ssh.yml --vault-password-file=/etc/ansible/password.txt --extra-vars 'secrets=true' && cd /root/new.crimenmexico && git pull && make" no_output_timeout: 2400 # - store_artifacts: # path: /root/new.crimenmexico/db/crimenmexico.db # destination: crimenmexico.db
version: 2 jobs: build: branches: only: - master working_directory: /var/tmp docker: - image: diegovalle/elcrimen-docker auth: username: diegovalle # can specify string literal values password: $DOCKERHUB_PASSWORD # or project environment variable reference steps: - checkout - run: name: Build the website https://elcri.men command: | sudo -H -E bash -c "cp ansible/* /etc/ansible && cd /etc/ansible && echo $ANSIBLE_PASSWORD > password.txt && ansible-playbook -c local ssh.yml --vault-password-file=/etc/ansible/password.txt --extra-vars 'secrets=true' && cd /root/new.crimenmexico && git pull && make" no_output_timeout: 2400 # - store_artifacts: # path: /root/new.crimenmexico/db/crimenmexico.db # destination: crimenmexico.db
Add docker auth [Skip CI]
Add docker auth [Skip CI]
YAML
mit
diegovalle/new.crimenmexico,diegovalle/new.crimenmexico,diegovalle/new.crimenmexico,diegovalle/new.crimenmexico,diegovalle/new.crimenmexico
3528f97d661a0160f7989f0f253bf1bf25999271
.circleci/config.yml
.circleci/config.yml
# Javascript Node CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-javascript/ for more details # version: 2 jobs: build: docker: # specify the version you desire here - image: circleci/node:8.7 # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images # documented at https://circleci.com/docs/2.0/circleci-images/ # - image: circleci/mongo:3.4.4 working_directory: ~/repo steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "package.json" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: yarn install - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} # run tests! - run: yarn test
# Javascript Node CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-javascript/ for more details # version: 2 jobs: node8: docker: # specify the version you desire here - image: circleci/node:8.7 # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images # documented at https://circleci.com/docs/2.0/circleci-images/ # - image: circleci/mongo:3.4.4 working_directory: ~/repo steps: - checkout # Download and cache dependencies - restore_cache: keys: - v1-dependencies-{{ checksum "package.json" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: yarn install - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} # run tests! - run: yarn test node6: docker: - image: circleci/node:6.11.4 working_directory: ~/repo steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "package.json" }} - v1-dependencies- - run: yarn install - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} - run: yarn test node4: docker: - image: circleci/node:4.8.4 working_directory: ~/repo steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "package.json" }} - v1-dependencies- - run: yarn install - save_cache: paths: - node_modules key: v1-dependencies-{{ checksum "package.json" }} - run: yarn test workflows: version: 2 build: jobs: - node4 - node6 - node8
Add more circleCI jobs with various node versions
Add more circleCI jobs with various node versions
YAML
mit
Gipphe/ualf
7fa461f4e55c7c427969bdd5494403094191c3ac
.circleci/config.yml
.circleci/config.yml
# Javascript Node CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-javascript/ for more details # version: 2 general: branches: ignore: - gh-pages jobs: test: docker: - image: circleci/node:8.9.4 steps: - checkout - run: npm install - run: npm test
# Javascript Node CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-javascript/ for more details # version: 2 general: branches: ignore: - gh-pages jobs: test: docker: - image: circleci/node:8.9.4 steps: - checkout - run: npm install - run: npm test build: docker: - image: circleci/node:8.9.4 steps: - checkout - run: npm run lint workflows: version: 2 test_build: jobs: - build - test
Replace build with lint circle.ci dummy
Replace build with lint circle.ci dummy
YAML
mit
Tezirg/os2
97e174ec77f550f410b0a6612cc88d4f75ac6bdc
.circleci/config.yml
.circleci/config.yml
version: 2 jobs: build: docker: - image: circleci/openjdk:8u171-jdk environment: GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx512m -Dorg.gradle.daemon=false TERM: dumb TZ: /usr/share/zoneinfo/America/Los_Angeles branches: ignore: - /rel\/.*/ steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "build.gradle" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: name: Run tests command: ./gradlew check - deploy: name: Publish artifacts command: | if [ -z ${CI_PULL_REQUEST} ]; then ./gradlew publish fi - store_artifacts: path: ~/project/build/reports/tests - store_test_results: path: ~/project/build/test-results/test - save_cache: paths: - ~/.gradle key: v1-dependencies-{{ checksum "build.gradle" }}
version: 2 jobs: build: docker: - image: circleci/openjdk:11-jdk environment: GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx512m -Dorg.gradle.daemon=false TERM: dumb TZ: /usr/share/zoneinfo/America/Los_Angeles branches: ignore: - /rel\/.*/ steps: - checkout - restore_cache: keys: - v1-dependencies-{{ checksum "build.gradle" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- - run: name: Run tests command: ./gradlew check - deploy: name: Publish artifacts command: | if [ -z ${CI_PULL_REQUEST} ]; then ./gradlew publish fi - store_artifacts: path: ~/project/build/reports/tests - store_test_results: path: ~/project/build/test-results/test - save_cache: paths: - ~/.gradle key: v1-dependencies-{{ checksum "build.gradle" }}
Update jdk11 image for CircleCi
Update jdk11 image for CircleCi
YAML
bsd-3-clause
gosu-lang/gradle-gosu-plugin
b41a23c074118d401d0dac3b60d2148e2eb47ccf
.circleci/k8s-general-values.yml
.circleci/k8s-general-values.yml
fullnameOverride: "runner" daemonSet: true initContainers: {} envFromSecret: {} nodeSelector: {} affinity: {} tolerations: [] service: annotations: prometheus.io/scrape: "true" volumes: - name: runner-tmp-dir emptyDir: medium: Memory sizeLimit: "64Mi" - name: docker-socket hostPath: path: /var/run/docker.sock type: File containers: - name: runner securityContext: readOnlyRootFilesystem: true volumeMounts: - name: runner-tmp-dir mountPath: /tmp readOnly: false - mountPath: /var/run/docker.sock name: docker-socket resources: requests: cpu: 20m memory: 128Mi limits: memory: 768Mi livenessProbe: path: /alive readinessProbe: path: /ready env: CYBER_DOJO_USE_CONTAINERD: "true" CYBER_DOJO_PROMETHEUS: "true" CYBER_DOJO_RUNNER_PORT: "4597" # CYBER_DOJO_K8S_PORT: "19661"
fullnameOverride: "runner" daemonSet: true initContainers: {} envFromSecret: {} nodeSelector: {} affinity: {} tolerations: [] service: annotations: prometheus.io/scrape: "true" volumes: - name: runner-tmp-dir emptyDir: medium: Memory sizeLimit: "64Mi" - name: docker-socket hostPath: path: /var/run/docker.sock type: "" containers: - name: runner securityContext: readOnlyRootFilesystem: true volumeMounts: - name: runner-tmp-dir mountPath: /tmp readOnly: false - mountPath: /var/run/docker.sock name: docker-socket resources: requests: cpu: 20m memory: 128Mi limits: memory: 768Mi livenessProbe: path: /alive readinessProbe: path: /ready env: CYBER_DOJO_USE_CONTAINERD: "true" CYBER_DOJO_PROMETHEUS: "true" CYBER_DOJO_RUNNER_PORT: "4597" # CYBER_DOJO_K8S_PORT: "19661"
Update hostPath - type value for "docke.socket" volume
Update hostPath - type value for "docke.socket" volume
YAML
bsd-2-clause
cyber-dojo/runner,cyber-dojo/runner
06e4171ab8f56d77ab36b6d37aa63b8e6a244534
.kitchen.yml
.kitchen.yml
driver: name: vagrant provisioner: name: chef_zero deprecations_as_errors: true verifier: name: inspec platforms: - name: centos-6.8 - name: centos-7.3 - name: debian-7.11 - name: debian-8.7 - name: freebsd-10.3 - name: freebsd-11.0 - name: fedora-25 - name: opensuse-leap-42.2 - name: ubuntu-14.04 - name: ubuntu-14.04-chef127 driver_config: box: bento/ubuntu-14.04 provisioner: require_chef_omnibus: 12.7.2 - name: ubuntu-16.04 - name: windows-2008r2 driver_config: box: chef/windows-server-2008r2-standard - name: windows-2012r2 driver_config: box: chef/windows-server-2012r2-standard suites: - name: default run_list: - recipe[ohai_test::default]
driver: name: vagrant provisioner: name: chef_zero deprecations_as_errors: true verifier: name: inspec platforms: - name: centos-6.9 - name: centos-7.3 - name: debian-7.11 - name: debian-8.7 - name: freebsd-10.3 - name: freebsd-11.0 - name: fedora-25 - name: opensuse-leap-42.2 - name: ubuntu-14.04 - name: ubuntu-14.04-chef127 driver_config: box: bento/ubuntu-14.04 provisioner: require_chef_omnibus: 12.7.2 - name: ubuntu-16.04 - name: windows-2008r2 driver_config: box: chef/windows-server-2008r2-standard - name: windows-2012r2 driver_config: box: chef/windows-server-2012r2-standard suites: - name: default run_list: - recipe[ohai_test::default]
Test on CentOS 6.9 in TK
Test on CentOS 6.9 in TK Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
YAML
apache-2.0
opscode-cookbooks/ohai,chef-cookbooks/ohai
0846d5f139b561c4c3484f2bf2973cca20bee8d0
.kitchen.yml
.kitchen.yml
--- driver: name: vagrant provisioner: name: chef_zero driver_config: require_chef_omnibus: true platforms: - name: ubuntu-12.04 driver_config: box: opscode-ubuntu-12.04 box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_provisionerless.box run_list: ["recipe[apt]"] - name: ubuntu-10.04 driver_config: box: opscode-ubuntu-10.04 box_url: http://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-10.04_provisionerless.box run_list: ["recipe[apt]"] - name: centos-6.4 driver_config: box: opscode-centos-6.4 box_url: http://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_centos-6.4_provisionerless.box - name: centos-5.9 driver_config: box: opscode-centos-5.9 box_url: http://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_centos-5.9_provisionerless.box suites: - name: default run_list: ["recipe[sqlite]"] attributes: {}
driver: name: vagrant provisioner: name: chef_zero platforms: - name: ubuntu-12.04 run_list: - recipe[apt::default] - name: ubuntu-14.04 run_list: - recipe[apt::default] - name: centos-5.11 - name: centos-6.7 - name: centos-7.1 suites: - name: default run_list: ["recipe[sqlite]"] attributes: {}
Update format and add new platforms
Update format and add new platforms
YAML
apache-2.0
chef-cookbooks/sqlite,opscode-cookbooks/sqlite
d8a8eb796c7d6b065baa6103a2cc92060d30d334
.github/workflows/lint-fixer.yml
.github/workflows/lint-fixer.yml
name: "Let me lint:fix that for you" on: [push] jobs: LMLFTFY: runs-on: ubuntu-latest steps: - name: "Check out Git repository" uses: actions/checkout@v2 - name: "Install CLI tools" run: npm install -g @angular/cli - name: "Install application" run: | npm install --ignore-scripts cd frontend npm install --ignore-scripts - name: "Fix everything which can be fixed" run: 'npm run lint:fix' - uses: stefanzweifel/git-auto-commit-action@v4.0.0 with: commit_message: "Auto-fix linting issues" branch: ${{ github.head_ref }} commit_options: '--signoff' commit_user_name: JuiceShopBot commit_user_email: 61591748+JuiceShopBot@users.noreply.github.com commit_author: JuiceShopBot <61591748+JuiceShopBot@users.noreply.github.com>
name: "Let me lint:fix that for you" on: [push] jobs: LMLFTFY: runs-on: ubuntu-latest steps: - name: "Check out Git repository" uses: actions/checkout@v2 - name: "Use Node.js 14" uses: actions/setup-node@v1 with: node-version: 14 - name: "Install CLI tools" run: npm install -g @angular/cli - name: "Install application" run: | npm install --ignore-scripts cd frontend npm install --ignore-scripts - name: "Fix everything which can be fixed" run: 'npm run lint:fix' - uses: stefanzweifel/git-auto-commit-action@v4.0.0 with: commit_message: "Auto-fix linting issues" branch: ${{ github.head_ref }} commit_options: '--signoff' commit_user_name: JuiceShopBot commit_user_email: 61591748+JuiceShopBot@users.noreply.github.com commit_author: JuiceShopBot <61591748+JuiceShopBot@users.noreply.github.com>
Install Node.js 14 before linting
Install Node.js 14 before linting
YAML
mit
bkimminich/juice-shop,bkimminich/juice-shop,bkimminich/juice-shop,bkimminich/juice-shop,bkimminich/juice-shop,bkimminich/juice-shop
36bd1ee8110463cfe9c3fb915d422915645fc996
.kitchen.yml
.kitchen.yml
--- provisioner: name: ansible_playbook hosts: test-kitchen require_ansible_repo: false require_ansible_omnibus: true driver: name: docker platforms: - name: centos-6 driver_config: image: dynatrace/centos-testing:6 - name: debian-7.8 driver_config: image: dynatrace/debian-testing:7.8 - name: ubuntu-12.04 driver_config: image: dynatrace/ubuntu-testing:12.04 suites: - name: default
--- provisioner: name: ansible_playbook hosts: test-kitchen require_ansible_repo: false require_ansible_omnibus: true driver: name: docker platforms: - name: centos-6 driver_config: provision_command: - yum update -y - yum install -y net-tools tar - name: debian-7.8 driver_config: provision_command: - apt-get update - apt-get install -y net-tools tar - name: ubuntu-12.04 driver_config: provision_command: - apt-get update - apt-get install -y net-tools tar suites: - name: default
Drop dependency on external docker images.
Drop dependency on external docker images.
YAML
mit
dynaTrace/Dynatrace-Collector-Ansible,dynaTrace/Dynatrace-Collector-Ansible
fb3465b6ae7e160057b64310c087d70f5ff06dce
.mergify.yml
.mergify.yml
pull_request_rules: - name: auto merge when label is set conditions: - label!=WIP - label!=waiting - label=ready to merge - status-success~=Travis CI - status-success~=Codacy - status-success~=pullapprove actions: merge: method: merge strict: true - name: remove ready to merge label when merged conditions: - merged - label=ready to merge actions: label: remove: - ready to merge - name: remove "ready to merge" label when pull is not approved conditions: - status-failure~=pullapprove - label~=ready to merge - -merged actions: comment: message: The "ready to merge" label can only be set after one pull request approval label: remove: - ready to merge
pull_request_rules: - name: auto merge when label is set conditions: - label!=WIP - label!=waiting - label=ready to merge - status-success~=Travis CI - status-success~=Codacy - status-success~=pullapprove actions: merge: method: merge strict: true - name: remove ready to merge label when merged conditions: - merged - label=ready to merge actions: label: add: - auto_merged remove: - ready to merge - name: remove "ready to merge" label when pull is not approved conditions: - status-failure~=pullapprove - label~=ready to merge - -merged actions: comment: message: The "ready to merge" label can only be set after one pull request approval label: remove: - ready to merge
Add label after auto merge
Mergify: Add label after auto merge Mergify will add "auto_merge" label after merge
YAML
agpl-3.0
schul-cloud/schulcloud-client,schul-cloud/schulcloud-client,schul-cloud/schulcloud-client
7ecdcfd92b6c52348e6e27d9da2d720bd8622e72
.github/workflows/python-app.yml
.github/workflows/python-app.yml
# This workflow will install Python dependencies, run tests and lint with a single version of Python # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions name: Python application on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Python 3.9 uses: actions/setup-python@v2 with: python-version: "3.9" - name: Install dependencies run: | python -m pip install --upgrade pip pip install flake8 pytest pip install -r attentive_scoring/requirements.txt - name: Lint with flake8 run: | flake8 --indent-size 2 --max-line-length 80 attentive_scoring - name: Run tests run: | sh attentive_scoring/run_tests.sh
# This workflow will install Python dependencies, run tests and lint with a single version of Python # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions name: Python application on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Python 3.9 uses: actions/setup-python@v2 with: python-version: "3.9" - name: Install dependencies run: | python -m pip install --upgrade pip pip install flake8 pytest pip install -r attentive_scoring/requirements.txt - name: Lint with flake8 run: | flake8 --indent-size 2 --max-line-length 80 attentive_scoring - name: Run tests run: | bash attentive_scoring/run_tests.sh
Use bash instead of sh
Use bash instead of sh
YAML
apache-2.0
google/speaker-id,google/speaker-id,google/speaker-id
a50cf1d33f77f43ad8121baf490ac33507c159aa
.eslintrc.yaml
.eslintrc.yaml
parser: babel-eslint extends: airbnb/base plugins: - flowtype rules: eqeqeq: - error - allow-null no-unused-expressions: - error - allowShortCircuit: true no-use-before-define: off no-multi-spaces: - warn - exceptions: VariableDeclarator: true ImportDeclaration: true no-nested-ternary: off no-cond-assign: - error - except-parens key-spacing: - warn - beforeColon: false afterColon: true mode: 'minimum' react/sort-comp: off
parser: babel-eslint extends: airbnb/base plugins: - flowtype rules: eqeqeq: - error - allow-null no-unused-expressions: - error - allowShortCircuit: true no-use-before-define: off no-multi-spaces: off no-nested-ternary: off no-cond-assign: - error - except-parens key-spacing: - warn - beforeColon: false afterColon: true mode: 'minimum' react/sort-comp: off
Align lint config to other libs
Align lint config to other libs
YAML
mit
guigrpa/timm,guigrpa/timm
83fd1f4de10364658452835d80376d17148be726
.forestry/front_matter/templates/page.yml
.forestry/front_matter/templates/page.yml
--- label: Page hide_body: false fields: - type: text name: title label: Title config: required: true - name: description type: text config: required: false label: Description - type: datetime name: date label: Date config: date_format: YYYY-MM-DD required: true default: now - name: updated type: datetime label: Updated description: '' config: required: false date_format: YYYY-MM-DD time_format: display_utc: false - type: list name: menu label: Menu - type: boolean name: published label: Published default: false - name: image type: file config: maxSize: 250 label: Image - name: alias type: list config: use_select: false min: max: source: type: simple label: Alias - name: typora-root-url type: text config: required: false label: typora-root-url default: "../static" pages: - content/a-propos.md
--- label: Page hide_body: false fields: - type: text name: title label: Title config: required: true - name: description type: text config: required: false label: Description - type: datetime name: date label: Date config: date_format: YYYY-MM-DD required: true default: now - name: updated type: datetime label: Updated description: '' config: required: false date_format: YYYY-MM-DD time_format: display_utc: false - name: menu type: field_group_list fields: - name: weight type: number label: Weight description: '' default: 0 required: true config: min: max: step: config: min: max: labelField: label: Menu - type: boolean name: published label: Published default: false - name: image type: file config: maxSize: 250 label: Image - name: alias type: list config: use_select: false min: max: source: type: simple label: Alias - name: typora-root-url type: text config: required: false label: typora-root-url default: "../static" pages: - content/a-propos.md
Update from Forestry.io - Updated Forestry configuration
Update from Forestry.io - Updated Forestry configuration
YAML
mit
Narno/narno.com,Narno/narno.com
b466cfa4e8c512e0b7d4ffe737b9730a8fff1c67
.forestry/front_matter/templates/page.yml
.forestry/front_matter/templates/page.yml
--- label: Page hide_body: false fields: - type: text name: title label: Title config: required: true - name: description type: text config: required: false label: Description - name: image type: file config: maxSize: 250 label: Image - type: datetime name: date label: Date config: date_format: YYYY-MM-DD required: true default: now - name: menu type: list label: Menu - type: boolean name: published label: Published default: false - name: updated type: datetime label: Updated description: '' config: required: false date_format: YYYY-MM-DD time_format: display_utc: false - name: alias type: list config: use_select: false min: max: source: type: simple label: Alias - name: typora-root-url type: text config: required: false label: typora-root-url default: "../static" hidden: true pages: - content/a-propos.md
--- label: Page hide_body: false display_field: title fields: - type: text name: title label: Title config: required: true - name: description type: text config: required: false label: Description - name: image type: file config: maxSize: 250 label: Image - type: datetime name: date label: Date config: date_format: YYYY-MM-DD required: true default: now - name: menu type: list label: Menu - type: boolean name: published label: Published default: false - name: updated type: datetime label: Updated description: '' config: required: false date_format: YYYY-MM-DD time_format: display_utc: false - name: alias type: list config: use_select: false min: max: source: type: simple label: Alias - name: typora-root-url type: text config: required: false label: typora-root-url default: "../static" hidden: true pages: - content/a-propos.md
Update from Forestry.io - Updated Forestry configuration
Update from Forestry.io - Updated Forestry configuration
YAML
mit
Narno/narno.com,Narno/narno.com
22e0f001e351585e82564cb44394dad3c885896d
infrared/common/roles/tls-everywhere/tasks/prepare_undercloud.yml
infrared/common/roles/tls-everywhere/tasks/prepare_undercloud.yml
--- - name: Update /etc/hosts with freeipa's details become: yes lineinfile: dest: "/etc/hosts" line: "{{ freeipa_node_ipaddress }} {{ freeipa_node }}.{{ freeipa_cloud_domain }} {{ freeipa_node }}" state: present - name: Install python novajoin become: yes package: name: python-novajoin state: present - name: Prepare novajoin to work become: yes shell: > /usr/libexec/novajoin-ipa-setup --principal admin --password {{ freeipa_admin_password }} --server {{ freeipa_node }}.{{ freeipa_cloud_domain }} --realm {{ freeipa_cloud_domain|upper }} --domain {{ freeipa_cloud_domain }} --hostname {{ groups['undercloud'][0] }}.{{ freeipa_cloud_domain }} --precreate register: novajoin - name: Edit undercloud.conf blockinfile: path: ~/undercloud.conf backup: yes marker: "# {mark} TLS EVERYWHERE SETTINGS -->" content: | enable_novajoin = True ipa_otp = {{ novajoin.stdout }} undercloud_hostname = {{ groups['undercloud'][0] }}.{{ freeipa_cloud_domain }} undercloud_nameservers = {{ freeipa_node_ipaddress }} overcloud_domain_name = {{ freeipa_cloud_domain }}
--- - name: Update /etc/hosts with freeipa's details become: yes lineinfile: dest: "/etc/hosts" line: "{{ freeipa_node_ipaddress }} {{ freeipa_node }}.{{ freeipa_cloud_domain }} {{ freeipa_node }}" state: present - name: Install python novajoin become: yes package: name: python-novajoin state: present - name: Prepare novajoin to work become: yes shell: > /usr/libexec/novajoin-ipa-setup --principal admin --password {{ freeipa_admin_password }} --server {{ freeipa_node }}.{{ freeipa_cloud_domain }} --realm {{ freeipa_cloud_domain|upper }} --domain {{ freeipa_cloud_domain }} --hostname {{ groups['undercloud'][0] }}.{{ freeipa_cloud_domain }} --precreate register: novajoin - name: Edit undercloud.conf blockinfile: path: ~/undercloud.conf backup: yes insertbefore: '^\[ctlplane-subnet\]' marker: "# {mark} TLS EVERYWHERE SETTINGS -->" content: | enable_novajoin = True ipa_otp = {{ novajoin.stdout }} undercloud_hostname = {{ groups['undercloud'][0] }}.{{ freeipa_cloud_domain }} undercloud_nameservers = {{ freeipa_node_ipaddress }} overcloud_domain_name = {{ freeipa_cloud_domain }}
Add tls-everywhere settings before ctlplane-subnet section
Add tls-everywhere settings before ctlplane-subnet section In the undercloud.conf we have the [DEFAULT] followed by the [ctlplane-subnet] section. When the tls-everywhere config settings get added to the undercloud.conf the first time, they get appended to config and end up in the [ctlplane-subnet] section. With this the 'openstack undercloud install' has missing information and do not configure and setup novajoin correct. As a result the overcloud deploy will fail getting the certificates. This change adds before statement to add the tls-everywhere settings before the [ctlplane-subnet] section to end up in [DEFAULT]. Change-Id: I3dfb3b2db5ffef37c3321506c8ed893d4e112f14
YAML
apache-2.0
redhat-openstack/infrared,redhat-openstack/infrared,redhat-openstack/infrared
71dd4f699621cb7898f939bf3c17025dbd620f3f
.gitlab-ci.yml
.gitlab-ci.yml
image: eu.gcr.io/jetstack-build-infra-images/bazelbuild:v20181107-8aac55d-0.18.0 variables: DOCKER_DRIVER: overlay services: - docker:1.12-dind before_script: - curl -L "https://get.docker.com/builds/Linux/x86_64/docker-1.9.1.tgz" | tar -C /usr/bin -xvzf- --strip-components=3 usr/local/bin/docker - export DOCKER_HOST=${DOCKER_PORT} - docker info > /dev/null build: tags: - docker script: - make verify images except: - master - tags master_push: tags: - docker script: - mkdir -p ~/.docker && echo "${DOCKER_AUTH_CONFIG}" > ~/.docker/config.json && chmod 600 ~/.docker/config.json - make verify - APP_VERSION=${CI_BUILD_REF_SLUG}-${CI_PIPELINE_ID} make images_push - APP_VERSION=canary make images_push only: - master release_push: tags: - docker script: - mkdir -p ~/.docker && echo "${DOCKER_AUTH_CONFIG}" > ~/.docker/config.json && chmod 600 ~/.docker/config.json - make verify - APP_VERSION=${CI_COMMIT_TAG} make images_push DOCKER_TAG="${CI_COMMIT_TAG}" only: - tags
image: eu.gcr.io/jetstack-build-infra-images/bazelbuild:v20181107-8aac55d-0.18.0 variables: DOCKER_DRIVER: overlay services: - docker:1.12-dind before_script: - curl -L "https://get.docker.com/builds/Linux/x86_64/docker-1.9.1.tgz" | tar -C /usr/bin -xvzf- --strip-components=3 usr/local/bin/docker - export DOCKER_HOST=${DOCKER_PORT} - docker info > /dev/null build: tags: - docker script: - make verify images except: - master - tags master_push: tags: - docker script: - mkdir -p ~/.docker && echo "${DOCKER_AUTH_CONFIG}" > ~/.docker/config.json && chmod 600 ~/.docker/config.json - make verify - make images_push APP_VERSION="${CI_BUILD_REF_SLUG}-${CI_PIPELINE_ID}" - make images_push APP_VERSION="canary" only: - master release_push: tags: - docker script: - mkdir -p ~/.docker && echo "${DOCKER_AUTH_CONFIG}" > ~/.docker/config.json && chmod 600 ~/.docker/config.json - make verify - make images_push APP_VERSION="${CI_COMMIT_TAG}" only: - tags
Fix GitLab build use of APP_VERSION
Fix GitLab build use of APP_VERSION Signed-off-by: James Munnelly <474ba67bdb289c6263b36dfd8a7bed6c85b04943@munnelly.eu>
YAML
apache-2.0
jetstack-experimental/cert-manager,jetstack-experimental/cert-manager,jetstack/cert-manager,cert-manager/cert-manager,jetstack/cert-manager,jetstack-experimental/cert-manager,cert-manager/cert-manager,cert-manager/cert-manager,jetstack/cert-manager
9fab3bd22522542eef00ef382f06d256bd0b92d1
.gitlab-ci.yml
.gitlab-ci.yml
gitlab-dev: tags: - meao - gcp only: - gitlab variables: NAMESPACE: nucleus-dev script: - docker/bin/build_images.sh - docker/bin/push2dockerhub.sh - CLUSTER_NAME=iowa-b bin/update-config.sh - CLUSTER_NAME=frankfurt bin/update-config.sh master: tags: - meao - gcp only: - master variables: NAMESPACE: nucleus-dev script: - docker/bin/build_images.sh - docker/bin/push2dockerhub.sh - bin/update-config.sh stage: tags: - meao - gcp only: - stage variables: NAMESPACE: nucleus-stage script: - docker/bin/build_images.sh - docker/bin/push2dockerhub.sh - bin/update-config.sh prod: tags: - meao - gcp only: - prod variables: NAMESPACE: nucleus-prod script: - docker/bin/build_images.sh - docker/bin/push2dockerhub.sh - bin/update-config.sh
dev: tags: - meao - gcp only: - gitlab - master variables: NAMESPACE: nucleus-dev script: - docker/bin/build_images.sh - docker/bin/push2dockerhub.sh - CLUSTER_NAME=iowa-b bin/update-config.sh - CLUSTER_NAME=frankfurt bin/update-config.sh stage: tags: - meao - gcp only: - stage variables: NAMESPACE: nucleus-stage script: - docker/bin/build_images.sh - docker/bin/push2dockerhub.sh - bin/update-config.sh prod: tags: - meao - gcp only: - prod variables: NAMESPACE: nucleus-prod script: - docker/bin/build_images.sh - docker/bin/push2dockerhub.sh - bin/update-config.sh
Consolidate gitlab and master branches in to single dev job
Consolidate gitlab and master branches in to single dev job
YAML
mpl-2.0
mozilla/nucleus,mozilla/nucleus,mozilla/nucleus,mozilla/nucleus
2694ee2c26c0baa492ef99da97c5f7f75cdf0e3a
.gitlab-ci.yml
.gitlab-ci.yml
stages: - build - test - deploy build: image: docker services: - docker:dind before_script: - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com script: - docker pull $CI_REGISTRY_IMAGE:CI_COMMIT_REF_NAME || true - docker build --cache-from $CI_REGISTRY_IMAGE:CI_COMMIT_REF_NAME --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME . - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME deploy-beta: stage: deploy image: name: alpine/helm:3.7.2 entrypoint: [""] script: - helm repo add kobo https://gitlab.com/api/v4/projects/32216873/packages/helm/stable - helm -n beta upgrade kobo-beta kobo/kobo --atomic --set-string kpi.image.tag=${CI_COMMIT_SHORT_SHA} --reuse-values environment: name: beta url: https://kf.beta.kobotoolbox.org only: refs: - master variables: - $CI_COMMIT_REF_PROTECTED
stages: - build - test - deploy build: image: docker services: - docker:dind before_script: - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com script: - docker pull $CI_REGISTRY_IMAGE:CI_COMMIT_REF_NAME || true - docker build --cache-from $CI_REGISTRY_IMAGE:CI_COMMIT_REF_NAME --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME . - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME deploy-beta: stage: deploy image: name: alpine/helm:3.7.2 entrypoint: [""] script: - helm repo add kobo https://gitlab.com/api/v4/projects/32216873/packages/helm/stable - helm -n beta upgrade kobo-beta kobo/kobo --atomic --set-string kpi.image.tag=${CI_COMMIT_SHORT_SHA} --reuse-values environment: name: beta url: https://kf.beta.kobotoolbox.org only: refs: - public-beta variables: - $CI_COMMIT_REF_PROTECTED
Use `public-beta` branch in `deploy-beta` job
Use `public-beta` branch in `deploy-beta` job (on GitLab)
YAML
agpl-3.0
kobotoolbox/kpi,kobotoolbox/kpi,kobotoolbox/kpi,kobotoolbox/kpi,kobotoolbox/kpi
5478aa52ad91253fac32c5d6e3ea7aa3d7b1a6e4
.gitlab-ci.yml
.gitlab-ci.yml
stages: - build before_script: - git submodule update --init --recursive osx: stage: build script: - atbuild check - atbuild package tags: - openswift - atbuild artifacts: paths: - bin/xcode_emit*.tar.xz - bin/xcode-emit.rb
stages: - build before_script: - git submodule update --init --recursive osx: stage: build script: - atbuild check - atbuild package --configuration release tags: - openswift - atbuild artifacts: paths: - bin/xcode_emit*.tar.xz - bin/xcode-emit.rb
Use release configuration for packaging
Use release configuration for packaging
YAML
apache-2.0
AnarchyTools/xcode-emit,AnarchyTools/xcode-emit
6115b849336157d0f2566c35c29da5692d1523b0
src/main/resources/application.yml
src/main/resources/application.yml
--- management: security: role: ADMIN enabled: true server: port: 8080 secure: port: 8443 spring: datasource: initialize: true jackson: serialization: INDENT_OUTPUT: true #http: # mappers: # jsonPrettyPrint: true --- spring: profiles: test jpa: hibernate: ddl-auto: create-drop generate-ddl: true show-sql: true --- spring: profiles: postgres jpa: hibernate: ddl-auto: create database-platform: org.hibernate.dialect.PostgreSQLDialect generate-ddl: true show-sql: true datasource: driverClassName: org.postgresql.Driver --- spring: profiles: mysql jpa: hibernate: ddl-auto: update database-platform: org.hibernate.dialect.MySQLDialect generate-ddl: true show-sql: true datasource: driverClassName: com.mysql.jdbc.Driver url: jdbc:mysql://localhost:3306/my_db username: testuser password: testpassword
--- management: security: role: ADMIN enabled: true server: port: 8080 secure: port: 8443 spring: datasource: initialize: true jackson: serialization: INDENT_OUTPUT: true #http: # mappers: # jsonPrettyPrint: true --- spring: profiles: test jpa: hibernate: ddl-auto: create-drop generate-ddl: true show-sql: true --- spring: profiles: postgres jpa: hibernate: ddl-auto: update database-platform: org.hibernate.dialect.PostgreSQLDialect generate-ddl: true show-sql: true datasource: driverClassName: org.postgresql.Driver --- spring: profiles: mysql jpa: hibernate: ddl-auto: update database-platform: org.hibernate.dialect.MySQLDialect generate-ddl: true show-sql: true datasource: driverClassName: com.mysql.jdbc.Driver url: jdbc:mysql://localhost:3306/my_db username: testuser password: testpassword
Update the schema instead of creating it in postgres
Update the schema instead of creating it in postgres
YAML
apache-2.0
tsurelad/Midaat-Vaccination-Microservice,tsurelad/Midaat-Vaccination-Microservice,tsurelad/Midaat-Vaccination-Microservice,tsurelad/Midaat-Vaccination-Microservice
b5499b3092a52f3ad62163646af64eeedeee833e
.install.conf.yaml
.install.conf.yaml
- defaults: link: create: true relink: true - clean: ['~', '~/.config'] - link: ~/.agignore: ~/.aria2/aria2.conf: ~/.axelrc: ~/.bash: ~/.bash_profile: ~/.bashrc: ~/.dotfiles: '' ~/.emacs.d: ~/.emacs: ~/.gitconfig: ~/.gitignore_global: ~/.gnupg/gpg.conf: ~/.hgrc: ~/.inputrc: ~/.ipython/profile_default/ipython_kernel_config.py: ~/.irssi: ~/.jupyter/nbconfig/notebook.json: jupyter/notebook.json ~/.local/share/jupyter/nbextensions: jupyter/nbextensions ~/.pythonrc: ~/.rtorrent.rc: ~/.screenrc: ~/.shell: ~/.tmux.conf: ~/.vim: ~/.vimrc: ~/.zsh: ~/.zshrc: - shell: - mkdir -p ~/.rtorrent/session ~/.rtorrent/watch ~/.rtorrent/downloads - git update-submodules # after linking ~/.gitconfig
- defaults: link: create: true relink: true - clean: ['~', '~/.config'] - link: ~/.agignore: ~/.aria2/aria2.conf: ~/.axelrc: ~/.bash: ~/.bash_profile: ~/.bashrc: ~/.dotfiles: '' ~/.emacs.d: ~/.emacs: ~/.gitconfig: ~/.gitignore_global: ~/.gnupg/gpg.conf: ~/.hgrc: ~/.inputrc: ~/.ipython/profile_default/ipython_kernel_config.py: ~/.irssi: ~/.jupyter/nbconfig/notebook.json: jupyter/notebook.json ~/.local/share/jupyter/nbextensions: jupyter/nbextensions ~/.pythonrc: ~/.rtorrent.rc: ~/.screenrc: ~/.shell: ~/.tmux.conf: ~/.vim: ~/.vimrc: ~/.zsh: ~/.zshrc: - shell: - mkdir -p ~/.rtorrent/session ~/.rtorrent/watch ~/.rtorrent/downloads # the following have to run after linking ~/.gitconfig - git update-submodules - > git cleanall -f emacs.d/vendor/ irssi/scripts/vendor/ jupyter/nbextensions/ shell/plugins/ vim/bundle/ zsh/plugins/
Make install script remove deleted submodules
Make install script remove deleted submodules
YAML
mit
anishathalye/dotfiles,anishathalye/dotfiles,anishathalye/dotfiles
002599231f284cba01c82b5cfb2bd6fca68f8e64
.rubocop_basic.yml
.rubocop_basic.yml
require: rubocop-rspec AllCops: DisplayCopNames: true DisplayStyleGuide: true Include: - "**/Rakefile" - "**/config.ru" Exclude: - "db/**/*" - "config/**/*" - "script/**/*" TargetRubyVersion: 2.3 # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop # to ignore them, so only the ones explicitly set in this file are enabled. DisabledByDefault: true Layout/IndentationConsistency: EnforcedStyle: rails Layout/IndentationWidth: Enabled: true Layout/EndOfLine: EnforcedStyle: lf Layout/TrailingBlankLines: Enabled: true Layout/TrailingWhitespace: Enabled: true Lint/LiteralAsCondition: Enabled: true Lint/UselessAssignment: Enabled: true Metrics/LineLength: Max: 100 RSpec/NotToNot: Enabled: true Style/StringLiterals: EnforcedStyle: double_quotes
require: rubocop-rspec AllCops: DisplayCopNames: true DisplayStyleGuide: true Include: - "**/Rakefile" - "**/config.ru" Exclude: - "db/migrate/**/*" - "db/schema.rb" TargetRubyVersion: 2.3 # RuboCop has a bunch of cops enabled by default. This setting tells RuboCop # to ignore them, so only the ones explicitly set in this file are enabled. DisabledByDefault: true Layout/IndentationConsistency: EnforcedStyle: rails Layout/IndentationWidth: Enabled: true Layout/EndOfLine: EnforcedStyle: lf Layout/TrailingBlankLines: Enabled: true Layout/TrailingWhitespace: Enabled: true Lint/LiteralAsCondition: Enabled: true Lint/UselessAssignment: Enabled: true Metrics/LineLength: Max: 100 RSpec/NotToNot: Enabled: true Style/StringLiterals: EnforcedStyle: double_quotes
Enable rubocop rules in config and seed files
Enable rubocop rules in config and seed files We were unintentionally ignoring them while trying to ignore just the schema file, migration files, and initializers generated with `rails generate`
YAML
agpl-3.0
AyuntamientoMadrid/participacion,AyuntamientoMadrid/participacion,consul/consul,AyuntamientoPuertoReal/decidePuertoReal,usabi/consul_san_borondon,consul/consul,AyuntamientoMadrid/participacion,consul/consul,AyuntamientoPuertoReal/decidePuertoReal,usabi/consul_san_borondon,consul/consul,AyuntamientoMadrid/participacion,AyuntamientoPuertoReal/decidePuertoReal,consul/consul,usabi/consul_san_borondon,usabi/consul_san_borondon
d5ba64d9845f4db990efcdb50ce41f2043c4713c
circle.yml
circle.yml
machine: python: version: 2.7.9 node: version: 4.3.1 dependencies: pre: - pip install robotframework==3.0 - pip install robotframework-requests==0.4.4 - pip install robotframework-selenium2library==1.7.4 # Clean out node-modules to prevent issues with circle-ci's caching. - rm -rf node_modules test: post: - npm run build - npm start: background: true - pybot -d "./e2e/robot/test_results" ./e2e/robot/tests general: artifacts: - "./e2e/robot/test_results"
machine: python: version: 2.7.9 node: version: 4 dependencies: pre: - pip install robotframework==3.0 - pip install robotframework-requests==0.4.4 - pip install robotframework-selenium2library==1.7.4 # Clean out node-modules to prevent issues with circle-ci's caching. - rm -rf node_modules test: post: - npm run build - npm start: background: true - pybot -d "./e2e/robot/test_results" ./e2e/robot/tests general: artifacts: - "./e2e/robot/test_results"
Test against latest Node LTS
Test against latest Node LTS
YAML
mit
rangle/typescript-react-redux-starter,rayj480/redux-tasks,ayxos/react-cellar,ayxos/react-cellar,rayj480/redux-tasks,rayj480/redux-tasks,ayxos/react-cellar,rangle/typescript-react-redux-starter,ayxos/react-cellar,bang88/typescript-react-redux-starter,rayj480/redux-tasks,rangle/typescript-react-redux-starter,bang88/typescript-react-redux-starter,rangle/typescript-react-redux-starter,rayj480/redux-tasks,ayxos/react-cellar,bang88/typescript-react-redux-starter,rangle/typescript-react-redux-starter
8c395664f5b93aba3a61d24f6a0a41add7b2bfff
circle.yml
circle.yml
machine: services: - docker test: override: - mkdir logs - docker build -t openvas . 2>&1 | tee logs/build.log: timeout: 1200 general: artifacts: - "logs"
machine: services: - docker test: override: - mkdir logs - docker build -t openvas . &> logs/build.log: timeout: 1200 - sh test.sh &> logs/test.log: timeout: 600 general: artifacts: - "logs"
Add logs and log artifacts
Add logs and log artifacts
YAML
mit
danucalovj/openvas-docker,mikesplain/openvas-docker,mikesplain/openvas-docker,siddharthasahu/openvas-docker
b906382a630487d094a9bd940a42dbbe8d3b269f
circle.yml
circle.yml
machine: java: version: oraclejdk6 test: override: - TERM=dumb ./gradlew --no-color install check post: - mkdir -p $CIRCLE_TEST_REPORTS/junit/ - find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
machine: java: version: oraclejdk6 test: override: - TERM=dumb ./gradlew --console=plain install check post: - mkdir -p $CIRCLE_TEST_REPORTS/junit/ - find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
Replace deprecated gradle command line argument
Replace deprecated gradle command line argument
YAML
apache-2.0
michel-kraemer/gradle-download-task,michel-kraemer/gradle-download-task
d38508fe2d22c334984248b8f230729f7bd97d63
.github/workflows/linting-and-unit-testing.yml
.github/workflows/linting-and-unit-testing.yml
name: Node.js v14 CI on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Use Node.js v14 uses: actions/setup-node@v1 with: node-version: '14.x' - run: npm ci - run: npm run lint - run: npm test
name: Node.js v14 CI on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Use Node.js v14 uses: actions/setup-node@v2 with: node-version: '14.x' - run: npm ci - run: npm run lint - run: npm test
Update actions/setup-node action to v2
Update actions/setup-node action to v2 Signed-off-by: Renovate Bot <c71e7261d37a4f6ae4cfb0cbd79081310a237e67@renovateapp.com>
YAML
mit
paazmaya/maezato
310cad6501c066da733c584a0fba533e2a8b2552
circle.yml
circle.yml
machine: xcode: version: "8.3.2" dependencies: pre: - brew update 1> /dev/null 2> /dev/null - brew outdated carthage || brew upgrade carthage - gem install bundler test: override: - ./scripts/macOS.sh - ./scripts/iOS.sh - ./scripts/tvOS.sh post: - carthage build --no-skip-current && for platform in Mac iOS tvOS; do test -d Carthage/Build/${platform}/Anchorage.framework || exit 1; done # This is to work around the fact that CocoaPods wants to set up the master CocoaPods specs # repo on pod lib lint, which takes several minutes on CircleCI. Without dependancies, this # isn't a nescessary step. We can point it at any other (smaller) Git repo to speed up this # step significantly. Because recursion is fun, let's point it at ourselves. # Relevant CocoaPods bug: https://github.com/CocoaPods/CocoaPods/issues/6154 - bundle exec pod lib lint --sources="https://github.com/Raizlabs/Anchorage"
machine: xcode: version: "8.3.2" dependencies: pre: - brew update 1> /dev/null 2> /dev/null - brew outdated carthage || brew upgrade carthage - gem install bundler test: override: - ./scripts/macOS.sh - ./scripts/iOS.sh - ./scripts/tvOS.sh post: - carthage build --no-skip-current && for platform in Mac iOS tvOS; do test -d Carthage/Build/${platform}/Anchorage.framework || exit 1; done # This is to work around the fact that CocoaPods wants to set up the master CocoaPods specs # repo on pod lib lint, which takes several minutes on CircleCI. Without dependancies, this # isn't a nescessary step. We can point it at any other (smaller) Git repo to speed up this # step significantly. Because recursion is fun, let's point it at ourselves. # Relevant CocoaPods bug: https://github.com/CocoaPods/CocoaPods/issues/6154 - bundle exec pod lib lint --sources="https://github.com/Raizlabs/Anchorage" deployment: release: tag: /\d+(\.\d+)*(-.*)*/ commands: - bundle exec pod trunk push
Enable auto-deploy on CircleCI based on tags.
Enable auto-deploy on CircleCI based on tags.
YAML
mit
Raizlabs/Anchorage,Raizlabs/Anchorage,Raizlabs/Anchorage
21e184e45818e66b24340a03546dced6fc79cae3
circle.yml
circle.yml
machine: node: version: 0.10.33 services: branches: only: - master
machine: node: version: 0.10.33 services: branches: only: - master dependencies: pre: override: - mvn install test: override: - mvn verify
Add some overrides for starters
Add some overrides for starters
YAML
apache-2.0
Fatze/hawtio,samkeeleyong/hawtio,grgrzybek/hawtio,rajdavies/hawtio,jfbreault/hawtio,Fatze/hawtio,tadayosi/hawtio,uguy/hawtio,Fatze/hawtio,Fatze/hawtio,skarsaune/hawtio,mposolda/hawtio,padmaragl/hawtio,andytaylor/hawtio,grgrzybek/hawtio,telefunken/hawtio,hawtio/hawtio,andytaylor/hawtio,stalet/hawtio,jfbreault/hawtio,padmaragl/hawtio,stalet/hawtio,telefunken/hawtio,jfbreault/hawtio,andytaylor/hawtio,rajdavies/hawtio,tadayosi/hawtio,rajdavies/hawtio,samkeeleyong/hawtio,padmaragl/hawtio,andytaylor/hawtio,skarsaune/hawtio,jfbreault/hawtio,uguy/hawtio,samkeeleyong/hawtio,voipme2/hawtio,tadayosi/hawtio,hawtio/hawtio,stalet/hawtio,mposolda/hawtio,skarsaune/hawtio,mposolda/hawtio,stalet/hawtio,skarsaune/hawtio,grgrzybek/hawtio,stalet/hawtio,grgrzybek/hawtio,tadayosi/hawtio,telefunken/hawtio,grgrzybek/hawtio,telefunken/hawtio,samkeeleyong/hawtio,mposolda/hawtio,rajdavies/hawtio,uguy/hawtio,samkeeleyong/hawtio,voipme2/hawtio,andytaylor/hawtio,uguy/hawtio,rajdavies/hawtio,telefunken/hawtio,jfbreault/hawtio,hawtio/hawtio,uguy/hawtio,voipme2/hawtio,skarsaune/hawtio,padmaragl/hawtio,tadayosi/hawtio,hawtio/hawtio,voipme2/hawtio,hawtio/hawtio,mposolda/hawtio,voipme2/hawtio,padmaragl/hawtio,Fatze/hawtio
0bbc4e60764c06b2bf29ce6b9bbd64c6ea0a6911
circle.yml
circle.yml
machine: environment: INSTALL_PREFIX_DIR: ~/opt INSTALL_PREFIX_BIN_DIR: ${INSTALL_PREFIX_DIR}/bin PATH: ${INSTALL_PREFIX_BIN_DIR}:${PATH} checkout: post: - git submodule sync --recursive - git submodule update --recursive --init dependencies: override: - vendor-install-tools/install.ph meson --installPrefixDir=${INSTALL_PREFIX_BIN_DIR} test: post: - meson --version - echo 'Does nothing yet'
machine: environment: INSTALL_PREFIX_DIR: ~/opt INSTALL_PREFIX_BIN_DIR: ${INSTALL_PREFIX_DIR}/bin PATH: ${INSTALL_PREFIX_BIN_DIR}:${PATH} checkout: post: - git submodule sync --recursive - git submodule update --recursive --init dependencies: override: - vendor-install-tools/install.py meson --installPrefixDir=${INSTALL_PREFIX_BIN_DIR} test: post: - meson -v - echo 'Does nothing yet'
Fix typo and meson version is -v not --version.
Fix typo and meson version is -v not --version.
YAML
apache-2.0
winksaville/test-meson-helloworld,winksaville/test-meson-helloworld
4f663cbbe6e2955e0f5a46a28b4223c78f235f3c
circle.yml
circle.yml
machine: node: version: 4.1.2 general: artifacts: - $CIRCLE_TEST_REPORTS test: override: - npm run security:check - npm test -- --reporter mocha-junit-reporter --reporter-options mochaFile=$CIRCLE_TEST_REPORTS/junit/results.xml - npm run cover -- --output=$CIRCLE_TEST_REPORTS/coverage/ - CODECLIMATE_REPO_TOKEN=$CODECLIMATE_REPO_TOKEN ./node_modules/.bin/codeclimate-test-reporter < $CIRCLE_TEST_REPORTS/coverage/lcov.info
machine: node: version: 4.1.2 general: artifacts: - $CIRCLE_TEST_REPORTS test: override: - npm run security:check - npm test -- --reporter mocha-junit-reporter --reporter-options mochaFile=$CIRCLE_TEST_REPORTS/junit/results.xml - npm run cover - copy ./coverage $CIRCLE_TEST_REPORTS/coverage - CODECLIMATE_REPO_TOKEN=$CODECLIMATE_REPO_TOKEN ./node_modules/.bin/codeclimate-test-reporter < $CIRCLE_TEST_REPORTS/coverage/lcov.info
Copy the coverage report to the artifact directory
Copy the coverage report to the artifact directory
YAML
mit
gregstewart/hearthstone-tracker,gregstewart/hearthstone-tracker
952e720807da0326537df4bf5faedbdfe19f1372
circle.yml
circle.yml
machine: services: - docker environment: IMAGE_NAME: centurylink/watchtower dependencies: override: - docker pull centurylink/golang-builder:latest test: override: - docker run -v $(pwd):/src centurylink/golang-builder:latest --test deployment: hub: branch: master commands: - docker run -v $(pwd):/src centurylink/golang-builder:latest - docker build -t $IMAGE_NAME:latest . - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS - docker push $IMAGE_NAME:latest hub_mirror: branch: auth owner: rosscado commands: - docker run -v $(pwd):/src centurylink/golang-builder:latest - docker build -t rosscado/watchtower:latest . - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS - docker push rosscado/watchtower:latest
machine: services: - docker environment: IMAGE_NAME: rosscado/watchtower dependencies: override: - docker pull centurylink/golang-builder:latest test: override: - docker run -v $(pwd):/src centurylink/golang-builder:latest --test deployment: hub: branch: master commands: - docker run -v $(pwd):/src centurylink/golang-builder:latest - docker build -t $IMAGE_NAME:latest . - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS - docker push $IMAGE_NAME:latest hub_mirror: branch: auth owner: rosscado commands: - docker run -v $(pwd):/src centurylink/golang-builder:latest - docker build -t rosscado/watchtower:latest . - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS - docker push rosscado/watchtower:latest
Change image name to push to rosscado/watchtower
Change image name to push to rosscado/watchtower The circle.yml version on this branch will automatically trigger a Circle CI build and push the resulting Docker image to the DockerHub repo rosscado/watchtower. This is a temporary DockerHub repo for the rosscado/watchtower GitHub repo, and can be used to pull or test unofficial watchtower builds before they are merged into the official centurylink/watchtower repos.
YAML
apache-2.0
talmai/rpi-watchtower,v2tec/watchtower,ubergesundheit/watchtower,CenturyLinkLabs/watchtower,v2tec/watchtower,talmai/rpi-watchtower
7192e3fa7f7534d2e6f41c952bbf1ba45eac1365
circle.yml
circle.yml
machine: services: - docker dependencies: override: - docker version - docker info - docker build -t="blacklabelops/jenkins-swarm" . test: override: - docker run -d --name="jenkins-swarm" blacklabelops/jenkins-swarm - docker exec jenkins-swarm java -version
machine: services: - docker dependencies: override: - docker version - docker info - docker build -t="blacklabelops/jenkins-swarm" . test: override: - docker run -d --name="jenkins-swarm" blacklabelops/jenkins-swarm - docker logs jenkins-swarm
Build test set to log output.
Build test set to log output.
YAML
mit
blacklabelops/jenkins-swarm
25544bb5e0f6eb141743dad72102515fe128ec35
circle.yml
circle.yml
## Customize the test machine machine: services: - docker test: override: - lein do clean, test, bin ## deployment: ## docker-hub: ## branch: master ## commands: ## - docker build -t samsara/hydrant . ## - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS ## - docker push samsara/hydrant
## Customize the test machine machine: services: - docker test: override: - lein do clean, test, bin deployment: docker-hub: branch: master commands: - docker build -t samsara/hydrant . - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS - docker push samsara/hydrant
Fix Auto Docker builds and push
Fix Auto Docker builds and push
YAML
epl-1.0
samsara/hydrant
ed30481e988ff29a2dfcdc23d15353bdc0ef4c04
circle.yml
circle.yml
machine: pre: - sudo rm /home/ubuntu/virtualenvs/venv-system/lib/python2.7/no-global-site-packages.txt
dependencies: pre: - sudo rm /home/ubuntu/virtualenvs/venv-system/lib/python2.7/no-global-site-packages.txt
Delete virtualenv configuration for no site packages
Delete virtualenv configuration for no site packages
YAML
agpl-3.0
okfn-brasil/gastos_abertos,LuizArmesto/gastos_abertos,okfn-brasil/gastos_abertos,nucleo-digital/gastos_abertos,LuizArmesto/gastos_abertos,andresmrm/gastos_abertos,andresmrm/gastos_abertos
0dccfc86afd5d1c6e8445aa49b094c1423183cdc
appveyor.yml
appveyor.yml
version: 1.0.{build} branches: only: - development/r1.0 - release/r1.0 image: Visual Studio 2015 install: - cmd: >- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH% dnvm install 1.0.0-rc1-update1 -r coreclr -arch x64 cache: C:\Users\appveyor\.dnx\packages build_script: - cmd: >- dnvm use 1.0.0-rc1-update1 -r coreclr -arch x64 dnu restore dnu build .\src\HTTPlease.Core test_script: - cmd: dnx -p test\HTTPlease.Core.Tests test deploy_script: - cmd: dnu pack .\src\HTTPlease.Core
version: 1.0.{build} branches: only: - development/r1.0 - release/r1.0 image: Visual Studio 2015 install: - cmd: >- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH% dnvm install 1.0.0-rc1-update1 -r coreclr -arch x64 cache: C:\Users\appveyor\.dnx\packages build_script: - cmd: >- dnvm use 1.0.0-rc1-update1 -r coreclr -arch x64 dnu restore --quiet dnu build .\src\HTTPlease.Core test_script: - cmd: dnx -p test\HTTPlease.Core.Tests test deploy_script: - cmd: dnu pack .\src\HTTPlease.Core
Reduce output from dnu restore.
Reduce output from dnu restore.
YAML
mit
tintoy/HTTPlease,tintoy/HTTPlease
5527f37f4266b264eba0caf397552be24ec1ca25
appveyor.yml
appveyor.yml
environment: EMACSBIN: emacs-24.4-bin%28i686-pc-mingw32%29.7z matrix: fast_finish: true install: - ps: Start-FileDownload "http://downloads.sourceforge.net/project/emacs-bin/releases/$env:EMACSBIN" - ps: 7z x $env:EMACSBIN -oemacs-local | FIND /V "ing " build_script: - cmd: FSharp.AutoComplete\fake.cmd Test test: off
environment: EMACSBIN: emacs-24.4-bin-i686-pc-mingw32.7z matrix: fast_finish: true install: - ps: Start-FileDownload "http://downloads.sourceforge.net/project/emacs-bin/releases/$env:EMACSBIN" - ps: 7z x $env:EMACSBIN -oemacs-local | FIND /V "ing " build_script: - cmd: FSharp.AutoComplete\fake.cmd Test test: off
Update Emacs link in AppVeyor
Update Emacs link in AppVeyor
YAML
apache-2.0
kjnilsson/FSharp.AutoComplete,cloudRoutine/FsAutoComplete,rneatherway/FsAutoComplete,cloudRoutine/FsAutoComplete,vasily-kirichenko/FsAutoComplete
46810c8226308786207f1ff7444ad1657bdcc1ed
appveyor.yml
appveyor.yml
# image to use image: Visual Studio 2017 # version format version: 1.0.{build} # Maximum number of concurrent jobs for the project max_jobs: 1 services: - mssql2014 # start SQL Server 2014 Express build: parallel: true # enable MSBuild parallel builds project: src\bar-mgmt.sln # path to Visual Studio solution or project # MSBuild verbosity level verbosity: normal
# image to use image: Visual Studio 2017 # version format version: 1.0.{build} # Maximum number of concurrent jobs for the project max_jobs: 1 services: - mssql2014 # start SQL Server 2014 Express build: parallel: true # enable MSBuild parallel builds project: src\bar-mgmt.sln # path to Visual Studio solution or project # MSBuild verbosity level verbosity: normal before_build: - nuget restore
Add nuget restore to before build in AppVeyor yaml to restore packages
Add nuget restore to before build in AppVeyor yaml to restore packages
YAML
mit
kujotx/angular4-template,kujotx/angular4-template,kujotx/angular4-template,kujotx/angular4-template
88161005eb6ad1517aea8dfc5802ccdb6f0f286f
appveyor.yml
appveyor.yml
version: '{branch}-{build}' os: - Visual Studio 2015 - Visual Studio 2017 configuration: Release branches: only: - master init: [] before_build: - del "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets" build_script: - md build - cd build - IF "%APPVEYOR_BUILD_WORKER_IMAGE%" == "Visual Studio 2015" (SET GEN="Visual Studio 14 2015") ELSE (SET GEN="Visual Studio 15 2017") - cmake -Wno-dev .. -G%GEN% - cmake --build . test_script: - ctest -C Debug --output-on-failure install: []
version: '{branch}-{build}' os: - Visual Studio 2015 - Visual Studio 2017 platform: - Win32 - x64 configuration: - Release - Debug branches: only: - master init: [] before_build: - ps: | Write-Output "Configuration: $env:CONFIGURATION" Write-Output "Platform: $env:PLATFORM" Write-Output "Toolset: $env:TOOLSET" $generator = switch ($env:TOOLSET) { "v150" {"Visual Studio 15 2017"} "v140" {"Visual Studio 14 2015"} } if ($env:PLATFORM -eq "x64") { $generator = "$generator Win64" } if ($env:TOOLSET -eq "v140") { del "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets" } build_script: - md build - cd build - cmake -Wno-dev --config "$env:CONFIGURATION" -G "$generator" .. - cmake --build --config "$env:CONFIGURATION" . test_script: - ctest -C "$env:CONFIGURATION" --output-on-failure install: []
Create real build matrix for MSVC
Create real build matrix for MSVC
YAML
mit
ColinH/PEGTL,ColinH/PEGTL
8c8f4e3923135e25acd90a0eb9d8a2b826abb7a8
appveyor.yml
appveyor.yml
version: 1.0.{build}-{branch} environment: RUBYOPT: -Eutf-8 matrix: - RUBY_VERSION: 200 - RUBY_VERSION: 200-x64 - RUBY_VERSION: 21 - RUBY_VERSION: 21-x64 - RUBY_VERSION: 22 - RUBY_VERSION: 22-x64 - RUBY_VERSION: 23 - RUBY_VERSION: 23-x64 - RUBY_VERSION: 24 - RUBY_VERSION: 24-x64 - RUBY_VERSION: 25 - RUBY_VERSION: 25-x64 - RUBY_VERSION: 26 - RUBY_VERSION: 26-x64 install: - set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH% - bundle install build: off before_test: - ruby -v - gem -v - bundle -v test_script: - bundle exec rake
version: 1.0.{build}-{branch} environment: RUBYOPT: -Eutf-8 matrix: - RUBY_VERSION: 200 - RUBY_VERSION: 200-x64 - RUBY_VERSION: 21 - RUBY_VERSION: 21-x64 - RUBY_VERSION: 22 - RUBY_VERSION: 22-x64 - RUBY_VERSION: 23 - RUBY_VERSION: 23-x64 - RUBY_VERSION: 24 - RUBY_VERSION: 24-x64 - RUBY_VERSION: 25 - RUBY_VERSION: 25-x64 - RUBY_VERSION: 26 - RUBY_VERSION: 26-x64 - RUBY_VERSION: 27 - RUBY_VERSION: 27-x64 install: - set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH% - bundle install build: off before_test: - ruby -v - gem -v - bundle -v test_script: - bundle exec rake
Test against Ruby 2.7 on AppVeyor
Test against Ruby 2.7 on AppVeyor
YAML
mit
emsk/bundle_outdated_formatter,emsk/bundle_outdated_formatter
d4c1085339d0bbdefcc953e9abffa7f6f295d0a9
appveyor.yml
appveyor.yml
environment: PYTEST_ADDOPTS: --numprocesses auto matrix: - PYTHON: "C:\\Python37" - PYTHON: "C:\\Python34" - PYTHON: "C:\\Python27" build: off before_test: - "%PYTHON%\\python.exe -m pip install tox wheel" test_script: - "%PYTHON%\\python.exe -m tox -e standard"
environment: PYTEST_ADDOPTS: --numprocesses auto matrix: - PYTHON: "C:\\Python37" - PYTHON: "C:\\Python34" - PYTHON: "C:\\Python27" build: off before_test: - "%PYTHON%\\python.exe -m pip install --upgrade pip tox wheel" test_script: - "%PYTHON%\\python.exe -m tox -e standard"
Upgrade pip to take advantage of env markers and avoid error in itertools
Upgrade pip to take advantage of env markers and avoid error in itertools
YAML
mit
AnalogJ/lexicon,AnalogJ/lexicon
28d25869af308b4e730964fdc6863cfb772f6555
appveyor.yml
appveyor.yml
build: false shallow_clone: true platform: - x86 # - x64 cache: - C:\tools\php -> appveyor.yml init: - SET PATH=C:\tools\php;%PATH% - SET COMPOSER_NO_INTERACTION=1 - SET COMPOSER=0 install: - IF EXIST c:\tools\php\composer (SET COMPOSER=1) - IF %COMPOSER%==0 cinst -y php -i && cinst -y composer -i -version 4.6.0 -ia /DEV=C:\tools\php - IF %COMPOSER%==1 composer self-update - cd %APPVEYOR_BUILD_FOLDER% - composer install --prefer-dist --no-progress test_script: - cd %APPVEYOR_BUILD_FOLDER% - php test.php
build: false shallow_clone: true platform: - x86 # - x64 cache: - C:\tools\php -> appveyor.yml init: - SET PATH=C:\tools\php;%PATH% - SET COMPOSER_NO_INTERACTION=1 - SET COMPOSER=0 install: - IF EXIST c:\tools\php\composer (SET COMPOSER=1) - IF %COMPOSER%==0 cinst -y php -i && cinst -y composer -i -version 4.6.0 -ia /DEV=C:\tools\php - IF %COMPOSER%==1 composer self-update - cd %APPVEYOR_BUILD_FOLDER% - echo %APPVEYOR_BUILD_FOLDER% - composer install --prefer-dist --no-progress test_script: - cd %APPVEYOR_BUILD_FOLDER% - php test.php
Print out build dir with cached
Print out build dir with cached
YAML
mit
johnstevenson/chocolatey-appveyor
7462f54fa9ff95261c720e27bcc04f6a58e35fba
appveyor.yml
appveyor.yml
# Thanks for Grunt for template of this file! # http://www.appveyor.com/docs/appveyor-yml # Fix line endings in Windows. (runs before repo cloning) init: - git config --global core.autocrlf input # Test against these versions of Node.js. environment: matrix: - nodejs_version: "4.0" - nodejs_version: "5.0" - nodejs_version: "6.0" - nodejs_version: "7.4" # Install scripts. (runs after repo cloning) install: - ps: Install-Product node $env:nodejs_version - npm install - npm run build # Post-install test scripts. test_script: # Output useful info for debugging. - ps: Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force - ps: if ($env:nodejs_version -Eq "7.4") { npm run test } - ps: powershell.exe ".\test\full\test.ps1" # Don't actually build. build: off # Set build version format here instead of in the admin panel. version: "{build}"
# Thanks for Grunt for template of this file! # http://www.appveyor.com/docs/appveyor-yml # Fix line endings in Windows. (runs before repo cloning) init: - git config --global core.autocrlf input # Test against these versions of Node.js. environment: matrix: - nodejs_version: "6.0" - nodejs_version: "8.0" - nodejs_version: "10.0" # Install scripts. (runs after repo cloning) install: - ps: Install-Product node $env:nodejs_version - npm install - npm run build # Post-install test scripts. test_script: # Output useful info for debugging. - ps: Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force - ps: if ($env:nodejs_version -Eq "8.0") { npm run test } - ps: powershell.exe ".\test\full\test.ps1" # Don't actually build. build: off # Set build version format here instead of in the admin panel. version: "{build}"
Test on Node 6, 8, and 10
:construction_worker: Test on Node 6, 8, and 10
YAML
mit
felixrieseberg/npm-windows-upgrade
b6f9dfca966c361b5f97bacdc60f58a099853677
.github/workflows/update-transitive-dependenies.yaml
.github/workflows/update-transitive-dependenies.yaml
name: Update Transitive Dependencies on: schedule: - cron: '15 11 * * 1' # weekly, on Monday morning (UTC) jobs: update: name: Tests runs-on: macos-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: 12 - name: remove and re-create lock file run: | rm package-lock.json npm install - name: Create Pull Request uses: peter-evans/create-pull-request@v2 with: token: ${{ secrets.ZORGBORT_TOKEN }} commit-message: Update Transitive Dependencies title: Update Transitive Dependencies body: | - Dependency updates Auto-generated by [create-pull-request][1] [1]: https://github.com/peter-evans/create-pull-request branch: auto-update-dependencies labels: dependencies,autoupdate
name: Update Transitive Dependencies on: schedule: - cron: '15 11 * * 1' # weekly, on Monday morning (UTC) jobs: update: name: Tests runs-on: macos-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: 12 - name: remove and re-create lock file run: | rm package-lock.json npm install - name: Create Pull Request uses: peter-evans/create-pull-request@v2 with: token: ${{ secrets.ZORGBORT_TOKEN }} commit-message: Update Transitive Dependencies title: Update Transitive Dependencies body: | - Dependency updates Auto-generated by [create-pull-request][1] [1]: https://github.com/peter-evans/create-pull-request branch: auto-update-dependencies labels: dependencies,automerge
Apply Correct Tag to Trigger Automerge
Apply Correct Tag to Trigger Automerge
YAML
mit
ilios/frontend,dartajax/frontend,jrjohnson/frontend,jrjohnson/frontend,ilios/frontend,dartajax/frontend
9023462978134993e2ac7c08cc78b4637f08d6a0
zuul/site-variables.yaml
zuul/site-variables.yaml
# This file contains ansible variables that are used by our zuul-executors. --- # NOTE(ianw): 2019-05 this list of clouds will grow as we provision # new opendev.org based mirrors, but then eventually be removed once # all are updated. zuul_site_mirror_fqdn: >- {%- if nodepool.region + "." + nodepool.cloud in [ "dfw.rax" ] -%} {{ nodepool.region }}.{{ nodepool.cloud }}.opendev.org {%- else -%} {{ nodepool.region }}.{{ nodepool.cloud }}.openstack.org {%- endif -%} zuul_site_traceroute_host: opendev.org zuul_site_image_manifest_files: - /etc/dib-builddate.txt - /etc/image-hostname.txt zuul_output_dir: "{{ ansible_user_dir }}/zuul-output" bindep_command: /usr/bindep-env/bin/bindep bindep_fallback: /usr/local/bindep-fallback/bindep-fallback.txt
# This file contains ansible variables that are used by our zuul-executors. --- # NOTE(ianw): 2019-05 this list of clouds will grow as we provision # new opendev.org based mirrors, but then eventually be removed once # all are updated. zuul_site_mirror_fqdn: >- {%- if nodepool.region + "." + nodepool.cloud in [ "DFW.rax" ] -%} mirror.{{ nodepool.region | lower }}.{{ nodepool.cloud | lower }}.opendev.org {%- else -%} mirror.{{ nodepool.region | lower }}.{{ nodepool.cloud | lower }}.openstack.org {%- endif -%} zuul_site_traceroute_host: opendev.org zuul_site_image_manifest_files: - /etc/dib-builddate.txt - /etc/image-hostname.txt zuul_output_dir: "{{ ansible_user_dir }}/zuul-output" bindep_command: /usr/bindep-env/bin/bindep bindep_fallback: /usr/local/bindep-fallback/bindep-fallback.txt
Fix mirror hostnames after opendev migration test
Fix mirror hostnames after opendev migration test Brown bag fix for errors in I631e3e3592a9be5c7da642cf34eec6d9758bf161 which are causing job failures. Change-Id: I06dcb09a4825a8e39d2dc000e7425649aea7e6a8
YAML
apache-2.0
openstack-infra/project-config,openstack-infra/project-config
bd309686d02f1b6f335eb25ef4f84ba7d4069018
web/themes/custom/gk_theme/gk_theme.info.yml
web/themes/custom/gk_theme/gk_theme.info.yml
name: GreenKnowe Theme type: theme description: Theme for GreenKnowe package: Other core: 8.x libraries: - gk_theme/global-styling base theme: bartik regions: header: Header primary_menu: 'Primary menu' secondary_menu: 'Secondary menu' page_top: 'Page top' page_bottom: 'Page bottom' highlighted: Highlighted featured_top: 'Featured top' breadcrumb: Breadcrumb content: Content sidebar_first: 'Sidebar first' sidebar_second: 'Sidebar second' featured_bottom_first: 'Featured bottom first' featured_bottom_second: 'Featured bottom second' featured_bottom_third: 'Featured bottom third' footer_first: 'Footer first' footer_second: 'Footer second' footer_third: 'Footer third' footer_fourth: 'Footer fourth' footer_fifth: 'Footer fifth'
name: GreenKnowe Theme type: theme description: Theme for GreenKnowe package: Other core_version_requirement: ^8 || ^9 libraries: - gk_theme/global-styling base theme: bartik regions: header: Header primary_menu: 'Primary menu' secondary_menu: 'Secondary menu' page_top: 'Page top' page_bottom: 'Page bottom' highlighted: Highlighted featured_top: 'Featured top' breadcrumb: Breadcrumb content: Content sidebar_first: 'Sidebar first' sidebar_second: 'Sidebar second' featured_bottom_first: 'Featured bottom first' featured_bottom_second: 'Featured bottom second' featured_bottom_third: 'Featured bottom third' footer_first: 'Footer first' footer_second: 'Footer second' footer_third: 'Footer third' footer_fourth: 'Footer fourth' footer_fifth: 'Footer fifth'
Mark gk theme d9 compatible
Mark gk theme d9 compatible
YAML
mit
greg-1-anderson/gk-8,greg-1-anderson/gk-8,greg-1-anderson/gk-8
a591078d1121281df845ece5793efdf109e66793
spec/fixtures/data/gas_asset_lists/default_pipes_connectors.yml
spec/fixtures/data/gas_asset_lists/default_pipes_connectors.yml
--- - pressure_level_index: '0' part: pipes type: ye_olde_pipe amount: '7' stakeholder: customer building_year: '1960' - pressure_level_index: '0' part: connectors type: ye_olde_connector amount: '7' stakeholder: customer building_year: '1960' - pressure_level_index: '0' part: pipes type: magic_pipe amount: '7' stakeholder: customer building_year: '1960' - pressure_level_index: '1' part: pipes type: ye_olde_pipe amount: '3' stakeholder: customer building_year: '1960' - pressure_level_index: '1' part: connectors type: magic_connector amount: '3' stakeholder: customer building_year: '1960' - pressure_level_index: '1' part: pipes type: magic_pipe amount: '3' stakeholder: customer building_year: '1970'
--- - pressure_level_index: '0' part: pipes type: big_pipe amount: '7' stakeholder: customer building_year: '1960' - pressure_level_index: '0' part: connectors type: big_connector amount: '7' stakeholder: customer building_year: '1960' - pressure_level_index: '0' part: pipes type: small_pipe amount: '7' stakeholder: customer building_year: '1960' - pressure_level_index: '1' part: pipes type: big_pipe amount: '3' stakeholder: customer building_year: '1960' - pressure_level_index: '1' part: connectors type: small_connector amount: '3' stakeholder: customer building_year: '1960' - pressure_level_index: '1' part: pipes type: small_pipe amount: '3' stakeholder: customer building_year: '1970'
Fix business case calculator spec
Fix business case calculator spec Ref 0d825f8c
YAML
mit
quintel/etmoses,quintel/etmoses,quintel/etmoses,quintel/etmoses,quintel/etmoses
71a298b68ee6a70512f61178f3537b859cbd4932
galaxy.yml
galaxy.yml
- name: composer src: geerlingguy.composer version: 1.7.6 - name: ntp src: geerlingguy.ntp version: 1.6.4 - name: logrotate src: nickhammond.logrotate version: v0.0.5 - name: swapfile src: oefenweb.swapfile version: v2.0.22 - name: mailhog src: geerlingguy.mailhog version: 2.1.4
- name: composer src: geerlingguy.composer version: 1.7.6 - name: ntp src: geerlingguy.ntp version: 1.6.4 - name: logrotate src: nickhammond.logrotate version: v0.0.5 - name: swapfile src: oefenweb.swapfile version: v2.0.26 - name: mailhog src: geerlingguy.mailhog version: 2.1.4
Update `oefenweb.swapfile` from Ansible Galaxy
Update `oefenweb.swapfile` from Ansible Galaxy
YAML
mit
newtonne/trellis,roots/bedrock-ansible,pressbooks/trellis,buluma/trellis,buluma/trellis,newtonne/trellis,roots/trellis,roots/bedrock-ansible,buluma/trellis,newtonne/trellis,buluma/trellis,roots/trellis,pressbooks/trellis
f1e38d937b7ef60a2e321e9e99116dd39ff47823
glide.yaml
glide.yaml
package: github.com/beamly/go-gocd import: - package: github.com/urakozz/go-json-schema-generator - package: github.com/urfave/cli version: 1.20.0 - package: gopkg.in/yaml.v2 - package: github.com/sirupsen/logrus version: master testImport: - package: github.com/goreleaser/goreleaser version: ^0.30.0 subpackages: - assert
package: github.com/beamly/go-gocd import: - package: github.com/urakozz/go-json-schema-generator - package: github.com/urfave/cli version: 1.20.0 - package: gopkg.in/yaml.v2 - package: github.com/sirupsen/logrus version: master - package: github.com/hashicorp/go-version testImport: - package: github.com/goreleaser/goreleaser version: ^0.30.0 subpackages: - assert
Add version parser as dependency
Add version parser as dependency
YAML
apache-2.0
drewsonne/go-gocd,drewsonne/go-gocd,drewsonne/go-gocd
71cc1718ff78fcea3ac222278ce2428a980b5d08
opendaylight/md-sal/model/model-inventory/src/main/yang/netconf-node-inventory.yang
opendaylight/md-sal/model/model-inventory/src/main/yang/netconf-node-inventory.yang
module netconf-node-inventory { namespace "urn:opendaylight:netconf-node-inventory"; prefix "netinv"; import opendaylight-inventory { prefix inv; revision-date "2013-08-19";} import yang-ext {prefix ext; revision-date "2013-07-09";} revision "2014-01-08" { description "Initial revision of Inventory model"; } grouping netconf-node-fields { leaf connected { type boolean; } leaf-list initial-capability { type string; } leaf-list current-capability { type string; } } augment /inv:nodes/inv:node { ext:augment-identifier "netconf-node"; uses netconf-node-fields; } }
module netconf-node-inventory { namespace "urn:opendaylight:netconf-node-inventory"; prefix "netinv"; import opendaylight-inventory { prefix inv; revision-date "2013-08-19";} import yang-ext {prefix ext; revision-date "2013-07-09";} revision "2014-01-08" { description "Initial revision of Inventory model"; } grouping netconf-node-fields { leaf connected { type boolean; } leaf-list initial-capability { type string; } leaf-list current-capability { type string; } container pass-through { when "../connected = true"; description "When the underlying node is connected, its NETCONF context is available verbatim under this container through the mount extension."; } } augment /inv:nodes/inv:node { ext:augment-identifier "netconf-node"; uses netconf-node-fields; } }
Add a container for pass-through netconf access
Add a container for pass-through netconf access Change-Id: I4eeba4266250df9a27412db52b0a6f9ab2d5b42d Signed-off-by: Robert Varga <b8bd3df785fdc0ff42dd1710c5d91998513c57ef@cisco.com>
YANG
epl-1.0
my76128/controller,inocybe/odl-controller,opendaylight/controller,inocybe/odl-controller,aryantaheri/monitoring-controller,aryantaheri/monitoring-controller,Johnson-Chou/test,tx1103mark/controller,mandeepdhami/controller,my76128/controller,aryantaheri/monitoring-controller,aryantaheri/monitoring-controller,aryantaheri/controller,mandeepdhami/controller,Sushma7785/OpenDayLight-Load-Balancer,aryantaheri/controller,Sushma7785/OpenDayLight-Load-Balancer,my76128/controller,522986491/controller,mandeepdhami/controller,tx1103mark/controller,aryantaheri/controller,Johnson-Chou/test,522986491/controller,tx1103mark/controller,tx1103mark/controller,mandeepdhami/controller,my76128/controller
eb5fe719a4aecb1cf92ed8c279f97a0d92cc3a4a
pcep/segment-routing/src/main/yang/pcep-segment-routing-app-config.yang
pcep/segment-routing/src/main/yang/pcep-segment-routing-app-config.yang
module pcep-segment-routing-app-config { yang-version 1; namespace "urn:opendaylight:params:xml:ns:yang:controller:pcep:segment-routing-app-config"; prefix "pcep-segment-routing-app-config"; description "Configuration for the PCEP segment routing extension."; revision "2016-07-07" { description "Initial revision."; } container pcep-segment-routing-config { leaf iana-sr-subobjects-type { description "If false (default) SR-ERO type (=5) and SR-RRO type (=6) is used, else proposed type (36) is used for parsing/serialization"; type boolean; default false; } leaf sr-capable { type boolean; default true; } } }
module pcep-segment-routing-app-config { yang-version 1; namespace "urn:opendaylight:params:xml:ns:yang:controller:pcep:segment-routing-app-config"; prefix "pcep-segment-routing-app-config"; description "Configuration for the PCEP segment routing extension."; revision "2016-07-07" { description "Initial revision."; } container pcep-segment-routing-config { leaf iana-sr-subobjects-type { description "If false (default) SR-ERO type (=5) and SR-RRO type (=6) is used, else proposed type (36) is used for parsing/serialization"; type boolean; default false; } leaf sr-capable { description "Advertize segment-routing capability"; type boolean; default true; } } }
Add description to pcep SR capability model
Add description to pcep SR capability model Change-Id: I62fb4d9baae0e431d4104689c6571b2002cfdf9e Signed-off-by: Claudio D. Gasparini <e1fe59cb44b06b1ab80aa5ef1b61a7e77b52c855@pantheon.tech>
YANG
epl-1.0
opendaylight/bgpcep
b10295c53866235ab7ff4693a1dd3ade99deef5f
opendaylight/md-sal/sal-test-model/src/main/yang/opendaylight-mdsal-list-test.yang
opendaylight/md-sal/sal-test-model/src/main/yang/opendaylight-mdsal-list-test.yang
module opendaylight-mdsal-list-test { namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:test:list"; prefix list-test; description "This module contains a collection of YANG definitions used for some test cases."; revision 2014-07-01 { description "Test model for testing data broker with nested lists."; } grouping two-level-list { list top-level-list { description "Top Level List"; key "name"; leaf name { type string; } list nested-list { key "name"; leaf name { type string; } leaf type { type string; // mandatory true; // description // "Mandatory type of list."; } ordered-by user; description "A list of service functions that compose the service chain"; } } } container top { uses two-level-list; } notification two-level-list-changed { uses two-level-list; } rpc put-top { input { uses two-level-list; } } }
module opendaylight-mdsal-list-test { namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:test:list"; prefix list-test; description "This module contains a collection of YANG definitions used for some test cases."; revision 2014-07-01 { description "Test model for testing data broker with nested lists."; } grouping two-level-list { list top-level-list { description "Top Level List"; key "name"; leaf name { type string; } list nested-list { key "name"; leaf name { type string; } leaf type { type string; // mandatory true; // description // "Mandatory type of list."; } ordered-by user; description "A list of service functions that compose the service chain"; } } } container top { uses two-level-list; } notification two-level-list-changed { uses two-level-list; } rpc put-top { input { uses two-level-list; } } rpc get-top { output { uses two-level-list; } } }
Add get-top rpc with output to sal-test-model
Add get-top rpc with output to sal-test-model Need an rpc with output for a netconf UT. Change-Id: Ia5f5c3a6a3a1318d8a3cab13c0695f332866e9d4 Signed-off-by: Tom Pantelis <806f3f979b83de87fe07339f03e54b049bdc0ec2@gmail.com>
YANG
epl-1.0
opendaylight/controller
33e4a1aeebf626e36b3d589ed7c594235a436a17
doc/tutorial/examples/second-tape.yang
doc/tutorial/examples/second-tape.yang
module second-tape { namespace "http://example.com/turing-machine/tape2"; prefix "t2"; import turing-machine { prefix "tm"; } augment "/tm:turing-machine" { description "State data for the second tape."; leaf head-position-2 { config "false"; type tm:cell-index; description "Head position of the second tape."; } container tape-2 { description "Contents of the second tape."; config "false"; uses tm:tape-cells; } } augment "/tm:turing-machine/tm:transition-function/tm:delta/tm:input" { description "A new input parameter."; leaf symbol-2 { type tm:tape-symbol; description "Symbol read from the second tape."; } } augment "/tm:turing-machine/tm:transition-function/tm:delta/tm:output" { description "New output parameters."; leaf symbol-2 { type tm:tape-symbol; description "Symbol to be written to the second tape."; } leaf head-move-2 { type tm:head-dir; description "Move the head on the second tape one cell to the left or right."; } } augment "/tm:initialize/tm:input" { description "A new RPC input parameter."; leaf tape-content-2 { type string; description "Initial content of the second tape."; } } }
module second-tape { namespace "http://example.net/turing-machine/tape-2"; prefix "t2"; import turing-machine { prefix "tm"; } augment "/tm:turing-machine" { description "State data for the second tape."; leaf head-position-2 { config "false"; type tm:cell-index; description "Head position of the second tape."; } container tape-2 { description "Contents of the second tape."; config "false"; uses tm:tape-cells; } } augment "/tm:turing-machine/tm:transition-function/tm:delta/tm:input" { description "A new input parameter."; leaf symbol-2 { type tm:tape-symbol; description "Symbol read from the second tape."; } } augment "/tm:turing-machine/tm:transition-function/tm:delta/tm:output" { description "New output parameters."; leaf symbol-2 { type tm:tape-symbol; description "Symbol to be written to the second tape."; } leaf head-move-2 { type tm:head-dir; description "Move the head on the second tape one cell to the left or right."; } } augment "/tm:initialize/tm:input" { description "A new RPC input parameter."; leaf tape-content-2 { type string; description "Initial content of the second tape."; } } }
Modify namespace URI in the tutorial example.
Modify namespace URI in the tutorial example.
YANG
isc
davidegurgone/pyang,davidegurgone/pyang
405a8ae6373dc2ab7c03f291ffc448b2b628d5be
yang/actor-system-provider-service.yang
yang/actor-system-provider-service.yang
module actor-system-provider-service { yang-version 1; namespace "urn:opendaylight:params:xml:ns:yang:controller:config:actor-system-provider:service"; prefix "actor-system"; import config { prefix config; revision-date 2013-04-05; } description "Akka actor system provider service definition"; revision "2015-10-05" { description "Initial revision"; } identity actor-system-provider-service { base "config:service-type"; config:java-class "org.opendaylight.controller.cluster.ActorSystemProvider"; } }
module actor-system-provider-service { yang-version 1; namespace "urn:opendaylight:params:xml:ns:yang:controller:config:actor-system-provider:service"; prefix "actor-system"; import config { prefix config; revision-date 2013-04-05; } description "Akka actor system provider service definition"; revision "2015-10-05" { description "Initial revision"; } identity actor-system-provider-service { base "config:service-type"; config:java-class "org.opendaylight.controller.cluster.ActorSystemProvider"; config:disable-osgi-service-registration; } }
Modify config Module impls to co-exist with blueprint
Modify config Module impls to co-exist with blueprint Modified various config system Module implementation classes which have corresponding instances created and advertised via blueprint to obtain the instance in createInstance from the OSGi registry. The instance may not be available yet so it will wait. I added a WaitingServiceTracker class to encapsulate this logic using a ServiceTracker. For those modules that don't advertise services, createInstance simply returns a noop AutoCloseable since the components are created via blueprint. I also added the new disable-osgi-service-registration flag to the corresponding service yang identities to prevent the CSS from duplicating the service registrations. This patch also adds the blueprint bundle to the mdsal features and "turns on" blueprint. Change-Id: I60099c82a2a248fc233ad930c4808d6ab19ea881 Signed-off-by: Tom Pantelis <8fc992100aff336363d341c5498f75ab4da389ae@brocade.com>
YANG
epl-1.0
opendaylight/yangtools,opendaylight/yangtools
ca66b45883f526a3114c2bbafea715dc9edf45ff
third_party/ietf/ietf-yang-metadata.yang
third_party/ietf/ietf-yang-metadata.yang
module ietf-yang-metadata { namespace "urn:ietf:params:xml:ns:yang:ietf-yang-metadata"; prefix "md"; organization "IETF NETMOD (NETCONF Data Modeling Language) Working Group"; contact "WG Web: <https://datatracker.ietf.org/wg/netmod/> WG List: <mailto:netmod@ietf.org> WG Chair: Lou Berger <mailto:lberger@labn.net> WG Chair: Kent Watsen <mailto:kwatsen@juniper.net> Editor: Ladislav Lhotka <mailto:lhotka@nic.cz>"; description "This YANG module defines an 'extension' statement that allows for defining metadata annotations. Copyright (c) 2016 IETF Trust and the persons identified as authors of the code. All rights reserved. Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Simplified BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info). This version of this YANG module is part of RFC 7952 (http://www.rfc-editor.org/info/rfc7952); see the RFC itself for full legal notices."; revision 2016-08-05 { description "Initial revision."; reference "RFC 7952: Defining and Using Metadata with YANG"; } extension annotation { argument name; description "This extension allows for defining metadata annotations in YANG modules. The 'md:annotation' statement can appear only at the top level of a YANG module or submodule, i.e., it becomes a new alternative in the ABNF production rule for 'body-stmts' (Section 14 in RFC 7950). The argument of the 'md:annotation' statement defines the name of the annotation. Syntactically, it is a YANG identifier as defined in Section 6.2 of RFC 7950. An annotation defined with this 'extension' statement inherits the namespace and other context from the YANG module in which it is defined. The data type of the annotation value is specified in the same way as for a leaf data node using the 'type' statement. The semantics of the annotation and other documentation can be specified using the following standard YANG substatements (all are optional): 'description', 'if-feature', 'reference', 'status', and 'units'. A server announces support for a particular annotation by including the module in which the annotation is defined among the advertised YANG modules, e.g., in a NETCONF <hello> message or in the YANG library (RFC 7950). The annotation can then be attached to any instance of a data node defined in any YANG module that is advertised by the server. XML encoding and JSON encoding of annotations are defined in RFC 7952."; } }
Add IETF YANG metadata vendored module.
Add IETF YANG metadata vendored module.
YANG
apache-2.0
openconfig/public
d41b2a5776e75b851d617a03c0e813a0945cc4ca
test/builtin/charmethods.zep
test/builtin/charmethods.zep
namespace Test\BuiltIn; class CharMethods { public function getHex() { return 'a'->toHex(); } public function getHexForString(string str) { var o = "", n; char ch; for ch in str { let o .= ch->toHex(); } return o; } }
namespace Test\BuiltIn; class CharMethods { public function getHex() { return 'a'->toHex(); } public function getHexForString(string str) { var o = ""; char ch; for ch in str { let o .= ch->toHex(); } return o; } }
Remove unused variable n in Test\BuiltIn\CharMethods::getHexForString
Remove unused variable n in Test\BuiltIn\CharMethods::getHexForString
Zephir
mit
KorsaR-ZN/zephir,joeyhub/zephir,patrick-zippenfenig/zephir,ovr/zephir,gsouf/zephir,aaam/zephir,gsouf/zephir,carlmcdade/zephir,patrick-zippenfenig/zephir,janusnic/zephir,cesarmarinhorj/zephir,zephir-lang/zephir,cesarmarinhorj/zephir,sergeyklay/zephir,fezfez/zephir,patrick-zippenfenig/zephir,sjinks/zephir,dreamsxin/zephir,steffengy/zephir,cesarmarinhorj/zephir,fezfez/zephir,carlmcdade/zephir,fezfez/zephir,joeyhub/zephir,zephir-lang/zephir,aaam/zephir,gsouf/zephir,phalcon/zephir,sjinks/zephir,KorsaR-ZN/zephir,patrick-zippenfenig/zephir,gsouf/zephir,ovr/zephir,aaam/zephir,cesarmarinhorj/zephir,ovr/zephir,steffengy/zephir,phalcon/zephir,sergeyklay/zephir,zephir-lang/zephir,cesarmarinhorj/zephir,karakurihiden/zephir,sergeyklay/zephir,sjinks/zephir,karakurihiden/zephir,sjinks/zephir,dreamsxin/zephir,KorsaR-ZN/zephir,joeyhub/zephir,janusnic/zephir,karakurihiden/zephir,zephir-lang/zephir,vpg/zephir,vpg/zephir,patrick-zippenfenig/zephir,gsouf/zephir,steffengy/zephir,phalcon/zephir,KorsaR-ZN/zephir,phalcon/zephir,vpg/zephir,vpg/zephir,KorsaR-ZN/zephir,zephir-lang/zephir,steffengy/zephir,karakurihiden/zephir,sjinks/zephir,steffengy/zephir,sergeyklay/zephir,karakurihiden/zephir,sergeyklay/zephir,sergeyklay/zephir,dreamsxin/zephir,joeyhub/zephir,cesarmarinhorj/zephir,carlmcdade/zephir,steffengy/zephir,carlmcdade/zephir,fezfez/zephir,dreamsxin/zephir,vpg/zephir,dreamsxin/zephir,sjinks/zephir,aaam/zephir,gsouf/zephir,fezfez/zephir,dreamsxin/zephir,vpg/zephir,carlmcdade/zephir,janusnic/zephir,janusnic/zephir,patrick-zippenfenig/zephir,joeyhub/zephir,ovr/zephir,aaam/zephir,janusnic/zephir,phalcon/zephir,aaam/zephir,fezfez/zephir,janusnic/zephir,carlmcdade/zephir,phalcon/zephir,KorsaR-ZN/zephir,joeyhub/zephir,karakurihiden/zephir
478a985a1efecb96c4c737507e2d965f20bd9f36
stub/functions.zep
stub/functions.zep
namespace Stub; class Functions { /** * @issue https://github.com/phalcon/zephir/issues/658 */ public function filterVar1() -> bool { var ret; let ret = "0"; return false === filter_var($ret, FILTER_VALIDATE_FLOAT, 20480); } /** * @issue https://github.com/phalcon/zephir/issues/658 */ public function filterVar2() -> bool { var ret; let ret = "0"; return false == filter_var($ret, FILTER_VALIDATE_FLOAT, 20480); } }
namespace Stub; class Functions { /** * @issue https://github.com/phalcon/zephir/issues/658 */ public function filterVar1() -> bool { var ret; let ret = "0"; return false === filter_var(ret, FILTER_VALIDATE_FLOAT, 20480); } /** * @issue https://github.com/phalcon/zephir/issues/658 */ public function filterVar2() -> bool { var ret; let ret = "0"; return false == filter_var(ret, FILTER_VALIDATE_FLOAT, 20480); } }
Remove dollar sign in Zephir code
Remove dollar sign in Zephir code
Zephir
mit
phalcon/zephir,zephir-lang/zephir,zephir-lang/zephir,phalcon/zephir,phalcon/zephir,zephir-lang/zephir,vpg/zephir,phalcon/zephir,vpg/zephir,zephir-lang/zephir,vpg/zephir,zephir-lang/zephir,vpg/zephir,phalcon/zephir,phalcon/zephir,vpg/zephir,vpg/zephir
688f976c1e65c53cc23f1e2fbfe12935a9aa9cd0
test/test/test.zep
test/test/test.zep
namespace Test; class Test { public static function check() { var arr; var ret; let arr = [0, 1, 2, 3, 4, 5]; let ret = arr->rev(); var_dump(ret); } public static function replace() { var patterns = [ ":any": "[^/]+", ":num": "[0-9]+", ":all": ".*" ]; var replaces, str; var searches = []; let str = "mystringwith:anyinside"; let searches = array_keys(patterns), replaces = array_values(patterns); echo str_replace(searches, replaces, str); } public static function param(str) { echo trim(str); } public static function div(float a) { return 1/a; } public static function testBool() { var ret; let ret = strpos("something","asome"); var_dump(ret); if (ret === 0) { echo "invalid comparison"; } else { echo "succesfull comparison"; } } }
namespace Test; class Test { public static function check() { var arr; var ret; let arr = [0, 1, 2, 3, 4, 5]; let ret = arr->rev(); var_dump(ret); } public static function replace() { var patterns = [ ":any": "[^/]+", ":num": "[0-9]+", ":all": ".*" ]; var replaces, str; var searches = []; let str = "mystringwith:anyinside"; let searches = array_keys(patterns), replaces = array_values(patterns); echo str_replace(searches, replaces, str); } public static function param(str) { echo trim(str); } public static function div(float a) { return 1/a; } public static function testBool() { var ret; let ret = strpos("something","asome"); var_dump(ret); if (ret === 0) { echo "invalid comparison"; } else { echo "succesfull comparison"; } } public static function testArray() { var elements; let elements = ["abc": 1, ABDAY_1: DAY_1, ABDAY_2: DAY_2]; var_dump(elements); } }
Test use constant key about array
Test use constant key about array
Zephir
mit
dreamsxin/zephir-demo
c2a4e012f13e435225c59271499cbf89c8a56909
arango/handler/vertexhandler.zep
arango/handler/vertexhandler.zep
namespace Arango\Handler; use Arango\Document\Vertex; use Arango\Document\Document; use Arango\Handler\DocumentHandler; /** * A handler that manages vertex documents * * @package Arango/Handler * @class VertexHandler * @author Lucas S. Vieira */ class VertexHandler extends DocumentHandler { /** * Intermediate function to call the createFromArray function from the right context * * @throws Arango\Exception\ClientException * * @param array $data * @param array $options * * @return Arango\Document\Document */ public function createFromArrayWithContext(array data, array options) -> <Document> { return Vertex::createFromArray(data, options); } }
namespace Arango\Handler; use Arango\Document\Vertex; use Arango\Handler\DocumentHandler; /** * A handler that manages vertex documents * * @package Arango/Handler * @class VertexHandler * @author Lucas S. Vieira */ class VertexHandler extends DocumentHandler { /** * Intermediate function to call the createFromArray function from the right context * * @throws Arango\Exception\ClientException * * @param array $data * @param array $options * * @return Arango\Document\Vertex */ public function createFromArrayWithContext(array data, array options) -> <Vertex> { return Vertex::createFromArray(data, options); } }
Change return type in VertexHandler
Change return type in VertexHandler
Zephir
mit
lucassouzavieira/arangodb-php-driver,lucassouzavieira/arangodb-php-driver
04267fb1baf0b7b47330223fad0acbd088452ee7
lib/std/os/windows/ole32.zig
lib/std/os/windows/ole32.zig
// SPDX-License-Identifier: MIT // Copyright (c) 2015-2020 Zig Contributors // This file is part of [zig](https://ziglang.org/), which is MIT licensed. // The MIT license requires this copyright notice to be included in all copies // and substantial portions of the software. usingnamespace @import("bits.zig"); pub extern "ole32" fn CoTaskMemFree(pv: LPVOID) callconv(.Stdcall) void; pub extern "ole32" fn CoUninitialize() callconv(.Stdcall) void; pub extern "ole32" fn CoGetCurrentProcess() callconv(.Stdcall) DWORD; pub extern "ole32" fn CoInitializeEx(pvReserved: LPVOID, dwCoInit: DWORD) callconv(.Stdcall) HRESULT;
// SPDX-License-Identifier: MIT // Copyright (c) 2015-2020 Zig Contributors // This file is part of [zig](https://ziglang.org/), which is MIT licensed. // The MIT license requires this copyright notice to be included in all copies // and substantial portions of the software. usingnamespace @import("bits.zig"); pub extern "ole32" fn CoTaskMemFree(pv: LPVOID) callconv(.Stdcall) void; pub extern "ole32" fn CoUninitialize() callconv(.Stdcall) void; pub extern "ole32" fn CoGetCurrentProcess() callconv(.Stdcall) DWORD; pub extern "ole32" fn CoInitializeEx(pvReserved: ?LPVOID, dwCoInit: DWORD) callconv(.Stdcall) HRESULT;
Fix CoInitializeEx so it can take a null pointer
Fix CoInitializeEx so it can take a null pointer
Zig
mit
zig-lang/zig,raulgrell/zig,raulgrell/zig,raulgrell/zig,andrewrk/zig,raulgrell/zig,zig-lang/zig,andrewrk/zig,raulgrell/zig,zig-lang/zig
7287c7482a2c694c7c7f56b9f7c1744a7ae7905f
lib/std/io/buffered_writer.zig
lib/std/io/buffered_writer.zig
const std = @import("../std.zig"); const io = std.io; pub fn BufferedWriter(comptime buffer_size: usize, comptime WriterType: type) type { return struct { unbuffered_writer: WriterType, fifo: FifoType = FifoType.init(), pub const Error = WriterType.Error; pub const Writer = io.Writer(*Self, Error, write); const Self = @This(); const FifoType = std.fifo.LinearFifo(u8, std.fifo.LinearFifoBufferType{ .Static = buffer_size }); pub fn flush(self: *Self) !void { while (true) { const slice = self.fifo.readableSlice(0); if (slice.len == 0) break; try self.unbuffered_writer.writeAll(slice); self.fifo.discard(slice.len); } } pub fn writer(self: *Self) Writer { return .{ .context = self }; } pub fn write(self: *Self, bytes: []const u8) Error!usize { if (bytes.len >= self.fifo.writableLength()) { try self.flush(); return self.unbuffered_writer.write(bytes); } self.fifo.writeAssumeCapacity(bytes); return bytes.len; } }; } pub fn bufferedWriter(underlying_stream: anytype) BufferedWriter(4096, @TypeOf(underlying_stream)) { return .{ .unbuffered_writer = underlying_stream }; }
const std = @import("../std.zig"); const io = std.io; const mem = std.mem; pub fn BufferedWriter(comptime buffer_size: usize, comptime WriterType: type) type { return struct { unbuffered_writer: WriterType, buf: [buffer_size]u8 = undefined, end: usize = 0, pub const Error = WriterType.Error; pub const Writer = io.Writer(*Self, Error, write); const Self = @This(); pub fn flush(self: *Self) !void { try self.unbuffered_writer.writeAll(self.buf[0..self.end]); self.end = 0; } pub fn writer(self: *Self) Writer { return .{ .context = self }; } pub fn write(self: *Self, bytes: []const u8) Error!usize { if (self.end + bytes.len > self.buf.len) { try self.flush(); if (bytes.len > self.buf.len) return self.unbuffered_writer.write(bytes); } mem.copy(u8, self.buf[self.end..], bytes); self.end += bytes.len; return bytes.len; } }; } pub fn bufferedWriter(underlying_stream: anytype) BufferedWriter(4096, @TypeOf(underlying_stream)) { return .{ .unbuffered_writer = underlying_stream }; }
Stop using LinearFifo in BufferedWriter
Stop using LinearFifo in BufferedWriter Looking at the BufferedWriter assembly generated, one can see that is has to do a lot of work, just to copy over some bytes and increase an offset. This is because the LinearFifo is a much more general construct than what BufferedWriter needs and the optimizer cannot prove that we don't need to do this extra work.
Zig
mit
andrewrk/zig,andrewrk/zig
a7e10565fce359d00bee409cbb5226526c1bbb5e
std/special/build_file_template.zig
std/special/build_file_template.zig
const Builder = @import("std").build.Builder; pub fn build(b: &Builder) { const mode = b.standardReleaseOptions(); const exe = b.addExecutable("YOUR_NAME_HERE", "src/main.zig"); exe.setBuildMode(mode); b.default_step.dependOn(&exe.step); b.installArtifact(exe); }
const Builder = @import("std").build.Builder; pub fn build(b: &Builder) -> %void { const mode = b.standardReleaseOptions(); const exe = b.addExecutable("YOUR_NAME_HERE", "src/main.zig"); exe.setBuildMode(mode); b.default_step.dependOn(&exe.step); b.installArtifact(exe); }
Fix build template to match build runner changes
Fix build template to match build runner changes Api changed in 7b57454cc11371b71097967656e19f0a1736d733.
Zig
mit
Dimenus/zig,raulgrell/zig,zig-lang/zig,Dimenus/zig,raulgrell/zig,raulgrell/zig,raulgrell/zig,zig-lang/zig,raulgrell/zig,andrewrk/zig,zig-lang/zig,Dimenus/zig,andrewrk/zig
742abc71c75a3448526c14980d0daae1c6ff8f96
std/c/freebsd.zig
std/c/freebsd.zig
const std = @import("../std.zig"); usingnamespace std.c; extern "c" fn __error() *c_int; pub const _errno = __error; pub extern "c" fn getdents(fd: c_int, buf_ptr: [*]u8, nbytes: usize) usize; pub extern "c" fn sigaltstack(ss: ?*stack_t, old_ss: ?*stack_t) c_int; pub extern "c" fn getrandom(buf_ptr: [*]u8, buf_len: usize, flags: c_uint) isize;
const std = @import("../std.zig"); usingnamespace std.c; extern "c" fn __error() *c_int; pub const _errno = __error; pub extern "c" fn getdents(fd: c_int, buf_ptr: [*]u8, nbytes: usize) usize; pub extern "c" fn sigaltstack(ss: ?*stack_t, old_ss: ?*stack_t) c_int; pub extern "c" fn getrandom(buf_ptr: [*]u8, buf_len: usize, flags: c_uint) isize; pub const dl_iterate_phdr_callback = extern fn (info: *dl_phdr_info, size: usize, data: ?*c_void) c_int; pub extern "c" fn dl_iterate_phdr(callback: dl_iterate_phdr_callback, data: ?*c_void) c_int;
Add missing C dl_iterate_phdr function for FreeBSD
Add missing C dl_iterate_phdr function for FreeBSD
Zig
mit
andrewrk/zig,raulgrell/zig,zig-lang/zig,raulgrell/zig,raulgrell/zig,zig-lang/zig,raulgrell/zig,raulgrell/zig,andrewrk/zig,zig-lang/zig