Skip to content

Commit

Permalink
Add the initial implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidtw committed Jan 16, 2025
0 parents commit dfbfb3e
Show file tree
Hide file tree
Showing 25 changed files with 2,026 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# SPDX-FileCopyrightText: 2024 Comcast Cable Communications Management, LLC
# SPDX-License-Identifier: Apache-2.0
---
coverage:
range: 50..80
round: down
precision: 2

ignore:
- "*_test.go"
- "vendor"
28 changes: 28 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# SPDX-FileCopyrightText: 2023 Comcast Cable Communications Management, LLC
# SPDX-License-Identifier: Apache-2.0
---
version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every day
interval: "daily"
labels:
- "dependencies"
commit-message:
prefix: "chore"
include: "scope"
open-pull-requests-limit: 10

- package-ecosystem: gomod
directory: /
schedule:
interval: daily
labels:
- "dependencies"
commit-message:
prefix: "chore"
include: "scope"
open-pull-requests-limit: 10
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# SPDX-FileCopyrightText: 2022 Comcast Cable Communications Management, LLC
# SPDX-License-Identifier: Apache-2.0
---
name: CI

on:
push:
branches:
- main
paths-ignore:
- README.md
- CONTRIBUTING.md
- MAINTAINERS.md
- LICENSE
- NOTICE
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
pull_request:
workflow_dispatch:

jobs:
ci:
uses: xmidt-org/shared-go/.github/workflows/ci.yml@766cd1914571123cc26ab6e0f1782c784dc4f11f # v4.4.28
with:
release-type: library
yaml-lint-skip: false
secrets: inherit
15 changes: 15 additions & 0 deletions .github/workflows/dependabot-approver.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# SPDX-FileCopyrightText: 2022 Comcast Cable Communications Management, LLC
# SPDX-License-Identifier: Apache-2.0
---
name: 'Dependabot auto approval'

on:
pull_request_target
permissions:
pull-requests: write
contents: write

jobs:
package:
uses: xmidt-org/.github/.github/workflows/dependabot-approver-template.yml@main
secrets: inherit
17 changes: 17 additions & 0 deletions .github/workflows/proj-xmidt-team.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# SPDX-FileCopyrightText: 2022 Comcast Cable Communications Management, LLC
# SPDX-License-Identifier: Apache-2.0
---
name: 'PROJ: xmidt-team'

on:
issues:
types:
- opened
pull_request:
types:
- opened

jobs:
package:
uses: xmidt-org/.github/.github/workflows/proj-template.yml@proj-v1
secrets: inherit
29 changes: 29 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# If you prefer the allow list template instead of the deny list, see community template:
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
#
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib

# Test binary, built with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Dependency directories (remove the comment below to include it)
# vendor/

# Go workspace file
go.work
go.work.sum

# env file
.env

.vscode/**

*.pem
40 changes: 40 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: wrpssp
Upstream-Contact: Weston Schmidt <[email protected]>
Source: https://github.com/xmidt-org/wrpssp

Files: .golangci.yml
Copyright: SPDX-FileCopyrightText: 2024 Comcast Cable Communications Management, LLC
License: Apache-2.0

Files: go.mod
Copyright: SPDX-FileCopyrightText: 2025 Comcast Cable Communications Management, LLC
License: Apache-2.0

Files: go.sum
Copyright: SPDX-FileCopyrightText: 2025 Comcast Cable Communications Management, LLC
License: Apache-2.0

Files: .gitignore
Copyright: SPDX-FileCopyrightText: 2025 Comcast Cable Communications Management, LLC
License: Apache-2.0

Files: CONTRIBUTING.md
Copyright: SPDX-FileCopyrightText: 2025 Comcast Cable Communications Management, LLC
License: Apache-2.0

Files: MAINTAINERS.md
Copyright: SPDX-FileCopyrightText: 2025 Comcast Cable Communications Management, LLC
License: Apache-2.0

Files: NOTICE
Copyright: SPDX-FileCopyrightText: 2025 Comcast Cable Communications Management, LLC
License: Apache-2.0

Files: README.md
Copyright: SPDX-FileCopyrightText: 2025 Comcast Cable Communications Management, LLC
License: Apache-2.0

Files: protocol.md
Copyright: SPDX-FileCopyrightText: 2025 Comcast Cable Communications Management, LLC
License: Apache-2.0
37 changes: 37 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# SPDX-FileCopyrightText: 2024 Comcast Cable Communications Management, LLC
# SPDX-License-Identifier: Apache-2.0
---

extends: default

ignore: []

rules:
braces:
level: warning
max-spaces-inside: 1
brackets:
level: warning
max-spaces-inside: 1
colons:
level: warning
max-spaces-after: -1
commas:
level: warning
comments: disable
comments-indentation: disable
document-start:
present: true
empty-lines:
max: 2
hyphens:
max-spaces-after: 1
indentation:
level: error
indent-sequences: consistent
line-length:
level: warning
max: 90
allow-non-breakable-words: true
allow-non-breakable-inline-mappings: true
truthy: disable
Loading

0 comments on commit dfbfb3e

Please sign in to comment.