Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Update from Hackage at 2018-09-21T23:39:40Z
homepage: '' changelog-type: '' hash: bdc0d86dafd5fe5c4ae7ab14777b571b6b286ba0520e46846397e4f5e345e2c5 test-bench-deps: base: -any string-qq: -any megaparsec: -any language-ocaml: -any interpolate: -any tasty-hunit: -any prettyprinter: -any tasty: -any maintainer: valentin.robert.42@gmail.com synopsis: Language tools for manipulating OCaml programs in Haskell changelog: '' basic-deps: extensible-effects: ! '>=3.0 && <3.1' base: ! '>=4.9 && <4.11' string-qq: ! '>=0.0 && <0.1' megaparsec: ! '>=6.0 && <6.5' data-default: ! '>=0.7 && <0.8' array: ! '>=0.5 && <0.6' containers: ! '>=0.5 && <0.7' lens: ! '>=4.16 && <4.17' interpolate: ! '>=0.2 && <0.3' mtl: ! '>=2.2 && <2.3' tasty-hunit: ! '>=0.9 && <0.11' prettyprinter: ! '>=1.2 && <1.3' tasty: ! '>=1.0 && <1.1' all-versions: - '0.1.31' author: Valentin Robert latest: '0.1.31' description-type: haddock description: ! 'Language tools for manipulating OCaml programs in Haskell. Curently includes a Alex/Happy parser, and a pretty-printer.' license-name: MIT
Update from Hackage at 2020-09-27T22:38:02Z
homepage: https://acatalepsie.fr/projects/achille changelog-type: '' hash: 9c3da15138c38291ed5c21974d9d20cf8962524bc6e906093c643d2a98b85d1f test-bench-deps: bytestring: -any base: '>=4.11 && <5' time: -any text: -any filepath: -any containers: -any mtl: -any tasty-hunit: -any tasty: -any achille: -any Glob: -any directory: -any maintainer: Lucas Escot <lucas@escot.me> synopsis: A library for building static site generators changelog: '' basic-deps: bytestring: '>=0.10.10 && <0.11' frontmatter: '>=0.1.0 && <0.2' base: '>=4.11 && <5' time: '>=1.9.3 && <1.10' text: '>=1.2.4 && <1.3' filepath: '>=1.4.2 && <1.5' process: '>=1.6.9 && <1.7' data-default: '>=0.7.1 && <0.8' pandoc-types: '>=1.20 && <1.21' pandoc: '>=2.9.2 && <2.10' binary: '>=0.8.7 && <0.9' binary-instances: '>=1.0.0 && <1.1' optparse-applicative: '>=0.15.1 && <0.16' Glob: '>=0.10.1 && <0.11' aeson: '>=1.4.7 && <1.5' directory: '>=1.3.6 && <1.4' all-versions: - 0.0.0 author: Lucas Escot <lucas@escot.me> latest: 0.0.0 description-type: haddock description: |- achille is a library for building incremental static site generators. For more information, see here: <https://acatalepsie.fr/projects/achille>. license-name: MIT
Add check for no duplicate bosh releases
# Source: bosh-exporter --- - type: replace path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/custom_rules?/- value: name: BoshDuplicateReleases rules: - alert: BoshDuplicateReleases_Warning expr: | count by (bosh_release_name) ( count by (bosh_release_name, bosh_release_version) (bosh_deployment_release_info{bosh_release_name!="bpm"}) ) > 1 labels: severity: warning for: 2h annotations: summary: "Duplicate bosh release of {{ $labels.bosh_release_name }}" description: "There are {{ $value }} versions of {{ $labels.bosh_release_name }} and we should probably only have one"
Add recipe for stdlibs package from PyPI
{% set name = "stdlibs" %} {% set version = "2022.6.8" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/stdlibs-{{ version }}.tar.gz sha256: fa978cbf5105474a416c515e82752a8a3d833f4513977da0a6a599a3e608b438 build: noarch: python script: {{ PYTHON }} -m pip install . -vv number: 0 requirements: host: - python >=3.6 - pip - flit >=3,<4 run: - python >=3.6 test: imports: - stdlibs commands: - pip check requires: - pip about: home: https://stdlibs.omnilib.dev summary: List of packages in the stdlib license: MIT license_file: LICENSE extra: recipe-maintainers: - dstoeckel - nicornk
Add a sample manifest.yml file in node.server
--- applications: - name: flux memory: 512M host: flux services: - flux-rabbit-test env: FLUX_GITHUB_CLIENT_ID: ...get-your-own... FLUX_GITHUB_CLIENT_SECRET: ...get-your-own...
Update from Hackage at 2020-06-26T01:07:15Z
homepage: https://github.com/mbg/c14n#readme changelog-type: '' hash: 01e67f2c70abec2930575ba2f31a9ae3e5abed5d088dd24571c834016bee08ba test-bench-deps: {} maintainer: m.gale@warwick.ac.uk synopsis: Bindings to the c14n implementation in libxml. changelog: '' basic-deps: bytestring: -any base: '>=4.8 && <5' all-versions: - 0.1.0.0 author: Michael B. Gale latest: 0.1.0.0 description-type: haddock description: Please see the README on GitHub at <https://github.com/mbg/c14n#readme> license-name: MIT
Set up GitHub Actions for deploying to gh-pages
name: Build and deploy on: push: branches: - main workflow_dispatch: jobs: build-and-deploy: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Read .nvmrc run: echo ::set-output name=NVMRC::$(cat .nvmrc) id: nvm - name: Set up Node.js uses: actions/setup-node@v1 with: node-version: '${{ steps.nvm.outputs.NVMRC }}' - name: Install dependencies run: | npm install echo "$(npm bin)" >> $GITHUB_PATH - name: Build dist run: | npm run build - name: Deploy uses: JamesIves/github-pages-deploy-action@4.1.7 with: single-commit: true branch: gh-pages folder: dist ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
Add automation for tracking new items to discuss during sync calls
name: Discuss during sync on: issues: types: - opened - reopened issue_comment: types: - created pull_request_target: types: - opened - edited - ready_for_review - reopened pull_request_review: types: - submitted jobs: add-label: runs-on: ubuntu-latest steps: - name: Add "discuss during sync" label to active GH entity uses: andymckay/labeler@467347716a3bdbca7f277cb6cd5fa9c5205c5412 with: add-labels: "discuss during sync"
Add recipe for Caelus Python Library
{% set name = "caelus" %} {% set version = "1.0.2" %} package: name: {{ name | lower }} version: {{ version }} source: url: https://github.com/sayerhs/cpl/archive/refs/tags/v{{ version }}.tar.gz sha256: 1bd247675b7c13b022afcee3f17e24d7080bc2f6b8e9b090492726c7bb0a7e6f build: noarch: python number: 0 script: "{{ PYTHON }} -m pip install . -vv" requirements: host: - python=3 - pip - setuptools run: - python=3 - six - numpy - matplotlib - pyyaml - ply - pytz - jinja2 test: imports: - caelus about: home: https://caelus-cml.com license: Apache-2.0 license_family: APACHE license_file: LICENSE.txt summmary: 'Python library for use with Caelus CML and OpenFOAM' doc_url: https://caelus.readthedocs.io/ dev_url: https://github.com/sayerhs/cpl extra: recipe-maintainers: - sayerhs - cnsidero
Set up CI with Azure Pipelines
# Ruby # Package your Ruby project. # Add steps that install rails, analyze code, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/ruby trigger: - master pool: vmImage: 'Ubuntu-16.04' steps: - task: UseRubyVersion@0 inputs: versionSpec: '>= 2.5' - script: | gem install bundler bundle install --retry=3 --jobs=4 displayName: 'bundle install' - script: bundle exec rake displayName: 'bundle exec rake'
Update from Hackage at 2017-04-13T18:50:05Z
homepage: '' changelog-type: '' hash: c9ba677cf88e5c86c0d9867b5271b33073297743cca47e9f02b2016372f048a5 test-bench-deps: {} maintainer: sen.cenan@gmail.com synopsis: simpe tool to serve piped data over http and websocket changelog: '' basic-deps: warp: ! '>=3.2.11.1' MissingH: ! '>=1.4.0.1' conduit-combinators: ! '>=1.1.1' wai-websockets: ! '>=3.0.1.1' bytestring: ! '>=0.10.8.1' wai: ! '>=3.2.1.1' stm: ! '>=2.4.4.1' base: ==4.9.* text: ! '>=1.2.2.1' async: ! '>=2.1.1' websockets: ! '>=0.10.0.0' stm-conduit: ! '>=3.0.0' conduit-extra: ! '>=1.1.15' stm-chans: ! '>=3.0.0.4' optparse-applicative: ! '>=0.13.2.0' http-types: ! '>=0.9.1' template-haskell: ! '>=2.11.1.0' all-versions: - '0.1.0.0' author: sen.cenan@gmail.com latest: '0.1.0.0' description-type: haddock description: simpe tool to serve piped data over http and websocket license-name: MIT
Update from Forestry.io - Updated Forestry configuration
--- label: The Go Programming Language hide_body: is_partial: fields: - name: date label: Date type: datetime hidden: false default: '' - name: title label: Title type: text hidden: false default: ''
Enforce repo yaml privacy key.
repoVisibility: public_0C3F0CE3E6E6448FAD341E7BFA50FCD333E06A20CFF05FCACE61154DDBBADF71
Update from Forestry.io - Updated Forestry configuration
--- upload_path: "/uploads/:year:/:month:/:day:" frontmatter_file_url_template: "/uploads/:year:/:month:/:day:" body_file_url_template: "/uploads/:year:/:month:/:day:" new_page_extension: md auto_deploy: false admin_path: webhook_url: collections:
Add credentials for Travis CI
--- .travis.yml: secure: "1FrH01ZPoWNG/MaGaBO/Ga1E6y1UAKPsI41KPk3U5mIU4lq/H8AzliIiMuWabimD3qmu+RLRp+K+kqDEASZt8gL1gPte+UXiZy8UlwDv7WwyjLRngsRqQdf66+iPyrT6DyzEx3uv1L6f3UOhFMlQJ+vH0hB5G61aWziqyWiCkgw="
Enable security scanning with GitHub CodeQL
# For most projects, this workflow file will not need changing; you simply need # to commit it to your repository. # # You may wish to alter this file to override the set of languages analyzed, # or to provide custom queries or build logic. # # ******** NOTE ******** # We have attempted to detect the languages in your repository. Please check # the `language` matrix defined below to confirm you have the correct set of # supported CodeQL languages. # name: "CodeQL" on: push: branches: [ master ] pull_request: # The branches below must be a subset of the branches above branches: [ master ] schedule: - cron: '16 8 * * 3' jobs: analyze: name: Analyze runs-on: ubuntu-latest permissions: actions: read contents: read security-events: write strategy: fail-fast: false matrix: language: [ 'javascript' ] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] # Learn more about CodeQL language support at https://git.io/codeql-language-support steps: - name: Checkout repository uses: actions/checkout@v2 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v1 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild uses: github/codeql-action/autobuild@v1 # ℹ️ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines # and modify them (or add more) to build your code if your project # uses a compiled language #- run: | # make bootstrap # make release - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v1
Update from Hackage at 2017-12-15T13:06:22Z
homepage: https://github.com/Qinka/hOff changelog-type: markdown hash: d1b6f898b292b39d85969dab71eb91613c97d11eff22a3e314ddcc4401b064a9 test-bench-deps: {} maintainer: qinka@live.com synopsis: The parser to parser the OFF(Object File Format, Princeton ModelNet). changelog: ! '# Revision history for hOff-parser ## 0.1.0.0 -- YYYY-mm-dd * First version. Released on an unsuspecting world. ' basic-deps: base: ! '>=4 && <5' parsec: -any all-versions: - '0.1.0.0' author: Johann Lee latest: '0.1.0.0' description-type: haddock description: The parser to parset the OFF(Object File Format, Princeton ModelNet dataset) to help other program to display these data. license-name: GPL-3
Update from Hackage at 2016-11-15T15:11:25Z
homepage: '' changelog-type: '' hash: d411e87ee176e63c11c13b44c7564608bcd77a0cf4ec5630e242043b569a4621 test-bench-deps: {} maintainer: Kristof Bastiaensen synopsis: Opentype loading and writing changelog: '' basic-deps: ghc: ! '>=7.10.0' bytestring: ! '>0.10.0' base: ! '>=3 && <5' time: ! '>1.4.0' pretty-hex: ! '>=1.0' containers: ! '>=0.5.3' binary: ! '>=0.8.1.0' vector: ! '>=0.10' all-versions: - '0.0.1' author: Kristof Bastiaensen latest: '0.0.1' description-type: haddock description: This library supports loading and writing of opentype files. license-name: BSD3
Add md5sum check for swift rings after ring-sync
--- # Copyright 2014, Rackspace US, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - include: swift_rings_md5sum.yml - include: swift_rings_check.yml when: > inventory_hostname == groups['swift_hosts'][0] - include: swift_rings_build.yml when: > inventory_hostname == groups['swift_hosts'][0] - include: swift_rings_distribute.yml
--- # Copyright 2014, Rackspace US, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - include: swift_rings_md5sum.yml - include: swift_rings_check.yml when: > inventory_hostname == groups['swift_hosts'][0] - include: swift_rings_build.yml when: > inventory_hostname == groups['swift_hosts'][0] - include: swift_rings_distribute.yml - include: swift_rings_md5sum.yml - include: swift_rings_check.yml when: > inventory_hostname == groups['swift_hosts'][0]
Update from Hackage at 2018-04-06T15:57:17Z
homepage: '' changelog-type: '' hash: 9999a63af4e7301d3f521aa119dadcee6e30a2215aeabe021ef7f6caf16f5a90 test-bench-deps: {} maintainer: andrew.pennebaker@gmail.com synopsis: minimal ncurses-like library changelog: '' basic-deps: base: ! '>=4.3.1.0 && <5' random-shuffle: ==0.0.4.* random: ! '>=1.1 && <2' all-versions: - '0.0.1' - '0.0.2' author: Andrew Pennebaker latest: '0.0.2' description-type: haddock description: A basic ncurses-like library license-name: BSD3
Add an action to sync labels
on: [issues, pull_request] name: Sync repo labels jobs: sync: runs-on: ubuntu-latest steps: - uses: rowanmanning/github-labels@v1 with: github-token: ${{ secrets.GITHUB_TOKEN }}
Update from Hackage at 2020-01-31T15:51:54Z
homepage: https://github.com/byteverse/lz4-bytes changelog-type: markdown hash: 0b80b6449e5da4c90ef7d940f49d4c8cde9461b8a5f18e9ee4805fce7bb896c5 test-bench-deps: base: ! '>=4.11.1 && <5' lz4-bytes: -any byteslice: -any tasty-quickcheck: -any tasty: -any primitive: -any maintainer: andrew.thaddeus@gmail.com synopsis: Bindings to LZ4 changelog: | # Revision history for lz4-bytes ## 0.1.0.0 -- 2020-01-31 * First version. Released on an unsuspecting world. basic-deps: base: ! '>=4.12 && <5' run-st: ! '>=0.1.1 && <0.2' byteslice: ! '>=0.1.4 && <0.3' primitive: ! '>=0.7 && <0.8' all-versions: - 0.1.0.0 author: Andrew Martin latest: 0.1.0.0 description-type: haddock description: |- This library is similar to the @lz4@ library except that it works with the @Bytes@ type from @byteslice@ rather than @ByteString@. license-name: BSD-3-Clause
Update from Hackage at 2018-08-02T09:46:53Z
homepage: https://github.com/metrix-ai/cereal-unordered-containers changelog-type: '' hash: e47c65f76633248fccdea1f38de952473edf7a28cf05af38e64b681a47305c92 test-bench-deps: {} maintainer: Metrix.AI Ninjas <ninjas@metrix.ai> synopsis: Integration of "cereal" and "unordered-containers" changelog: '' basic-deps: cereal: ! '>=0.5.5 && <0.6' base: <5 unordered-containers: ! '>=0.2 && <0.3' hashable: ! '>=1.2 && <2' all-versions: - '0.1' author: Nikita Volkov <nikita.y.volkov@mail.ru> latest: '0.1' description-type: haddock description: '' license-name: MIT
Add config file for RuboCop into project template
Layout/Tab: Enabled: false Layout/IndentationWidth: Width: 1 Layout/MultilineMethodCallIndentation: EnforcedStyle: indented AllCops: TargetRubyVersion: 2.3 Metrics/BlockLength: Exclude: - Rakefile - db/migrations/*
Update from Hackage at 2022-09-15T09:06:35Z
homepage: https://github.com/4eUeP/foreign changelog-type: markdown hash: 718514c63f4053c4ade83444178e00527e51694b9c2ffbf518329f18a6453da0 test-bench-deps: base: '>=4.14 && <5' hspec: -any QuickCheck: -any foreign: -any maintainer: mu@laxcat.xyz synopsis: A collection of helpers for ffi. changelog: | # Changelog for foreign ## Unreleased changes basic-deps: base: '>=4.14 && <5' primitive-unlifted: ^>=1.0 ghc-prim: '>=0.5 && <1.0' primitive: ^>=0.7 all-versions: - 0.1.0.0 author: mu latest: 0.1.0.0 description-type: markdown description: | # foreign A collection of data types, classes, and functions for easing your ffi experience. license-name: BSD-3-Clause
Fix issue with npm upgrade on node.js v0.8
rvm: "1.9.2" before_install: - npm install -g npm - ruby --version - gem --version - rvm --version - bundle install script: "rake" language: node_js node_js: - "0.11" - "0.10" - "0.8" matrix: allow_failures: - node_js: "0.11" notifications: email: - jb@jbpros.com irc: - "irc.freenode.org#cucumber"
rvm: "1.9.2" before_install: - '[ "${TRAVIS_NODE_VERSION}" != "0.8" ] || npm install -g npm@1.4.28' - npm install -g npm@latest - ruby --version - gem --version - rvm --version - bundle install script: "rake" language: node_js node_js: - "0.11" - "0.10" - "0.8" matrix: allow_failures: - node_js: "0.11" notifications: email: - jb@jbpros.com irc: - "irc.freenode.org#cucumber"
Set up CI with Azure Pipelines
# Go # Build your Go project. # Add steps that test, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/languages/go trigger: - master pool: vmImage: 'ubuntu-latest' variables: GOBIN: '$(GOPATH)/bin' # Go binaries path GOROOT: '/usr/local/go1.11' # Go installation path GOPATH: '$(system.defaultWorkingDirectory)/gopath' # Go workspace path modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' # Path to the module's code steps: - script: | mkdir -p '$(GOBIN)' mkdir -p '$(GOPATH)/pkg' mkdir -p '$(modulePath)' shopt -s extglob shopt -s dotglob mv !(gopath) '$(modulePath)' echo '##vso[task.prependpath]$(GOBIN)' echo '##vso[task.prependpath]$(GOROOT)/bin' displayName: 'Set up the Go workspace' - script: | go version go get -v -t -d ./... if [ -f Gopkg.toml ]; then curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh dep ensure fi go build -v . workingDirectory: '$(modulePath)' displayName: 'Get dependencies, then build'
Update from Forestry.io - Updated Forestry configuration
--- label: Blog post hide_body: false fields: - type: datetime name: date label: date - type: text name: title label: title - type: text name: slug label: slug - type: list name: tags label: tags - type: list name: categories label: categories
Add a GH Action workflow
name: Build on: push: branches: [ master, 3x ] pull_request: workflow_dispatch: jobs: build: name: Build - JDK ${{ matrix.java }} runs-on: ubuntu-latest strategy: fail-fast: false matrix: java: [ "8", "11", "17" ] steps: - uses: actions/checkout@v3 - name: Set up JDK ${{ matrix.java }} uses: actions/setup-java@v3 with: java-version: ${{ matrix.java }} distribution: 'temurin' cache: maven - name: Build with Maven run: mvn -B -e -Prelease -Dgpg.skip=true clean install - name: Run ITs and coverage run: mvn -B -e verify -Pcoveralls
Set up CI with Azure Pipelines
# .NET Desktop # Build and run tests for .NET Desktop or Windows classic desktop solutions. # Add steps that publish symbols, save build artifacts, and more: # https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net trigger: - master pool: vmImage: 'VS2017-Win2016' variables: solution: 'MailKit.sln' buildPlatform: 'Any CPU' buildConfiguration: 'Release' majorVersion: 2 minorVersion: 1 patchVersion: 3 steps: - script: git submodule update --init --recursive - task: NuGetToolInstaller@0 displayName: 'Install NuGet 4.9.2' inputs: versionSpec: 4.9.2 - task: NuGetCommand@2 displayName: 'Restore NuGet Package Dependencies' inputs: restoreSolution: '$(solution)' - task: VSBuild@1 displayName: 'Build $(solution) for $(buildConfiguration)|$(buildPlatform)' inputs: solution: '$(solution)' platform: '$(buildPlatform)' configuration: '$(buildConfiguration)' - powershell: '.\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -filter:"+[MailKit]* -[UnitTests]* -[submodules]*" -target:"packages\NUnit.Runners.2.6.4\tools\nunit-console.exe" -targetargs:"/framework:net-4.5 /noshadow /domain:single /out:UnitTests\bin\Release\TEST-UnitTests.xml UnitTests\bin\Release\UnitTests.dll" -output:opencover.xml' displayName: 'Run Unit Tests' - task: PublishTestResults@2 displayName: 'Publish Unit Test Results' - task: NuGetCommand@2 displayName: 'Package MailKit' inputs: command: pack packagesToPack: nuget/MailKit.nuspec versioningScheme: byBuildNumber majorVersion: '$(majorVersion)' minorVersion: '$(minorVersion)' patchVersion: '$(patchVersion)' - task: PublishBuildArtifacts@1 displayName: 'Publish MailKit NuGet package' inputs: ArtifactName: 'MailKit-$(majorVersion).$(minorVersion).$(patchVersion)'
Update from Hackage at 2019-01-01T03:14:42Z
homepage: github.com/cartazio/unboxed changelog-type: markdown hash: a4b6486f45009e22600c7f8b65b18b7193d03f5d2f3a6e7e54a8e17654ed4754 test-bench-deps: {} maintainer: carter at wellposed dot com synopsis: All the standard sum types but strict and unboxed as possible changelog: | # Revision history for unboxed ## 0.1.0.0 -- YYYY-mm-dd * First version. Released on an unsuspecting world. basic-deps: base: ! '>=4.10 && <5' ghc-prim: -any all-versions: - 0.1.0.0 author: Carter Tazio Schonwald latest: 0.1.0.0 description-type: haddock description: experimental package for unlifted / unboxed sum types. Expect dicoveries of new ways to make GHC cry. license-name: BSD-3-Clause
Add config for running notebooks on Travis.
# After changing this file, check it on: # http://lint.travis-ci.org/ language: python sudo: false python: - 3.4 - 3.5 before_install: # Taken from: http://conda.pydata.org/docs/travis.html # Need to make sure Travis' env isn't running, or Jupyter will pick it up - deactivate # We do this conditionally because it saves us some downloading if the # version is the same. - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; - bash miniconda.sh -b -p $HOME/miniconda - export PATH="$HOME/miniconda/bin:$PATH" - hash -r - conda config --set always_yes yes --set changeps1 no - conda update -q conda # Useful for debugging any issues with conda - conda info -a - sed -i -e "s/python=3/python=$TRAVIS_PYTHON_VERSION/" environment.yml install: - conda env create -f environment.yml - source activate unidata-workshop - python --version script: - find . -name \*.ipynb -print0 | xargs -0 -n1 jupyter nbconvert --execute --ExecutePreprocessor.timeout=60 --to=notebook --stdout >| /dev/null;
Update from Hackage at 2018-11-11T13:19:28Z
homepage: '' changelog-type: '' hash: 20eb8fb3beaeb5a0a7aae3289e606dacf244a0bf25527e67b8ac2b6abbc324b1 test-bench-deps: {} maintainer: tek@tryp.io synopsis: neovim project manager changelog: '' basic-deps: base: ! '>=4.7 && <5' nvim-hs: ! '>=1 && <2' all-versions: - '0.1.0.0' author: Torsten Schmits latest: '0.1.0.0' description-type: markdown description: ! '# Intro A neovim plugin that provides project-specific configuration file loading. ' license-name: MIT
Add Travis CI configuration for Android.
language: android android: components: - platform-tools - build-tools-23.0.1 - android-23 - extra-android-m2repository - sys-img-armeabi-v7a-android-19 before_cache: - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock cache: directories: - node_modules - .nvm - $HOME/.gradle/caches/ - $HOME/.gradle/wrapper/ install: - nvm install 4 - npm install -g nativescript --ignore-scripts - tns usage-reporting disable - tns platform add android before_script: - echo no | android create avd --force -n test -t android-19 -b armeabi-v7a - emulator -avd test -no-audio -no-window & - android-wait-for-emulator script: - tns test android --emulator
Add extra-deps for running tests
flags: {} packages: - '.' extra-deps: # Absent from LTS 2.13 - mime-0.4.0.2 - github-0.13.2 - titlecase-0.1.0.1 - yesod-markdown-0.9.4 # Transitive dep of github - failure-0.2.0.3 resolver: lts-2.13
flags: {} packages: - '.' extra-deps: # Absent from LTS 2.13 - mime-0.4.0.2 - github-0.13.2 - titlecase-0.1.0.1 - yesod-markdown-0.9.4 # Transitive dep of github - failure-0.2.0.3 # Constrained to different version by cabal file - yesod-test-1.4.2.2 resolver: lts-2.13
Update from Hackage at 2017-10-08T20:04:39Z
homepage: https://github.com/ilya-murzinov/postgres-embedded changelog-type: '' hash: 38313f3098f3a3a851245743abaa8396b4430cd4eda7b6074ed3cd30d84e7607 test-bench-deps: base: -any filepath: -any postgres-embedded: -any maintainer: murz42@gmail.com synopsis: '' changelog: '' basic-deps: base: ! '>=4.7 && <5' HDBC: -any filepath: -any HDBC-postgresql: -any shell-conduit: -any directory: -any all-versions: - '0.1.0' author: Ilya Murzinov latest: '0.1.0' description-type: markdown description: ! '# postgres-embedded Haskell API for starting/stopping embedded PostgreSQL instance.' license-name: MIT
Add exome pipeline template yaml.
#!/usr/bin/env cwl-runner cwl:tool: exome_pipeline.cwl reference: class: File path: keep:591f8a4326389d97bbbb01ddd1bcd606+8203/GRCh38_full_analysis_set_plus_decoy_hla.fa mills: class: File path: keep:591f8a4326389d97bbbb01ddd1bcd606+8203/Mills_and_1000G_gold_standard.indels.hg38.vcf.gz known_indels: class: File path: keep:591f8a4326389d97bbbb01ddd1bcd606+8203/Homo_sapiens_assembly38.known_indels.vcf.gz dbsnp: class: File path: keep:591f8a4326389d97bbbb01ddd1bcd606+8203/Homo_sapiens_assembly38.dbsnp138.vcf.gz interval_list: class: File path: keep:d8abfaae11ae3416b6bb95f72671d133+205/xgen-exome-research-panel-targets.interval_list bams: - { class: File, path: '' } - { class: File, path: '' } readgroups: ['', '']
Deploy rules for GitHub Packages
# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created # For more information see: https://github.com/actions/setup-java#apache-maven-with-a-settings-path name: Maven Deploy on: release: types: [created] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up JDK 1.8 uses: actions/setup-java@v1 with: java-version: 1.8 server-id: github # Value of the distributionManagement/repository/id field of the pom.xml settings-path: ${{ github.workspace }} # location for the settings.xml file - name: Build with Maven run: mvn -B package --file pom.xml - name: Publish to GitHub Packages Apache Maven run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml env: GITHUB_TOKEN: ${{ github.token }}
Set up CI with VSTS Pipelines
# Node.js with webpack # Build a Node.js application using the webpack CLI. # Add steps that analyze code, save build artifacts, deploy, and more: # https://docs.microsoft.com/vsts/pipelines/languages/javascript pool: vmImage: 'Ubuntu 16.04' steps: - task: NodeTool@0 inputs: versionSpec: '10.x' displayName: 'Install Node.js' - script: | npm install npm run build displayName: 'npm install, npm run build'
Exclude delayed_job specs from invalid rubies.
language: ruby cache: bundler gemfile: - gemfiles/standalone.gemfile - gemfiles/binding_of_caller.gemfile - gemfiles/delayed_job.gemfile - gemfiles/rails2.3.gemfile - gemfiles/rails.gemfile rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.2 - jruby-18mode - jruby-19mode matrix: fast_finish: true allow_failures: - rvm: jruby-18mode - rvm: jruby-19mode - rvm: 1.9.2 exclude: - rvm: jruby-18mode gemfile: gemfiles/binding_of_caller.gemfile - rvm: jruby-18mode gemfile: gemfiles/rails.gemfile - rvm: jruby-19mode gemfile: gemfiles/binding_of_caller.gemfile - rvm: 1.8.7 gemfile: gemfiles/binding_of_caller.gemfile - rvm: 1.8.7 gemfile: gemfiles/rails.gemfile - rvm: 1.9.2 gemfile: gemfiles/rails.gemfile
language: ruby cache: bundler gemfile: - gemfiles/standalone.gemfile - gemfiles/binding_of_caller.gemfile - gemfiles/delayed_job.gemfile - gemfiles/rails2.3.gemfile - gemfiles/rails.gemfile rvm: - 1.8.7 - 1.9.2 - 1.9.3 - 2.0.0 - 2.1.2 - jruby-18mode - jruby-19mode matrix: fast_finish: true allow_failures: - rvm: jruby-18mode - rvm: jruby-19mode - rvm: 1.9.2 exclude: - rvm: jruby-18mode gemfile: gemfiles/binding_of_caller.gemfile - rvm: jruby-18mode gemfile: gemfiles/delayed_job.gemfile - rvm: jruby-18mode gemfile: gemfiles/rails.gemfile - rvm: jruby-19mode gemfile: gemfiles/binding_of_caller.gemfile - rvm: 1.8.7 gemfile: gemfiles/binding_of_caller.gemfile - rvm: 1.8.7 gemfile: gemfiles/rails.gemfile - rvm: 1.8.7 gemfile: gemfiles/delayed_job.gemfile - rvm: 1.9.2 gemfile: gemfiles/rails.gemfile - rvm: 1.9.2 gemfile: gemfiles/delayed_job.gemfile
Revert "Force push to S3"
language: ruby cache: bundler rvm: - 2.2 install: bundle install script: JEKYLL_ENV=production bundle exec jekyll build after_success: s3_website push --force
language: ruby cache: bundler rvm: - 2.2 install: bundle install script: JEKYLL_ENV=production bundle exec jekyll build after_success: s3_website push
Add initial guess at Travis CI config
language: cpp compiler: - gcc - clang before_script: - sudo apt-get update -qq - sudo apt-get install -qq libgsl0-dev libmpich2-dev libboost-all-dev script: ./bootstrap && ./configure && make && make check
Build on linux and windows with GitHub Actions
name: CMake on: [push] env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) BUILD_TYPE: Release jobs: build-linux: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - name: Install dependencies run: sudo apt-get install libegl1-mesa-dev libgles2-mesa-dev libsdl2-dev libsdl2-mixer-dev - name: Configure CMake # Use a bash shell so we can use the same syntax for environment variable # access regardless of the host operating system shell: bash run: cmake -S . -B ${{runner.workspace}}/build -DCMAKE_BUILD_TYPE=$BUILD_TYPE - name: Build shell: bash # Execute the build. You can specify a specific target with "--target <NAME>" run: cmake --build ${{runner.workspace}}/build --config $BUILD_TYPE build-windows: runs-on: windows-latest steps: - uses: actions/checkout@v2 - name: Configure CMake shell: powershell run: cmake -S . -B ${{runner.workspace}}/build - name: Build shell: powershell run: cmake --build ${{runner.workspace}}/build --config $BUILD_TYPE
Add a github action config
name: Rust on: pull_request: branches: - master jobs: build: runs-on: ubuntu-latest strategy: matrix: rust: [stable, beta, nightly] steps: - uses: hecrj/setup-rust-action@v1 with: rust-version: ${{ matrix.rust }} - name: Build run: cargo build --verbose - name: Run tests run: cargo test --verbose - name: Build docs run: cargo doc --verbose
Add new rule which triggers workroom_st2enterprise build on each push to workroom master.
--- name: "st2_workroom_st2enterprise_test_u14" description: "Test st2workroom on each commit to master" pack: "st2cd" enabled: true trigger: type: "GitHubWebhook.github_event" criteria: trigger.body.ref: pattern: "refs/heads/master" type: "equals" trigger.body.repository.full_name: pattern: "StackStorm/st2workroom" type: "equals" action: ref: "st2cd.st2workroom_st2enterprise_test" parameters: hostname: "st2w-master-st2enterprise-{{trigger.parameters.branch}}-u14-{{trigger.execution_id}}" build: "{{system.st2_master_build_number}}" version: "{{system.st2_unstable_version}}" environment: "sandbox" branch: "master" revision: "{{trigger.body.head_commit.id}}" repo: "https://github.com/StackStorm/st2workroom.git" distro: "UBUNTU14"
Update from Hackage at 2018-11-05T09:08:19Z
homepage: https://github.com/pgujjula/modular#readme changelog-type: markdown hash: f627657e714369ff7c5e494427a6116c7e2c51164e13294ac521b48b338f4cbe test-bench-deps: {} maintainer: preetham.gujjula@gmail.com synopsis: Type-safe modular arithmetic changelog: ! '# Changelog for modular ' basic-deps: base: ! '>=4.7 && <5' ghc-typelits-knownnat: ! '>=0.5 && <1' all-versions: - '0.1.0.0' author: Preetham Gujjula latest: '0.1.0.0' description-type: markdown description: ! 'To build the project, first install stack (https://docs.haskellstack.org/en/stable/install_and_upgrade/). Then from the project directory, run `stack build`. To build and view documentation, run `stack haddock --open`. ' license-name: BSD3
Add Stale workflow for GitHub Actions
name: Stale on: schedule: - cron: 0 9-18 * * * jobs: stale: runs-on: ubuntu-latest steps: - name: Close stale issues and pull requests uses: actions/stale@v1.1.0 with: days-before-close: 30 days-before-stale: 180 repo-token: ${{ secrets.GITHUB_TOKEN }} exempt-issue-label: Still Relevant stale-issue-label: Stale stale-issue-message: > This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. stale-pr-label: Stale stale-pr-message: > This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Add Kubernetes e2e conformance testing
apiVersion: batch/v1 kind: Job metadata: name: e2e namespace: e2e labels: name: e2e spec: template: spec: volumes: - name: kubectl hostPath: path: /opt/bin/kubectl type: File - name: kubeconfig secret: secretName: kubeconfig - name: e2e hostPath: path: /var/lib/kubernetes/e2e type: Directory - name: artifacts emptyDir: {} containers: - name: run image: gcr.io/kubernetes-conformance-testing/yake2e-job args: - run volumeMounts: - name: kubectl mountPath: /usr/local/bin/kubectl readOnly: true - name: kubeconfig mountPath: /etc/kubernetes readOnly: true - name: e2e mountPath: /var/lib/kubernetes/e2e readOnly: true - name: artifacts mountPath: /var/log/kubernetes/e2e readOnly: false - name: tgz image: gcr.io/kubernetes-conformance-testing/yake2e-job args: - tgz volumeMounts: - name: artifacts mountPath: /var/log/kubernetes/e2e readOnly: false restartPolicy: Never backoffLimit: 4
Update from Hackage at 2022-06-26T23:12:11Z
homepage: '' changelog-type: markdown hash: 38b123c673213adea3a56c98c28a787c10f67a17a9ead25ff1770d1075c82a27 test-bench-deps: base: '>=4.9 && <5' hspec: -any HUnit: -any nonlinear: -any QuickCheck: -any maintainer: jonas@cross-compass.com synopsis: Low-dimensional vectors changelog: | ## [0.1.0] - Initial release basic-deps: base: -any all-versions: - 0.1.0 author: Jonas Carpay latest: 0.1.0 description-type: markdown description: | # nonlinear Low-dimensional vectors. More specifically, a lightweight, opinionated clone of the low-dimensional vector parts of [`linear`](https://hackage.haskell.org/package/linear). ### Differences from `linear` Our primary focus is on providing a set of low-dimensional vector types (i.e. `V1` through `V4`), and avoiding dependencies. We specifically don't aim to make functions/classes general/principled/robust enough to be used for e.g. sparse vectors. This means there is just a single type class, `Vec`, equivalent to `Traversable` `Representable` Obviously, that makes certain operations more restrictive than they are in `linear`. Anything related to projective/homogeneous coordinates has been moved to the `Nonlinear.Projective` namespace. There is `Hom2` and `Hom3` for 2- and 3-dimensional homogeneous coordinates, respectively. license-name: BSD-3-Clause
Implement recipe for Text::Soundex Perl module
{% set author = "RJBS" %} {% set name = "Text-Soundex" %} {% set version = "3.05" %} {% set sha256 = "f6dd55b4280b25dea978221839864382560074e1d6933395faee2510c2db60ed" %} package: name: perl-{{ name|lower }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: http://cpan.metacpan.org/authors/id/{{ author[0] }}/{{ author[:2] }}/{{ author }}/{{ name }}-{{ version }}.tar.gz sha256: {{ sha256 }} build: number: 0 script: perl Makefile.PL --no-xs && make && make test && make install requirements: build: - perl - make run: - perl test: commands: - perl -e 'use {{ name|replace("-","::") }}' about: home: https://metacpan.org/release/Text-Soundex license: Artistic-2.0 license_file: LICENSE summary: 'Implementation of the soundex algorithm.' description: | Soundex is a phonetic algorithm for indexing names by sound, as pronounced in English. The goal is for names with the same pronunciation to be encoded to the same representation so that they can be matched despite minor differences in spelling. Soundex is the most widely known of all phonetic algorithms and is often used (incorrectly) as a synonym for "phonetic algorithm". Improvements to Soundex are the basis for many modern phonetic algorithms. (Wikipedia, 2007) doc_url: https://metacpan.org/pod/Text::Soundex extra: recipe-maintainers: - pvanheus
Update from Hackage at 2018-01-05T18:35:44Z
homepage: https://github.com/MarisaKirisame/HappyTree#readme changelog-type: markdown hash: f692ef2a41334010671e980ba5cac3ea72015975731538ab7b108b33af299f79 test-bench-deps: base: ! '>=4.7 && <5' constraints: ==0.9.1 singletons: ==2.3.1 generics-sop: ==0.3.1.0 HappyTree: -any maintainer: lolisa@marisa.moe synopsis: '' changelog: ! '# Changelog for HappyTree ## Unreleased changes ' basic-deps: base: ! '>=4.7 && <5' constraints: ==0.9.1 singletons: ==2.3.1 generics-sop: ==0.3.1.0 HappyTree: -any all-versions: - '0.2018.1.5' author: Marisa Kirisame latest: '0.2018.1.5' description-type: markdown description: ! '# HappyTree ' license-name: BSD3
Split out build pipeline for docs.
name: docfx on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: windows-latest steps: - name: check out code uses: actions/checkout@v2 - name: install docfx # specifying 2.58.5 version as latest release (2.58.8) has an issue # https://github.com/dotnet/docfx/issues/7689 run: choco install docfx -y --version=2.58.5 - name: build doc metadata working-directory: docs run: docfx metadata - name: build docs working-directory: docs run: docfx docfx.json
Add config for AppVeyor CI
# Test against this version of Node.js environment: nodejs_version: "6.9.1" # fail all the builds once any of the builds fail have failed matrix: fast_finish: true # build only this branches branches: only: - master - develop # Install scripts. (runs after repo cloning) install: # install google chrome - choco install googlechrome # Get the latest stable version of Node.js or io.js - ps: Install-Product node $env:nodejs_version # Install angular-cli globally - npm install -g angular-cli # install modules - yarn install # Post-install test scripts. test_script: # Output useful info for debugging. - node --version - npm --version # run tests - ng test --watch false # Don't actually build. build: off
Add reno for RBAC and client incompatibility
--- features: - | k8s_fedora_atomic clusters are deployed with RBAC support. Along with RBAC Node authorization is added so the appropriate certificates are generated. upgrade: - | Using the queens (>=2.9.0) python-magnumclient, when a user executes openstack coe cluster config, the client certificate has admin as Common Name (CN) and system:masters for Organization which are required for authorization with RBAC enabled clusters. This change in the client is backwards compatible, so old clusters (without RBAC enabled) can be reached with certificates generated by the new client. However, old magnum clients will generate certificates that will not be able to contact RBAC enabled clusters. This issue affects only k8s_fedora_atomic clusters and clients <=2.8.0, note that 2.8.0 is still a queens release but only 2.9.0 includes the relevant patch. Finally, users can always generate and sign the certificates using this [0] procedure even with old clients since only the cluster config command is affected. [0] https://docs.openstack.org/magnum/latest/user/index.html#interfacing-with-a-secure-cluster
Create initial GitHub build workflow
name: C/C++ CI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Install dependencies run: sudo apt install g++ texinfo libcfitsio-dev autoconf-archive lcov python-pip - name: configure run: ./configure - name: make run: make - name: make check run: make check - name: make distcheck run: make distcheck
Add name to each job in Travis CI configuration build matrix
matrix: include: - language: python python: 3.7 # Workaround for Python 3.7 # https://github.com/travis-ci/travis-ci/issues/9815 dist: xenial sudo: true cache: pip: true directories: - $HOME/.imageio script: - cd Discord - python Harmonbot.py - language: python python: 3.7 # Workaround for Python 3.7 # https://github.com/travis-ci/travis-ci/issues/9815 dist: xenial sudo: true cache: pip: true script: - cd Telegram - python Telegram_Harmonbot.py - language: go go: 1.6 install: - go get github.com/bwmarrin/discordgo - go get github.com/bwmarrin/dgvoice script: - cd Discord - go run Harmonbot_Listener.go
matrix: include: - name: Discord language: python python: 3.7 # Workaround for Python 3.7 # https://github.com/travis-ci/travis-ci/issues/9815 dist: xenial sudo: true cache: pip: true directories: - $HOME/.imageio script: - cd Discord - python Harmonbot.py - name: Telegram language: python python: 3.7 # Workaround for Python 3.7 # https://github.com/travis-ci/travis-ci/issues/9815 dist: xenial sudo: true cache: pip: true script: - cd Telegram - python Telegram_Harmonbot.py - name: Discord Listener language: go go: 1.6 install: - go get github.com/bwmarrin/discordgo - go get github.com/bwmarrin/dgvoice script: - cd Discord - go run Harmonbot_Listener.go
Enable emails from Travis CI
# Disabling sudo moves build to the Container Based Infrastructure on Travis CI sudo: false language: android jdk: oraclejdk8 android: components: - platform-tools - tools - android-23 - build-tools-23.0.2 - extra-android-m2repository - extra-android-support - sys-img-armeabi-v7a-android-18 before_script: - echo no | android create avd --force -n test -t android-18 --abi armeabi-v7a - emulator -avd test -no-skin -no-audio -no-window & - android-wait-for-emulator - adb shell input keyevent 82 script: - sh ci.sh notifications: email: false cache: directories: - $HOME/.m2 - $HOME/.gradle
# Disabling sudo moves build to the Container Based Infrastructure on Travis CI sudo: false language: android jdk: oraclejdk8 android: components: - platform-tools - tools - android-23 - build-tools-23.0.2 - extra-android-m2repository - extra-android-support - sys-img-armeabi-v7a-android-18 before_script: - echo no | android create avd --force -n test -t android-18 --abi armeabi-v7a - emulator -avd test -no-skin -no-audio -no-window & - android-wait-for-emulator - adb shell input keyevent 82 script: - sh ci.sh notifications: email: true cache: directories: - $HOME/.m2 - $HOME/.gradle
Add note for force_config_drive opt change
--- upgrade: - | The ``force_config_drive`` configuration option provided an ``always`` value which was deprecated in the previous release. That ``always`` value is now no longer accepted and deployments using that value have to change it to ``True`` before upgrading.
Test CI against Ruby 2.2.0-preview1
language: ruby script: 'bundle exec rake test:coverage --trace' rvm: - 2.0.0 - 2.1.0 - 2.1.1 - 2.1.2 - 2.1.3 - rbx-2 matrix: include: - rvm: jruby env: JRUBY_OPTS="--2.0" - rvm: jruby-head env: JRUBY_OPTS="--2.1" allow_failures: - rvm: rbx-2 - rvm: jruby - rvm: jruby-head
language: ruby script: 'bundle exec rake test:coverage --trace' rvm: - 2.0.0 - 2.1.0 - 2.1.1 - 2.1.2 - 2.1 - 2.2 - rbx-2 matrix: include: - rvm: jruby env: JRUBY_OPTS="--2.0" - rvm: jruby-head env: JRUBY_OPTS="--2.1" allow_failures: - rvm: 2.2 - rvm: rbx-2 - rvm: jruby - rvm: jruby-head
Add a recipe for pywin32-ctypes
{% set name = "pywin32-ctypes" %} {% set version = "0.1.2" %} {% set sha256 = "4820b830f42e6889d34142bcd07b3896018c3620d8c31f5e13b72caf1f4d1d0f" %} package: name: {{ name|lower }} version: {{ version }} source: fn: {{ name }}-{{ version }}.tar.gz url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz sha256: {{ sha256 }} build: number: 0 skip: True # [not win] script: python -m pip install --no-deps --ignore-installed . requirements: build: - python - pip run: - python test: imports: - win32ctypes about: home: https://github.com/enthought/pywin32-ctypes license: BSD license_family: BSD license_file: LICENSE.txt summary: 'A limited subset of pywin32 re-implemented using ctypes (or cffi)' description: | A reimplementation of pywin32 that is pure python. The default behaviour will try to use cffi (>= 1.3.0), if available, and fall back to using ctypes. doc_url: http://pywin32-ctypes.readthedocs.io/en/stable/ dev_url: https://github.com/enthought/pywin32-ctypes extra: recipe-maintainers: - ccordoba12
Add checker for broken doc links
on: schedule: - cron: 0 0 1 * * # run monthly repository_dispatch: # run manually types: [check-link] name: Broken Link Check jobs: check: name: Broken Link Check runs-on: ubuntu-latest steps: - name: Broken Link Check uses: technote-space/broken-link-checker-action@v1 with: TARGET: https://docs.phpdoc.org/3.0 RECURSIVE: true LABELS: documentation
Add action for publishing Sphinx docs
name: Sphinx on: push: branches: [ master ] pull_request: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - name: Setup Python uses: actions/setup-python@v3 with: python-version: "3.9" - name: Setup Environment run: | curl -sSL https://install.python-poetry.org | python3 - poetry install - name: Build Documentation run: | ./doc/build.sh - name: Deploy Documentation uses: peaceiris/actions-gh-pages@v3 if: ${{ github.ref == 'refs/heads/master' }} with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./doc/build/html
Add CodeQL workflow for GitHub code scanning
name: "CodeQL" on: push: branches: [ "main" ] pull_request: branches: [ "main" ] schedule: - cron: "7 19 * * 5" jobs: analyze: name: Analyze runs-on: ubuntu-latest permissions: actions: read contents: read security-events: write strategy: fail-fast: false matrix: language: [ python ] steps: - name: Checkout uses: actions/checkout@v3 - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} queries: +security-and-quality - name: Autobuild uses: github/codeql-action/autobuild@v2 - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 with: category: "/language:${{ matrix.language }}"
Add Docker Compose YAML File
version: '3.7' services: crontab-ui: build: . image: alseambusher/crontab-ui network_mode: bridge ports: - 8000:8000
Include meta.yml to allow installing `ansible-st2` via ansible-galaxy
# Meta which allows installing `ansible-st2` via ansible-galaxy # Workaround for `ansible.cfg` to find stackstorm roles: # [defaults] # roles_path = /etc/ansible/roles/:/etc/ansible/roles/stackstorm/roles/ --- galaxy_info: description: Install StackStorm with all components and dependant services including RabbitMQ, MongoDB, PostgreSQL, nginx. author: armab company: StackStorm license: Apache 2.0 min_ansible_version: 2.2 platforms: - name: Ubuntu versions: - trusty - xenial categories: - ops - devops - automation - remediation - stackstorm - st2 - st2web - st2mistral - rabbitmq - mongodb - postgresql - nginx
Update from Hackage at 2017-11-07T08:44:18Z
homepage: https://github.com/TerrorJack/direct-rocksdb#readme changelog-type: markdown hash: 0a68da18e449e515caf2a9de46d7520e6ec55126cdca3fddfdb911e6e1c74ea4 test-bench-deps: base: ! '>=4.10 && <5' direct-rocksdb: -any maintainer: Shao Cheng <astrohavoc@gmail.com> synopsis: Bindings to RocksDB. changelog: ! '# CHANGELOG for direct-rocksdb ' basic-deps: base: ! '>=4.10 && <5' all-versions: - '0.0.1' author: '' latest: '0.0.1' description-type: markdown description: ! '# direct-rocksdb [![CircleCI](https://circleci.com/gh/TerrorJack/direct-rocksdb/tree/master.svg?style=shield)](https://circleci.com/gh/TerrorJack/direct-rocksdb/tree/master) [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/TerrorJack/direct-rocksdb?branch=master&svg=true)](https://ci.appveyor.com/project/TerrorJack/direct-rocksdb?branch=master) Bindings to [RocksDB](https://github.com/facebook/rocksdb). ## Dependencies This package builds RocksDB in place and doesn''t link with system-wide RocksDB. Requires: * [`cmake`](https://cmake.org/) * [`ninja`](http://ninja-build.org/) * `awk` ## Windows support Not working at the moment (builds but crashes when built with mingw-w64 toolchain). May switch to MSVC to fix it. ' license-name: BSD3
Configure national infrastructure planning site
--- site: dclg_nip whitehall_slug: department-for-communities-and-local-government homepage_title: 'National Infrastructure Planning' homepage: https://www.gov.uk/government/organisations/department-for-communities-and-local-government tna_timestamp: 20140713173346 host: infrastructure.planningportal.gov.uk homepage_furl: www.gov.uk/dclg
Update from Hackage at 2017-03-09T06:20:11Z
homepage: '' changelog-type: '' hash: a511ec8e9186877d27966691f8f473daf2a8ebe177c04ea6ce2cd8b62d8040a1 test-bench-deps: polydata: ==0.1.* base: ==4.9.* hspec: ==2.4.* constraint-manip: ==0.1.* indextype: ==0.2.* maintainer: clintonmead@gmail.com synopsis: A heterogeneous list type changelog: '' basic-deps: polydata: ==0.1.* base: ==4.9.* constraint-manip: ==0.1.* indextype: ==0.2.* all-versions: - '0.2.0.0' author: Clinton Mead latest: '0.2.0.0' description-type: haddock description: ! 'A heterogeneous list type (i.e. a list with different element types) which knows the type of it''s elements. There are also various functions for manipulating such lists, although this is not yet complete. Some of the standard type classes, like Eq, Ord and Show are defined for these heterogeneous lists. I suspect it could be particularly useful for testing libraries which may want to test against a variety of types in a uniform fashion.' license-name: MIT
Update from Hackage at 2018-05-07T01:24:42Z
homepage: '' changelog-type: '' hash: 1869d4c301fc3dab84dff952acdab01773d727c9b618bae7df875527a05b431e test-bench-deps: {} maintainer: strake888@gmail.com synopsis: Exceptional utilities changelog: '' basic-deps: base: ! '>=4.9 && <5' monad-control: ! '>=1.0 && <1.1' lifted-base: ! '>=0.2 && <0.3' util: ! '>=0.1.7 && <0.2' all-versions: - '0.1.0.0' author: M Farkas-Dyck latest: '0.1.0.0' description-type: haddock description: '' license-name: BSD3
Switch to 5.4 for coveralls
language: php before_script: - composer install --dev --no-interaction - cd tests script: - phpunit --coverage-clover clover.xml after_script: - php vendor/bin/coveralls -v php: - 5.2 - 5.3 - 5.4
language: php before_script: - phpenv local 5.4 - composer install --dev --no-interaction - phpenv local --unset - cd tests script: - phpunit --coverage-clover clover.xml after_script: - phpenv local 5.4 - php vendor/bin/coveralls -v - phpenv local --unset php: - 5.2 - 5.3 - 5.4
Add config for 20170825 星梦Mini Live
title: 20170825 星梦Mini Live(徐晗) datetime: 2017-08-25T16:20:00+08:00 vod: http://live.snh48.com/Index/invedio/id/297 m3u8: http://ts.snh48.com/vod/z1.chaoqing.9999/20170825/599d4e210cf2015ec2191e1b.mp4/playlist.m3u8 tags: - SNH48 - 徐晗 thumbnail: 20170825-mini-live.png playlists: - 全部 - 其它
Use phpunit as installed with Composer
language: php php: - 5.4 - 5.5 - 5.6 - hhvm before_script: - travis_retry composer self-update - travis_retry composer install --no-interaction --prefer-source --dev script: - phpunit --coverage-text --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
language: php php: - 5.4 - 5.5 - 5.6 - hhvm before_script: - travis_retry composer self-update - travis_retry composer install --no-interaction --prefer-source --dev script: - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
Enable GitHub Actions for CI testing.
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions name: Node.js CI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [10.x, 12.x, 14.x, 15.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm run build --if-present - run: npm test
Comment from Marieduh on creating-a-mean-prototype-6
_id: 59793ad0-ccdc-11ea-951b-19c125f9fd54 message: 'Take my heart - http://clickfrm.com/z99m' name: Marieduh date: 1595505735
Add release note about new DB model string representation
--- other: - | The string representation of data base model objects has been improved. Calling str() on them will return a certain subset of fields and calling repr() on them will return all fields. This is helpful for debugging, but it may also change some of the log messages that Octavia emits.
Test switching to Circle CI
machine: xcode: version: 8.3 compile: override: - ./scripts/bluepill.sh build test: override: - ./scripts/bluepill.sh instance_tests1
Add app CloudMare [help wanted 🤚]
Categories: - Development - Internet - Security License: MIT SourceCode: https://github.com/jtsalva/cloudmare IssueTracker: https://github.com/jtsalva/cloudmare/issues AutoName: CloudMare Summary: Small & Simple Cloudflare tool Description: |- The only Android app supporting API Tokens, the safer alternative to a Global API Key. * Dark and Light theme * Toggle 'Under Attack Mode' and 'Development Mode' * Search & Manage DNS records * View Analytics * Toggle Page Rules * Manage SSL Settings * Manage Caching Controls * Manage Network Settings * Supports both API Tokens and Email + API Key Unofficial and not endorsed by Cloudflare. Data travels only from your device to Cloudflare's official API; no data is recorded or sent elsewhere by CloudMare. RepoType: git Repo: https://github.com/jtsalva/cloudmare Builds: - versionName: Cumulus versionCode: 58 commit: v1.0.0 subdir: app gradle: - yes AutoUpdateMode: None UpdateCheckMode: Tags
Update from Hackage at 2019-01-07T09:41:51Z
homepage: '' changelog-type: markdown hash: 05d070908879b36e612657ce2c3731533d23ba8cc3bbc88802b1464ffccc5012 test-bench-deps: base: -any matchable: -any containers: -any matchable-th: -any maintainer: viercc@gmail.com synopsis: Generates Matchable instances using TemplateHaskell changelog: | # 0.1.0.0 - Initial release. basic-deps: base: ! '>=4.9 && <5' th-abstraction: -any matchable: ! '>=0.1.2' template-haskell: ! '>=2.4 && <2.15' all-versions: - 0.1.0.0 author: Koji Miyazato latest: 0.1.0.0 description-type: markdown description: | ## matchable-th This package provides TemplateHaskell functions to generate instances of `Matchable` and `Bimatchable` type classes, which are from `matchable` package. ### Example ``` haskell {-# LANGUAGE DeriveFunctor #-} {-# LANGUAGE TemplateHaskell #-} import Data.Functor.Classes (Eq1(..)) import Data.Matchable import Data.Matchable.TH newtype G a = G [(a, Int, a)] deriving (Show, Eq, Functor) $(deriveMatchable ''G) -- @deriveMatchable@ generates a @Matchable@ instance only, -- so you also have to declare @Functor G@ and @Eq1 G@. -- There is a handy @DeriveFunctor@ extension. -- Also, you can use @liftEqDefault@ to easily implement @liftEq@. instance Eq1 G where liftEq = liftEqDefault ``` ``` haskell {-# LANGUAGE TemplateHaskell #-} import Data.Functor.Classes (Eq2(..)) import Data.Bimatchable import Data.Matchable.TH data BiG a b = BiG0 | BiG1 [a] [b] | BiG2 (Int, BiF a b) instance Eq2 BiG where liftEq2 = liftEq2Default instance Bifunctor BiG where bimap = bimapRecovered $(deriveBimatchable ''BiG) ``` license-name: BSD-3-Clause
Update from Hackage at 2015-08-12T15:41:21+0000
homepage: http://github.com/kadoban/tempus-fugit changelog-type: '' hash: 809b1dbcd6abee3bef2a97cc8eb761cac8bd570f6408d95b0699bc722a713c6a test-bench-deps: base: -any tempus-fugit: -any maintainer: joshua.simmons@emptypath.com synopsis: Programmers' time tracker changelog: '' basic-deps: base: ! '>=4.7 && <5' tempus-fugit: -any all-versions: - '0.1.0.1' author: Joshua Simmons latest: '0.1.0.1' description-type: haddock description: Track time spent on projects. license-name: AGPL-3
Migrate "Doppler - dropped envelopes" monitor to Prometheus
# Source: paas-metrics --- - type: replace path: /instance_groups/name=prometheus2/jobs/name=prometheus2/properties/prometheus/custom_rules?/- value: name: DopplerDroppedEnvelopes rules: - &alert alert: DopplerDroppedEnvelopes_Warning expr: sum(increase(firehose_counter_event_loggregator_doppler_dropped_total[1h])) > 100 labels: severity: warning notify: email annotations: summary: "Doppler - dropped envelopes" description: "A Doppler VM dropped {{ $value | printf \"%.0f\" }} envelopes in an hour. Investigate whether this is a one-off or we need to scale our Dopplers." - <<: *alert alert: DopplerDroppedEnvelopes_Critical expr: sum(increase(firehose_counter_event_loggregator_doppler_dropped_total[1h])) > 1000 labels: severity: critical notify: email
Set up CI with Azure Pipelines
# .NET Desktop # Build and run tests for .NET Desktop or Windows classic desktop solutions. # Add steps that publish symbols, save build artifacts, and more: # https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net pool: vmImage: 'VS2017-Win2016' variables: solution: '**/*.sln' buildPlatform: 'Any CPU' buildConfiguration: 'Release' steps: - task: NuGetToolInstaller@0 - task: NuGetCommand@2 inputs: restoreSolution: '$(solution)' - task: VSBuild@1 inputs: solution: '$(solution)' platform: '$(buildPlatform)' configuration: '$(buildConfiguration)' - task: VSTest@2 inputs: platform: '$(buildPlatform)' configuration: '$(buildConfiguration)'
Remove openjdk7 from Travis as it keeps on failing
language: java jdk: - oraclejdk7 - openjdk7 - oraclejdk8 before_install: - "chmod +x gradlew" - export JAVA_OPTS="-Xmx2048m -XX:MaxPermSize=386m"
language: java jdk: - oraclejdk7 - oraclejdk8 before_install: - "chmod +x gradlew" - export JAVA_OPTS="-Xmx2048m -XX:MaxPermSize=386m"
Add draft for kylo docker compose
version: '3.2' services: nifi: image: "hdp:latest" # ports: # - "8080:8080" # volumes: # - ../data/nifi/drivers:/usr/nifi/drivers # - ../data/nifi/conf:/usr/nifi/conf # - ../data/nifi/work:/usr/nifi/work # - ../data/nifi/run:/usr/nifi/run # - ../data/nifi/state:/usr/nifi/state # - ../data/nifi/content_repository:/usr/nifi/content_repository # - ../data/nifi/database_repository:/usr/nifi/database_repository # - ../data/nifi/flowfile_repository:/usr/nifi/flowfile_repository # - ../data/nifi/provenance_repository:/usr/nifi/provenance_repository networks: - default # postgres: # image: "postgres:latest" # environment: # - POSTGRES_PASSWORD=ppass # - PGDATA=/var/lib/postgresql/data/pgdata # volumes: # - ../data/postgres/pgdata:/var/lib/postgresql/data/pgdata # ports: # - "5432:5432" # networks: # - default networks: default: external: name: dockernet
Add Travis CI configuration file.
language: ruby rvm: - 2.0.0 - 1.9.3 - 1.9.2 - 1.8.7 - ruby-head - jruby-18mode - jruby-19mode - jruby-head - ree
Revert "Circo Icon Pack: Typo"
Categories: - Theming License: Apache-2.0 AuthorName: Malcolm Scruggs AuthorEmail: mookie.dev@gmail.com SourceCode: https://github.com/MalcolmScruggs/CircoIconPack IssueTracker: https://github.com/MalcolmScruggs/CircoIconPack/issues Changelog: https://github.com/MalcolmScruggs/CircoIconPack/releases Summary: Simple colorful icon pack Description: |4- Custom Launcher required to use icons (Nova, Apex, ADW, etc). It will not work with Google Now Launcher, Pixel Launcher, or any other factory installed launcher. FEATURES: * Beautiful, simple, and colorful icons! * 500+ vector designed icons. Made in XXX-HDPI (192x192 - this may vary due to individual device resolution) * Masking and backing to theme unthemed icons * Multiple alternate icons * Supports Apex, Nova, Aviate, ADW, Action, Smart, and Holo launchers RepoType: git Repo: https://github.com/MalcolmScruggs/CircoIconPack Builds: - versionName: 1.3.6 versionCode: 21 commit: v1.3.6 init: - sed -i -e "s/gradleVersion = '2\.12'/gradleVersion = '4.1'/" build.gradle - sed -i -e '/jcenter()/a\ google()' build.gradle gradle: - yes AutoUpdateMode: Version v%v UpdateCheckMode: Tags CurrentVersion: 1.3.6 CurrentVersionCode: 21
Use same line endings as original files
# http://www.appveyor.com/docs/appveyor-yml # Fix line endings in Windows. (runs before repo cloning) init: - git config --global core.autocrlf true # Test against these versions of Node.js. environment: matrix: - nodejs_version: "4.2" # Install scripts. (runs after repo cloning) install: # Get the latest stable version of Node 0.STABLE.latest - ps: Install-Product node $env:nodejs_version # Install PhantomJS - choco install phantomjs --version 2.0.0 -y - set path=%path%;C:\ProgramData\chocolatey\lib\PhantomJS\tools\ # Typical npm stuff. - md C:\nc - npm install -g npm@^2 # Workaround https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows - set PATH=%APPDATA%\npm;%PATH% - npm config set cache C:\nc - npm version - npm install --no-optional - npm run bower # Post-install test scripts. test_script: # Output useful info for debugging. - npm version - cmd: npm run test - cmd: npm run test:optional-features - cmd: npm run node-tests # Don't actually build. build: off # Set build version format here instead of in the admin panel. version: "{build}"
# http://www.appveyor.com/docs/appveyor-yml # Test against these versions of Node.js. environment: matrix: - nodejs_version: "4.2" # Install scripts. (runs after repo cloning) install: # Get the latest stable version of Node 0.STABLE.latest - ps: Install-Product node $env:nodejs_version # Install PhantomJS - choco install phantomjs --version 2.0.0 -y - set path=%path%;C:\ProgramData\chocolatey\lib\PhantomJS\tools\ # Typical npm stuff. - md C:\nc - npm install -g npm@^2 # Workaround https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows - set PATH=%APPDATA%\npm;%PATH% - npm config set cache C:\nc - npm version - npm install --no-optional - npm run bower # Post-install test scripts. test_script: # Output useful info for debugging. - npm version - cmd: npm run test - cmd: npm run test:optional-features - cmd: npm run node-tests # Don't actually build. build: off # Set build version format here instead of in the admin panel. version: "{build}"
Update from Hackage at 2017-01-31T11:28:51Z
homepage: '' changelog-type: '' hash: 6481b76c85ce8d8705443c91a01ead3976d250c4bd0b640b44d1ed68d31dc4a7 test-bench-deps: {} maintainer: andrew.thaddeus@gmail.com synopsis: Bootstrap CSS Framework type-safe interface changelog: '' basic-deps: base: ! '>=4.7 && <5.0' text: -any all-versions: - '0.3' author: Andrew Martin latest: '0.3' description-type: haddock description: '' license-name: MIT
Update from Hackage at 2022-01-26T14:09:04Z
homepage: https://github.com/jappeace/persistent-lens#readme changelog-type: markdown hash: 578a16f1adec730897252fbb4fa7ee073aad6645221ea139498f76fb23cc5609 test-bench-deps: {} maintainer: jappieklooster@hotmail.com synopsis: lens helpers for persistent. changelog: "# Change log for persistent-lens project\n\n## Version 0.0.0 \n\n+ add persistent lens\n+ import [template](https://github.com/jappeace/template).\n\n" basic-deps: base: '>=4.7 && <5' persistent: -any lens: -any all-versions: - 1.0.0 author: Jappie Klooster latest: 1.0.0 description-type: markdown description: "[![https://jappieklooster.nl](https://img.shields.io/badge/blog-jappieklooster.nl-lightgrey)](https://jappieklooster.nl/tag/haskell.html)\n[![Jappiejappie](https://img.shields.io/badge/twitch.tv-jappiejappie-purple?logo=twitch)](https://www.twitch.tv/jappiejappie)\n[![Githbu actions build status](https://img.shields.io/github/workflow/status/jappeace/persistent-lens/Test)](https://github.com/jappeace/persistent-lens/actions)\n[![Jappiejappie](https://img.shields.io/badge/discord-jappiejappie-black?logo=discord)](https://discord.gg/Hp4agqy)\n[![Hackage version](https://img.shields.io/hackage/v/persistent-lens.svg?label=Hackage)](https://hackage.haskell.org/package/persistent-lens) \n\nI use these in various projects to deal with Entity.\nAlso used in supercede.\n\n## Usage\n\n### Tools\nEnter the nix shell.\n```\nnix-shell\n```\nYou can checkout the makefile to see what's available:\n```\ncat makefile\n```\n\n### Fast filewatch which runs tests\n```\nmake ghcid\n```\n" license-name: MIT
Add GH action for publishing gem.
name: Publish on: push: tags: - 'v*' jobs: build: name: Publish runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: actions/setup-ruby@v1 with: ruby-version: 2.7 - name: Publish to GPR run: | mkdir -p $HOME/.gem touch $HOME/.gem/credentials chmod 0600 $HOME/.gem/credentials printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials gem build *.gemspec gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem env: GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}" OWNER: ${{ github.repository_owner }} - name: Publish to RubyGems run: | mkdir -p $HOME/.gem touch $HOME/.gem/credentials chmod 0600 $HOME/.gem/credentials printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials gem build *.gemspec gem push *.gem env: GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
Update from Hackage at 2017-04-11T13:02:45Z
homepage: https://github.com/mtesseract/async-refresh changelog-type: '' hash: ed7156c0618d26f27e1552ccd45d6cd6d9ba076c8816c70082b7ed755a317fbe test-bench-deps: test-framework-hunit: -any test-framework: -any stm: -any base: -any text: -any criterion: -any HUnit: -any monad-logger: -any async-refresh: -any maintainer: mtesseract@silverratio.net synopsis: Package implementing core logic for refreshing of expiring data. changelog: '' basic-deps: stm: -any base: ! '>=4.7 && <5' text: -any safe-exceptions: -any monad-control: -any lens: -any formatting: -any lifted-async: -any monad-logger: -any all-versions: - '0.1.7' author: Moritz Schulte latest: '0.1.7' description-type: markdown description: ! "# async-refresh\n\nAbout\n=====\n\nThis is Haskell library implementing the logic for refreshing of\nexpiring data according to user-provided actions.\n\nUsage\n=====\n\n- Create a new configuration using `newAsyncRefreshConf`, providing\n the action to be used for data refreshing.\n\n- Adjust the configuration using the `asyncRefreshConfSet*` functions,\n in particular using `asyncRefreshConfSetCallback`.\n\n- Use `newAsyncRefresh` to initiate a new thread managing the\n asynchronous refreshing.\n\nExample\n=======\n\nThe following IO action produces a `TVar` which is updated every ten\nseconds to contain the current time (wrapped in an `Either\nSomeException`, because refreshing may fail).\n\n```\nperiodicTimeUpdater :: IO (TVar (Either SomeException UTCTime))\nperiodicTimeUpdater = runStderrLoggingT $ do\n timeStore <- liftIO $ newTVarIO (Left (toException NotFound))\n \ let conf = newAsyncRefreshConf (RefreshResult <$> liftIO getCurrentTime <*> pure Nothing)\n & asyncRefreshConfSetLabel \"CurrentTime updated every 10 seconds\"\n \ & asyncRefreshConfSetDefaultInterval (10 * 10^3)\n & asyncRefreshConfSetCallback (liftIO . atomically . writeTVar timeStore . fmap refreshResult)\n _ <- newAsyncRefresh conf\n return timeStore\n```\n" license-name: BSD3
Add a code climate config
engines: duplication: enabled: true config: languages: - javascript: eslint: enabled: true fixme: enabled: true ratings: paths: - "src/**.js" - "test/**.js" - "examples/**.js"
Update from Hackage at 2020-04-01T16:32:46Z
homepage: https://github.com/daig/microbase changelog-type: '' hash: 4a79d59f38ffc061811336071bab107487e39c400575be49adbf04e517985e5b test-bench-deps: {} maintainer: daig@sodality.cc synopsis: A minimal base to work around GHC bugs. changelog: '' basic-deps: base: ==4.14.0.0 all-versions: - 4.14.0.0 author: Dai latest: 4.14.0.0 description-type: haddock description: |- This package is a hyper-minimal version of base-noprelude: It merely reexports some hardwired modules needed downstream while hiding most things. For example, ghcid will not work without @base:System.IO@. It also reexports all the "magic" classes that work with stock deriving. Ideally this package wouldn't be needed because @ghc-prim@ would contain everything hardwired, and base would just be an optional standard library. license-name: MIT
Test and lint in GitHub Actions on push
name: 'Build' on: push: branches: [main] pull_request: branches: [main] jobs: lint-and-test: runs-on: ubuntu-latest strategy: matrix: ruby_version: ['2.6', '2.7', '3.0', '3.1'] steps: - name: Checkout code uses: actions/checkout@v3 - name: Setup Ruby ${{ matrix.ruby_version }} uses: ruby/setup-ruby@v1 with: bundler-cache: true ruby-version: ${{ matrix.ruby_version }} - name: Install dependencies run: bundle install - name: Lint Ruby files run: bundle exec rubocop - name: Run RSpec tests run: bundle exec rspec
Add releasenote for policy refresh base and device profile policies
--- features: - | In the Victoria release, cyborg introduced the new scoped RBAC policy authorization for API access, and partially implemented the blueprints. What implemented are new default rules in base policy and device_profile policy. During the development period(victoria and wallaby releases), the new and old policy will both work because a deployment sets ``cyborg.conf [oslo_policy] enforce_scope = False`` as the default set. Although users can set ``cyborg.conf [oslo_policy] enforce_scope = True`` by default in their deployment, if they want to ignore old rules and support new rules only. After we implement all the features, we'll give two cycles transition period for operators. For specification of new policy, please refer to `policy default refresh`_. - Scope Cyborg introduced ``scope_type`` to protect each policy. Cyborg support two types of ``sope_type`` with their combination. ``['system']``, ``['project']`` and ``['system', 'project']``. To know each policy ``scope_type``, please refer the `Policy Reference`_ This feature is disabled by default can be enabled via config option ``[oslo_policy]enforce_scope`` in ``cyborg.conf`` - New Defaults Configuration Policies are default to Admin, Member and Reader roles. Old roles are also supproted. You can switch to new defaults via config option ``[oslo_policy]enforce_new_defaults`` in ``cyborg.conf`` file. - New Base policy roles Cyborg introduced seven basic roles based on the new defaults combined with different scope_types. - project_reader - project_member - project_admin - system_admin - system_reader - system_admin_or_owner - system_or_project_reader - New Defaults for device_profile APIs Rewrite check string(authorization rules) using new personas for device profile APIs. Add ``checkstr=base.PROJECT_READER_OR_SYSTEM_READER`` and deprecated ``checkstr=base.deprecated_default`` for - ``cyborg:device_profile:get_one`` - ``cyborg:device_profile:get_all`` Add ``check_str=base.SYSTEM_ADMIN`` and deprecated ``check_str=base.deprecated_is_admin`` for - ``cyborg:device_profile:create`` Add ``check_str=base.SYSTEM_ADMIN`` and deprecated ``base.deprecated_default`` for - ``cyborg:device_profile:delete`` - Added policy configuration guide on cyborg doc page Please refer to `policy configuration guide`_ .. _policy default refresh: https://specs.openstack.org/openstack/cyborg-specs/specs/ussuri/approved/policy-defaults-refresh.html .. _Policy Reference: https://docs.openstack.org/cyborg/latest/configuration/policy.html .. _policy configuration guide: https://docs.openstack.org/cyborg/latest/configuration/policy-guide.html deprecations: - | The old basic personas below are marked as deprecated rules in base policy. - public_api - allow - deny - admin_api - is_admin - admin_or_owner - admin_or_user
Update from Hackage at 2020-12-15T05:45:32Z
homepage: https://github.com/tonyday567/hcount#readme changelog-type: '' hash: d6372924af7d727b4040786b107202b451a4354f6fec80a7556e79a6c3d4558c test-bench-deps: {} maintainer: tonyday567@gmail.com synopsis: Haskell name counts. changelog: '' basic-deps: ghc: '>=8.10 && <8.11' numhask: '>=0.7 && <0.8' base: '>=4.7 && <5' text: '>=1.2 && <1.3' containers: '>=0.6 && <0.7' lens: '>4.19 && <4.20' stan: '>=0.1 && <0.2' attoparsec: '>=0.13 && <0.14' optparse-applicative: '>=0.15 && <0.16' all-versions: - 0.0.1 author: Tony Day latest: 0.0.1 description-type: haddock description: |- Counting of Haskell names and artifacts usage, based on stan. === Usage 1. Include the following ghc-options in the cabal file of the libraries you want to analyse: > -fwrite-ide-info > -hiedir=.hie 2. Install hcount > stack install hcount 3. run hcount > cd project > hcount license-name: BSD-3-Clause
Add config for Stale app
# Number of days of inactivity before an issue becomes stale daysUntilStale: 60 # Number of days of inactivity before a stale issue is closed daysUntilClose: 7 # Issues with these labels will never be considered stale exemptLabels: - pinned - security # Label to use when marking an issue as stale staleLabel: stale # Comment to post when marking an issue as stale. Set to `false` to disable markComment: > This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. # Comment to post when closing a stale issue. Set to `false` to disable closeComment: false
Use Scrutinizer config to add more tools and only check the source
imports: - php filter: paths: [src/*] tools: php_cs_fixer: config: { level: psr1 } php_hhvm: true php_mess_detector: true sensiolabs_security_checker: true
Add GitHub Actions CI workflow
name: CI on: push: branches: - master - beta - release - next - 'v*' - 'release-*' - 'lts-*' pull_request: schedule: - cron: '0 3 * * *' # daily, at 3am jobs: basic-tests: name: Basic Tests runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: node-version: 12.x - name: get yarn cache dir id: yarn-cache run: echo "::set-output name=dir::$(yarn cache dir)" - uses: actions/cache@v1 with: path: ${{ steps.yarn-cache.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- - run: yarn install - run: yarn lint - run: yarn test tests: name: Node.js ${{ matrix.node-version }} runs-on: ubuntu-latest needs: [basic-tests] strategy: matrix: node-version: [8.x, 10.x, 12.x] steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - name: get yarn cache dir id: yarn-cache run: echo "::set-output name=dir::$(yarn cache dir)" - uses: actions/cache@v1 with: path: ${{ steps.yarn-cache.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- - run: yarn install - run: yarn test:all feature-flags: name: "Feature Flag: ${{ matrix.feature-flag }}" runs-on: ubuntu-latest needs: [basic-tests] strategy: matrix: feature-flag: - EMBER_CLI_ENABLE_ALL_EXPERIMENTS - EMBER_CLI_PACKAGER - EMBER_CLI_MODULE_UNIFICATION - EMBER_CLI_DELAYED_TRANSPILATION - EMBER_CLI_SYSTEM_TEMP= - EMBER_CLI_BROCCOLI_WATCHER steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: node-version: 12.x - name: get yarn cache dir id: yarn-cache run: echo "::set-output name=dir::$(yarn cache dir)" - uses: actions/cache@v1 with: path: ${{ steps.yarn-cache.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- - run: yarn install - run: yarn test:all env: ${{ matrix.feature-flag }}: true
Update from Hackage at 2019-09-13T01:13:25Z
homepage: '' changelog-type: '' hash: 24d6bce121e5f92d56e4a781c0d7db32993f88cce0b697f8046d804763525fad test-bench-deps: base: -any lazy-priority-queue: -any doctest: ! '>=0.8' lens: -any maintainer: mblazevic@stilo.com synopsis: Lazy-Spined Monadic Priority Queues changelog: '' basic-deps: base: <5 lazy-priority-queue: -any containers: ! '>=0.2 && <0.7' all-versions: - '0.1' author: Mario Blažević latest: '0.1' description-type: haddock description: |- This library provides a priority queue data structure that is meant to be used primarily as a control structure, in the vein of list and Logic. The PriorityQueue data structure in question is an instance of Applicative, Alternative, and Monad classes much like the standard list data type. In addition, it also tracks the cost incurred by each computation it stores, and provides operations for pruning overly expansive branches. license-name: GPL-3.0-only
Create an action workflow for CodeQL tests
name: CodeQL tests on: [pull_request] jobs: test-linux: name: Test Linux (Ubuntu) runs-on: ubuntu-latest steps: - name: Set up Go 1.13.3 uses: actions/setup-go@v1 with: go-version: 1.13.3 id: go - name: Set up CodeQL CLI uses: Anthophila/codeql-action/setup-codeql@master - name: Check out code uses: actions/checkout@v2 - name: Build run: make - name: Test run: make test test-mac: name: Test MacOS runs-on: macOS-latest steps: - name: Set up Go 1.13.3 uses: actions/setup-go@v1 with: go-version: 1.13.3 id: go - name: Set up CodeQL CLI uses: Anthophila/codeql-action/setup-codeql@master - name: Check out code uses: actions/checkout@v2 - name: Build run: make - name: Test run: make test test-win: name: Test Windows runs-on: windows-latest steps: - name: Set up Go 1.13.3 uses: actions/setup-go@v1 with: go-version: 1.13.3 id: go - name: Set up CodeQL CLI uses: Anthophila/codeql-action/setup-codeql@master - name: Check out code uses: actions/checkout@v2 - name: Build run: make - name: Test run: make test