Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add/license #98

Merged
merged 2 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,10 @@ jobs:

- name: Run Tests
run: go test -v ./...

check-license-lines:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check License Lines
uses: kt3k/[email protected]
12 changes: 12 additions & 0 deletions .licenserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"**/*.go": [
"// Copyright 2024 Blindspot Software",
"// Use of this source code is governed by a BSD-style",
"// license that can be found in the LICENSE file."
],

"ignore": [
"protobuf/gen/",
"vendor/"
]
}
4 changes: 4 additions & 0 deletions cmds/dutagent/common.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2024 Blindspot Software
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package main

import (
Expand Down
4 changes: 4 additions & 0 deletions cmds/dutagent/dutagent.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2024 Blindspot Software
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// dutagent is the server of the DUT Control system.
// The service ist designed to run on a single board computer,
// which can handle the wiring to the devices under test (DUTs).
Expand Down
3 changes: 3 additions & 0 deletions cmds/dutagent/rpc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2024 Blindspot Software
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main

import (
Expand Down
3 changes: 3 additions & 0 deletions cmds/dutagent/runRPC.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2024 Blindspot Software
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main

import (
Expand Down
5 changes: 4 additions & 1 deletion cmds/dutctl/dutctl.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// Copyright 2024 Blindspot Software
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// dutctl is the client application of the DUT Control system.
// It provides a command line interface to issue task on remote devices (DUTs).

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions cmds/dutctl/rpc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2024 Blindspot Software
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main

import (
Expand Down
4 changes: 4 additions & 0 deletions internal/chanio/chanio.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2024 Blindspot Software
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Package chanio provides a way to use channels as io.Reader and io.Writer.
package chanio

Expand Down
3 changes: 3 additions & 0 deletions internal/chanio/chanio_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2024 Blindspot Software
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package chanio

import (
Expand Down
4 changes: 4 additions & 0 deletions internal/dutagent/broker.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2024 Blindspot Software
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Package broker provides utilities for a dutagent service to handel the RPC requests.
package dutagent

Expand Down
3 changes: 3 additions & 0 deletions internal/dutagent/init.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2024 Blindspot Software
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package dutagent

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/dutagent/session.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2024 Blindspot Software
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package dutagent

import (
Expand Down
3 changes: 3 additions & 0 deletions internal/dutagent/worker.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2024 Blindspot Software
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package dutagent

import (
Expand Down
4 changes: 4 additions & 0 deletions internal/fsm/fsm.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2024 Blindspot Software
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Package fsm provides a simple but powerful finite state machine implementation.
//
// The design is inspired by Rob Pike's talk "Lexical Scanning in Go".
Expand Down
3 changes: 3 additions & 0 deletions internal/fsm/fsm_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2024 Blindspot Software
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package fsm

import (
Expand Down
4 changes: 4 additions & 0 deletions pkg/dut/dut.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2024 Blindspot Software
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Package dut provides representation of the device-under-test (DUT).
package dut

Expand Down
3 changes: 3 additions & 0 deletions pkg/module/dummy/dummy_file_transfer.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2024 Blindspot Software
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package dummy

import (
Expand Down
3 changes: 3 additions & 0 deletions pkg/module/dummy/dummy_repeat.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright 2024 Blindspot Software
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package dummy

import (
Expand Down
4 changes: 4 additions & 0 deletions pkg/module/dummy/dummy_status.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2024 Blindspot Software
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Dummy module implementation.
package dummy

Expand Down
4 changes: 4 additions & 0 deletions pkg/module/module.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2024 Blindspot Software
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Package module provides a plugin system for the DUT package.
// Modules are the building blocks of a command and host the actual implementation
// of the steps that are executed on a device-under-test (DUT).
Expand Down