mirror of
https://codeberg.org/cunicu/cunicu.git
synced 2025-09-26 21:01:14 +08:00
Rename master branch to main
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
@@ -7,4 +7,4 @@ ignore:
|
||||
- pkg/proto/**/*.pb.go
|
||||
|
||||
codecov:
|
||||
strict_yaml_branch: master
|
||||
strict_yaml_branch: main
|
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@@ -8,7 +8,7 @@ name: Build
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
2
.github/workflows/reuse.yaml
vendored
2
.github/workflows/reuse.yaml
vendored
@@ -8,7 +8,7 @@ name: Compliance Checks
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
2
.github/workflows/test-website.yaml
vendored
2
.github/workflows/test-website.yaml
vendored
@@ -8,7 +8,7 @@ name: Test build of website
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
defaults:
|
||||
|
@@ -9,7 +9,7 @@ SPDX-License-Identifier: Apache-2.0
|
||||
[](https://github.com/cunicu/cunicu/actions)
|
||||
[](https://goreportcard.com/report/github.com/cunicu/cunicu)
|
||||
[](https://app.codecov.io/gh/cunicu/cunicu)
|
||||
[](https://github.com/cunicu/cunicu/blob/master/LICENSE)
|
||||
[](https://github.com/cunicu/cunicu/blob/main/LICENSE)
|
||||

|
||||
[](https://pkg.go.dev/github.com/cunicu/cunicu)
|
||||
</div>
|
||||
|
@@ -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)
|
||||
},
|
||||
|
@@ -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';
|
||||
|
||||
|
@@ -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';
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -12,7 +12,7 @@ hide_title: true
|
||||
[](https://github.com/cunicu/cunicu/actions)
|
||||
[](https://goreportcard.com/report/github.com/cunicu/cunicu)
|
||||
[](https://app.codecov.io/gh/cunicu/cunicu)
|
||||
[](https://github.com/cunicu/cunicu/blob/master/LICENSE)
|
||||
[](https://github.com/cunicu/cunicu/blob/main/LICENSE)
|
||||

|
||||
[](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
|
||||
|
||||
|
@@ -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"),
|
||||
|
Reference in New Issue
Block a user