Rename master branch to main

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
Steffen Vogel
2023-08-19 12:22:40 +02:00
parent ff483f571d
commit 0f557378c2
12 changed files with 17 additions and 17 deletions

View File

@@ -7,4 +7,4 @@ ignore:
- pkg/proto/**/*.pb.go
codecov:
strict_yaml_branch: master
strict_yaml_branch: main

View File

@@ -8,7 +8,7 @@ name: Build
on:
push:
branches:
- master
- main
pull_request:
jobs:

View File

@@ -8,7 +8,7 @@ name: Compliance Checks
on:
push:
branches:
- master
- main
pull_request:
jobs:

View File

@@ -8,7 +8,7 @@ name: Test build of website
on:
push:
branches:
- master
- main
pull_request:
defaults:

View File

@@ -9,7 +9,7 @@ SPDX-License-Identifier: Apache-2.0
[![GitHub build](https://img.shields.io/github/actions/workflow/status/cunicu/cunicu/build.yaml?style=flat-square)](https://github.com/cunicu/cunicu/actions)
[![goreportcard](https://goreportcard.com/badge/github.com/cunicu/cunicu?style=flat-square)](https://goreportcard.com/report/github.com/cunicu/cunicu)
[![Codecov](https://img.shields.io/codecov/c/github/cunicu/cunicu?token=WWQ6SR16LA&style=flat-square)](https://app.codecov.io/gh/cunicu/cunicu)
[![License](https://img.shields.io/github/license/cunicu/cunicu?style=flat-square)](https://github.com/cunicu/cunicu/blob/master/LICENSE)
[![License](https://img.shields.io/github/license/cunicu/cunicu?style=flat-square)](https://github.com/cunicu/cunicu/blob/main/LICENSE)
![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/cunicu/cunicu?style=flat-square)
[![Go Reference](https://pkg.go.dev/badge/github.com/cunicu/cunicu.svg)](https://pkg.go.dev/github.com/cunicu/cunicu)
</div>

View File

@@ -31,8 +31,8 @@ func init() { //nolint:gochecknoinits
Use: "version",
Short: "Show version of the cunīcu binary and optionally also a running daemon",
Example: `$ sudo cunicu version
client: v0.1.2 (os=linux, arch=arm64, commit=b22ee3e7, branch=master, built-at=2022-09-09T13:44:22+02:00, built-by=goreleaser)
daemon: v0.1.2 (os=linux, arch=arm64, commit=b22ee3e7, branch=master, built-at=2022-09-09T13:44:22+02:00, built-by=goreleaser)`,
client: v0.1.2 (os=linux, arch=arm64, commit=b22ee3e7, branch=main, built-at=2022-09-09T13:44:22+02:00, built-by=goreleaser)
daemon: v0.1.2 (os=linux, arch=arm64, commit=b22ee3e7, branch=main, built-at=2022-09-09T13:44:22+02:00, built-by=goreleaser)`,
RunE: func(cmd *cobra.Command, args []string) error {
return version(cmd, args, opts)
},

View File

@@ -14,7 +14,7 @@ The following file contains a full-featured set of cunīcu's options.
You can find the file at:
- In a local installation: `/etc/cunicu/cunicu.advanced.yaml`
- In the Git repo: [`etc/cunicu.advanced.yaml`](https://github.com/cunicu/cunicu/blob/master/etc/cunicu.advanced.yaml)
- In the Git repo: [`etc/cunicu.advanced.yaml`](https://github.com/cunicu/cunicu/blob/main/etc/cunicu.advanced.yaml)
import ExampleConfig from '../../src/components/ExampleConfig';

View File

@@ -10,7 +10,7 @@ The following example contains just the basic settings.
You can find the file at:
- In a local installation: `/etc/cunicu/cunicu.yaml`
- In the Git repo: [`etc/cunicu.yaml`](https://github.com/cunicu/cunicu/blob/master/etc/cunicu.yaml)
- In the Git repo: [`etc/cunicu.yaml`](https://github.com/cunicu/cunicu/blob/main/etc/cunicu.yaml)
import ExampleConfig from '../../src/components/ExampleConfig';

View File

@@ -17,7 +17,7 @@ JSON Schema is the most portable and broadly supported choice for YAML validatio
The schema of cunīcu's configuration file is available at:
- [`etc/cunicu.schema.yaml`](https://github.com/cunicu/cunicu/blob/master/etc/cunicu.schema.yaml)
- [`etc/cunicu.schema.yaml`](https://github.com/cunicu/cunicu/blob/main/etc/cunicu.schema.yaml)
- https://cunicu.li/schemas/config.yaml
## Editor / Language Server support

View File

@@ -58,7 +58,7 @@ The _envelopes_ are containers which encrypt the carried _message_ via asymmetri
Both the _envelope_ and the _message_ are serialized using Protobuf.
Checkout the [`pkg/pb/signaling.proto`](https://github.com/cunicu/cunicu/blob/master/proto/signaling/signaling.proto) for details.
Checkout the [`pkg/pb/signaling.proto`](https://github.com/cunicu/cunicu/blob/main/proto/signaling/signaling.proto) for details.
## Backends
@@ -70,7 +70,7 @@ cunīcu can support multiple backends for signaling session information such as
- Kubernetes API server
For the use within a Kubernetes cluster also a dedicated backend using the Kubernetes api-server is available.
Checkout the [`Backend`](https://github.com/cunicu/cunicu/blob/master/pkg/signaling/backend.go) interface for implementing your own backend.
Checkout the [`Backend`](https://github.com/cunicu/cunicu/blob/main/pkg/signaling/backend.go) interface for implementing your own backend.
### Semantics
@@ -84,7 +84,7 @@ A backend must:
### Interface
All signaling backends implement the rather simple [`signaling.Backend` interface](https://github.com/cunicu/cunicu/blob/master/pkg/signaling/backend.go):
All signaling backends implement the rather simple [`signaling.Backend` interface](https://github.com/cunicu/cunicu/blob/main/pkg/signaling/backend.go):
```go
type Message = pb.SignalingMessage

View File

@@ -12,7 +12,7 @@ hide_title: true
[![GitHub build](https://img.shields.io/github/actions/workflow/status/cunicu/cunicu/build.yaml?style=flat-square)](https://github.com/cunicu/cunicu/actions)
[![goreportcard](https://goreportcard.com/badge/github.com/cunicu/cunicu?style=flat-square)](https://goreportcard.com/report/github.com/cunicu/cunicu)
[![Codecov](https://img.shields.io/codecov/c/github/cunicu/cunicu?token=WWQ6SR16LA&style=flat-square)](https://app.codecov.io/gh/cunicu/cunicu)
[![License](https://img.shields.io/github/license/cunicu/cunicu?style=flat-square)](https://github.com/cunicu/cunicu/blob/master/LICENSE)
[![License](https://img.shields.io/github/license/cunicu/cunicu?style=flat-square)](https://github.com/cunicu/cunicu/blob/main/LICENSE)
![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/cunicu/cunicu?style=flat-square)
[![Go Reference](https://pkg.go.dev/badge/github.com/cunicu/cunicu.svg)](https://pkg.go.dev/github.com/cunicu/cunicu)
</p>
@@ -66,7 +66,7 @@ It has been changed from the former name _wice_ in order to broaden the scope of
## License
cunīcu is licensed under the [Apache 2.0](https://github.com/cunicu/cunicu/blob/master/LICENSE) license.
cunīcu is licensed under the [Apache 2.0](https://github.com/cunicu/cunicu/blob/main/LICENSE) license.
## Funding acknowledgement

View File

@@ -96,7 +96,7 @@ module.exports = {
docs: {
sidebarPath: require.resolve("./sidebars.js"),
editUrl:
"https://github.com/cunicu/cunicu/edit/master/",
"https://github.com/cunicu/cunicu/edit/main/",
remarkPlugins: [
math
],
@@ -109,7 +109,7 @@ module.exports = {
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
"https://github.com/cunicu/cunicu/master/website",
"https://github.com/cunicu/cunicu/main/website",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),