doc_id stringlengths 36 36 | metadata dict | input stringlengths 28 4.3k | output stringlengths 11 5.45k |
|---|---|---|---|
e8368055-5f8d-44b7-8660-f77b5a1ecb81 | {
"language": "YAML"
} | ```yaml
homepage: http://github.com/bennofs/tasty-th
changelog-type: ''
hash: 918aeb00225280123e6fbfea264751d767cef0dd7c11dc44dad048a184b848ba
test-bench-deps: {}
maintainer: Benno Fünfstück <benno.fuenfstueck@gmail.com>
synopsis: Automatic tasty test case discovery using TH
changelog: ''
basic-deps:
base: ! '>=4 && <5'
tasty: -any
template-haskell: -any
all-versions:
- '0.1.0'
- '0.1.1'
- '0.1.2'
- '0.1.3'
- '0.1.4'
author: Oscar Finnsson & Emil Nordling & Benno Fünfstück
latest: '0.1.4'
description-type: haddock
description: Generate tasty TestTrees automatically with TemplateHaskell. See the
README for example usage.
license-name: BSD3
```
Update from Hackage at 2017-04-01T14:14:39Z | ```yaml
homepage: http://github.com/bennofs/tasty-th
changelog-type: ''
hash: 964a332f0400c18ea5cccb0974799d3fe4bc2640e544ae67ea2d02c6f6642dc6
test-bench-deps: {}
maintainer: Benno Fünfstück <benno.fuenfstueck@gmail.com>
synopsis: Automatic tasty test case discovery using TH
changelog: ''
basic-deps:
base: ! '>=4 && <5'
haskell-src-exts: ! '>=1.18.0'
tasty: -any
template-haskell: -any
all-versions:
- '0.1.0'
- '0.1.1'
- '0.1.2'
- '0.1.3'
- '0.1.4'
- '0.1.5'
author: Oscar Finnsson & Emil Nordling & Benno Fünfstück
latest: '0.1.5'
description-type: haddock
description: Generate tasty TestTrees automatically with TemplateHaskell. See the
README for example usage.
license-name: BSD3
``` |
c6ecfb55-3031-4fc8-b828-efe688b09cbb | {
"language": "YAML"
} | ```yaml
- id: automation.alarm_kitchen_rice_cooker_is_keeping_warm
alias: "ALARM: Kitchen Rice Cooker is keeping warm"
mode: single
trigger:
- platform: time
at: "21:00"
- platform: time
at: "21:30"
- platform: time
at: "22:00"
- platform: time
at: "22:30"
condition:
- condition: numeric_state
entity_id: sensor.kitchen_rice_cooker_plug_power
above: 40
action:
- service: notify.all_devices
data:
title: "⚠️ ALARM"
message: ️Rice Cooker is Keeping Warm
data:
push:
interruption-level: time-sensitive
- delay:
hours: 1
```
Change times for automation.rice_cooker in HA | ```yaml
- id: automation.alarm_kitchen_rice_cooker_is_keeping_warm
alias: "ALARM: Kitchen Rice Cooker is keeping warm"
mode: single
trigger:
- platform: time
at: "22:00"
- platform: time
at: "22:30"
- platform: time
at: "23:00"
- platform: time
at: "23:30"
condition:
- condition: numeric_state
entity_id: sensor.kitchen_rice_cooker_plug_power
above: 40
action:
- service: notify.all_devices
data:
title: "⚠️ ALARM"
message: ️Rice Cooker is Keeping Warm
data:
push:
interruption-level: time-sensitive
- delay:
hours: 1
``` |
205758b9-dfce-43fe-bed8-c7c8469a2897 | {
"language": "YAML"
} | ```yaml
filetype: julia
detect:
filename: "\\.jl$"
header: "^#!.*/(env +)?julia( |$)"
rules:
# built-in objects
- constant.bool: "\\b(true|false)\\b"
# built-in attributes
- constant: "__[A-Za-z0-9_]+__"
# definitions
- identifier: "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
# keywords
- statement: "\\b(baremodule|begin|break|catch|const|continue|do|else|elseif|end|export|finally|for|function|global|if|import|let|local|macro|module|quote|return|struct|try|using|while)\\b"
- statement: "\\b(abstract type|primitive type|mutable struct\\b)"
# decorators
- identifier.macro: "@[A-Za-z0-9_]+"
# operators
- symbol.operator: "[-+*/|=%<>&~^]|\\b(and|not|or|is|in)\\b"
# parentheses
- symbol.brackets: "([(){}]|\\[|\\])"
# numbers
- constant.number: "\\b[0-9]+\\b"
- constant.string: "\"(\\\\.|[^\"])*\"|'(\\\\.|[^'])*'"
- constant.string:
start: "\"\"\""
end: "\"\"\""
rules: []
- constant.string:
start: "'''"
end: "'''"
rules: []
- comment:
start: "#"
end: "$"
rules: []
```
Update keywords for infix operators | ```yaml
filetype: julia
detect:
filename: "\\.jl$"
header: "^#!.*/(env +)?julia( |$)"
rules:
# built-in objects
- constant.bool: "\\b(true|false)\\b"
# built-in attributes
- constant: "__[A-Za-z0-9_]+__"
# definitions
- identifier: "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]"
# keywords
- statement: "\\b(baremodule|begin|break|catch|const|continue|do|else|elseif|end|export|finally|for|function|global|if|import|let|local|macro|module|quote|return|struct|try|using|while)\\b"
- statement: "\\b(abstract type|primitive type|mutable struct\\b)"
# decorators
- identifier.macro: "@[A-Za-z0-9_]+"
# operators
- symbol.operator: "[-+*/|=%<>&~^]|\\b(in|isa|where)\\b"
# parentheses
- symbol.brackets: "([(){}]|\\[|\\])"
# numbers
- constant.number: "\\b[0-9]+\\b"
- constant.string: "\"(\\\\.|[^\"])*\"|'(\\\\.|[^'])*'"
- constant.string:
start: "\"\"\""
end: "\"\"\""
rules: []
- constant.string:
start: "'''"
end: "'''"
rules: []
- comment:
start: "#"
end: "$"
rules: []
``` |
cf9c5590-8479-492c-8737-f37ceb7e6303 | {
"language": "YAML"
} | ```yaml
---
site: cabinet-office
whitehall_slug: cabinet-office
homepage: https://www.gov.uk/government/organisations/cabinet-office
tna_timestamp: 20130128190123
host: www.cabinet-office.gov.uk
aliases:
- cabinet-office.gov.uk
global: =301 https://www.gov.uk/government/organisations/cabinet-office
```
Add further aliases for Cabinet Office | ```yaml
---
site: cabinet-office
whitehall_slug: cabinet-office
homepage: https://www.gov.uk/government/organisations/cabinet-office
tna_timestamp: 20130128190123
host: www.cabinet-office.gov.uk
aliases:
- cabinet-office.gov.uk
- cabinet-office.co.uk
- www.cabinet-office.co.uk
- cabinet-office.com
- www.cabinet-office.com
- cabinet-office.uk
- www.cabinet-office.uk
global: =301 https://www.gov.uk/government/organisations/cabinet-office
``` |
d480775b-405a-4ae7-bd31-7a5bcfa91d69 | {
"language": "YAML"
} | ```yaml
---
jenkins_enabled: yes # The role is enabled
jenkins_name: jenkins
jenkins_user: jenkins
jenkins_group: jenkins
jenkins_http_port: 8000 # Set jenkins port
jenkins_ssh_key_file: "" # Set private ssh key for Jenkins user (path to key)
jenkins_ssh_known_hosts: [] # Set known hosts for ssh
jenkins_proxy: "" # Enable jenkins proxy. Values are: nginx, apache
jenkins_proxy_hostname: "" # Set proxy servername
jenkins_proxy_port: 80 # Set proxy port
jenkins_proxy_auth: yes # Enable http auth
jenkins_proxy_auth_users: [] # Add http auth users
# jenkins_proxy_auth_users:
# - { name: team, password: secret }
jenkins_apt_packages: [] # Ensure the packages installed
jenkins_plugins: [] # Ensure the plugins is installed
jenkins_jobs: [] # Simple manage Jenkins jobs
# Ex. jenkins_jobs:
# - name: job
# action: enable # (enable|disable|delete)
# - name: test
# action: disable
jenkins_configuration: /etc/default/jenkins
jenkins_home: /var/lib/jenkins
jenkins_logdir: /var/log/jenkins
jenkins_java: /usr/bin/java
jenkins_log: "{{jenkins}logdir}}/{{jenkins_name}}.log"
jenkins_pidfile: /var/run/jenkins.pid
jenkins_prefix: "/"
jenkins_run_standalone: yes
jenkins_war: /usr/share/jenkins/jenkins.war
```
Set default hostname for proxy | ```yaml
---
jenkins_enabled: yes # The role is enabled
jenkins_name: jenkins
jenkins_user: jenkins
jenkins_group: jenkins
jenkins_http_port: 8000 # Set jenkins port
jenkins_ssh_key_file: "" # Set private ssh key for Jenkins user (path to key)
jenkins_ssh_known_hosts: [] # Set known hosts for ssh
jenkins_proxy: "" # Enable jenkins proxy. Values are: nginx, apache
jenkins_proxy_hostname: "{{inventory_hostname}}" # Set proxy servername
jenkins_proxy_port: 80 # Set proxy port
jenkins_proxy_auth: yes # Enable http auth
jenkins_proxy_auth_users: [] # Add http auth users
# jenkins_proxy_auth_users:
# - { name: team, password: secret }
jenkins_apt_packages: [] # Ensure the packages installed
jenkins_plugins: [] # Ensure the plugins is installed
jenkins_jobs: [] # Simple manage Jenkins jobs
# Ex. jenkins_jobs:
# - name: job
# action: enable # (enable|disable|delete)
# - name: test
# action: disable
jenkins_configuration: /etc/default/jenkins
jenkins_home: /var/lib/jenkins
jenkins_logdir: /var/log/jenkins
jenkins_java: /usr/bin/java
jenkins_log: "{{jenkins}logdir}}/{{jenkins_name}}.log"
jenkins_pidfile: /var/run/jenkins.pid
jenkins_prefix: "/"
jenkins_run_standalone: yes
jenkins_war: /usr/share/jenkins/jenkins.war
``` |
2f24aa72-8a79-42c8-a526-f4b08624bf25 | {
"language": "YAML"
} | ```yaml
---
drone_scheme: http
drone_hostname: "{{ ansible_ssh_host|default(inventory_hostname) }}"
drone_port: 80
drone_sslcert: ''
drone_sslkey: ''
drone_path: ''
drone_github_key: ''
drone_github_secret: ''
drone_github_domain: github.com
drone_github_apiurl: https://api.github.com
drone_bitbucket_key: ''
drone_bitbucket_secret: ''
drone_smtp_server: ''
drone_smtp_port: ''
drone_smtp_address: ''
drone_smtp_username: ''
drone_smtp_password: ''
drone_open_invitations: 0
```
Add forgotten defaults for gitlab | ```yaml
---
drone_scheme: http
drone_hostname: "{{ ansible_ssh_host|default(inventory_hostname) }}"
drone_port: 80
drone_sslcert: ''
drone_sslkey: ''
drone_path: ''
drone_github_key: ''
drone_github_secret: ''
drone_github_domain: github.com
drone_github_apiurl: https://api.github.com
drone_bitbucket_key: ''
drone_bitbucket_secret: ''
drone_gitlab_domain: ''
drone_gitlab_apiurl: ''
drone_smtp_server: ''
drone_smtp_port: ''
drone_smtp_address: ''
drone_smtp_username: ''
drone_smtp_password: ''
drone_open_invitations: 0
``` |
adc83a4b-1388-4661-93c7-7451dc5d9e0c | {
"language": "YAML"
} | ```yaml
variants:
cross1.14:
CONFIG: 'cross1.14'
KUBE_CROSS_VERSION: 'v1.14.4-2'
SKOPEO_VERSION: 'v0.2.0'
cross1.13:
CONFIG: 'cross1.13'
KUBE_CROSS_VERSION: 'v1.13.9-5'
SKOPEO_VERSION: 'v0.2.0'
```
Build on kube-cross:v1.14.5-1 and v1.13.13-1 | ```yaml
variants:
cross1.14:
CONFIG: 'cross1.14'
KUBE_CROSS_VERSION: 'v1.14.5-1'
SKOPEO_VERSION: 'v0.2.0'
cross1.13:
CONFIG: 'cross1.13'
KUBE_CROSS_VERSION: 'v1.13.13-1'
SKOPEO_VERSION: 'v0.2.0'
``` |
86287e63-e872-470e-8149-4d03e195c1ab | {
"language": "YAML"
} | ```yaml
---
##
# Defaults for role xapi_bridge
#
xapi_bridge_user: xapi
xapi_bridge_user_group: adm #perms on tracking.log
xapi_bridge_app_dir: "{{ COMMON_APP_DIR }}/xapi"
xapi_bridge_user_home: "{{ xapi_bridge_app_dir }}"
xapi_bridge_repo: "https://github.com/appsembler/edx-xapi-bridge"
xapi_bridge_venv_dir: "{{ xapi_bridge_app_dir }}/venvs/xapi"
xapi_bridge_code_dir: "{{ xapi_bridge_app_dir }}/edx-xapi-bridge"```
Set xapi_bridge_version default to "master" | ```yaml
---
##
# Defaults for role xapi_bridge
#
xapi_bridge_user: xapi
xapi_bridge_user_group: adm #perms on tracking.log
xapi_bridge_app_dir: "{{ COMMON_APP_DIR }}/xapi"
xapi_bridge_user_home: "{{ xapi_bridge_app_dir }}"
xapi_bridge_repo: "https://github.com/appsembler/edx-xapi-bridge"
xapi_bridge_venv_dir: "{{ xapi_bridge_app_dir }}/venvs/xapi"
xapi_bridge_code_dir: "{{ xapi_bridge_app_dir }}/edx-xapi-bridge"
xapi_bridge_version: "master"
``` |
ed4b541c-a093-4af0-973a-484e0a420238 | {
"language": "YAML"
} | ```yaml
statefile: /var/slacksoc/state.gob
plugins:
- name: Respond
responses:
- trigger: "(yo|hey|hi|hello|sup),? slacksoc"
replies: ["hello", "wassup", "yo"]
- trigger: "((good)?bye|adios),? slacksoc"
replies: ["goodbye"]
- trigger: "how much better is slack than groupme?"
replies: ["infinity"]
- trigger: ".*slack.*"
reacts: ["raisedeyebrow"]
- name: Debug
trusted: ["brenns10", "mason", "bentley"]
- name: Love
baseUrl: https://cwrulove.appspot.com/api
- name: GitHub
- name: RealName
channel: general
```
Add HotPotato plugin introduced in v1.1.0 | ```yaml
statefile: /var/slacksoc/state.gob
plugins:
- name: Respond
responses:
- trigger: "(yo|hey|hi|hello|sup),? slacksoc"
replies: ["hello", "wassup", "yo"]
- trigger: "((good)?bye|adios),? slacksoc"
replies: ["goodbye"]
- trigger: "how much better is slack than groupme?"
replies: ["infinity"]
- trigger: ".*slack.*"
reacts: ["raisedeyebrow"]
- name: Debug
trusted: ["brenns10", "mason", "bentley"]
- name: Love
baseUrl: https://cwrulove.appspot.com/api
- name: GitHub
- name: RealName
channel: general
- name: HotPotato
timeout: 180
diversityThreshold: 2.5
``` |
7f261a5b-9f8f-4f59-a2e1-3f244fb79add | {
"language": "YAML"
} | ```yaml
---
blobstore:
provider: s3
options:
bucket_name: logsearch-bosh-release-blobs
region: eu-west-1
endpoint: https://s3-eu-west-1.amazonaws.com
final_name: logsearch
```
Update S3 bucket for release blobs | ```yaml
---
blobstore:
provider: s3
options:
bucket_name: logsearch-release-blobs
final_name: logsearch
``` |
b383b231-62ad-4650-88d7-c03a9691b3b0 | {
"language": "YAML"
} | ```yaml
---
- hosts: localhost
connection: local
gather_facts: no
tasks:
- debug: var=instance_id
- debug: var=image_name
- name: create image of current worker instance
ec2_ami:
instance_id: "{{ instance_id }}"
name: "{{ image_name }}"
region: us-west-2
register: image
- debug: var=image
```
Automate image name, worker-<data branch>-date | ```yaml
---
- hosts: localhost
connection: local
gather_facts: no
vars:
image_name: "worker-{{ DATA_BRANCH }}-{{ ansible_date_time.date }}"
tasks:
- debug: var=instance_id
- debug: var=image_name
- name: create image of current worker instance
ec2_ami:
instance_id: "{{ instance_id }}"
name: "{{ image_name }}"
region: us-west-2
register: image
- debug: var=image
``` |
289edf37-a427-4ff2-9e19-238647e57ca8 | {
"language": "YAML"
} | ```yaml
# =====================================================
# INVOKE CONFIGURATION:
# =====================================================
# -- ON WINDOWS:
# run:
# echo: true
# pty: false
# shell: C:\Windows\System32\cmd.exe
# =====================================================
# MAYBE: tasks: auto_dash_names: false
project:
name: behave
run:
echo: true
pty: true
behave_test:
scopes:
- features
- tools/test-features
- issue.features
args: features tools/test-features issue.features
```
Add .pytest_cache as extra directory to clean up (created by newer versions of pytest). | ```yaml
# =====================================================
# INVOKE CONFIGURATION:
# =====================================================
# -- ON WINDOWS:
# run:
# echo: true
# pty: false
# shell: C:\Windows\System32\cmd.exe
# =====================================================
# MAYBE: tasks: auto_dash_names: false
project:
name: behave
run:
echo: true
pty: true
clean_all:
extra_directories:
- .pytest_cache
behave_test:
scopes:
- features
- tools/test-features
- issue.features
args: features tools/test-features issue.features
``` |
ac761137-4503-4198-83e3-2ae8a3735e8e | {
"language": "YAML"
} | ```yaml
jdk: oraclejdk9
install:
- ./gradlew publishToMavenLocal -x test
```
Use JDK 10 for JitPack compilation | ```yaml
install:
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
- source ./install-jdk.sh -F 10 -L GPL
- ./gradlew --version
- ./gradlew publishToMavenLocal -x test
``` |
e4d2a6bf-0cd7-4a70-8f44-9ba6d9db20b2 | {
"language": "YAML"
} | ```yaml
## mfsa2021-FIXME.yml
announced: May 28, 2021
impact: moderate
fixed_in:
- Firefox for iOS 34
title: Security Vulnerabilities fixed in Firefox for iOS 34
advisories:
CVE-2021-29958:
title: File download shares private browsing mode cookies
impact: moderate
reporter: Muneaki Nishimura
description: |
When a download was initiated, the client did not check whether it was in normal or private browsing mode, which led to private mode cookies being shared in normal browsing mode.
bugs:
- url: 1670127
```
Fix date for iOS advisory | ```yaml
## mfsa2021-23.yml
announced: June 1, 2021
impact: moderate
fixed_in:
- Firefox for iOS 34
title: Security Vulnerabilities fixed in Firefox for iOS 34
advisories:
CVE-2021-29958:
title: File download shares private browsing mode cookies
impact: moderate
reporter: Muneaki Nishimura
description: |
When a download was initiated, the client did not check whether it was in normal or private browsing mode, which led to private mode cookies being shared in normal browsing mode.
bugs:
- url: 1670127
``` |
fe56fec3-ce06-4573-88a4-58e9b958a686 | {
"language": "YAML"
} | ```yaml
name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
specs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- '3.1'
- '3.0'
- '2.7'
include:
- ruby: '3.1'
coverage: '1'
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Update rubygems
run: |
gem update --system
- uses: actions/cache@v2
with:
path: vendor/bundle
key: bundle-use-ruby-${{ matrix.ruby }}-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
bundle-use-ruby-${{ matrix.ruby }}-
- name: Bundle install
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Run specs
env:
SIMPLECOV: ${{ matrix.coverage }}
run: |
bundle exec rake spec
- name: Publish code coverage
if: ${{ matrix.coverage == '1' }}
uses: paambaati/codeclimate-action@v3.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
```
Add coverage command for codeclimate reporter | ```yaml
name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
specs:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- '3.1'
- '3.0'
- '2.7'
include:
- ruby: '3.1'
coverage: '1'
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Update rubygems
run: |
gem update --system
- uses: actions/cache@v2
with:
path: vendor/bundle
key: bundle-use-ruby-${{ matrix.ruby }}-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
bundle-use-ruby-${{ matrix.ruby }}-
- name: Bundle install
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Run specs
env:
SIMPLECOV: ${{ matrix.coverage }}
run: |
bundle exec rake spec
- name: Publish code coverage
if: ${{ matrix.coverage == '1' }}
uses: paambaati/codeclimate-action@v3.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: true
``` |
00729175-d621-4547-98fe-547e8aca60c6 | {
"language": "YAML"
} | ```yaml
name: CI
on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
vim_version:
- 'v8.2.0000'
- 'v8.1.0000'
- 'v8.0.0000'
- 'v7.4'
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Checkout vim-themis
uses: actions/checkout@master
with:
repository: thinca/vim-themis
path: vim-themis
- name: Setup Vim
uses: thinca/action-setup-vim@v1
with:
vim_version: ${{ matrix.vim_version }}
- name: echo Vim version
run: vim --version
- name: Test
env:
THEMIS_VIM: ${{ steps.vim.outputs.executable }}
run: ./vim-themis/bin/themis --reporter spec
```
Set the CI execution branch to master. | ```yaml
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
vim_version:
- 'v8.2.0000'
- 'v8.1.0000'
- 'v8.0.0000'
- 'v7.4'
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Checkout vim-themis
uses: actions/checkout@master
with:
repository: thinca/vim-themis
path: vim-themis
- name: Setup Vim
uses: thinca/action-setup-vim@v1
with:
vim_version: ${{ matrix.vim_version }}
- name: echo Vim version
run: vim --version
- name: Test
env:
THEMIS_VIM: ${{ steps.vim.outputs.executable }}
run: ./vim-themis/bin/themis --reporter spec
``` |
26e91d08-a7d7-44d9-a5e0-9b5a9a899acb | {
"language": "YAML"
} | ```yaml
---
"on":
# Trigger the workflow on pushes to these branches
push:
branches:
- master
- 34.x
jobs:
one:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Print working directory
run: pwd
- name: List files in working directory
run: ls -al
- name: Make target directory for sources
run: mkdir -p /opt/meza
- name: Copy code
run: sudo cp -r ${{ github.workspace }} /opt/
# - name: List files in /opt/meza
# run: ls -al /opt/meza
- name: Install prerequisites
run: sudo apt install -y git ansible
# - name: Clone Meza
# run: sudo git clone https://github.com/freephile/meza /opt/meza
- name: Run "getmeza with sudo -H to avoid cache warnings"
run: sudo -H bash /opt/meza/src/scripts/getmeza.sh
- name: Setup the monolith environment
run: sudo meza setup env monolith --fqdn="127.0.0.1" --db_pass=1234 --private_net_zone=public
- name: Print hosts file
run: cat /opt/conf-meza/secret/monolith/hosts
# Does the --no-firewall option exist?
- name: Deploy Meza
run: meza deploy monolith --no-firewall
```
Print hosts file as a 'test' | ```yaml
---
"on":
# Trigger the workflow on pushes to these branches
push:
branches:
- master
- 34.x
jobs:
one:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Print working directory
run: pwd
- name: List files in working directory
run: ls -al
- name: Make target directory for sources
run: mkdir -p /opt/meza
- name: Copy code
run: sudo cp -r ${{ github.workspace }} /opt/
# - name: List files in /opt/meza
# run: ls -al /opt/meza
- name: Install prerequisites
run: sudo apt install -y git ansible
# - name: Clone Meza
# run: sudo git clone https://github.com/freephile/meza /opt/meza
- name: Run "getmeza with sudo -H to avoid cache warnings"
run: sudo -H bash /opt/meza/src/scripts/getmeza.sh
- name: Setup the monolith environment
run: sudo meza setup env monolith --fqdn="127.0.0.1" --db_pass=1234 --private_net_zone=public
# The --no-firewall option does not exist
- name: Deploy Meza
run: meza deploy monolith
- name: Print hosts file
run: cat /opt/conf-meza/secret/monolith/hosts
``` |
8eebc8b4-0589-4606-9e14-9f03aa745146 | {
"language": "YAML"
} | ```yaml
name: CI
on: [push]
jobs:
xcode:
name: Xcode ${{ matrix.xcode }}
runs-on: macOS-10.14
strategy:
matrix:
xcode: [10.1, 10.3, 11]
steps:
- uses: actions/checkout@v1
with:
submodules: true
- run: sudo xcode-select -s '/Applications/Xcode_${{ matrix.xcode }}.app'
- run: PLATFORM=macos ./script/travis-script-macos
- run: PLATFORM=macos_static ./script/travis-script-macos
- run: PLATFORM=ios ./script/travis-script-macos
- run: PLATFORM=tvos ./script/travis-script-macos
swiftpm_darwin:
name: SwiftPM, Darwin, Xcode ${{ matrix.xcode }}
runs-on: macOS-10.14
strategy:
matrix:
xcode: [10.1, 10.3, 11]
steps:
- uses: actions/checkout@v1
- run: sudo xcode-select -s '/Applications/Xcode_${{ matrix.xcode }}.app'
- run: PLATFORM=swiftpm ./script/travis-script-macos
```
Add pull_request event to run tests for pull requests from forked repositories | ```yaml
name: CI
on:
push:
branches:
- master
tags:
- '*'
pull_request:
jobs:
xcode:
name: Xcode ${{ matrix.xcode }}
runs-on: macOS-10.14
strategy:
matrix:
xcode: [10.1, 10.3, 11]
steps:
- uses: actions/checkout@v1
with:
submodules: true
- run: sudo xcode-select -s '/Applications/Xcode_${{ matrix.xcode }}.app'
- run: PLATFORM=macos ./script/travis-script-macos
- run: PLATFORM=macos_static ./script/travis-script-macos
- run: PLATFORM=ios ./script/travis-script-macos
- run: PLATFORM=tvos ./script/travis-script-macos
swiftpm_darwin:
name: SwiftPM, Darwin, Xcode ${{ matrix.xcode }}
runs-on: macOS-10.14
strategy:
matrix:
xcode: [10.1, 10.3, 11]
steps:
- uses: actions/checkout@v1
- run: sudo xcode-select -s '/Applications/Xcode_${{ matrix.xcode }}.app'
- run: PLATFORM=swiftpm ./script/travis-script-macos
``` |
54099393-b260-4e9f-b238-e0e5c05853a8 | {
"language": "YAML"
} | ```yaml
name: Continuous Integration
on:
push:
branches:
- master
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
pull_request: ~
jobs:
static-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
coverage: none
tools: composer:v2, psalm
- name: Install dependencies
run: composer install --prefer-dist --no-progress --ansi
- name: Psalm
run: psalm --output-format=github --shepherd
```
Use composer update instead of install in github actions | ```yaml
name: Continuous Integration
on:
push:
branches:
- master
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
pull_request: ~
jobs:
static-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
coverage: none
tools: composer:v2, psalm
- name: Install dependencies
run: composer update --prefer-dist --no-progress --ansi
- name: Psalm
run: psalm --output-format=github --shepherd
``` |
2194f868-59b4-46a0-9cb3-a178e6a2c034 | {
"language": "YAML"
} | ```yaml
name: ci
on:
push:
branches:
- master
- php5.x-master
pull_request:
schedule:
- cron: '0 17 * * *'
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
php:
- '7.0'
- '7.1'
- '7.2'
- '7.3'
- '7.4'
- '8.0'
- '8.1'
fail-fast: false
name: PHP ${{ matrix.php }}
steps:
- name: Set up php
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Checkout
uses: actions/checkout@v2
- name: Test
run: bash tests/ci.sh
env:
CI_PHP_VERSION: ${{ matrix.php }}
```
Allow future PHP releases to fail continuous integration tests | ```yaml
name: ci
on:
push:
branches:
- master
- php5.x-master
pull_request:
schedule:
- cron: '0 17 * * *'
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
php:
- '7.0'
- '7.1'
- '7.2'
- '7.3'
- '7.4'
- '8.0'
future-release: [false]
include:
- php: '8.1'
future-release: true
fail-fast: false
name: PHP ${{ matrix.php }}
continue-on-error: ${{ matrix.future-release }}
steps:
- name: Set up php
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Checkout
uses: actions/checkout@v2
- name: Test
run: bash tests/ci.sh
env:
CI_PHP_VERSION: ${{ matrix.php }}
``` |
202d0275-cc4e-4227-b74a-72b9ed7aeeeb | {
"language": "YAML"
} | ```yaml
name: Rollbar-Agent CI
on:
push:
branches: [ master ]
tags: [ v* ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [2.7]
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade --force-reinstall setuptools
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run tests
run: python setup.py test
```
Add CI builds for Python 3.3-3.9 | ```yaml
name: Rollbar-Agent CI
on:
push:
branches: [ master ]
tags: [ v* ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [2.7, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade --force-reinstall setuptools
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run tests
run: python setup.py test
``` |
d1c90303-b968-4146-b1e1-c2a638d2169f | {
"language": "YAML"
} | ```yaml
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
node: [12, 14]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm install -g npm@7
- uses: actions/cache@v2
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
- run: npm ci
- run: npm test
```
Update actions/setup-node in CI workflow | ```yaml
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
node: [12, 14]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: npm install -g npm@7
- uses: actions/cache@v2
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
- run: npm ci
- run: npm test
``` |
e7b50b5d-7513-4590-a74f-751129b0c789 | {
"language": "YAML"
} | ```yaml
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
name: Test on Go ${{ matrix.go_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
go_version: ['1.11', '1.12', '1.13', '1.14', '1.15', '1.16', '1.17', '1.18']
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Go ${{ matrix.go_version }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go_version }}
- name: Test
run: make test
env:
TRANSLOADIT_KEY: ${{ secrets.TRANSLOADIT_KEY }}
TRANSLOADIT_SECRET: ${{ secrets.TRANSLOADIT_SECRET }}
```
Include Go 1.19 in tests | ```yaml
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
name: Test on Go ${{ matrix.go_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
go_version: ['1.11', '1.12', '1.13', '1.14', '1.15', '1.16', '1.17', '1.18', '1.19']
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Go ${{ matrix.go_version }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go_version }}
- name: Test
run: make test
env:
TRANSLOADIT_KEY: ${{ secrets.TRANSLOADIT_KEY }}
TRANSLOADIT_SECRET: ${{ secrets.TRANSLOADIT_SECRET }}
``` |
33aee925-1c96-4f89-87ed-d1c708e5c14e | {
"language": "YAML"
} | ```yaml
fr:
activerecord:
models:
dossier: 'Dossier'
attributes:
dossier:
montant_projet: 'Le montant du projet'
montant_aide_demande: "Le montant d'aide demandée"
date_previsionnelle: "La date de début prévisionnelle"
state:
brouillon: "Brouillon"
en_construction: "En construction"
en_instruction: "En instruction"
accepte: "Accepté"
refuse: "Refusé"
sans_suite: "Sans suite"
autorisation_donnees: Acceptation des CGU
errors:
models:
dossier:
attributes:
mail_contact:
blank: 'doit être rempli'
invalid: 'est incorrect'
montant_projet:
blank: 'doit être rempli'
montant_aide_demande:
blank: 'doit être rempli'
date_previsionnelle:
blank: 'doit être remplie'
```
Remove translations for obsolete attributes | ```yaml
fr:
activerecord:
models:
dossier: 'Dossier'
attributes:
dossier:
montant_projet: 'Le montant du projet'
montant_aide_demande: "Le montant d'aide demandée"
date_previsionnelle: "La date de début prévisionnelle"
state:
brouillon: "Brouillon"
en_construction: "En construction"
en_instruction: "En instruction"
accepte: "Accepté"
refuse: "Refusé"
sans_suite: "Sans suite"
autorisation_donnees: Acceptation des CGU
``` |
f77e7e68-a426-4235-9775-f77f55a3cd96 | {
"language": "YAML"
} | ```yaml
---
name: Hatfield Open
nomis_id: HDI
address:
- Thorne Road
- DN7 6El
email: socialvisitshatfield@hmps.gsi.gov.uk
enabled: true
estate: Hatfield Open
finder_slug: hatfield
phone: 01405 746611
slot_anomalies:
2014-12-24:
- 1400-1600
2014-12-31:
- 1400-1600
slots:
thu:
- 1400-1600
sat:
- 1400-1600
sun:
- 1400-1600
- 0930-1130
unbookable:
- 2014-12-25
- 2014-12-26
- 2015-01-01
```
Update Hatfield Christmas visit slots | ```yaml
---
name: Hatfield Open
nomis_id: HDI
address:
- Thorne Road
- DN7 6El
email: socialvisitshatfield@hmps.gsi.gov.uk
enabled: true
estate: Hatfield Open
finder_slug: hatfield
phone: 01405 746611
slot_anomalies:
2014-12-24:
- 1400-1600
2014-12-31:
- 1400-1600
2015-12-22:
- 1400-1600
slots:
thu:
- 1400-1600
sat:
- 1400-1600
sun:
- 1400-1600
- 0930-1130
unbookable:
- 2014-12-25
- 2014-12-26
- 2015-01-01
- 2015-12-24
- 2015-12-26
- 2015-12-31
``` |
57b005f5-fe47-4081-a800-6ef36b2d8654 | {
"language": "YAML"
} | ```yaml
services:
Rector\CodingStyle\Rector\ClassMethod\ReturnArrayClassMethodToYieldRector:
PHPUnit\Framework\TestCase:
- '#(provide|dataProvider)*#'
```
Update rule with proper syntax of ReturnArrayClassMethodToYieldRector | ```yaml
services:
Rector\CodingStyle\Rector\ClassMethod\ReturnArrayClassMethodToYieldRector:
PHPUnit\Framework\TestCase:
- 'provide*'
- 'dataProvider*'
``` |
89ca64c6-38e6-47d4-be61-bbfb15b28976 | {
"language": "YAML"
} | ```yaml
suites:
calends:
namespace: Danhunsaker\Calends
psr4_prefix: Danhunsaker\Calends
src_path: %paths.config%/src
spec_path: %paths.config%
spec_prefix: spec
extensions:
- Coduo\PhpSpec\DataProvider\DataProviderExtension
```
Remove missing/unused extension from PHPSpec config for HHVM | ```yaml
suites:
calends:
namespace: Danhunsaker\Calends
psr4_prefix: Danhunsaker\Calends
src_path: %paths.config%/src
spec_path: %paths.config%
spec_prefix: spec
``` |
a0955969-0e75-41f3-913c-6852db20374f | {
"language": "YAML"
} | ```yaml
homepage: ''
changelog-type: ''
hash: cb95a5fe7b234bcaf27c84904eb1f5ef1b0428cfdcdde7272ab98f8d1ae36931
test-bench-deps: {}
maintainer: B.Schuur@students.uu.nl, R.Koot@students.uu.nl
synopsis: Heterogenous Zipper in Instant Generics
changelog: ''
basic-deps:
instant-generics: -any
base: ! '>=4.0 && <5.0'
mtl: -any
all-versions:
- '0.0.0'
author: Bram Schuur, Ruud Koot
latest: '0.0.0'
description-type: haddock
description: ! 'This package contains a heterogenous Zipper and 2
examples of how to use it.'
license-name: GPL
```
Update from Hackage at 2015-08-04T10:38:47+0000 | ```yaml
homepage: ''
changelog-type: ''
hash: a0e15510d3e3eefaa18d20fbfce7a1840519e160e2a8a8b36c498a3664b9c037
test-bench-deps: {}
maintainer: B.Schuur@students.uu.nl, R.Koot@students.uu.nl
synopsis: Heterogenous Zipper in Instant Generics
changelog: ''
basic-deps:
instant-generics: -any
base: <4.3
mtl: -any
all-versions:
- '0.0.0'
author: Bram Schuur, Ruud Koot
latest: '0.0.0'
description-type: haddock
description: ! 'This package contains a heterogenous Zipper and 2
examples of how to use it.'
license-name: GPL
``` |
b7828a08-1cfb-497e-adfb-d56198950c77 | {
"language": "YAML"
} | ```yaml
title: "alexwlchan"
emails:
personal: "alex@alexwlchan.net"
wellcome: "a.chan@wellcome.org"
author: "Alex Chan"
description: "Alex Chan's personal blog"
url: "https://alexwlchan.net"
source: "src"
destination: "_site"
social:
github: "alexwlchan"
twitter: "alexwlchan"
linode_referral: "ba2e6ce21e0c63952a7c74967ea0b96617bd44a3"
date_format: "%-d %B %Y"
permalink: "/:year/:month/:title/"
keep_files: [
# Managed by rsync outside the main Jekyll process
"files", "images", "slides",
# Created by a Jekyll plugin
"word-count.csv",
]
markdown: "kramdown"
kramdown:
auto_ids: true
smart_quotes: "lsquo,rsquo,ldquo,rdquo"
# Disabled so it doesn't interfere with MathJax.
math_engine: null
plugins:
- "jekyll-sitemap"
highlighter: "rouge"
liquid:
error_mode: "strict"
strict_filters: true
sass:
sass_dir: "_scss"
style: "compressed"
```
Remove a reference to word-count.csv | ```yaml
title: "alexwlchan"
emails:
personal: "alex@alexwlchan.net"
wellcome: "a.chan@wellcome.org"
author: "Alex Chan"
description: "Alex Chan's personal blog"
url: "https://alexwlchan.net"
source: "src"
destination: "_site"
social:
github: "alexwlchan"
twitter: "alexwlchan"
linode_referral: "ba2e6ce21e0c63952a7c74967ea0b96617bd44a3"
date_format: "%-d %B %Y"
permalink: "/:year/:month/:title/"
keep_files: [
# Managed by rsync outside the main Jekyll process
"files", "images", "slides",
]
markdown: "kramdown"
kramdown:
auto_ids: true
smart_quotes: "lsquo,rsquo,ldquo,rdquo"
# Disabled so it doesn't interfere with MathJax.
math_engine: null
plugins:
- "jekyll-sitemap"
highlighter: "rouge"
liquid:
error_mode: "strict"
strict_filters: true
sass:
sass_dir: "_scss"
style: "compressed"
``` |
1d6085b2-2c76-4087-ab18-e0e4b9270a54 | {
"language": "YAML"
} | ```yaml
# Dependencies
markdown: redcarpet
highlighter: pygments
# Permalinks
permalink: pretty
# Setup
title: 'First Joint <a href="http://www.gap-system.org/">GAP</a>-<a href="http://www.sagemath.org/">SageMath</a> Days'
#tagline: 'A GAP school'
description: 'Jan 18-22, 2016'
location: '<a href="http://www.st-andrews.ac.uk/">University of St Andrews</a>'
url: http://gapdays.de
baseurl: /gap-sage-days2016
exclude: [ "program.aux", "program.log", "program.out", "program.tex", "misc" ]
include: [ "program.pdf" ]
```
Add a soft linebreak after dash in title | ```yaml
# Dependencies
markdown: redcarpet
highlighter: pygments
# Permalinks
permalink: pretty
# Setup
title: 'First Joint <a href="http://www.gap-system.org/">GAP</a>-​<a href="http://www.sagemath.org/">SageMath</a> Days'
#tagline: 'A GAP school'
description: 'Jan 18-22, 2016'
location: '<a href="http://www.st-andrews.ac.uk/">University of St Andrews</a>'
url: http://gapdays.de
baseurl: /gap-sage-days2016
exclude: [ "program.aux", "program.log", "program.out", "program.tex", "misc" ]
include: [ "program.pdf" ]
``` |
4c1d817e-8c7b-49b0-86ca-910f2b96eb86 | {
"language": "YAML"
} | ```yaml
---
blurb: "Write a program that can detect palindrome products in a given range."
source: "Problem 4 at Project Euler"
source_url: "http://projecteuler.net/problem=4"
```
Remove "write a program" from palindrome-products exercise | ```yaml
---
blurb: "Detect palindrome products in a given range."
source: "Problem 4 at Project Euler"
source_url: "http://projecteuler.net/problem=4"
``` |
6a92f8e6-2b00-4434-b105-fa044b804db3 | {
"language": "YAML"
} | ```yaml
{% set name = "pycollo" %}
{% set version = "0.1.5" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pycollo-{{ version }}.tar.gz
sha256: db2159a37bb6b28116e166e95739e6d74c3c123b4406be2dbfe9177ba3ad3ac0
build:
number: 0
noarch: python
script:
- {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python >=3.7
run:
- casadi >=3.5.5
- matplotlib-base >=3.3.2
- numba >=0.51.2
- numpy >=1.19.1
- pyproprop >=0.4.10
- python >=3.7
- scipy >=1.5.2
- sympy >=1.6.2
test:
imports:
- pycollo
commands:
- pip check
requires:
- pip
about:
home: https://pypi.org/project/pycollo/
summary: General-purpose optimal control using direct collocation methods
license: MIT
license_file: LICENSE
extra:
recipe-maintainers:
- brocksam
```
Add setuptools_scm as host requirement | ```yaml
{% set name = "pycollo" %}
{% set version = "0.1.5" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pycollo-{{ version }}.tar.gz
sha256: db2159a37bb6b28116e166e95739e6d74c3c123b4406be2dbfe9177ba3ad3ac0
build:
number: 0
noarch: python
script_env:
- SETUPTOOLS_SCM_PRETEND_VERSION={{version}}
script:
- {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python >=3.7
- setuptools-scm >=40.8.0
run:
- casadi >=3.5.5
- matplotlib-base >=3.3.2
- numba >=0.51.2
- numpy >=1.19.1
- pyproprop >=0.4.10
- python >=3.7
- scipy >=1.5.2
- sympy >=1.6.2
test:
imports:
- pycollo
commands:
- pip check
requires:
- pip
about:
home: https://pypi.org/project/pycollo/
summary: General-purpose optimal control using direct collocation methods
license: MIT
license_file: LICENSE
extra:
recipe-maintainers:
- brocksam
``` |
0247564a-6042-43f8-bb36-a4960a780a39 | {
"language": "YAML"
} | ```yaml
Categories:
- Science & Education
- Navigation
License: GPL-3.0-or-later
AuthorName: Hauke Stieler
SourceCode: https://github.com/hauke96/geonotes
IssueTracker: https://github.com/hauke96/geonotes/issues
Changelog: https://github.com/hauke96/GeoNotes/releases
AutoName: GeoNotes
RepoType: git
Repo: https://github.com/hauke96/geonotes
Builds:
- versionName: 1.0.2
versionCode: 2
commit: v1.0.2
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.0.2
CurrentVersionCode: 2
```
Update GeoNotes to 1.0.4 (1000004) | ```yaml
Categories:
- Science & Education
- Navigation
License: GPL-3.0-or-later
AuthorName: Hauke Stieler
SourceCode: https://github.com/hauke96/geonotes
IssueTracker: https://github.com/hauke96/geonotes/issues
Changelog: https://github.com/hauke96/GeoNotes/releases
AutoName: GeoNotes
RepoType: git
Repo: https://github.com/hauke96/geonotes
Builds:
- versionName: 1.0.2
versionCode: 2
commit: v1.0.2
subdir: app
gradle:
- yes
- versionName: 1.0.4
versionCode: 1000004
commit: v1.0.4
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.0.4
CurrentVersionCode: 1000004
``` |
e96832ab-adf6-4ae3-b9eb-808ff0713e49 | {
"language": "YAML"
} | ```yaml
# Python package
# Create and test a Python package on multiple Python versions.
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/python
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
strategy:
matrix:
Python27:
python.version: '2.7'
Python35:
python.version: '3.5'
Python36:
python.version: '3.6'
Python37:
python.version: '3.7'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'
- script: |
python -m pip install --upgrade pip
pip install -r requirements.txt
displayName: 'Install dependencies'
- script: |
pip install pytest pytest-azurepipelines
pytest
displayName: 'pytest'
```
Remove Python 2.7 from Azure Pipelines | ```yaml
# Python package
# Create and test a Python package on multiple Python versions.
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/python
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
strategy:
matrix:
Python35:
python.version: '3.5'
Python36:
python.version: '3.6'
Python37:
python.version: '3.7'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'
- script: |
python -m pip install --upgrade pip
pip install -r requirements.txt
displayName: 'Install dependencies'
- script: |
pip install pytest pytest-azurepipelines
pytest
displayName: 'pytest'
``` |
6f3b6565-9c86-4ddb-9285-6ebe14bd5737 | {
"language": "YAML"
} | ```yaml
trigger:
- master
- rel/*
pr:
- master
- rel/*
pool:
vmImage: vs2017-win2016
steps:
- task: DotNetCoreInstaller@0
displayName: Install Dot Net Core v2.2.1
inputs:
version: '2.2.103'
- task: BatchScript@1
inputs:
filename: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Common7\\Tools\\VsDevCmd.bat"
arguments: -no_logo
modifyEnvironment: true
displayName: Setup Environment Variables
- script: build.cmd
displayName: Build
env:
SIGNCLIENT_SECRET: $(SignClientSecret)
SIGNCLIENT_USER: $(SignClientUser)
CODECOV_TOKEN: $(CODECOV_TOKEN)
ArtifactDirectory: $(System.DefaultWorkingDirectory)\Artifacts
- task: CopyFiles@2
inputs:
Contents: 'artifacts/packages/*.nupkg'
TargetFolder: '$(build.artifactstagingdirectory)\packages'
flattenFolders: true
- task: PublishBuildArtifacts@1
displayName: Publish Package Artifacts
inputs:
pathToPublish: '$(build.artifactstagingdirectory)\packages'
artifactType: container
artifactName: Packages
- task: CopyFiles@2
inputs:
Contents: 'artifacts/binaries/**/*'
TargetFolder: '$(build.artifactstagingdirectory)\binaries'
- task: PublishBuildArtifacts@1
displayName: Publish Binaries
inputs:
pathToPublish: '$(build.artifactstagingdirectory)\binaries'
artifactType: container
artifactName: Binaries
```
Update the azure scripts to use reactiveui.cake.recipe | ```yaml
trigger:
- master
- rel/*
- preview/*
pr:
- master
- rel/*
- preview/*
resources:
repositories:
- repository: templates
type: github
name: ReactiveUI/ReactiveUI.Cake.Recipe
endpoint: reactiveui
jobs:
- template: Azure/azure-pipelines.yml@templates # Template reference``` |
71860996-7bc9-4957-9686-515ae5a6befe | {
"language": "YAML"
} | ```yaml
{% set version = "5.0.0" %}
package:
name: edffile
version: {{ version }}
source:
path: src
build:
number: 0
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
build:
- python
- setuptools
- numpy
run:
- python
- numpy
test:
imports:
- EdfFile
about:
home: https://github.com/vasole/pymca/blob/master/PyMca5/PyMcaIO/EdfFile.py
license: MIT
summary: 'Reader for EDF files part of the PyMCA x-ray fluorescence toolkit'
extra:
recipe-maintainers:
- dgursoy
- decarlof
- ericdill
- licode
- ravescovi
- tacaswell
```
Add note to edffile recipe about turning src/ into a github project | ```yaml
{% set version = "5.0.0" %}
package:
name: edffile
version: {{ version }}
source:
path: src
build:
number: 0
script: python setup.py install --single-version-externally-managed --record=record.txt
requirements:
build:
- python
- setuptools
- numpy
run:
- python
- numpy
test:
imports:
- EdfFile
about:
# Long term goal is to have the src/ folder in this recipe as a stand-alone
# project on github.
home: https://github.com/vasole/pymca/blob/master/PyMca5/PyMcaIO/EdfFile.py
license: MIT
summary: 'Reader for EDF files part of the PyMCA x-ray fluorescence toolkit'
extra:
recipe-maintainers:
- dgursoy
- decarlof
- ericdill
- licode
- ravescovi
- tacaswell
``` |
880e2cff-f83d-4884-bcd2-5c8cbf23c635 | {
"language": "YAML"
} | ```yaml
{% set version = "5.9" %}
package:
name: ncurses
version: {{ version }}
source:
fn: ncurses-{{ version }}.tar.gz
url: http://ftp.gnu.org/pub/gnu/ncurses/ncurses-{{ version }}.tar.gz
md5: 8cb9c412e5f2d96bc6f459aa8c6282a1
patches:
# http://lists.gnu.org/archive/html/bug-ncurses/2011-04/txtkWQqiQvcZe.txt
- fix.patch
build:
skip: true # [win]
number: 0
detect_binary_files_with_prefix: true
test:
files:
- run_test.sh # [osx]
- run_test.py # [osx]
commands:
- bash run_test.sh # [osx]
- python run_test.py # [osx]
about:
home: http://www.gnu.org/software/ncurses/
license: Free software (MIT-like License)
summary: Library for text-based user interfaces
extra:
recipe-maintainers:
- jakirkham
```
Add more tests. [skip appveyor] | ```yaml
{% set version = "5.9" %}
package:
name: ncurses
version: {{ version }}
source:
fn: ncurses-{{ version }}.tar.gz
url: http://ftp.gnu.org/pub/gnu/ncurses/ncurses-{{ version }}.tar.gz
md5: 8cb9c412e5f2d96bc6f459aa8c6282a1
patches:
# http://lists.gnu.org/archive/html/bug-ncurses/2011-04/txtkWQqiQvcZe.txt
- fix.patch
build:
skip: true # [win]
number: 0
detect_binary_files_with_prefix: true
test:
files:
- run_test.sh # [osx]
- run_test.py # [osx]
commands:
- exit $(test -f ${PREFIX}/lib/libncurses.a)
- exit $(test -f ${PREFIX}/lib/libtinfo.a)
- exit $(test -f ${PREFIX}/lib/libform.a)
- exit $(test -f ${PREFIX}/lib/libmenu.a)
- exit $(test -f ${PREFIX}/lib/libpanel.a)
- bash run_test.sh # [osx]
- python run_test.py # [osx]
about:
home: http://www.gnu.org/software/ncurses/
license: Free software (MIT-like License)
summary: Library for text-based user interfaces
extra:
recipe-maintainers:
- jakirkham
``` |
bfc48356-01d1-4fef-a0f1-e70f59598b87 | {
"language": "YAML"
} | ```yaml
build:
number: 0
skip: True # [osx] since variant-effect-predictor is not there yet
package:
name: vcf2maf
version: 1.6.12
source:
fn: v1.6.12.tar.gz
url: https://github.com/mskcc/vcf2maf/archive/v1.6.12.tar.gz
md5: ebdba06c46650b3f185d237f6819a209
requirements:
build:
- perl-threaded
- variant-effect-predictor
- samtools
run:
- perl-threaded
- variant-effect-predictor
- samtools
test:
commands:
- vcf2maf.pl --help
about:
home: https://github.com/mskcc/vcf2maf
license: Apache
summary: Convert a VCF into a MAF where each variant is annotated to only one of all possible gene isoforms
extra:
notes: |
This package installs only vcf2maf and does not integrate with the variant-effect-predictor (VEP). To
do so, please follow the instructions at https://github.com/mskcc/vcf2maf/blob/master/README.md.
```
Add tabix (htslib) as requirement for vcf2maf | ```yaml
build:
number: 0
skip: True # [osx] since variant-effect-predictor is not there yet
package:
name: vcf2maf
version: 1.6.12
source:
fn: v1.6.12.tar.gz
url: https://github.com/mskcc/vcf2maf/archive/v1.6.12.tar.gz
md5: ebdba06c46650b3f185d237f6819a209
requirements:
build:
- perl-threaded
- variant-effect-predictor
- samtools
- htslib
run:
- perl-threaded
- variant-effect-predictor
- samtools
- htslib
test:
commands:
- vcf2maf.pl --help
about:
home: https://github.com/mskcc/vcf2maf
license: Apache
summary: Convert a VCF into a MAF where each variant is annotated to only one of all possible gene isoforms
extra:
notes: |
This package installs only vcf2maf and does not integrate with the variant-effect-predictor (VEP). To
do so, please follow the instructions at https://github.com/mskcc/vcf2maf/blob/master/README.md.
``` |
d9482778-07c2-44be-a28b-c3f554fc9800 | {
"language": "YAML"
} | ```yaml
Categories:
- Science & Education
License: GPL-3.0-only
AuthorName: Tarek Sander
SourceCode: https://github.com/tareksander/Stud.IP-App
IssueTracker: https://github.com/tareksander/Stud.IP-App/issues
AutoName: Stud.IP
RepoType: git
Repo: https://github.com/tareksander/Stud.IP-App
Builds:
- versionName: 0.3.1
versionCode: 7
commit: v0.3.1
subdir: app
gradle:
- yes
- versionName: 0.4.0
versionCode: 8
commit: v0.4.0
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 0.4.0
CurrentVersionCode: 8
```
Update Stud.IP to 0.5.0 (14) | ```yaml
Categories:
- Science & Education
License: GPL-3.0-only
AuthorName: Tarek Sander
SourceCode: https://github.com/tareksander/Stud.IP-App
IssueTracker: https://github.com/tareksander/Stud.IP-App/issues
AutoName: Stud.IP
RepoType: git
Repo: https://github.com/tareksander/Stud.IP-App
Builds:
- versionName: 0.3.1
versionCode: 7
commit: v0.3.1
subdir: app
gradle:
- yes
- versionName: 0.4.0
versionCode: 8
commit: v0.4.0
subdir: app
gradle:
- yes
- versionName: 0.5.0
versionCode: 14
commit: 50a60662e3aee48236d85c28be67856190cfb61e
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 0.5.0
CurrentVersionCode: 14
``` |
f2e996f9-8b06-4672-b213-657e135cda10 | {
"language": "YAML"
} | ```yaml
solace_load_version: soltr_9.0.1.7
bosh_stemcell: "ubuntu-xenial"
bosh_stemcell_version: "97.32"
solace_service_broker_jar: solace-service-broker-0.0.1223.jar
cf_mysql_version: "36.18.0"
```
Update to match Solace PubSub+ Message Broker release | ```yaml
solace_load_version: soltr_9.1.0.77
bosh_stemcell: "ubuntu-xenial"
bosh_stemcell_version: "97.32"
solace_service_broker_jar: solace-service-broker-0.0.1223.jar
cf_mysql_version: "36.18.0"
``` |
f61180c1-8b9c-4c3a-bd24-7b2bbb37fc39 | {
"language": "YAML"
} | ```yaml
#
# Object configuration for the Flow Framework
#
Neos:
Flow:
object:
# If enabled, the Object Manager will - additionally to the class files found
# in the "Classes" directory - also register class files found in the directory
# "Tests/Functional/". Enabling this feature obviously only makes sense in a
# testing context.
registerFunctionalTestClasses: FALSE
# Explicitly include classes to object management (Reflection and Configuration building).
# Sequence of package keys with an array of regular expressions.
# The package key must match the key found in PackageStates.php regarding case.
#
# Each regular expression will be tested against the list of fully qualified
# class names in the package and classes will be included if matching.
#
# For Flow packages (type = "neos-*") this setting is not required as they're
# reflected by default. You can however exclude specific (or all) classes from Flow packages
# by specifying corresponding regular expressions that don't match classes to exclude.
#
# Note: The previous setting "excludeClasses" has been deprecated with Flow 3.0
includeClasses: []
```
Remove Settings note about removed setting | ```yaml
#
# Object configuration for the Flow Framework
#
Neos:
Flow:
object:
# If enabled, the Object Manager will - additionally to the class files found
# in the "Classes" directory - also register class files found in the directory
# "Tests/Functional/". Enabling this feature obviously only makes sense in a
# testing context.
registerFunctionalTestClasses: FALSE
# Explicitly include classes to object management (Reflection and Configuration building).
# Sequence of package keys with an array of regular expressions.
# The package key must match the key found in PackageStates.php regarding case.
#
# Each regular expression will be tested against the list of fully qualified
# class names in the package and classes will be included if matching.
#
# For Flow packages (type = "neos-*") this setting is not required as they're
# reflected by default. You can however exclude specific (or all) classes from Flow packages
# by specifying corresponding regular expressions that don't match classes to exclude.
#
includeClasses: []
``` |
d2def3ce-9021-463b-8a6e-e558be8c2b2b | {
"language": "YAML"
} | ```yaml
homepage: ''
changelog-type: markdown
hash: b8dc6070c9dd98834970922d93617588adc32ea9b79b8cb4dd6919ae45bcc02a
test-bench-deps: {}
maintainer: maintainer@obsidian.systems
synopsis: Data.Dependent.Map variant that appends conflicting entries when merging
maps instead of discarding one side of the conflict.
changelog: ! '# Revision history for dependent-monoidal-map
## 0.1.0.0 -- YYYY-mm-dd
* First version. Released on an unsuspecting world.
'
basic-deps:
dependent-sum: -any
constraints-extras: -any
base: ! '>=4.9 && <4.11'
dependent-map: -any
constraints: -any
dependent-sum-aeson-orphans: -any
aeson: -any
all-versions:
- 0.1.0.0
author: Obsidian Systems LLC
latest: 0.1.0.0
description-type: haddock
description: ''
license-name: BSD-3-Clause
```
Update from Hackage at 2019-09-04T15:17:59Z | ```yaml
homepage: ''
changelog-type: markdown
hash: 62e6d7bb4937b58b6b9c2096e35cf9ff8aa24ba1e401d1dd7c97f866935d0786
test-bench-deps: {}
maintainer: maintainer@obsidian.systems
synopsis: Dependent map that uses semigroup mappend
changelog: |
# Revision history for dependent-monoidal-map
basic-deps:
dependent-sum: ! '>=0.6.2 && <0.7'
constraints-extras: ! '>=0.3.0 && <0.4'
base: ! '>=4.9 && <4.13'
dependent-map: ! '>=0.3 && <0.4'
constraints: ! '>=0.10.1 && <0.11'
dependent-sum-aeson-orphans: ! '>=0.2.1 && <0.3'
aeson: ! '>=1.4.4 && <1.5'
all-versions:
- 0.1.0.0
- 0.1.1.0
author: Obsidian Systems LLC
latest: 0.1.1.0
description-type: haddock
description: Data.Dependent.Map variant that appends conflicting entries when merging
maps instead of discarding one side of the conflict.
license-name: BSD-3-Clause
``` |
cea72294-3175-4545-b8c8-9d2b502b412a | {
"language": "YAML"
} | ```yaml
steps:
- block: "Continue with input"
prompt: "Fill out the form below!"
fields:
- text: "What version is this? :parrot:"
key: "version"
default: "This is the default value"
hint: "This is a hint :ruby:"
- select: "Choose on of these"
key: "deploy-target"
options:
- Staging
- QA1
- QA2
- Production
- select: "Would you like a :taco: after this deploy?"
hint: "Less than 6 options will show a radio, more than 6 will show a select box"
key: "taco"
default: "Yes"
options:
- "Yes"
- "No"
- ":llama:"
- select: "What team should be notified after the deployment?"
key: "notify-team"
hint: "Another great hint here"
options:
- All
- None
- Billing
- Ops
- Sales
- Directors
- Engineering
- Support
- QA
- label: ":console:"
command: ".buildkite/results.sh"
- block: "Continue without input"
- label: ":console:"
command: >
echo "Sadness..."
```
Add a new test field | ```yaml
steps:
- block: "Continue with input"
prompt: "Fill out the form below!"
fields:
- text: "What version is this? :parrot:"
key: "version"
default: "This is the default value"
hint: "This is a hint :ruby:"
- select: "Choose on of these"
key: "deploy-target"
options:
- Staging
- QA1
- QA2
- Production
- select: "Would you like a :taco: after this deploy?"
hint: "Less than 6 options will show a radio, more than 6 will show a select box"
key: "taco"
default: "Yes"
options:
- "Yes"
- "No"
- ":llama:"
- select: "What team should be notified after the deployment?"
key: "notify-team"
hint: "Another great hint here"
options:
- All
- None
- Billing
- Ops
- Sales
- Directors
- Engineering
- Support
- QA
- select: "What happens with exactly 6 options?"
key: "best-thing"
options:
- What
- A
- Great
- List
- Of
- Options
- label: ":console:"
command: ".buildkite/results.sh"
- block: "Continue without input"
- label: ":console:"
command: >
echo "Sadness..."
``` |
ce2ba2f1-f6c1-40af-ad64-6554b53b3244 | {
"language": "YAML"
} | ```yaml
---
- name: Copy over Blackmagic Desktop Video Windows tools
win_copy:
dest: c:\Temp\Blackmagic_Desktop_Video_Windows_10.8.4.zip
src: distros/bmd/Blackmagic_Desktop_Video_Windows_10.8.4.zip
- name: Unzip BMD tools
win_unzip:
src: c:\Temp\Blackmagic_Desktop_Video_Windows_10.8.4.zip
dest: c:\Temp\bmd_tools
creates: 'c:\\Temp\\bmd_tools\\Desktop Video Installer v10.8.4.msi'
- name: Install Blackmagic MSI
win_package:
path: 'c:\\Temp\\bmd_tools\\Desktop Video Installer v10.8.4.msi'
product_id: '{6A663D66-4AAA-45AF-B7C1-7EB7BAF6FAE3}'
state: present
become: true
register: result
- name: Reboot after BMD install
win_reboot:
when: result.changed
```
Reboot only if BMD tools are changed - fix. | ```yaml
---
- name: Copy over Blackmagic Desktop Video Windows tools
win_copy:
dest: c:\Temp\Blackmagic_Desktop_Video_Windows_10.8.4.zip
src: distros/bmd/Blackmagic_Desktop_Video_Windows_10.8.4.zip
- name: Unzip BMD tools
win_unzip:
src: c:\Temp\Blackmagic_Desktop_Video_Windows_10.8.4.zip
dest: c:\Temp\bmd_tools
creates: 'c:\\Temp\\bmd_tools\\Desktop Video Installer v10.8.4.msi'
- name: Install Blackmagic MSI
win_package:
path: 'c:\\Temp\\bmd_tools\\Desktop Video Installer v10.8.4.msi'
product_id: '{6A663D66-4AAA-45AF-B7C1-7EB7BAF6FAE3}'
state: present
become: true
register: result
- name: Reboot after BMD install
win_reboot:
when: result.changed
``` |
7c62a5d3-d8db-4dec-b1c3-54bdb11b0517 | {
"language": "YAML"
} | ```yaml
---
- name: Clone rbenv
git: >
repo=git://github.com/sstephenson/rbenv.git
dest=~/.rbenv
tags: update
- name: Clone ruby-build
git: >
repo=git://github.com/sstephenson/ruby-build.git
dest=~/.rbenv/plugins/ruby-build
tags: update
- name: Clone rbenv-ctags
git: >
repo=git://github.com/tpope/rbenv-ctags.git
dest=~/.rbenv/plugins/rbenv-ctags
tags: update
- name: Clone rbenv-readline
git: >
repo=git://github.com/tpope/rbenv-readline.git
dest=~/.rbenv/plugins/rbenv-readline
tags: update
- name: Clone rbenv-default-gems
git: >
repo=git://github.com/sstephenson/rbenv-default-gems.git
dest=~/.rbenv/plugins/rbenv-default-gems
tags: update
- name: Install Rubies
shell: 'rbenv install --skip-existing {{ item }}'
with_items: dotfiles.ruby.versions
changed_when: no
- name: Set default Ruby version
shell: 'rbenv global {{ dotfiles.ruby.default_version }}'
- name: Link dotfiles
file: src={{ item }} dest=~/.{{ item | basename }} state=link
with_fileglob:
- ./*
- name: Link default gems
template: src=default-gems dest=~/.rbenv/default-gems
```
Install rbenv plugins using with_items | ```yaml
---
- name: Clone rbenv
git: >
repo=git://github.com/sstephenson/rbenv.git
dest=~/.rbenv
tags: update
- name: Clone rbenv plugins
git: >
repo=git://github.com/{{ item }}.git
dest=~/.rbenv/plugins/{{ item | basename }}
with_items:
- sstephenson/rbenv-default-gems
- tpope/rbenv-ctags
- tpope/rbenv-readline
tags: update
- name: Install Rubies
shell: 'rbenv install --skip-existing {{ item }}'
with_items: dotfiles.ruby.versions
changed_when: no
- name: Set default Ruby version
shell: 'rbenv global {{ dotfiles.ruby.default_version }}'
- name: Link dotfiles
file: src={{ item }} dest=~/.{{ item | basename }} state=link
with_fileglob:
- ./*
- name: Link default gems
template: src=default-gems dest=~/.rbenv/default-gems
``` |
875bf3b9-aa31-4c15-9cae-f1301674c126 | {
"language": "YAML"
} | ```yaml
Name: harbour-sailsoma
Summary: SailSoma
Version: 0.3.2
Release: 1
Group: Qt/Qt
License: 'BSD'
Sources:
- '%{name}-%{version}.tar.bz2'
Description: |-
SailSoma is a very simple client for the popular Soma.fm radio, a free streaming radio with more than 20 channels available.
Configure: none
Builder: qtc5
PkgConfigBR:
- qdeclarative5-boostable
- Qt5Core
- Qt5Qml
- Qt5Quick
Requires:
- sailfishsilica-qt5
Files:
- /usr/share/icons/hicolor/86x86/apps
- /usr/share/applications
- /usr/bin
PkgBR: []
```
Add url with source code in .yaml | ```yaml
Name: harbour-sailsoma
Summary: SailSoma
Version: 0.3.2
Release: 1
Group: Qt/Qt
License: 'BSD'
URL: https://github.com/andreagrandi/sailsoma
Sources:
- '%{name}-%{version}.tar.bz2'
Description: |-
SailSoma is a very simple client for the popular Soma.fm radio, a free streaming radio with more than 20 channels available.
Configure: none
Builder: qtc5
PkgConfigBR:
- qdeclarative5-boostable
- Qt5Core
- Qt5Qml
- Qt5Quick
Requires:
- sailfishsilica-qt5
Files:
- /usr/share/icons/hicolor/86x86/apps
- /usr/share/applications
- /usr/bin
PkgBR: []
``` |
72325d80-ae5a-4697-ac14-af5fc39f8eb3 | {
"language": "YAML"
} | ```yaml
homepage: https://github.com/joeyadams/hs-postgresql-copy-escape
changelog-type: ''
hash: 26ede3c4d91ab4576209928c46ddf988bd362875df0634ec1db0416d62b6dd02
test-bench-deps: {}
maintainer: joeyadams3.14159@gmail.com
synopsis: Format data to feed to a PostgreSQL COPY FROM statement
changelog: ''
basic-deps:
bytestring: -any
base: ==4.*
all-versions:
- '0.1'
author: Joey Adams
latest: '0.1'
description-type: haddock
description: ! 'In PostgreSQL, the @COPY@ statement [1] provides a fast way to perform
bulk
insertion and retrieval. To use @COPY ... FROM@ for bulk insertion, the
data must first be converted to a special CSV-like format.
This package provides basic support for converting data to the format
needed by @COPY ... FROM@. However, it does not provide the inverse
operation (namely, reading data produced by @COPY ... TO@), nor does it
support formatting customizations (what delimiter to use, how to represent
NULL, etc.).
\[1\]: <http://www.postgresql.org/docs/current/static/sql-copy.html>'
license-name: BSD-3-Clause
```
Update from Hackage at 2019-11-16T23:27:44Z | ```yaml
homepage: https://github.com/joeyadams/hs-postgresql-copy-escape
changelog-type: ''
hash: 03a288bd316f0cd07611e8783b9e93c423e9f3bd8a52f45af5a009743c6d96df
test-bench-deps: {}
maintainer: joeyadams3.14159@gmail.com
synopsis: Format data to feed to a PostgreSQL COPY FROM statement
changelog: ''
basic-deps:
bytestring: -any
base: ==4.*
all-versions:
- '0.1'
- 0.1.0.1
author: Joey Adams
latest: 0.1.0.1
description-type: haddock
description: |-
In PostgreSQL, the @COPY@ statement [1] provides a fast way to perform bulk
insertion and retrieval. To use @COPY ... FROM@ for bulk insertion, the
data must first be converted to a special CSV-like format.
This package provides basic support for converting data to the format
needed by @COPY ... FROM@. However, it does not provide the inverse
operation (namely, reading data produced by @COPY ... TO@), nor does it
support formatting customizations (what delimiter to use, how to represent
NULL, etc.).
\[1\]: <http://www.postgresql.org/docs/current/static/sql-copy.html>
license-name: BSD-3-Clause
``` |
7c6617dd-6092-4227-ba41-21f2450fd056 | {
"language": "YAML"
} | ```yaml
---
site: nactso_syf
whitehall_slug: national-counter-terrorism-security-office
host: www.secureyourfertiliser.gov.uk
tna_timestamp: 20090805162030
homepage: https://www.gov.uk/government/organisations/national-counter-terrorism-security-office
```
Make NACTSO SecureYourFertiliser a global redirect | ```yaml
---
site: nactso_syf
whitehall_slug: national-counter-terrorism-security-office
host: www.secureyourfertiliser.gov.uk
tna_timestamp: 20090805162030
homepage: https://www.gov.uk/government/organisations/national-counter-terrorism-security-office
global: =301 https://www.gov.uk/government/publications/secure-your-fertiliser/secure-your-fertiliser
``` |
02a654dc-2cdc-4f43-b6dd-7511d665c0b1 | {
"language": "YAML"
} | ```yaml
---
- name: brew tap casks
homebrew_tap:
name: "{{ item }}"
state: present
loop: "{{ macos.brew.taps | flatten(levels=1) }}"
- name: brew update
homebrew: update_homebrew=yes
- name: brew upgrade
homebrew: update_homebrew=yes upgrade_all=yes
- name: brew install common casks
homebrew_cask: name={{ macos.brew.casks }} state=installed
- name: brew install common packages
homebrew: name={{ macos.brew.packages }} state=installed
- name: brew install common casks
homebrew_cask: name={{ item }} state=installed
loop: "{{ macos.brew.casks | flatten(levels=1) }}"
```
Add packages for personal mail setup. | ```yaml
---
- name: brew tap casks
homebrew_tap:
name: "{{ item }}"
state: present
loop: "{{ macos.brew.taps | flatten(levels=1) }}"
- name: brew update
homebrew: update_homebrew=yes
- name: brew upgrade
homebrew: update_homebrew=yes upgrade_all=yes
- name: brew install common casks
homebrew_cask: name={{ macos.brew.casks }} state=installed
- name: brew install common packages
homebrew: name={{ macos.brew.packages }} state=installed
- name: brew install personal packages
when: personal_machine
homebrew: name={{ item }} state=installed
loop:
- alot
- neomutt
- notmuch
- offlineimap
- w3m
- name: brew install personal casks
when: personal_machine
homebrew_cask: name={{ item }} state=installed
loop:
- protonmail-bridge
``` |
ad033157-baa3-4e04-b964-b168c2f7ae4d | {
"language": "YAML"
} | ```yaml
---
- name: install packages
yum:
name: "{{ item }}"
state: installed
with_items:
- python-gcloud
```
Install the gcloud package which has gcloud cli | ```yaml
---
- name: install packages
yum:
name: "{{ item }}"
state: installed
with_items:
- python-gcloud
- gcloud
``` |
8873044b-6670-4997-83a6-e6c4e1e5624c | {
"language": "YAML"
} | ```yaml
steps:
- task: PowerShell@2
displayName: 'Set NuGet Package Version'
inputs:
targetType: inline
script: |
if ("$(GitVersion.PreReleaseLabel)" -ne "") { $NuGetPackageVersion = "$(GitVersion.MajorMinorPatch)-prerelease" } else { $NuGetPackageVersion = "$(GitVersion.MajorMinorPatch)" }
Write-Host "NuGetPackageVersion: $NuGetPackageVersion"
Write-Host "##vso[task.setvariable variable=NuGetPackageVersion]$NuGetPackageVersion"
- task: DotNetCoreCLI@2
displayName: 'dotnet pack'
inputs:
command: pack
packagesToPack: |
src/SFA.DAS.EmployerUsers.Api.Client/SFA.DAS.EmployerUsers.Api.Client.csproj;
src/SFA.DAS.EmployerUsers.Api.Types/SFA.DAS.EmployerUsers.Api.Types.csproj;
src/SFA.DAS.EmployerUsers.WebClientComponents/SFA.DAS.EmployerUsers.WebClientComponents.nuspec
versioningScheme: byEnvVar
versionEnvVar: NuGetPackageVersion
packDirectory: $(build.artifactstagingdirectory)/NuGetPackages
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: NuGetPackages'
inputs:
ArtifactName: NuGetPackages
pathtoPublish: '$(build.artifactstagingdirectory)/NuGetPackages'```
Split WebClientComponents out to separate task | ```yaml
steps:
- task: PowerShell@2
displayName: 'Set NuGet Package Version'
inputs:
targetType: inline
script: |
if ("$(GitVersion.PreReleaseLabel)" -ne "") { $NuGetPackageVersion = "$(GitVersion.MajorMinorPatch)-prerelease" } else { $NuGetPackageVersion = "$(GitVersion.MajorMinorPatch)" }
Write-Host "NuGetPackageVersion: $NuGetPackageVersion"
Write-Host "##vso[task.setvariable variable=NuGetPackageVersion]$NuGetPackageVersion"
- task: DotNetCoreCLI@2
displayName: 'dotnet pack'
inputs:
command: pack
packagesToPack: |
src/SFA.DAS.EmployerUsers.Api.Client/SFA.DAS.EmployerUsers.Api.Client.csproj;
src/SFA.DAS.EmployerUsers.Api.Types/SFA.DAS.EmployerUsers.Api.Types.csproj;
versioningScheme: byEnvVar
versionEnvVar: NuGetPackageVersion
packDirectory: $(build.artifactstagingdirectory)/NuGetPackages
- task: NuGetCommand@2
inputs:
command: pack
packagesToPack: src/SFA.DAS.EmployerUsers.WebClientComponents/SFA.DAS.EmployerUsers.WebClientComponents.csproj
versioningScheme: byEnvVar
versionEnvVar: NuGetPackageVersion
packDestination: $(build.artifactstagingdirectory)/NuGetPackages
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: NuGetPackages'
inputs:
ArtifactName: NuGetPackages
pathtoPublish: '$(build.artifactstagingdirectory)/NuGetPackages'``` |
fd759e15-2a07-4cbd-8666-5ac3163e01d7 | {
"language": "YAML"
} | ```yaml
# See https://github.com/ridedott/merge-me-action/
# This workflow automates merges from patches sent by Dependabot, and
# only by dependabot, once the other CI workflows pass
name: Auto-merge Dependabot PRs
on:
workflow_run:
types:
- completed
workflows:
- "Continuous Integration"
jobs:
merge-me:
name: Auto-merge Dependabot PRs
runs-on: ubuntu-latest
steps:
- name: Auto-Merge
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: ridedott/merge-me-action@v2.9.152
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MERGE_METHOD: MERGE
```
Bump ridedott/merge-me-action from 2.9.152 to 2.9.153 | ```yaml
# See https://github.com/ridedott/merge-me-action/
# This workflow automates merges from patches sent by Dependabot, and
# only by dependabot, once the other CI workflows pass
name: Auto-merge Dependabot PRs
on:
workflow_run:
types:
- completed
workflows:
- "Continuous Integration"
jobs:
merge-me:
name: Auto-merge Dependabot PRs
runs-on: ubuntu-latest
steps:
- name: Auto-Merge
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: ridedott/merge-me-action@v2.9.153
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MERGE_METHOD: MERGE
``` |
fcdb860e-8488-4c43-839c-e20d7e460482 | {
"language": "YAML"
} | ```yaml
<% raise "ENV['DB'] not specified!" unless ENV['DB'] %>
# a bit hackish - tests would require a refactoring instead
mysql2: &mysql2
adapter: mysql2
database: activewarehouse_etl_test
username: root
encoding: utf8
local_infile: true
mysql: &mysql
adapter: mysql
database: activewarehouse_etl_test
username: root
encoding: utf8
postgresql: &postgresql
adapter: postgresql
database: activewarehouse_etl_test
username: postgres
# TODO - refactor test to avoid using 2 databases maybe?
operational_database:
<<: *<%= ENV['DB'] %>
data_warehouse:
<<: *<%= ENV['DB'] %>
etl_execution:
adapter: sqlite3
database: ":memory:"
```
Disable casting during tests on mysql2 to make tests pass | ```yaml
<% raise "ENV['DB'] not specified!" unless ENV['DB'] %>
# a bit hackish - tests would require a refactoring instead
mysql2: &mysql2
adapter: mysql2
database: activewarehouse_etl_test
username: root
encoding: utf8
local_infile: true
# the tests would require a rework: disabling casting for now
cast: false
mysql: &mysql
adapter: mysql
database: activewarehouse_etl_test
username: root
encoding: utf8
postgresql: &postgresql
adapter: postgresql
database: activewarehouse_etl_test
username: postgres
# TODO - refactor test to avoid using 2 databases maybe?
operational_database:
<<: *<%= ENV['DB'] %>
data_warehouse:
<<: *<%= ENV['DB'] %>
etl_execution:
adapter: sqlite3
database: ":memory:"
``` |
83da18fe-b02d-4f63-a797-50085b9b0790 | {
"language": "YAML"
} | ```yaml
:pairs:
- :base: BTC
:target: JPY
```
Add more currencies to Fisco | ```yaml
:pairs:
- :base: BTC
:target: JPY
- :base: MONA
:target: JPY
- :base: MONA
:target: BTC
- :base: BCH
:target: JPY
- :base: BCH
:target: BTC
``` |
ac8028a3-45c7-422c-8c05-b687b7d2a1bf | {
"language": "YAML"
} | ```yaml
clone_depth: 1
version: '{build}'
skip_non_tags: true
image: Visual Studio 2017
configuration: Release
build_script:
- ps: if($env:appveyor_repo_tag -eq 'True') { Update-AppveyorBuild -Version $env:appveyor_repo_tag_name }
- dotnet pack /p:Version=%APPVEYOR_BUILD_VERSION% /p:GenerateDocumentationFile=true
artifacts:
- path: osu.Framework/bin/Release/*.nupkg
deploy:
- provider: Environment
name: nuget
- provider: Environment
name: github```
Fix deploy script not being updated for multiple sln files | ```yaml
clone_depth: 1
version: '{build}'
skip_non_tags: true
image: Visual Studio 2017
configuration: Release
before_build:
- cmd: nuget restore osu-framework.sln
- cmd: nuget restore osu-framework.iOS.sln
build_script:
- ps: if($env:appveyor_repo_tag -eq 'True') { Update-AppveyorBuild -Version $env:appveyor_repo_tag_name }
- dotnet pack osu.Framework /p:Version=%APPVEYOR_BUILD_VERSION% /p:GenerateDocumentationFile=true
- cmd: msbuild /t:pack osu.Framework.iOS /p:Configuration=Debug /p:Version=%APPVEYOR_BUILD_VERSION%
artifacts:
- path: osu.Framework/bin/Release/*.nupkg
- path: osu.Framework.iOS/bin/Release/*.nupkg
deploy:
- provider: Environment
name: nuget
- provider: Environment
name: github``` |
35087bae-132f-4998-bc3d-1595c5148103 | {
"language": "YAML"
} | ```yaml
# 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.1.2
environment:
PGHOST: 127.0.0.1
PGUSER: root
# 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
# Service container image available at `host: localhost`
- image: circleci/postgres:9.6.2-alpine
environment:
POSTGRES_USER: root
POSTGRES_DB: boxcharter_test
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: sudo apt install postgresql-client
- run: yarn install
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
# run tests!
- run: yarn test
```
Add update before apt install postgresql-client | ```yaml
# 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.1.2
environment:
PGHOST: 127.0.0.1
PGUSER: root
# 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
# Service container image available at `host: localhost`
- image: circleci/postgres:9.6.2-alpine
environment:
POSTGRES_USER: root
POSTGRES_DB: boxcharter_test
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: sudo apt update && sudo apt install postgresql-client
- run: yarn install
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
# run tests!
- run: yarn test
``` |
8493e878-bd41-4094-881e-0986daa608ea | {
"language": "YAML"
} | ```yaml
---
image_resource:
type: docker-image
source:
repository: cfgarden/garden-ci-ubuntu
tag: '0.11.2'
platform: linux
inputs:
- name: garden
run:
path: garden/scripts/update-godoc.sh
```
Use test image tag 0.11.3 | ```yaml
---
image_resource:
type: docker-image
source:
repository: cfgarden/garden-ci-ubuntu
tag: '0.11.3'
platform: linux
inputs:
- name: garden
run:
path: garden/scripts/update-godoc.sh
``` |
76bccf36-72f7-4352-9962-9f8ac25c2f5c | {
"language": "YAML"
} | ```yaml
destination: production
markdown: redcarpet
redcarpet:
extensions: ["tables"]
paginate: 10
highlighter: pygments
sass:
sass_dir: _sass
gems: [jekyll-paginate]
version: "master"
main_site_url: https://www.bazel.build
docs_site_url: "/"
blog_site_url: https://blog.bazel.build
```
Use `kramdown` for processing markdown | ```yaml
destination: production
markdown: kramdown
kramdown:
syntax_highlighter: rouge
paginate: 10
sass:
sass_dir: _sass
gems: [jekyll-paginate]
version: "master"
main_site_url: https://www.bazel.build
docs_site_url: "/"
blog_site_url: https://blog.bazel.build
``` |
cd00f35c-2641-4112-8f97-6ba8809ec93a | {
"language": "YAML"
} | ```yaml
language: ruby
dist: xenial
cache:
bundler: true
rvm:
- 2.4
- 2.5
- 2.6
branches:
only:
- master
```
Add Ruby 2.7 to the Travis CI build matrix | ```yaml
language: ruby
dist: xenial
cache:
bundler: true
rvm:
- 2.4
- 2.5
- 2.6
- 2.7
branches:
only:
- master
``` |
4d71192e-d4c2-429d-bfd4-072bb42e99fa | {
"language": "YAML"
} | ```yaml
image: node:10
code_quality:
stage: test
before_script:
- npm install --no-package-lock --no-save --quiet stylelint stylelint-config-standard stylelint-order stylelint-scss
- composer install
- node -v
- npm -v
- php -v
script:
- stylelint "./src/assets/styles/**/*.scss"
- eslint "./src/assets/scripts/**/*.js"
- ./vendor/overtrue/phplint/bin/phplint "./src/**/*.php"
deploy:
stage: deploy
script:
- "wget --quiet --output-document=- --content-on-error --header=\"Content-Type: application/json\" --post-data='{\"ref\":\"refs/heads/'$CI_COMMIT_REF_NAME'\"}' $CI_ENVIRONMENT_URL'.gitlab/deploy.php?token='$TOKEN'&sha='$CI_COMMIT_SHA'&reset=true'"
environment:
name: Production
when: manual
only:
- master
```
Revert back to custom Docker image for now | ```yaml
image: jacob9230/linter
code_quality:
stage: test
before_script:
- npm install --no-package-lock --no-save --quiet stylelint stylelint-config-standard stylelint-order stylelint-scss
- composer install
- node -v
- npm -v
- php -v
script:
- stylelint "./src/assets/styles/**/*.scss"
- eslint "./src/assets/scripts/**/*.js"
- ./vendor/overtrue/phplint/bin/phplint "./src/**/*.php"
deploy:
stage: deploy
script:
- "wget --quiet --output-document=- --content-on-error --header=\"Content-Type: application/json\" --post-data='{\"ref\":\"refs/heads/'$CI_COMMIT_REF_NAME'\"}' $CI_ENVIRONMENT_URL'.gitlab/deploy.php?token='$TOKEN'&sha='$CI_COMMIT_SHA'&reset=true'"
environment:
name: Production
when: manual
only:
- master
``` |
5e801bb4-c31a-4175-b9ed-d300b9db57c1 | {
"language": "YAML"
} | ```yaml
variables:
LC_ALL: C.UTF-8
LANG: C.UTF-8
.unit_tests:
script:
- apk add cmake g++ ninja
- mkdir build && cd build
- cmake -G "Ninja" ../
- ninja -v
- ./tests/tests
only:
- merge_requests
Unit Tests x64:
extends: .unit_tests
image: amd64/alpine:3.9
Unit Tests i386:
extends: .unit_tests
image: i386/alpine:3.9
Clang Tidy:
image: ubuntu:18.04
script:
- apt update
- apt install -y cmake g++ clang ninja-build clang-tidy
- mkdir build && cd build
- cmake -G "Ninja" ../ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
- clang-tidy ../src/*.c ../examples/*.c
only:
- merge_requests
Code Format:
image: alpine:3.9
script:
- apk add clang python3
- python3 ./tests/run-clang-format.py -j 1 -r --exclude tests/doctest.h src tests examples
only:
- merge_requests
Sphinx:
image: alpine:3.9
script:
- apk add python3 make
- pip3 install sphinx
- cd docs
- make html
only:
- merge_requests
```
Rename ClangTidy to Static Linting | ```yaml
variables:
LC_ALL: C.UTF-8
LANG: C.UTF-8
.unit_tests:
script:
- apk add cmake g++ ninja
- mkdir build && cd build
- cmake -G "Ninja" ../
- ninja -v
- ./tests/tests
only:
- merge_requests
Unit Tests x64:
extends: .unit_tests
image: amd64/alpine:3.9
Unit Tests i386:
extends: .unit_tests
image: i386/alpine:3.9
Static Linting:
image: ubuntu:18.04
script:
- apt update
- apt install -y cmake g++ clang ninja-build clang-tidy
- mkdir build && cd build
- cmake -G "Ninja" ../ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
- clang-tidy ../src/*.c ../examples/*.c
only:
- merge_requests
Code Format:
image: alpine:3.9
script:
- apk add clang python3
- python3 ./tests/run-clang-format.py -j 1 -r --exclude tests/doctest.h src tests examples
only:
- merge_requests
Sphinx:
image: alpine:3.9
script:
- apk add python3 make
- pip3 install sphinx
- cd docs
- make html
only:
- merge_requests
``` |
bb6648b6-f89b-4df1-83e5-7888727ba5d0 | {
"language": "YAML"
} | ```yaml
---
# These keys are installed so that the EC2 instance can access
# the github repositories of the user doing the installation.
# This is necessary for accessing the (currently) private repositories
# that contain Romana software.
- name: Install private key for ubuntu user
copy: src="~/.ssh/id_rsa" dest="~/.ssh/id_rsa" mode=0600
- name: Install public key for ubuntu user
copy: src="~/.ssh/id_rsa.pub" dest="~/.ssh/id_rsa.pub" mode=0644
- name: Add public key to authorised keys
authorized_key: user=ubuntu key="{{ item }}" state=present
with_file:
- "~/.ssh/id_rsa.pub"
- name: Install known hosts for ubuntu user (github ssh)
copy: src="known_hosts" dest="~/.ssh/known_hosts" mode=0644
```
Copy generated key to hosts | ```yaml
---
- name: Install private key for ubuntu user
copy: src="romana_id_rsa" dest="~/.ssh/id_rsa" mode=0600
- name: Install public key for ubuntu user
copy: src="romana_id_rsa.pub" dest="~/.ssh/id_rsa.pub" mode=0644
- name: Add public key to authorised keys
authorized_key: user=ubuntu key="{{ item }}" state=present
with_file:
- "romana_id_rsa.pub"
``` |
76a679b7-c56b-489e-845d-45dcf59f5b07 | {
"language": "YAML"
} | ```yaml
name: Print Center
image: print
category: Mail and Packages
schedule:
- title: Hours
closedForChapelTime: true
hours:
# - {days: [Mo, Tu, We, Th, Fr], from: '8:00am', to: '5:00pm'}
breakSchedule:
fall: []
thanksgiving: []
winter: []
interim: []
spring: []
easter: []
summer:
- title: Hours
hours:
- {days: [Mo, Tu, We, Th], from: '8:00am', to: '3:00pm'}
- {days: [Fr], from: '8:00am', to: '12:00pm'}
```
Set current hours to match summer hours | ```yaml
name: Print Center
image: print
category: Mail and Packages
schedule:
- title: Hours
# closedForChapelTime: true
hours:
# - {days: [Mo, Tu, We, Th, Fr], from: '8:00am', to: '5:00pm'}
- {days: [Mo, Tu, We, Th], from: '8:00am', to: '3:00pm'}
- {days: [Fr], from: '8:00am', to: '12:00pm'}
breakSchedule:
fall: []
thanksgiving: []
winter: []
interim: []
spring: []
easter: []
summer:
- title: Hours
hours:
- {days: [Mo, Tu, We, Th], from: '8:00am', to: '3:00pm'}
- {days: [Fr], from: '8:00am', to: '12:00pm'}
``` |
b1784b48-8ed0-4d07-b945-57b650579d69 | {
"language": "YAML"
} | ```yaml
homepage: https://github.com/cblp/crdt#readme
changelog-type: ''
hash: b3277b8d6a49a6ebded52b60bc4690d8d6e3d0dbe3e3d079084726c3f42b343e
test-bench-deps:
base: ! '>=4.9 && <4.11'
tasty-discover: ! '>=4.1'
containers: -any
tasty-quickcheck: -any
mtl: -any
tasty: -any
QuickCheck: -any
crdt: -any
maintainer: Yuriy Syrovetskiy <cblp@cblp.su>
synopsis: Conflict-free replicated data types
changelog: ''
basic-deps:
base: ! '>=4.9 && <4.11'
containers: -any
mtl: -any
all-versions:
- '0.1'
- '0.2'
- '0.3'
- '0.4'
- '0.5'
- '1.0'
- '2.0'
- '2.1'
- '3.0'
author: ''
latest: '3.0'
description-type: haddock
description: Definitions of CmRDT and CvRDT. Implementations for some classic CRDTs.
license-name: BSD3
```
Update from Hackage at 2017-11-29T21:27:37Z | ```yaml
homepage: https://github.com/cblp/crdt#readme
changelog-type: ''
hash: 23502f91654d8c7e97a6352f80b83f815f2947d8e8e161c0f196607930277dc7
test-bench-deps:
base: ! '>=4.9 && <4.11'
tasty-discover: ! '>=4.1'
containers: -any
tasty-quickcheck: -any
mtl: -any
tasty: -any
QuickCheck: -any
crdt: -any
maintainer: Yuriy Syrovetskiy <cblp@cblp.su>
synopsis: Conflict-free replicated data types
changelog: ''
basic-deps:
base: ! '>=4.9 && <4.11'
containers: -any
mtl: -any
all-versions:
- '0.1'
- '0.2'
- '0.3'
- '0.4'
- '0.5'
- '1.0'
- '2.0'
- '2.1'
- '3.0'
- '4.0'
author: ''
latest: '4.0'
description-type: haddock
description: Definitions of CmRDT and CvRDT. Implementations for some classic CRDTs.
license-name: BSD3
``` |
4726e2eb-1ac5-4df3-8c5f-b576b6846b4f | {
"language": "YAML"
} | ```yaml
- url: "https://stemcamp.aurorak12.org/"
title: "STEM Summer Camp Homepage"
```
Add link to Project Euler | ```yaml
- url: "https://stemcamp.aurorak12.org/"
title: "STEM Summer Camp Homepage"
- url: "https://projecteuler.net/"
title: "Project Euler"
``` |
a241c4dd-c937-4413-a1b5-c790610579b4 | {
"language": "YAML"
} | ```yaml
name: args
version: 0.12.1-dev
author: "Dart Team <misc@dartlang.org>"
homepage: http://www.dartlang.org
description: >
Library for defining parsers for parsing raw command-line arguments into
a set of options and values using GNU and POSIX style options.
dependencies:
collection: ">=0.9.0 <2.0.0"
dev_dependencies:
unittest: ">=0.9.0 <0.11.0"
environment:
sdk: ">=1.0.0 <2.0.0"
```
Remove "-dev" to publish args package. | ```yaml
name: args
version: 0.12.1
author: "Dart Team <misc@dartlang.org>"
homepage: http://www.dartlang.org
description: >
Library for defining parsers for parsing raw command-line arguments into
a set of options and values using GNU and POSIX style options.
dependencies:
collection: ">=0.9.0 <2.0.0"
dev_dependencies:
unittest: ">=0.9.0 <0.11.0"
environment:
sdk: ">=1.0.0 <2.0.0"
``` |
73bbdc1b-6420-46c1-a09a-a11d2f73278c | {
"language": "YAML"
} | ```yaml
# When a PR is labelled with 'ready-for-docs-review',
# this workflow comments on the PR to notify the GitHub CodeQL docs team.
name: Request docs review
on:
# Runs in the context of the base repo.
# This gives the workflow write access to comment on PRs.
# The workflow should not check out or build the given ref,
# or use untrusted data from the event payload in a command line.
pull_request_target:
types: [labeled]
jobs:
request-docs-review:
name: Request docs review
# Run only on labelled PRs to the main repository.
# Do not run on PRs to forks.
if:
github.event.label.name == 'ready-for-docs-review'
&& github.event.pull_request.draft == false
&& github.event.pull_request.base.repo.full_name == 'github/codeql'
runs-on: ubuntu-latest
steps:
- name: Comment to request docs review
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
gh pr comment "$PR_NUMBER" --repo "github/codeql" \
--body "Hello @github/docs-content-codeql: this PR is ready for docs review."
```
Fix comment that tags the Docs team | ```yaml
# When a PR is labelled with 'ready-for-docs-review',
# this workflow comments on the PR to notify the GitHub CodeQL docs team.
name: Request docs review
on:
# Runs in the context of the base repo.
# This gives the workflow write access to comment on PRs.
# The workflow should not check out or build the given ref,
# or use untrusted data from the event payload in a command line.
pull_request_target:
types: [labeled]
jobs:
request-docs-review:
name: Request docs review
# Run only on labelled PRs to the main repository.
# Do not run on PRs to forks.
if:
github.event.label.name == 'ready-for-docs-review'
&& github.event.pull_request.draft == false
&& github.event.pull_request.base.repo.full_name == 'github/codeql'
runs-on: ubuntu-latest
steps:
- name: Comment to request docs review
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
gh pr comment "$PR_NUMBER" --repo "github/codeql" \
--body "Hello @github/docs-content-codeql - this PR is ready for docs review."
``` |
3d89eaab-b137-480b-b2d6-c8eb89f3365c | {
"language": "YAML"
} | ```yaml
name: 'Integration'
on:
- push
jobs:
lint-test:
name: 'Lint/Test'
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: 'Checkout'
uses: actions/checkout@master
- name: Cache node_modules
id: cache
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- name: Install
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile --ignore-scripts
- name: Lint
run: yarn lint
- name: Test
run: yarn test --coverage
- uses: actions/upload-artifact@v1
with:
name: coverage
path: ./coverage
- name: Build
run: yarn webpack
env:
NODE_ENV: production
codecov:
name: 'Upload coverage'
needs: lint-test
runs-on: ubuntu-latest
steps:
# checkout only needed because codecov wants to know app file structure during upload
- name: 'Checkout'
uses: actions/checkout@master
- uses: actions/download-artifact@v1
with:
name: coverage
- uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
```
Update codecov/codecov-action action to v2 | ```yaml
name: 'Integration'
on:
- push
jobs:
lint-test:
name: 'Lint/Test'
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: 'Checkout'
uses: actions/checkout@master
- name: Cache node_modules
id: cache
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- name: Install
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile --ignore-scripts
- name: Lint
run: yarn lint
- name: Test
run: yarn test --coverage
- uses: actions/upload-artifact@v1
with:
name: coverage
path: ./coverage
- name: Build
run: yarn webpack
env:
NODE_ENV: production
codecov:
name: 'Upload coverage'
needs: lint-test
runs-on: ubuntu-latest
steps:
# checkout only needed because codecov wants to know app file structure during upload
- name: 'Checkout'
uses: actions/checkout@master
- uses: actions/download-artifact@v1
with:
name: coverage
- uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
``` |
c9d8f8be-bfbf-4207-959f-350bfea6a51d | {
"language": "YAML"
} | ```yaml
version: '2'
services:
nginx:
image: nginx
links:
- node1:node1
ports:
- "8080:80"
volumes:
- "./nginx/nginx.conf:/etc/nginx/nginx.conf"
- "/nginx_cache"
- "./static:/static:ro" #TODO: make sure that readonly causes no trouble
node1:
build: ./app
ports:
- "8080"
volumes:
- "./app:/app:rw" # TODO: make sure that readonly causes no trouble
- "./static:/static:rw"
- "/app/node_modules"
```
Make it restart unless stopped | ```yaml
version: '2'
services:
nginx:
image: nginx
links:
- node1:node1
ports:
- "8080:80"
volumes:
- "./nginx/nginx.conf:/etc/nginx/nginx.conf"
- "/nginx_cache"
- "./static:/static:ro" #TODO: make sure that readonly causes no trouble
restart: unless-stopped
node1:
build: ./app
ports:
- "8080"
volumes:
- "./app:/app:rw" # TODO: make sure that readonly causes no trouble
- "./static:/static:rw"
- "/app/node_modules"
restart: unless-stopped
``` |
68ead242-7a69-4451-8793-80131aba27e4 | {
"language": "YAML"
} | ```yaml
version: '2'
services:
web:
image: microcosm
build:
context: .
dockerfile: ./containers/Dockerfile.microcosm
ports:
- "80:80"
- "443:443"
volumes:
- .:/go/src/github.com/buro9/microcosm
depends_on:
- db
- cache
links:
- db
db:
image: "postgres:14.4"
cache:
image: "memcached:latest"
```
Update postgres Docker tag to v14.5 | ```yaml
version: '2'
services:
web:
image: microcosm
build:
context: .
dockerfile: ./containers/Dockerfile.microcosm
ports:
- "80:80"
- "443:443"
volumes:
- .:/go/src/github.com/buro9/microcosm
depends_on:
- db
- cache
links:
- db
db:
image: "postgres:14.5"
cache:
image: "memcached:latest"
``` |
525face7-0499-4d49-a144-fd7cd1fb5cda | {
"language": "YAML"
} | ```yaml
version: '2'
services:
snappass:
build: .
image: pinterest/snappass
ports:
- "5000:5000"
environment:
- REDIS_HOST=redis
- NO_SSL=True
depends_on:
- redis
redis:
image: "redis:latest"
```
Use SIGINT to grecefully shutdown flask | ```yaml
version: '2'
services:
snappass:
build: .
image: pinterest/snappass
ports:
- "5000:5000"
stop_signal: SIGINT
environment:
- REDIS_HOST=redis
- NO_SSL=True
depends_on:
- redis
redis:
image: "redis:latest"
``` |
44f2ac92-04a0-4c4b-a32b-ea8a042216dd | {
"language": "YAML"
} | ```yaml
version: '3'
services:
mongoose-console:
network_mode: host
image: 'emcmongoose/mongoose-console:${GRAFANA_VER}'
ports:
- '${CONSOLE_PORT}:${CONSOLE_PORT}'
env_file:
- .env
volumes:
- prometheus-configuration-folder-volume:${PROMETHEUS_CONFIGURATION_FOLDER_PATH}
depends_on:
- prometheus
grafana:
image: 'grafana/grafana:${GRAFANA_VER}'
ports:
- '${PROMETHEUS_PORT}:${PROMETHEUS_PORT}'
prometheus:
network_mode: host
ports:
- '${CONSOLE_PORT}:${CONSOLE_PORT}'
image: 'prom/prometheus:${PROMETHEUS_VER}'
volumes:
- prometheus-configuration-folder-volume:/etc/prometheus/
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--web.enable-lifecycle'
volumes:
prometheus-configuration-folder-volume:
```
Fix ports @ compose file. | ```yaml
version: '3'
services:
mongoose-console:
image: 'emcmongoose/mongoose-console:${CONSOLE_VER}'
network_mode: host
ports:
- '${CONSOLE_PORT}:${CONSOLE_PORT}'
env_file:
- .env
volumes:
- prometheus-configuration-folder-volume:${PROMETHEUS_CONFIGURATION_FOLDER_PATH}
grafana:
image: 'grafana/grafana:${GRAFANA_VER}'
ports:
- '${GRAFANA_PORT}:${GRAFANA_PORT}'
prometheus:
image: 'prom/prometheus:${PROMETHEUS_VER}'
network_mode: host
ports:
- '${PROMETHEUS_PORT}:${PROMETHEUS_PORT}'
volumes:
- prometheus-configuration-folder-volume:/etc/prometheus/
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--web.enable-lifecycle'
volumes:
prometheus-configuration-folder-volume:
``` |
2497eb38-045b-436e-aa7e-b7aa9fd0b5c9 | {
"language": "YAML"
} | ```yaml
device:
name: YOUR_DEVICE_NAME
trello:
key: YOUR_API_KEY
token: YOUR_TOKEN
board:
name: YOUR_BOARD_NAME
list:
online: 自席
offline: 帰宅
away: 離席
condition:
# away になるまでの時間(分)
time_until_away: 5
# business time 以外の away 状態からさらに time_until_away を過ぎると offline にする
business:
start: '9:00'
end: '22:00'
```
Add force reset on any clock for admin | ```yaml
device:
name: YOUR_DEVICE_NAME
trello:
key: YOUR_API_KEY
token: YOUR_TOKEN
board:
name: YOUR_BOARD_NAME
list:
online: 自席
offline: 帰宅
away: 離席
condition:
# away になるまでの時間(分)
time_until_away: 5
# business time 以外の away 状態からさらに time_until_away を過ぎると offline にする
business:
start: '9:00'
end: '22:00'
admin:
force_reset:
enable: false
clock: '06:00'
``` |
1306497b-e2d8-40a7-9aff-5f0017f2db16 | {
"language": "YAML"
} | ```yaml
Default: &defaults
host: "*4" # any IPv4 host
port: 3000
approot: "http://localhost:3000"
copyright: copyright tehnix 2014
admins: []
theme: default
#disqus: disqus_shortname_for_testing
#githubKey: githuh_key_with_gist_scope
Development:
<<: *defaults
Testing:
port: 80
<<: *defaults
Staging:
<<: *defaults
Production:
approot: "http://yoursite.com"
#analytics: your_analytics_UA
#disqus: disqus_shortname_for_production
<<: *defaults
```
Rename githubKey setting to githubToken | ```yaml
Default: &defaults
host: "*4" # any IPv4 host
port: 3000
approot: "http://localhost:3000"
copyright: copyright tehnix 2014
admins: []
theme: default
#disqus: disqus_shortname_for_testing
#githubToken: githuh_personal_accesss_token_with_gist_scope
Development:
<<: *defaults
Testing:
port: 80
<<: *defaults
Staging:
<<: *defaults
Production:
approot: "http://yoursite.com"
#analytics: your_analytics_UA
#disqus: disqus_shortname_for_production
<<: *defaults
``` |
39960034-9010-43dc-9c7b-e8d5a14baedc | {
"language": "YAML"
} | ```yaml
sylius_grid:
grids:
sylius_admin_payment_method:
driver:
name: doctrine/orm
options:
class: "%sylius.model.payment_method.class%"
repository:
method: createListQueryBuilder
arguments: ["%locale%"]
sorting:
position: asc
fields:
position:
type: twig
label: sylius.ui.position
sortable: ~
options:
template: "@SyliusUi/Grid/Field/position.html.twig"
code:
type: string
label: sylius.ui.code
sortable: ~
name:
type: string
label: sylius.ui.name
sortable: translation.name
gateway:
type: string
path: gatewayConfig.gatewayName
label: sylius.ui.gateway
sortable: ~
enabled:
type: twig
label: sylius.ui.enabled
sortable: ~
options:
template: "@SyliusUi/Grid/Field/enabled.html.twig"
filters:
search:
type: string
label: sylius.ui.search
options:
fields: [code, translation.name]
enabled:
type: boolean
label: sylius.ui.enabled
actions:
main:
create:
type: create_payment_method
item:
update:
type: update
delete:
type: delete
```
Fix issue-7765. Allow ordering payment methods by gateway config name | ```yaml
sylius_grid:
grids:
sylius_admin_payment_method:
driver:
name: doctrine/orm
options:
class: "%sylius.model.payment_method.class%"
repository:
method: createListQueryBuilder
arguments: ["%locale%"]
sorting:
position: asc
fields:
position:
type: twig
label: sylius.ui.position
sortable: ~
options:
template: "@SyliusUi/Grid/Field/position.html.twig"
code:
type: string
label: sylius.ui.code
sortable: ~
name:
type: string
label: sylius.ui.name
sortable: translation.name
gateway:
type: string
path: gatewayConfig.gatewayName
label: sylius.ui.gateway
sortable: gatewayConfig.gatewayName
enabled:
type: twig
label: sylius.ui.enabled
sortable: ~
options:
template: "@SyliusUi/Grid/Field/enabled.html.twig"
filters:
search:
type: string
label: sylius.ui.search
options:
fields: [code, translation.name]
enabled:
type: boolean
label: sylius.ui.enabled
actions:
main:
create:
type: create_payment_method
item:
update:
type: update
delete:
type: delete
``` |
0100d1e5-6865-4871-98a8-58bd3a6a5f0d | {
"language": "YAML"
} | ```yaml
mode: ContinuousDelivery
next-version: 2.0.0
branches: {}
ignore:
sha: []
merge-message-formats: {}
```
Update next-version to 3.0.0 from 2.0.0 | ```yaml
mode: ContinuousDelivery
next-version: 3.0.0
branches: {}
ignore:
sha: []
merge-message-formats: {}
``` |
50ee9d26-c93f-4e4e-8b5f-30be0655dd26 | {
"language": "YAML"
} | ```yaml
Categories:
- Internet
License: GPL-3.0-only
SourceCode: https://github.com/devgianlu/Aria2Android
IssueTracker: https://github.com/devgianlu/Aria2Android/issues
Donate: https://www.paypal.me/devgianlu
LiberapayID: '1381702'
AutoName: Aria2Android
RepoType: git
Repo: https://github.com/devgianlu/Aria2Android
Builds:
- versionName: 1.9.1
versionCode: 35
commit: v1.9.1
subdir: app
submodules: true
gradle:
- foss
prebuild: |-
sed -i -e "/maven.fabric.io/d" ../build.gradle ../CommonUtils/build.gradle
- versionName: 1.9.3
versionCode: 37
commit: v1.9.3
subdir: app
submodules: true
gradle:
- foss
prebuild: |-
sed -i -e "/maven.fabric.io/d" ../build.gradle ../CommonUtils/build.gradle
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.9.3
CurrentVersionCode: 37
```
Update Aria2Android to 1.9.4 (38) | ```yaml
Categories:
- Internet
License: GPL-3.0-only
SourceCode: https://github.com/devgianlu/Aria2Android
IssueTracker: https://github.com/devgianlu/Aria2Android/issues
Donate: https://www.paypal.me/devgianlu
LiberapayID: '1381702'
AutoName: Aria2Android
RepoType: git
Repo: https://github.com/devgianlu/Aria2Android
Builds:
- versionName: 1.9.1
versionCode: 35
commit: v1.9.1
subdir: app
submodules: true
gradle:
- foss
prebuild: |-
sed -i -e "/maven.fabric.io/d" ../build.gradle ../CommonUtils/build.gradle
- versionName: 1.9.3
versionCode: 37
commit: v1.9.3
subdir: app
submodules: true
gradle:
- foss
prebuild: |-
sed -i -e "/maven.fabric.io/d" ../build.gradle ../CommonUtils/build.gradle
- versionName: 1.9.4
versionCode: 38
commit: v1.9.4
subdir: app
submodules: true
gradle:
- foss
prebuild: |-
sed -i -e "/maven.fabric.io/d" ../build.gradle ../CommonUtils/build.gradle
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.9.4
CurrentVersionCode: 38
``` |
1b8caec9-1abf-428b-a05d-58e75e71f1b8 | {
"language": "YAML"
} | ```yaml
name: PHPunit
on: [push, pull_request]
jobs:
serendipity_hq:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: ['7.4']
name: PHP ${{ matrix.php }} on ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v1
with:
php-version: ${{ matrix.php }}
coverage: pcov
tools: prestissimo, phive
extensions: intl
- name: Install Composer deps
run: |
composer update --no-interaction --no-suggest
- name: Install Phive deps
run: |
phive install --trust-gpg-keys E82B2FB314E9906E,CF1A108D0E7AE720,4AA394086372C20A
- name: Run PHPunit
run: |
./tools/phpunit --verbose --debug
./tools/php-coveralls -v
env:
SYMFONY_DEPRECATIONS_HELPER: weak_vendors
COVERALLS_RUN_LOCALLY: 1
```
Set the `COVERALLS_REPO_TOKEN` env var. | ```yaml
name: PHPunit
on: [push, pull_request]
jobs:
serendipity_hq:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: ['7.4']
name: PHP ${{ matrix.php }} on ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v1
with:
php-version: ${{ matrix.php }}
coverage: pcov
tools: prestissimo, phive
extensions: intl
- name: Install Composer deps
run: |
composer update --no-interaction --no-suggest
- name: Install Phive deps
run: |
phive install --trust-gpg-keys E82B2FB314E9906E,CF1A108D0E7AE720,4AA394086372C20A
- name: Run PHPunit
run: |
./tools/phpunit --verbose --debug
./tools/php-coveralls -v
env:
SYMFONY_DEPRECATIONS_HELPER: weak_vendors
COVERALLS_RUN_LOCALLY: 1
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
``` |
dc920b12-2ade-4db8-8d75-30e5eab19a30 | {
"language": "YAML"
} | ```yaml
Categories:
- Internet
License: GPL-3.0-only
WebSite: https://fedilab.app/wiki/nitterizeme/
SourceCode: https://framagit.org/tom79/nitterizeme
IssueTracker: https://framagit.org/tom79/nitterizeme/issues
Translation: https://crowdin.com/project/nitterizeme
Changelog: https://framagit.org/tom79/nitterizeme/tags
LiberapayID: '23077'
AutoName: UntrackMe Lite
RepoType: git
Repo: https://framagit.org/tom79/nitterizeme.git
Builds:
- versionName: 1.9.1
versionCode: 17
commit: 1.9.1
subdir: app
gradle:
- lite
rm:
- apk
- versionName: 1.10.0
versionCode: 19
commit: 1.10.0
subdir: app
gradle:
- lite
rm:
- apk
- versionName: 1.11.0
versionCode: 20
commit: 1.11.0
subdir: app
gradle:
- lite
rm:
- apk
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 1.11.0
CurrentVersionCode: 20
```
Update UntrackMe Lite to 1.12.0 (21) | ```yaml
Categories:
- Internet
License: GPL-3.0-only
WebSite: https://fedilab.app/wiki/nitterizeme/
SourceCode: https://framagit.org/tom79/nitterizeme
IssueTracker: https://framagit.org/tom79/nitterizeme/issues
Translation: https://crowdin.com/project/nitterizeme
Changelog: https://framagit.org/tom79/nitterizeme/tags
LiberapayID: '23077'
AutoName: UntrackMe Lite
RepoType: git
Repo: https://framagit.org/tom79/nitterizeme.git
Builds:
- versionName: 1.9.1
versionCode: 17
commit: 1.9.1
subdir: app
gradle:
- lite
rm:
- apk
- versionName: 1.10.0
versionCode: 19
commit: 1.10.0
subdir: app
gradle:
- lite
rm:
- apk
- versionName: 1.11.0
versionCode: 20
commit: 1.11.0
subdir: app
gradle:
- lite
rm:
- apk
- versionName: 1.12.0
versionCode: 21
commit: 1.12.0
subdir: app
gradle:
- lite
rm:
- apk
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: 1.12.0
CurrentVersionCode: 21
``` |
dbd01e9d-cc78-4d65-b46f-565f525c8446 | {
"language": "YAML"
} | ```yaml
Categories:
- System
License: Apache-2.0
AuthorName: iboalali
AuthorEmail: contact@iboalali.com
WebSite: https://iboalali.com/hide-running-in-the-background-notification
SourceCode: https://github.com/gloomy-ghost/sysnotifsnooze
IssueTracker: https://github.com/iboalali/sysnotifsnooze/issues
Name: Hide "running in the background" Notification
AutoName: Hide „running in the background“ Notification
Description: |-
Hide the annoying "running in the background" notification with this simple
and small app. Just keep it installed and this annoying notification will
never appear again. You can choose for which app this notification should
be hidden.
RepoType: git
Repo: https://github.com/gloomy-ghost/sysnotifsnooze.git
Builds:
- versionName: v1.7vc102-fdroid
versionCode: 102
commit: v1.7vc102-fdroid
subdir: app
gradle:
- fdroid
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: v1.7vc-fdroid
CurrentVersionCode: 102
```
Set autoname of Hide "running in the background" Notification | ```yaml
Categories:
- System
License: Apache-2.0
AuthorName: iboalali
AuthorEmail: contact@iboalali.com
WebSite: https://iboalali.com/hide-running-in-the-background-notification
SourceCode: https://github.com/gloomy-ghost/sysnotifsnooze
IssueTracker: https://github.com/iboalali/sysnotifsnooze/issues
Name: Hide "running in the background" Notification
AutoName: Hide \"running in the background\" Notification
Description: |-
Hide the annoying "running in the background" notification with this simple
and small app. Just keep it installed and this annoying notification will
never appear again. You can choose for which app this notification should
be hidden.
RepoType: git
Repo: https://github.com/gloomy-ghost/sysnotifsnooze.git
Builds:
- versionName: v1.7vc102-fdroid
versionCode: 102
commit: v1.7vc102-fdroid
subdir: app
gradle:
- fdroid
AutoUpdateMode: Version %v
UpdateCheckMode: Tags
CurrentVersion: v1.7vc-fdroid
CurrentVersionCode: 102
``` |
84d918fa-ca29-4735-9a73-4b0f7959638c | {
"language": "YAML"
} | ```yaml
Categories:
- Time
License: GPL-3.0-or-later
SourceCode: https://github.com/felixwiemuth/SimpleReminder
IssueTracker: https://github.com/felixwiemuth/SimpleReminder/issues
AutoName: SimpleReminder
RepoType: git
Repo: https://github.com/felixwiemuth/SimpleReminder
Builds:
- versionName: 0.9.4
versionCode: 7
commit: v0.9.4
subdir: app
submodules: true
gradle:
- yes
ArchivePolicy: 10 versions
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags v\d+\.\d+\.\d+
CurrentVersion: 0.9.4
CurrentVersionCode: 7
```
Update SimpleReminder to 0.9.5 (9) | ```yaml
Categories:
- Time
License: GPL-3.0-or-later
SourceCode: https://github.com/felixwiemuth/SimpleReminder
IssueTracker: https://github.com/felixwiemuth/SimpleReminder/issues
AutoName: SimpleReminder
RepoType: git
Repo: https://github.com/felixwiemuth/SimpleReminder
Builds:
- versionName: 0.9.4
versionCode: 7
commit: v0.9.4
subdir: app
submodules: true
gradle:
- yes
- versionName: 0.9.5
versionCode: 9
commit: v0.9.5
subdir: app
submodules: true
gradle:
- yes
ArchivePolicy: 10 versions
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags v\d+\.\d+\.\d+
CurrentVersion: 0.9.5
CurrentVersionCode: 9
``` |
3c3a6dc2-81a6-4824-a676-12a463475ec2 | {
"language": "YAML"
} | ```yaml
pagetitle: Topics
theme: dark
description: Topics to help you in delivering towards the Digital Service Standard
header:
- header.md
main:
- pageheader.md
- sddp_topics.md
- team_topics.md
- userresearch_topics.md
- /_shared/feedback.md
footer:
- /_shared/footer.md
```
Fix the navigation ordering (page weight) | ```yaml
pagetitle: Topics
weight: 20
theme: dark
description: Topics to help you in delivering towards the Digital Service Standard
header:
- header.md
main:
- pageheader.md
- sddp_topics.md
- team_topics.md
- userresearch_topics.md
- /_shared/feedback.md
footer:
- /_shared/footer.md
``` |
e27a7664-c604-4c8f-943f-4243f4cf7fd6 | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "4"
- "5"
cache:
directories:
- node_modules
sudo: false```
Remove node 4 support. Add node 6 support | ```yaml
language: node_js
node_js:
- "5"
- "6"
cache:
directories:
- node_modules
sudo: false``` |
17c8c22b-da71-44ef-8d06-3fe67d8dcfff | {
"language": "YAML"
} | ```yaml
AntiFeatures:
- NonFreeNet
Categories:
- Reading
License: GPL-3.0-only
AuthorName: Soenke Huster
AuthorEmail: projekte@eknoes.de
SourceCode: https://github.com/eknoes/golem-android-reader
IssueTracker: https://github.com/eknoes/golem-android-reader/issues
AutoName: Golem.de
RepoType: git
Repo: https://github.com/eknoes/golem-android-reader
Builds:
- versionName: 1.2.1
versionCode: 137
commit: v1.2.1
subdir: app
gradle:
- yes
- versionName: 1.2.2
versionCode: 138
commit: f8b9406b3e5d1ecb8147bb0eaf48e6c503d64863
subdir: app
gradle:
- yes
- versionName: 1.2.3
versionCode: 139
commit: 1d3a038d81d1dc6c968e2bf1c60d08c259780274
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.2.3
CurrentVersionCode: 139
```
Update Golem.de to 1.2.3 (141) | ```yaml
AntiFeatures:
- NonFreeNet
Categories:
- Reading
License: GPL-3.0-only
AuthorName: Soenke Huster
AuthorEmail: projekte@eknoes.de
SourceCode: https://github.com/eknoes/golem-android-reader
IssueTracker: https://github.com/eknoes/golem-android-reader/issues
AutoName: Golem.de
RepoType: git
Repo: https://github.com/eknoes/golem-android-reader
Builds:
- versionName: 1.2.1
versionCode: 137
commit: v1.2.1
subdir: app
gradle:
- yes
- versionName: 1.2.2
versionCode: 138
commit: f8b9406b3e5d1ecb8147bb0eaf48e6c503d64863
subdir: app
gradle:
- yes
- versionName: 1.2.3
versionCode: 139
commit: 1d3a038d81d1dc6c968e2bf1c60d08c259780274
subdir: app
gradle:
- yes
- versionName: 1.2.3
versionCode: 141
commit: 6df4fd5ca1982a01fe9b8b8ae5c09526ef09a402
subdir: app
gradle:
- yes
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 1.2.3
CurrentVersionCode: 141
``` |
e01a2331-26cf-4a94-bc1d-a83e8fbf3de6 | {
"language": "YAML"
} | ```yaml
Categories:
- Multimedia
License: GPL-3.0-or-later
AuthorName: red-coracle
SourceCode: https://github.com/red-coracle/episodes
IssueTracker: https://github.com/red-coracle/episodes/issues
AutoName: Episodes
RepoType: git
Repo: https://github.com/red-coracle/episodes
Builds:
- versionName: 0.13.2
versionCode: 15
commit: 0.13.2
subdir: app
gradle:
- standard
- versionName: 0.13.3
versionCode: 16
commit: 0.13.3
subdir: app
gradle:
- standard
- versionName: 0.13.4
versionCode: 17
commit: 0.13.4
subdir: app
gradle:
- standard
AutoUpdateMode: Version %v
UpdateCheckMode: Tags ^[0-9]+\.[0-9]+\.[0-9]+$
CurrentVersion: 0.13.4
CurrentVersionCode: 17
```
Update Episodes to 0.13.5 (18) | ```yaml
Categories:
- Multimedia
License: GPL-3.0-or-later
AuthorName: red-coracle
SourceCode: https://github.com/red-coracle/episodes
IssueTracker: https://github.com/red-coracle/episodes/issues
AutoName: Episodes
RepoType: git
Repo: https://github.com/red-coracle/episodes
Builds:
- versionName: 0.13.2
versionCode: 15
commit: 0.13.2
subdir: app
gradle:
- standard
- versionName: 0.13.3
versionCode: 16
commit: 0.13.3
subdir: app
gradle:
- standard
- versionName: 0.13.4
versionCode: 17
commit: 0.13.4
subdir: app
gradle:
- standard
- versionName: 0.13.5
versionCode: 18
commit: 0.13.5
subdir: app
gradle:
- standard
AutoUpdateMode: Version %v
UpdateCheckMode: Tags ^[0-9]+\.[0-9]+\.[0-9]+$
CurrentVersion: 0.13.5
CurrentVersionCode: 18
``` |
3aa0f2d1-69c7-4435-9eba-ff8b17c43304 | {
"language": "YAML"
} | ```yaml
language: python
python:
- 2.7
env:
matrix:
- PYZMQ='pyzmq==14.0.1'
- PYZMQ='pyzmq==14.0.0'
- PYZMQ='pyzmq==13.1.0'
- PYZMQ='pyzmq==13.0.2'
- PYZMQ='pyzmq==13.0.0'
matrix:
fast_finish: true
allow_failures:
- env: PYZMQ='pyzmq==14.0.0'
- env: PYZMQ='pyzmq==14.0.1'
script: nosetests
before_install:
- sudo apt-get update
- sudo apt-get install python-dev libevent-dev
install:
- "pip install nose gevent msgpack-python $PYZMQ"
- pip install . --no-deps
```
Add flake8 to Travis CI. | ```yaml
language: python
python:
- 2.7
env:
matrix:
- PYZMQ='pyzmq==14.0.1'
- PYZMQ='pyzmq==14.0.0'
- PYZMQ='pyzmq==13.1.0'
- PYZMQ='pyzmq==13.0.2'
- PYZMQ='pyzmq==13.0.0'
matrix:
fast_finish: true
allow_failures:
- env: PYZMQ='pyzmq==14.0.0'
- env: PYZMQ='pyzmq==14.0.1'
script:
- flake8 --ignore=E501,E128 zerorpc bin
- nosetests
before_install:
- sudo apt-get update
- sudo apt-get install python-dev libevent-dev
install:
- pip install flake8
- "pip install nose gevent msgpack-python $PYZMQ"
- pip install . --no-deps
``` |
ad0c4196-e969-434e-8f0d-fb7ee39ebbdc | {
"language": "YAML"
} | ```yaml
sudo: false
language: ruby
cache: bundler
rvm:
- 2.5
- 2.6
- 2.7
- jruby
- rbx-3
- ruby-head
before_install:
- gem update --system
- gem install bundler
matrix:
allow_failures:
- rvm: rbx-3
- rvm: jruby
```
Install correct bundler version for Travis | ```yaml
language: ruby
cache: bundler
rvm:
- 2.5
- 2.6
- 2.7
- jruby
- rbx-3
- truffleruby
- ruby-head
before_install:
- gem update --system
- gem install bundler:1.16.1
matrix:
allow_failures:
- rvm: rbx-3
- rvm: jruby
- rvm: truffleruby
``` |
2c2558be-4f3d-4555-ba1c-4d971ca74ed6 | {
"language": "YAML"
} | ```yaml
language: python
os: linux
matrix:
include:
- language: generic
os: osx
before_install:
- brew update
- brew install python3
- virtualenv env -p python3
- source env/bin/activate
- language: python
os: linux
python: 3.6
script: "./scripts/build-unix.sh"
deploy:
provider: releases
api_key:
secure: f8aJvEKPRq2L4GpLmZYn57S8YdDxdgLhdgig65DxpEB8OdwhiKlbsJt8JoTYfz3au5ocwvlvmnV+3HjZUiKcqjRudUCi87F73J1woGF+a/Az6h2dLGWeFb31pwVxRFJs32iLL0EMTvtIdEVjrUOt1DqP3vPAuEEzdQboZj6eZZg=
file_glob: true
file: "binary/divio-*"
skip_cleanup: true
overwrite: true
draft: true
name: $TRAVIS_TAG
tag: $TRAVIS_TAG
on:
repo: divio/divio-cli
tags: true
```
Update python3 setup for brew | ```yaml
language: python
os: linux
matrix:
include:
- language: generic
os: osx
before_install:
- brew update
- brew upgrade python
- pip3 install virtualenv
- virtualenv env -p python3
- source env/bin/activate
- language: python
os: linux
python: 3.6
script: "./scripts/build-unix.sh"
deploy:
provider: releases
api_key:
secure: f8aJvEKPRq2L4GpLmZYn57S8YdDxdgLhdgig65DxpEB8OdwhiKlbsJt8JoTYfz3au5ocwvlvmnV+3HjZUiKcqjRudUCi87F73J1woGF+a/Az6h2dLGWeFb31pwVxRFJs32iLL0EMTvtIdEVjrUOt1DqP3vPAuEEzdQboZj6eZZg=
file_glob: true
file: "binary/divio-*"
skip_cleanup: true
overwrite: true
draft: true
name: $TRAVIS_TAG
tag: $TRAVIS_TAG
on:
repo: divio/divio-cli
tags: true
``` |
406293bf-d313-47f5-9943-672c7baf4bca | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "7"
cache: yarn
install:
- yarn install
- cd client && yarn install && cd ../
jobs:
include:
- stage: client:test
script:
- cd client && yarn run test-coverage
- ls ./coverage/ && cat ./coverage/lcov.info
- cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage
- cd ../
- stage: client:build
script:
- cd client && yarn build
- cd ../
```
Use -p option for codacy-coverage | ```yaml
language: node_js
node_js:
- "7"
cache: yarn
install:
- yarn install
- cd client && yarn install && cd ../
jobs:
include:
- stage: client:test
script:
- cd client && yarn run test-coverage
- ls ./coverage/ && cat ./coverage/lcov.info
- cat ./coverage/lcov.info | node_modules/.bin/codacy-coverage -p .
- cd ../
- stage: client:build
script:
- cd client && yarn build
- cd ../
``` |
03ba7e4c-bee1-4d73-bef9-2a2408fccd1e | {
"language": "YAML"
} | ```yaml
---
# See: http://about.travis-ci.org/docs/user/languages/php/
language: php
php:
- 5.2
- 5.3
- 5.4
- 5.5
script: phpunit --coverage-text
```
Fix test run by actually giving a path. | ```yaml
---
# See: http://about.travis-ci.org/docs/user/languages/php/
language: php
php:
- 5.2
- 5.3
- 5.4
- 5.5
script: phpunit --coverage-text JJG/PingTest.php
``` |
90cbcf24-3bae-4a51-b377-91f42eefcaaa | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.6
- 7.0
- 7.1
cache:
directories:
- $HOME/.composer/cache/files
matrix:
fast_finish: true
include:
- php: 5.6
env: COMPOSER_FLAGS="--prefer-lowest" SYMFONY_DEPRECATIONS_HELPER=weak
- php: 7.0
env: SYMFONY_VERSION='2.8.*'
- php: 7.0
env: SYMFONY_VERSION='3.0.*'
- php: 7.1
env: SYMFONY_VERSION='3.0.*'
allow_failures:
- php: 7.1
before_install:
- echo "extension=ldap.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
- composer self-update
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/symfony=$SYMFONY_VERSION; fi
install: composer update $COMPOSER_FLAGS --prefer-dist
script:
- bin/phpspec run --format=pretty --no-interaction
```
Add PHP 7.1 and Symfony 3.2 to TravisCI builds. | ```yaml
language: php
php:
- 5.6
- 7.0
- 7.1
cache:
directories:
- $HOME/.composer/cache/files
matrix:
fast_finish: true
include:
- php: 5.6
env: COMPOSER_FLAGS="--prefer-lowest" SYMFONY_DEPRECATIONS_HELPER=weak
- php: 7.0
env: SYMFONY_VERSION='2.8.*'
- php: 7.0
env: SYMFONY_VERSION='3.1.*'
- php: 7.1
env: SYMFONY_VERSION='3.2.*'
before_install:
- echo "extension=ldap.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
- composer self-update
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/symfony=$SYMFONY_VERSION; fi
install: composer update $COMPOSER_FLAGS --prefer-dist
script:
- bin/phpspec run --format=pretty --no-interaction
``` |
f0e2bb40-8604-459f-b175-ef81e50134e8 | {
"language": "YAML"
} | ```yaml
language: ruby
sudo: false
branches:
only:
- master
rvm:
- 2.4.1
bundler_args: "--without development:production:intercode1_import"
cache:
bundler: true
directories:
- node_modules
- public/packs-test
yarn: true
before_script:
- nvm install
- npm install --global yarn
- yarn install
- cp config/database.yml.ci config/database.yml
- bin/rake db:create db:migrate RAILS_ENV=test
script:
- bin/rake test
- yarn run test
notifications:
slack:
secure: Ca/xHuvVik0EfevEAmMuLH+Ybd2yj7FuYsSmxJ/4dyxisuKg+tUvnJEZxnrU/QtHOdSyIh3ZAA4gVHd8PALuJ0HYOjotogqCZaQ0ZYTB7pKVvxc8u8YK7aY3P58guib7SrU3iRXsvjaV5xOflaBY4Ng1TQrkc8TCU4i8xZhWxWc=
env:
- DATABASE=sqlite
- DATABASE=mysql
- DATABASE=postgresql
addons:
code_climate:
repo_token: 2ec5e525d523a261ed68d45eb18865e8ea7a5b32751290cabde2d44f39e78cce
after_success:
- bundle exec codeclimate-test-reporter
```
Make sure the bundle is actually installable | ```yaml
language: ruby
sudo: false
branches:
only:
- master
rvm:
- 2.4.1
bundler_args: "--without development:production:intercode1_import"
cache:
bundler: true
directories:
- node_modules
- public/packs-test
yarn: true
before_script:
- nvm install
- npm install --global yarn
- yarn install
- yarn check
- cp config/database.yml.ci config/database.yml
- bin/rake db:create db:migrate RAILS_ENV=test
script:
- bin/rake test
- yarn run test
notifications:
slack:
secure: Ca/xHuvVik0EfevEAmMuLH+Ybd2yj7FuYsSmxJ/4dyxisuKg+tUvnJEZxnrU/QtHOdSyIh3ZAA4gVHd8PALuJ0HYOjotogqCZaQ0ZYTB7pKVvxc8u8YK7aY3P58guib7SrU3iRXsvjaV5xOflaBY4Ng1TQrkc8TCU4i8xZhWxWc=
env:
- DATABASE=sqlite
- DATABASE=mysql
- DATABASE=postgresql
addons:
code_climate:
repo_token: 2ec5e525d523a261ed68d45eb18865e8ea7a5b32751290cabde2d44f39e78cce
after_success:
- bundle exec codeclimate-test-reporter
``` |
3415ff67-938e-447a-bcc7-d1740561f03f | {
"language": "YAML"
} | ```yaml
language: php
php:
- 7.1
- 7.2
install:
- composer install
```
Enable builds on PHP 7.3.and 7.4 | ```yaml
language: php
php:
- 7.1
- 7.2
- 7.3
- 7.4
install:
- composer install
``` |
6f990804-79c0-4a28-bdb0-99a0ad6cdede | {
"language": "YAML"
} | ```yaml
language: scala
scala:
- 2.11.7
jdk:
- oraclejdk8
sudo: false
cache:
directories:
- $HOME/.sbt
- $HOME/.ivy2
- dynamodb-local
before_cache:
- find $HOME/.sbt -name "*.lock" -type f -delete -print
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete -print
script: sbt ++$TRAVIS_SCALA_VERSION test```
Update Travis location of dynamodb-local | ```yaml
language: scala
scala:
- 2.11.7
jdk:
- oraclejdk8
sudo: false
cache:
directories:
- $HOME/.sbt
- $HOME/.ivy2
- .dynamodb-local
before_cache:
- find $HOME/.sbt -name "*.lock" -type f -delete -print
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -type f -delete -print
script: sbt ++$TRAVIS_SCALA_VERSION test``` |
80d94d96-9f23-4fcb-a308-302950973eb1 | {
"language": "YAML"
} | ```yaml
language: node_js
install: npm install --production=false
node_js:
- "iojs-v1"
- "0.12"
- "0.10"
env:
- NODE_ENV=development
- NODE_ENV=production
```
Add io.js v2 to the test matrix | ```yaml
language: node_js
install: npm install --production=false
node_js:
- "iojs-v2"
- "iojs-v1"
- "0.12"
- "0.10"
env:
- NODE_ENV=development
- NODE_ENV=production
``` |
07ef3966-9941-45bb-a843-a698445bed3b | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- 0.12
- 4.4
addons:
apt:
packages:
- bluez
```
Add gcc 4.8 for building native packages | ```yaml
language: node_js
node_js:
- 0.12
- 4.4
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- bluez
sudo: require
install:
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi
- $CXX --version
- npm install --unsafe-perm
- npm install
``` |
71bea906-9d61-4cfb-8cf9-84fb4466d743 | {
"language": "YAML"
} | ```yaml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
- nightly
env:
- EVENT_STORE_VERSION='v3.0.3'
- EVENT_STORE_VERSION='v3.0.4'
- EVENT_STORE_VERSION='v3.0.5'
matrix:
allow_failures:
- php: hhvm
- php: nightly
before_install:
- wget http://download.geteventstore.com/binaries/EventStore-OSS-Linux-${EVENT_STORE_VERSION}.tar.gz
- tar xf EventStore*.tar.gz
- cd EventStore* && ./clusternode --mem-db 2>&1> eventstore.log &
install:
- composer install --dev --prefer-source --no-interaction
script: bin/phpunit --coverage-clover=coverage.clover --coverage-text --testdox
after_success:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
after_scripts:
- killall -SIGINT clusternode
- cat EventStore*/eventstore.log
```
Switch Travis to new container-based infrastructure | ```yaml
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
- nightly
env:
- EVENT_STORE_VERSION='v3.0.3'
- EVENT_STORE_VERSION='v3.0.4'
- EVENT_STORE_VERSION='v3.0.5'
sudo: false
matrix:
allow_failures:
- php: hhvm
- php: nightly
before_install:
- wget http://download.geteventstore.com/binaries/EventStore-OSS-Linux-${EVENT_STORE_VERSION}.tar.gz
- tar xf EventStore*.tar.gz
- cd EventStore* && ./clusternode --mem-db 2>&1> eventstore.log &
install:
- composer install --dev --prefer-source --no-interaction
script: bin/phpunit --coverage-clover=coverage.clover --coverage-text --testdox
after_success:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
after_scripts:
- killall -SIGINT clusternode
- cat EventStore*/eventstore.log
``` |
c307d7e0-f00f-4ab0-b163-c519916bff1e | {
"language": "YAML"
} | ```yaml
language: node_js
node_js:
- "7"
- "6"
- "5"
install:
- yarn install
script:
- yarn run make
after_success:
- yarn run codecov```
Fix for ci config ._. | ```yaml
language: node_js
node_js:
- "7"
- "6"
- "5"
install:
- npm install
script:
- npm run make
after_success:
- npm run codecov``` |
2205fd80-39b1-4f01-b7c8-7aa90f7cf9da | {
"language": "YAML"
} | ```yaml
language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- "2.0.0"
- "2.1.1"
- jruby-19mode
- rbx
services:
- redis-server
```
Install latest bundler on Travis | ```yaml
language: ruby
rvm:
- "1.9.2"
- "1.9.3"
- "2.0.0"
- "2.1.1"
- jruby-19mode
- rbx
services:
- redis-server
before_install:
- gem install bundler
``` |
ff5a1b94-0a19-4b6c-a938-1eb762e523df | {
"language": "YAML"
} | ```yaml
language: rust
sudo: required
dist: trusty
cache:
directories:
- ~/llvm
matrix:
include:
- os: linux
rust: stable
# - os: osx
# rust: stable
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./build_linux.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew config;
brew update;
brew install -v https://raw.githubusercontent.com/Homebrew/homebrew-versions/master/llvm38.rb; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export LIBCLANG_STATIC_PATH=~/clang/lib; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export LLVM_CONFIG_PATH=/usr/local/bin/llvm-config-3.8; export LIBCLANG_STATIC_PATH=`/usr/local/bin/llvm-config-3.8 --libdir`; fi
- cargo build --verbose
- RUST_TEST_THREADS=1 cargo test --verbose
```
Add coverage to linux build | ```yaml
language: rust
sudo: required
dist: trusty
cache:
directories:
- ~/llvm
matrix:
include:
- os: linux
rust: stable
# - os: osx
# rust: stable
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./build_linux.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew config;
brew update;
brew install -v https://raw.githubusercontent.com/Homebrew/homebrew-versions/master/llvm38.rb; fi
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export LIBCLANG_STATIC_PATH=~/clang/lib; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export LLVM_CONFIG_PATH=/usr/local/bin/llvm-config-3.8; export LIBCLANG_STATIC_PATH=`/usr/local/bin/llvm-config-3.8 --libdir`; fi
- cargo build --verbose
- RUST_TEST_THREADS=1 cargo test --verbose
after_success: |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get install libcurl4-openssl-dev libelf-dev libdw-dev &&
wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&
tar xzf master.tar.gz &&
mkdir kcov-master/build &&
cd kcov-master/build &&
cmake .. &&
make &&
sudo make install &&
cd ../.. &&
kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo target/kcov target/debug/cpp-codegen-rs-*;
fi
``` |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.