diff --git a/.circleci/config.yml b/.circleci/config.yml index 001aff854..b90963eb7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,11 +1,3 @@ -#Splunk Connect for Syslog (SC4S) by Splunk, Inc. -# -#To the extent possible under law, the person who associated CC0 with -#Splunk Connect for Syslog (SC4S) has waived all copyright and related or neighboring rights -#to Splunk Connect for Syslog (SC4S). -# -#You should have received a copy of the CC0 legalcode along with this -#work. If not, see . version: 2.1 orbs: go: circleci/go@0.2.0 diff --git a/.github/signatures/version1/cla.json b/.github/signatures/version1/cla.json deleted file mode 100644 index edf1b78d4..000000000 --- a/.github/signatures/version1/cla.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "signedContributors": [ - { - "name": "weliasz", - "id": 77732905, - "comment_id": 822297625, - "created_at": "2021-04-19T08:55:30Z", - "repoId": 334956698, - "pullRequestNo": 44 - }, - { - "name": "pszkamruk-splunk", - "id": 75434853, - "comment_id": 822298502, - "created_at": "2021-04-19T08:56:42Z", - "repoId": 334956698, - "pullRequestNo": 46 - }, - { - "name": "lstoppa", - "id": 77723162, - "comment_id": 822304134, - "created_at": "2021-04-19T09:04:44Z", - "repoId": 334956698, - "pullRequestNo": 48 - } - ] -} \ No newline at end of file diff --git a/.github/workflows/agreements.yaml b/.github/workflows/agreements.yaml new file mode 100644 index 000000000..96f1426a7 --- /dev/null +++ b/.github/workflows/agreements.yaml @@ -0,0 +1,58 @@ +name: "CLA Assistant" +on: + issue_comment: + types: [created] + pull_request_target: + types: [opened, closed, synchronize] + +jobs: + ContributorLicenseAgreement: + runs-on: ubuntu-latest + steps: + - name: "CLA Assistant" + if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' + # Alpha Release + uses: cla-assistant/github-action@v2.1.1-beta + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # the below token should have repo scope and must be manually added by you in the repository's secret + PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }} + with: + path-to-signatures: "signatures/version1/cla.json" + path-to-document: "https://github.com/splunk/cla-agreement/blob/main/CLA.md" # e.g. a CLA or a DCO document + # branch should not be protected + branch: "main" + allowlist: dependabot + #below are the optional inputs - If the optional inputs are not given, then default values will be taken + remote-organization-name: splunk + remote-repository-name: cla-agreement + #create-file-commit-message: 'For example: Creating file for storing CLA Signatures' + #signed-commit-messag e: 'For example: $contributorName has signed the CLA in #$pullRequestNo' + #custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign' + #custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA' + #custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.' + CodeOfConduct: + runs-on: ubuntu-latest + steps: + - name: "COC Assistant" + if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the Code of Conduct and I hereby accept the Terms') || github.event_name == 'pull_request_target' + # Alpha Release + uses: cla-assistant/github-action@v2.1.1-beta + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # the below token should have repo scope and must be manually added by you in the repository's secret + PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }} + with: + path-to-signatures: "signatures/version1/coc.json" + path-to-document: "https://github.com/splunk/cla-agreement/blob/main/CODE_OF_CONDUCT.md" # e.g. a COC or a DCO document + # branch should not be protected + branch: "main" + allowlist: dependabot + #below are the optional inputs - If the optional inputs are not given, then default values will be taken + remote-organization-name: splunk + remote-repository-name: cla-agreement + custom-pr-sign-comment: "I have read the Code of Conduct and I hereby accept the Terms" + create-file-commit-message: "For example: Creating file for storing COC Signatures" + signed-commit-message: "$contributorName has signed the COC in #$pullRequestNo" + custom-notsigned-prcomment: "All contributors have NOT signed the COC Document" + custom-allsigned-prcomment: "****CLA Assistant Lite bot**** All contributors have signed the COC ✍️ ✅" diff --git a/.github/workflows/cla.yaml b/.github/workflows/cla.yaml deleted file mode 100644 index 8fb879345..000000000 --- a/.github/workflows/cla.yaml +++ /dev/null @@ -1,33 +0,0 @@ -name: "CLA Assistant" -on: - issue_comment: - types: [created] - pull_request_target: - types: [opened, closed, synchronize] - -jobs: - CLAssistant: - runs-on: ubuntu-latest - steps: - - name: "CLA Assistant" - if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' - # Alpha Release - uses: cla-assistant/github-action@v2.0.2-alpha - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # the below token should have repo scope and must be manually added by you in the repository's secret - PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }} - with: - path-to-signatures: ".github/signatures/version1/cla.json" - path-to-document: "https://github.com/splunk/splunk-connect-for-snmp-traps/blob/main/CLA.md" # e.g. a CLA or a DCO document - # branch should not be protected - branch: "main" - allowlist: dependabot - #below are the optional inputs - If the optional inputs are not given, then default values will be taken - #remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository) - #remote-repository-name: enter the remote repository name where the signatures should be stored (Default is storing the signatures in the same repository) - #create-file-commit-message: 'For example: Creating file for storing CLA Signatures' - #signed-commit-messag e: 'For example: $contributorName has signed the CLA in #$pullRequestNo' - #custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign' - #custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA' - #custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.' diff --git a/README.md b/README.md index 109d3f2bd..d4f65d0cb 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # splunk-connect-for-snmp -Splunk Connect for SNMP Gets SNMP data in to Splunk Enterprise, Splunk Cloud, and Signal FX +Splunk Connect for SNMP Gets SNMP data in to Splunk Enterprise and Splunk Cloud Platform. This project repo is primarily the documentation and publishing repo for the integrated set of components. # Documentation -For deployment and user documentation [see](https://github.com/splunk/splunk-connect-for-snmp) +For deployment and user documentation [see](https://splunk-connect-for-snmp.readthedocs.io/) diff --git a/pyproject.toml b/pyproject.toml index 4715c3e9f..5622c5208 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,6 @@ log_cli_date_format = "%Y-%m-%d %H:%M:%S" [tool.poetry.dependencies] python = ">=3.6.8" -pysnmp = "^4.4.12" [tool.poetry.dev-dependencies] sphinx = "^4.0.1"