repo_id
stringlengths
21
96
file_path
stringlengths
31
155
content
stringlengths
1
92.9M
__index_level_0__
int64
0
0
rapidsai_public_repos/pynvjitlink
rapidsai_public_repos/pynvjitlink/pynvjitlink/api.py
# Copyright (c) 2023, NVIDIA CORPORATION. from enum import Enum from pynvjitlink import _nvjitlinklib import weakref class InputType(Enum): NONE = 0 CUBIN = 1 PTX = 2 LTOIR = 3 FATBIN = 4 OBJECT = 5 LIBRARY = 6 class NvJitLinkError(RuntimeError): pass class NvJitLinker: def _...
0
rapidsai_public_repos/pynvjitlink
rapidsai_public_repos/pynvjitlink/pynvjitlink/_nvjitlinklib.cpp
/* * Copyright (c) 2023, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/pynvjitlink
rapidsai_public_repos/pynvjitlink/pynvjitlink/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. from pynvjitlink.api import NvJitLinker, NvJitLinkError __all__ = (NvJitLinker, NvJitLinkError) __version__ = '0.0.0'
0
rapidsai_public_repos/pynvjitlink
rapidsai_public_repos/pynvjitlink/pynvjitlink/VERSION
0.1.0
0
rapidsai_public_repos/pynvjitlink/pynvjitlink
rapidsai_public_repos/pynvjitlink/pynvjitlink/tests/test_patch.py
# Copyright (c) 2023, NVIDIA CORPORATION. import pytest import sys from pynvjitlink import patch, NvJitLinkError from pynvjitlink.patch import (PatchedLinker, patch_numba_linker, new_patched_linker, required_numba_ver, _numba_version_ok) from unittest.mock...
0
rapidsai_public_repos/pynvjitlink/pynvjitlink
rapidsai_public_repos/pynvjitlink/pynvjitlink/tests/test_pynvjitlink_api.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. import pytest import sys import os from pynvjitlink import NvJitLinker, NvJitLinkError @pytest.fixture def device_functions_cubin(): test_dir = os.path.dirname(os.path.abspath(__file__)) cubin_path = os.path.join(test_dir, 'test_device_functions...
0
rapidsai_public_repos/pynvjitlink/pynvjitlink
rapidsai_public_repos/pynvjitlink/pynvjitlink/tests/test_pynvjitlink.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. import os import pytest from pynvjitlink import _nvjitlinklib from pynvjitlink.api import InputType def read_test_file(filename): test_dir = os.path.dirname(os.path.abspath(__file__)) path = os.path.join(test_dir, filename) with open(path, '...
0
rapidsai_public_repos
rapidsai_public_repos/workflows/README.md
# workflows This repository contains RAPIDS nightly build/test workflows.
0
rapidsai_public_repos
rapidsai_public_repos/jupyterlab-nvdashboard/package.json
{ "name": "jupyterlab-nvdashboard", "version": "0.10.0", "description": "A JupyterLab extension for displaying GPU usage dashboards", "keywords": [ "jupyter", "jupyterlab", "jupyterlab-extension" ], "homepage": "https://github.com/rapidsai/jupyterlab-nvdashboard", "bugs": { "url": "https:/...
0
rapidsai_public_repos
rapidsai_public_repos/jupyterlab-nvdashboard/setup.cfg
[metadata] license_files = LICENSE.txt
0
rapidsai_public_repos
rapidsai_public_repos/jupyterlab-nvdashboard/pyproject.toml
[build-system] requires = ["jupyter_packaging~=0.7.9", "jupyterlab>=3.0.0rc13,==3.*", "setuptools>=40.8.0", "wheel"] build-backend = "setuptools.build_meta"
0
rapidsai_public_repos
rapidsai_public_repos/jupyterlab-nvdashboard/yarn.lock
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. # yarn lockfile v1 "@babel/code-frame@7.12.11": version "7.12.11" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f" integrity sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA...
0
rapidsai_public_repos
rapidsai_public_repos/jupyterlab-nvdashboard/.prettierignore
node_modules **/node_modules **/lib **/package.json
0
rapidsai_public_repos
rapidsai_public_repos/jupyterlab-nvdashboard/README.md
# JupyterLab NVDashboard ![GPU Dashboard](demo.gif) ![Github Actions Status](https://github.com/rapidsai/jupyterlab-nvdashboard/workflows/Build/badge.svg) NVDashboard is a JupyterLab extension for displaying GPU usage dashboards. It enables JupyterLab users to visualize system hardware metrics within the same intera...
0
rapidsai_public_repos
rapidsai_public_repos/jupyterlab-nvdashboard/.eslintignore
node_modules dist coverage **/*.d.ts tests
0
rapidsai_public_repos
rapidsai_public_repos/jupyterlab-nvdashboard/tsconfig.json
{ "compilerOptions": { "allowSyntheticDefaultImports": true, "composite": true, "declaration": true, "esModuleInterop": true, "incremental": true, "jsx": "react", "module": "esnext", "moduleResolution": "node", "noEmitOnError": true, "noImplicitAny": true, "noUnusedLocals":...
0
rapidsai_public_repos
rapidsai_public_repos/jupyterlab-nvdashboard/MANIFEST.in
include LICENSE include README.md include pyproject.toml include jupyter-config/jupyterlab_nvdashboard.json include package.json include install.json include ts*.json include requirements.txt graft jupyterlab_nvdashboard/labextension # Javascript files graft src graft style prune **/node_modules prune lib # Pattern...
0
rapidsai_public_repos
rapidsai_public_repos/jupyterlab-nvdashboard/.prettierrc
{ "singleQuote": true }
0
rapidsai_public_repos
rapidsai_public_repos/jupyterlab-nvdashboard/.eslintrc.js
module.exports = { extends: [ 'eslint:recommended', 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended' ], parser: '@typescript-eslint/parser', parserOptions: { project: 'tsconfig.json', sourceType: 'module' }, plugin...
0
rapidsai_public_repos
rapidsai_public_repos/jupyterlab-nvdashboard/setup.py
""" jupyterlab_nvdashboard setup """ import json import os from jupyter_packaging import ( create_cmdclass, install_npm, ensure_targets, combine_commands, skip_if_exists ) import setuptools HERE = os.path.abspath(os.path.dirname(__file__)) # The name of the project name="jupyterlab_nvdashboard" # Get our ve...
0
rapidsai_public_repos
rapidsai_public_repos/jupyterlab-nvdashboard/LICENSE
BSD 3-Clause License Copyright (c) 2020, NVDashboard Contributors All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of...
0
rapidsai_public_repos
rapidsai_public_repos/jupyterlab-nvdashboard/install.json
{ "packageManager": "python", "packageName": "jupyterlab_nvdashboard", "uninstallInstructions": "Use your Python package manager (pip, conda, etc.) to uninstall the package jupyterlab_nvdashboard" }
0
rapidsai_public_repos
rapidsai_public_repos/jupyterlab-nvdashboard/tslint.json
{ "rulesDirectory": ["tslint-plugin-prettier"], "rules": { "prettier": [true, { "singleQuote": true }], "align": [true, "parameters", "statements"], "ban": [ true, ["_", "forEach"], ["_", "each"], ["$", "each"], ["angular", "forEach"] ], "class-name": true, "com...
0
rapidsai_public_repos
rapidsai_public_repos/jupyterlab-nvdashboard/requirements.txt
jupyter-server-proxy bokeh>2.1 pynvml>=11.0.0 psutil jupyterlab>=3.0.0rc13,==3.*
0
rapidsai_public_repos/jupyterlab-nvdashboard
rapidsai_public_repos/jupyterlab-nvdashboard/demo/GPU Dashboard Demo.ipynb
import distributed from dask_cuda import LocalCUDACluster import dask_cudf cluster = LocalCUDACluster() client = distributed.Client(cluster)gdf = dask_cudf.read_csv('/datasets/nyc_taxi/**/*')gdf = gdf.persist()len(gdf)
0
rapidsai_public_repos/jupyterlab-nvdashboard/conda/recipes
rapidsai_public_repos/jupyterlab-nvdashboard/conda/recipes/jupyterlab-nvdashboard/meta.yaml
{% set version = environ.get('GIT_DESCRIBE_TAG', '0.0.0.dev').lstrip('v') %} {% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %} {% set py_version=environ.get('CONDA_PY', 37) %} {% set date_string = environ['RAPIDS_DATE_STRING'] %} package: name: jupyterlab-nvdashboard version: {{ versio...
0
rapidsai_public_repos/jupyterlab-nvdashboard
rapidsai_public_repos/jupyterlab-nvdashboard/jupyterlab_nvdashboard/server.py
import sys import os from bokeh.server.server import Server from tornado.ioloop import IOLoop from tornado import web from jupyterlab_nvdashboard import apps DEFAULT_PORT = 8000 routes = { # "/CPU-Utilization": apps.cpu.cpu, "/Machine-Resources": apps.cpu.resource_timeline, } if apps.gpu.ngpus > 0: ro...
0
rapidsai_public_repos/jupyterlab-nvdashboard
rapidsai_public_repos/jupyterlab-nvdashboard/jupyterlab_nvdashboard/_version.py
__all__ = ["__version__"] def _fetchVersion(): import json import os HERE = os.path.abspath(os.path.dirname(__file__)) for d, _, _ in os.walk(HERE): try: with open(os.path.join(d, "package.json")) as f: return json.load(f)["version"] except FileNotFoundErr...
0
rapidsai_public_repos/jupyterlab-nvdashboard
rapidsai_public_repos/jupyterlab-nvdashboard/jupyterlab_nvdashboard/__init__.py
""" Return config on servers to start for bokeh See https://jupyter-server-proxy.readthedocs.io/en/latest/server-process.html for more information. """ import os import sys serverfile = os.path.join(os.path.dirname(__file__), "server.py") def launch_server(): return {"command": [sys.executable, serverfile, "{por...
0
rapidsai_public_repos/jupyterlab-nvdashboard
rapidsai_public_repos/jupyterlab-nvdashboard/jupyterlab_nvdashboard/utils.py
def format_bytes(n): """Format bytes as text Copied from dask to avoid dependency. """ if n > 1e15: return "%0.2f PB" % (n / 1e15) if n > 1e12: return "%0.2f TB" % (n / 1e12) if n > 1e9: return "%0.2f GB" % (n / 1e9) if n > 1e6: return "%0.2f MB" % (n / 1e6)...
0
rapidsai_public_repos/jupyterlab-nvdashboard/jupyterlab_nvdashboard
rapidsai_public_repos/jupyterlab-nvdashboard/jupyterlab_nvdashboard/tests/test_utils.py
import pytest def test_format_bytes(): from jupyterlab_nvdashboard.utils import format_bytes assert format_bytes(1e13) == "10.00 TB"
0
rapidsai_public_repos/jupyterlab-nvdashboard/jupyterlab_nvdashboard
rapidsai_public_repos/jupyterlab-nvdashboard/jupyterlab_nvdashboard/apps/gpu.py
from bokeh.plotting import figure, ColumnDataSource from bokeh.models import DataRange1d, NumeralTickFormatter, BasicTicker from bokeh.layouts import column from bokeh.models.mappers import LinearColorMapper from bokeh.palettes import all_palettes import math import time import pynvml from jupyterlab_nvdashboard.uti...
0
rapidsai_public_repos/jupyterlab-nvdashboard/jupyterlab_nvdashboard
rapidsai_public_repos/jupyterlab-nvdashboard/jupyterlab_nvdashboard/apps/__init__.py
from . import cpu from . import gpu
0
rapidsai_public_repos/jupyterlab-nvdashboard/jupyterlab_nvdashboard
rapidsai_public_repos/jupyterlab-nvdashboard/jupyterlab_nvdashboard/apps/cpu.py
from bokeh.plotting import figure, ColumnDataSource from bokeh.models import DataRange1d, NumeralTickFormatter from bokeh.layouts import column from bokeh.models.mappers import LinearColorMapper from bokeh.palettes import all_palettes import psutil import time def cpu(doc): fig = figure( title="CPU Utili...
0
rapidsai_public_repos/jupyterlab-nvdashboard/ci
rapidsai_public_repos/jupyterlab-nvdashboard/ci/gpu/build.sh
#!/bin/bash # Copyright (c) 2020, NVIDIA CORPORATION. set -e NUMARGS=$# ARGS=$* # Arg parsing function function hasArg { (( ${NUMARGS} != 0 )) && (echo " ${ARGS} " | grep -q " $1 ") } # Set path and build parallel level export PATH=/opt/conda/bin:/usr/local/cuda/bin:$PATH export PARALLEL_LEVEL=${PARALLEL_LEVEL:-4...
0
rapidsai_public_repos/jupyterlab-nvdashboard/ci
rapidsai_public_repos/jupyterlab-nvdashboard/ci/release/update-version.sh
#!/bin/bash ######################## # Version Updater # ######################## ## Usage # bash update-version.sh <new_version> # Format is YY.MM.PP - no leading 'v' or trailing 'a' NEXT_FULL_TAG=$1 # Get current version CURRENT_TAG=$(git tag --merged HEAD | grep -xE '^v.*' | sort --version-sort | tail -n 1 ...
0
rapidsai_public_repos/jupyterlab-nvdashboard/ci
rapidsai_public_repos/jupyterlab-nvdashboard/ci/checks/style.sh
#!/bin/bash # Copyright (c) 2020, NVIDIA CORPORATION. # Ignore errors and set path set +e PATH=/opt/conda/bin:$PATH # Activate common conda env . /opt/conda/etc/profile.d/conda.sh conda activate rapids # Run flake8 and get results/return code FLAKE=`flake8 --exclude=src,style,test` RETVAL=$? # Output results if fai...
0
rapidsai_public_repos/jupyterlab-nvdashboard/ci
rapidsai_public_repos/jupyterlab-nvdashboard/ci/cpu/build.sh
#!/bin/bash # Copyright (c) 2020-2022, NVIDIA CORPORATION. set -e # Set path and build parallel level export PATH=/opt/conda/bin:/usr/local/cuda/bin:$PATH export PARALLEL_LEVEL=${PARALLEL_LEVEL:-4} # Set home to the job's workspace export HOME="$WORKSPACE" # Switch to project root; also root of repo checkout cd "$WO...
0
rapidsai_public_repos/jupyterlab-nvdashboard/ci
rapidsai_public_repos/jupyterlab-nvdashboard/ci/cpu/upload.sh
#!/bin/bash # Copyright (c) 2020, NVIDIA CORPORATION. set -e # Setup 'gpuci_retry' for upload retries (results in 4 total attempts) export GPUCI_RETRY_MAX=3 export GPUCI_RETRY_SLEEP=30 # Set default label options if they are not defined elsewhere export LABEL_OPTION=${LABEL_OPTION:-"--label main"} # Skip uploads un...
0
rapidsai_public_repos/jupyterlab-nvdashboard
rapidsai_public_repos/jupyterlab-nvdashboard/src/index.ts
import { ILabShell, ILayoutRestorer, JupyterFrontEnd, JupyterFrontEndPlugin } from '@jupyterlab/application'; import { WidgetTracker } from '@jupyterlab/apputils'; import { BokehDashboard, BokehDashboardLauncher, IDashboardItem } from './dashboard'; import '../style/index.css'; const COMMAND_ID = 'bok...
0
rapidsai_public_repos/jupyterlab-nvdashboard
rapidsai_public_repos/jupyterlab-nvdashboard/src/handler.ts
import { URLExt } from '@jupyterlab/coreutils'; import { ServerConnection } from '@jupyterlab/services'; /** * Call the API extension * * @param endPoint API REST end point for the extension * @param init Initial values for the request * @returns The response body interpreted as JSON */ export async function re...
0
rapidsai_public_repos/jupyterlab-nvdashboard
rapidsai_public_repos/jupyterlab-nvdashboard/src/dashboard.tsx
import { IFrame, MainAreaWidget } from '@jupyterlab/apputils'; import { URLExt } from '@jupyterlab/coreutils'; import { ServerConnection } from '@jupyterlab/services'; import { JSONExt, JSONObject } from '@lumino/coreutils'; import { Message } from '@lumino/messaging'; import { Widget, PanelLayout } from '@lumino/...
0
rapidsai_public_repos/jupyterlab-nvdashboard
rapidsai_public_repos/jupyterlab-nvdashboard/style/index.js
import './base.css';
0
rapidsai_public_repos/jupyterlab-nvdashboard
rapidsai_public_repos/jupyterlab-nvdashboard/style/index.css
@import url('base.css');
0
rapidsai_public_repos/jupyterlab-nvdashboard
rapidsai_public_repos/jupyterlab-nvdashboard/style/base.css
:root { --bokeh-launch-button-height: 28px; } /** * Rules related to the overall sidebar panel. */ .bokeh-BokehDashboardLauncher { background: var(--jp-layout-color1); color: var(--jp-ui-font-color1); font-size: var(--jp-ui-font-size1); overflow: auto; } .bokeh-BokehDashboardLaunch...
0
rapidsai_public_repos/jupyterlab-nvdashboard
rapidsai_public_repos/jupyterlab-nvdashboard/style/expansion-card-variant-dark.svg
<svg width="26" height="11" viewBox="0 0 26 11" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M26 0H4V9H6V11H15V9H26V0ZM21.5 7C22.8807 7 24 5.88071 24 4.5C24 3.11929 22.8807 2 21.5 2C20.1193 2 19 3.11929 19 4.5C19 5.88071 20.1193 7 21.5 7Z" fill="#E0E0E0"/> <path d="M0...
0
rapidsai_public_repos/jupyterlab-nvdashboard
rapidsai_public_repos/jupyterlab-nvdashboard/style/expansion-card-variant-light.svg
<svg width="26" height="11" viewBox="0 0 26 11" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M26 0H4V9H6V11H15V9H26V0ZM21.5 7C22.8807 7 24 5.88071 24 4.5C24 3.11929 22.8807 2 21.5 2C20.1193 2 19 3.11929 19 4.5C19 5.88071 20.1193 7 21.5 7Z" fill="#616161"/> <path d="M0...
0
rapidsai_public_repos/jupyterlab-nvdashboard
rapidsai_public_repos/jupyterlab-nvdashboard/test/test.js
// Dummy test for now var assert = require('assert'); describe('Array', function () { describe('#indexOf()', function () { it('should return -1 when the value is not present', function () { assert.equal([1, 2, 3].indexOf(4), -1); }); }); });
0
rapidsai_public_repos
rapidsai_public_repos/ops-bot/package.json
{ "name": "ops-bot", "version": "1.0.0", "private": true, "description": "RAPIDS Probot App", "author": "AJ Schmidt <aschmidt@nvidia.com>", "license": "ISC", "repository": "https://github.com/ajschmidt8/ops-bot.git", "homepage": "https://github.com/ajschmidt8/ops-bot", "bugs": "https://github.com/ajsc...
0
rapidsai_public_repos
rapidsai_public_repos/ops-bot/jest.config.js
module.exports = { roots: ['<rootDir>/src/', '<rootDir>/test/'], transform: { '^.+\\.tsx?$': 'ts-jest' }, testRegex: '(/__tests__/.*|\\.(test|spec))\\.[tj]sx?$', moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], coveragePathIgnorePatterns: ["/node_modules/", "test/"], }
0
rapidsai_public_repos
rapidsai_public_repos/ops-bot/renovate.json
{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["config:base"] }
0
rapidsai_public_repos
rapidsai_public_repos/ops-bot/tsconfig.prod.json
{ "extends": "./tsconfig", "include": ["src/"] }
0
rapidsai_public_repos
rapidsai_public_repos/ops-bot/README.md
# ops-bot This repo contains a [Probot](https://github.com/probot/probot) application. The application contains the plugins listed below and is deployed using the [probot/serverless-lambda](https://github.com/probot/serverless-lambda) package via the [Serverless framework](https://www.serverless.com/). ## Plugins Th...
0
rapidsai_public_repos
rapidsai_public_repos/ops-bot/tsconfig.json
{ "compilerOptions": { /* Basic Options */ "incremental": true /* Enable incremental compilation */, "target": "es5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */, "module": "commonjs" /* Specify module code generation: '...
0
rapidsai_public_repos
rapidsai_public_repos/ops-bot/TROUBLESHOOTING.md
# Troubleshooting ## Introduction This document outlines how to troubleshoot the `ops-bot` Probot application using AWS's [CloudWatch](https://aws.amazon.com/cloudwatch/) logs. As noted in the [serverless.yaml](./serverless.yaml) file under the `logRetentionInDays` key, the logs are kept for 60 days. 1. Navigate to...
0
rapidsai_public_repos
rapidsai_public_repos/ops-bot/package-lock.json
{ "name": "ops-bot", "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ops-bot", "version": "1.0.0", "license": "ISC", "dependencies": { "@aws-sdk/client-lambda": "^3.398.0", "@probot/adapter-aws-lambda-serverless": "^3.0.3", ...
0
rapidsai_public_repos
rapidsai_public_repos/ops-bot/LICENSE
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, ...
0
rapidsai_public_repos
rapidsai_public_repos/ops-bot/serverless.yaml
service: ops-bot provider: name: aws region: us-east-2 memorySize: 1024 stage: dev runtime: nodejs18.x logRetentionInDays: 60 apiGateway: shouldStartNameWithService: true deploymentBucket: name: rapidsai-serverless-deployments environment: NODE_ENV: production LOG_FORMAT: json LOG...
0
rapidsai_public_repos/ops-bot
rapidsai_public_repos/ops-bot/src/types.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot
rapidsai_public_repos/ops-bot/src/index.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot
rapidsai_public_repos/ops-bot/src/probot.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot
rapidsai_public_repos/ops-bot/src/authorizer.ts
import { authorizer } from "webhook-authorizer"; import { APIGatewayProxyEvent, APIGatewayProxyResult } from "aws-lambda"; import { LambdaClient, InvokeCommand } from "@aws-sdk/client-lambda"; export const handler = async ( event: APIGatewayProxyEvent ): Promise<APIGatewayProxyResult> => { const resp = await autho...
0
rapidsai_public_repos/ops-bot
rapidsai_public_repos/ops-bot/src/plugin.ts
import { Context, Logger } from "probot"; import { DefaultOpsBotConfig, OpsBotConfig, OpsBotConfigFeatureNames, OpsBotConfigFeatureValues, OpsBotConfigPath, } from "./config"; // Abstract Base Class export class OpsBotPlugin { public context: Context; public logger: Logger; public pluginName: keyof Ops...
0
rapidsai_public_repos/ops-bot
rapidsai_public_repos/ops-bot/src/config.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot
rapidsai_public_repos/ops-bot/src/shared.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot/src/plugins
rapidsai_public_repos/ops-bot/src/plugins/RecentlyUpdated/index.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot/src/plugins
rapidsai_public_repos/ops-bot/src/plugins/RecentlyUpdated/pull_request.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot/src/plugins
rapidsai_public_repos/ops-bot/src/plugins/RecentlyUpdated/push.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot/src/plugins
rapidsai_public_repos/ops-bot/src/plugins/RecentlyUpdated/check_pr.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot/src/plugins
rapidsai_public_repos/ops-bot/src/plugins/AutoMerger/index.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot/src/plugins
rapidsai_public_repos/ops-bot/src/plugins/AutoMerger/resolve_prs.ts
import { Logger } from "probot"; import { issueIsPR, isMergeComment, isOldMergeComment } from "../../shared"; import { AutoMergerContext, CheckSuiteContext, IssueCommentContext, PRReviewContext, StatusContext, } from "../../types"; export class PRNumberResolver { public context: AutoMergerContext; public...
0
rapidsai_public_repos/ops-bot/src/plugins
rapidsai_public_repos/ops-bot/src/plugins/AutoMerger/auto_merger.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot/src/plugins
rapidsai_public_repos/ops-bot/src/plugins/ReleaseDrafter/index.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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...
0
rapidsai_public_repos/ops-bot/src/plugins
rapidsai_public_repos/ops-bot/src/plugins/ReleaseDrafter/release_drafter.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot/src/plugins
rapidsai_public_repos/ops-bot/src/plugins/ReleaseDrafter/draft_template.njk
{% macro prEntry(pr) %} - {{ pr.title | trim }} (#{{ pr.number }}) @{{ pr.user.login }} {%- endmacro %} ## 🔗 Links - [Development Branch](https://github.com/{{ repoFullName }}/tree/{{ branchName }}) - [Compare with `main` branch](https://github.com/{{ repoFullName }}/compare/main...{{ branchName }}) {% if hasEntrie...
0
rapidsai_public_repos/ops-bot/src/plugins
rapidsai_public_repos/ops-bot/src/plugins/LabelChecker/index.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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...
0
rapidsai_public_repos/ops-bot/src/plugins
rapidsai_public_repos/ops-bot/src/plugins/LabelChecker/label_checker.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot/src/plugins
rapidsai_public_repos/ops-bot/src/plugins/BranchChecker/index.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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...
0
rapidsai_public_repos/ops-bot/src/plugins
rapidsai_public_repos/ops-bot/src/plugins/BranchChecker/pull_request.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot/src/plugins
rapidsai_public_repos/ops-bot/src/plugins/BranchChecker/repository.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot/src/plugins
rapidsai_public_repos/ops-bot/src/plugins/BranchChecker/check_pr.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot
rapidsai_public_repos/ops-bot/test/recently_updated.test.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot
rapidsai_public_repos/ops-bot/test/mocks.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot
rapidsai_public_repos/ops-bot/test/is_plugin_disabled.test.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot
rapidsai_public_repos/ops-bot/test/auto_merger.test.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot
rapidsai_public_repos/ops-bot/test/release_drafter.test.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot
rapidsai_public_repos/ops-bot/test/branch_checker.test.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot
rapidsai_public_repos/ops-bot/test/label_checker.test.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot/test/fixtures
rapidsai_public_repos/ops-bot/test/fixtures/contexts/pull_request.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot/test/fixtures
rapidsai_public_repos/ops-bot/test/fixtures/contexts/issue_comment.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot/test/fixtures
rapidsai_public_repos/ops-bot/test/fixtures/contexts/push.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot/test/fixtures
rapidsai_public_repos/ops-bot/test/fixtures/contexts/base.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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 ...
0
rapidsai_public_repos/ops-bot/test/fixtures
rapidsai_public_repos/ops-bot/test/fixtures/contexts/status.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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...
0
rapidsai_public_repos/ops-bot/test/fixtures
rapidsai_public_repos/ops-bot/test/fixtures/contexts/pull_request_review.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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...
0
rapidsai_public_repos/ops-bot/test/fixtures
rapidsai_public_repos/ops-bot/test/fixtures/contexts/repository.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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...
0
rapidsai_public_repos/ops-bot/test/fixtures
rapidsai_public_repos/ops-bot/test/fixtures/responses/get_config.ts
/* * Copyright (c) 2022, NVIDIA CORPORATION. * * 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...
0
rapidsai_public_repos/ops-bot/test/fixtures
rapidsai_public_repos/ops-bot/test/fixtures/responses/list_comments.json
[ { "url": "https://api.github.com/repos/rapidsai/cudf/issues/comments/728170528", "html_url": "https://github.com/rapidsai/cudf/pull/6775#issuecomment-728170528", "issue_url": "https://api.github.com/repos/rapidsai/cudf/issues/6775", "id": 728170528, "node_id": "MDEyOklzc3VlQ29tbWVudDcyODE3MDUyOA...
0
rapidsai_public_repos/ops-bot/test/fixtures
rapidsai_public_repos/ops-bot/test/fixtures/responses/get_release_by_tag.json
{ "data": { "id": 1, "name": "[NIGHTLY] v21.06.00" } }
0
rapidsai_public_repos/ops-bot/test/fixtures
rapidsai_public_repos/ops-bot/test/fixtures/responses/get_collaborator_permission_level.json
{ "data": { "permission": "write", "user": { "login": "ajschmidt8", "id": 7400326, "node_id": "MDQ6VXNlcjc0MDAzMjY=", "avatar_url": "https://avatars0.githubusercontent.com/u/7400326?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ajschmidt8", "html_url":...
0
rapidsai_public_repos/ops-bot/test/fixtures
rapidsai_public_repos/ops-bot/test/fixtures/responses/search_issues_and_pull_requests.json
{ "data": { "items": [ { "number": 1234, "title": "[WIP] [skip-ci] Some PR title", "user": { "login": "octokit" }, "labels": [{ "name": "breaking" }, { "name": "bug" }] } ] } }
0