Migrate repo to Codeberg

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
Steffen Vogel
2025-12-17 16:50:29 +01:00
parent cc5536a042
commit 41fd1cc08a
24 changed files with 68 additions and 81 deletions

View File

@@ -168,8 +168,8 @@ dockers:
- --platform=linux/amd64
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.description={{ .ProjectName }}
- --label=org.opencontainers.image.url=https://github.com/cunicu/{{ .ProjectName }}
- --label=org.opencontainers.image.source=https://github.com/cunicu/{{ .ProjectName }}
- --label=org.opencontainers.image.url=https://codeberg.org/cunicu/{{ .ProjectName }}
- --label=org.opencontainers.image.source=https://codeberg.org/cunicu/{{ .ProjectName }}
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
@@ -188,8 +188,8 @@ dockers:
- --platform=linux/arm64/v8
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.description={{ .ProjectName }}
- --label=org.opencontainers.image.url=https://github.com/cunicu/{{ .ProjectName }}
- --label=org.opencontainers.image.source=https://github.com/cunicu/{{ .ProjectName }}
- --label=org.opencontainers.image.url=https://codeberg.org/cunicu/{{ .ProjectName }}
- --label=org.opencontainers.image.source=https://codeberg.org/cunicu/{{ .ProjectName }}
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
@@ -209,8 +209,8 @@ dockers:
- --platform=linux/arm/v7
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.description={{ .ProjectName }}
- --label=org.opencontainers.image.url=https://github.com/cunicu/{{ .ProjectName }}
- --label=org.opencontainers.image.source=https://github.com/cunicu/{{ .ProjectName }}
- --label=org.opencontainers.image.url=https://codeberg.org/cunicu/{{ .ProjectName }}
- --label=org.opencontainers.image.source=https://codeberg.org/cunicu/{{ .ProjectName }}
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}

View File

@@ -21,8 +21,8 @@ As such, the project has certain freedoms that we want to embrace and see as an
- We have adopted the [Contributor Covenant](https://www.contributor-covenant.org/) as [our code of conduct](./coc)
- We expect you to adopt these rules and norms when interacting with the community
- Please report any incidents to info@cunicu.li or apprach @stv0g
- Please use the GitHub pull request (PR) workflow to contribute your changes.
- Make sure all Continuous Integration (CI) checks are passing before marking your PR as ready.
- Please use the Git pull request workflow to contribute your changes.
- Make sure all continuous integration checks are passing before marking your PR as ready.
- Please discuss larger changes with the community first.
## Further Reading

View File

@@ -1,12 +1,8 @@
<div align="center" >
<img style="width: 40%; margin: 4em 0" src="website/static/img/cunicu_logo.svg" alt="cunīcu logo" />
[![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/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)
[![goreportcard](https://goreportcard.com/badge/codeberg.org/cunicu/cunicu?style=flat-square)](https://goreportcard.com/report/codeberg.org/cunicu/cunicu)
[![Go Reference](https://pkg.go.dev/badge/codeberg.org/cunicu/cunicu.svg)](https://pkg.go.dev/codeberg.org/cunicu/cunicu)
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg?style=flat-square)](code_of_conduct.md)
</div>
@@ -55,6 +51,6 @@ _WireGuard_ and the _WireGuard_ logo are [registered trademarks](https://www.wir
[pion-ice]: https://github.com/pion/ice
[cunicu]: https://github.com/cunicu/cunicu
[cunicu]: https://codeberg.org/cunicu/cunicu
[erigrid]: https://erigrid2.eu

View File

@@ -78,7 +78,7 @@ func daemonRun(_ *cobra.Command, args []string, cfg *config.Config) {
Please set the env var CUNICU_EXPERIMENTAL=1 to bypass this warning.
Please feel free to join the development
- at Github: https://github.com/cunicu/cunicu
- at Codeberg: https://codeberg.org/cunicu/cunicu
- via Slack: #cunicu in the Gophers workspace`)
}

View File

@@ -129,7 +129,7 @@ func docsManpage(_ *cobra.Command, _ []string, opts *docsOptions) error {
header := &doc.GenManHeader{
Title: "cunīcu",
Source: "https://github.com/cunicu/cunicu",
Source: "https://codeberg.org/cunicu/cunicu",
Date: buildinfo.Date,
}

View File

@@ -50,7 +50,7 @@ Website:
https://cunicu.li
Code & Issues:
https://github.com/cunicu/cunicu
https://codeberg.org/cunicu/cunicu
`
)

View File

@@ -27,7 +27,7 @@ func init() { //nolint:gochecknoinits
Short: "Update the cunīcu binary",
Long: `Update the cunīcu binary.
This sub-command downloads the latest stable release of cunīcu from GitHub and replaces the currently running binary.
This sub-command downloads the latest stable release of cunīcu and replaces the currently running binary.
After download, the authenticity of the binary is verified using the GPG signature on the release files.`,
Run: func(cmd *cobra.Command, args []string) {
selfUpdate(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/main/etc/cunicu.advanced.yaml)
- In the Git repo: [`etc/cunicu.advanced.yaml`](https://codeberg.org/cunicu/cunicu/src/main/etc/cunicu.advanced.yaml)
import ExampleConfig from '../../src/components/ExampleConfig';

View File

@@ -10,8 +10,8 @@ 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/main/etc/cunicu.yaml)
- In the Git repo: [`etc/cunicu.yaml`](https://codeberg.org/cunicu/cunicu/src/main/etc/cunicu.yaml)
import ExampleConfig from '../../src/components/ExampleConfig';
<ExampleConfig />
<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/main/etc/cunicu.schema.yaml)
- [`etc/cunicu.schema.yaml`](https://codeberg.org/cunicu/cunicu/src/main/etc/cunicu.schema.yaml)
- https://cunicu.li/schemas/config.yaml
## Editor / Language Server support

View File

@@ -19,18 +19,13 @@ Feel free to say hi 👋, discuss cunīcu, ask questions or share ideas.
## [🥷 Maintainer](https://github.com/orgs/cunicu/teams/maintainers)
We are still mostly a one-man show driven by Steffen Vogel:
- <InlineIcon src="/img/github_mark.svg" /> GitHub: [stv0g](https://github.com/stv0g)
- <InlineIcon src="/img/github_mark.svg" /> GitHub: [stv0g](https://steffenvogel.de)
- <InlineIcon src="/img/discourse_icon.svg" /> Discourse: [stv0g](https://discuss.cunicu.li/u/stv0g)
- <InlineIcon src="/img/fediverse_logo_proposal.svg" /> Fediverse: [@stv0g@chaos.social](https://chaos.social/@stv0g)
- 🔗 Web: [steffenvogel.de](https://www.steffenvogel.de)
- ✉️ E-Mail: post@steffenvogel.de
A complete list of all maintainers can be found on [**GitHub**](https://github.com/orgs/cunicu/teams/maintainers).
## [<InlineIcon src="/img/github_mark.svg" /> Contributors](https://github.com/cunicu/cunicu/graphs/contributors)
A list of all contributors can be found on [**GitHub**](https://github.com/cunicu/cunicu/graphs/contributors).
## [✉️ E-Mail](mailto:info@cunicu.li)
As a last resort, you can reach also reach us at **[info@cunicu.li](mailto:info@cunicu.li)**.
As a last resort, you can reach also reach us at **[info@cunicu.li](codeberg.org/cunicuu.li)**.
codeberg.org/cunicu

View File

@@ -11,11 +11,11 @@ cunīcu is written almost completely in [Go](https://go.dev/) and heavily relies
- [GoReleaser](https://goreleaser.com/) for release automation
- [Ginkgo](https://onsi.github.io/ginkgo) and [Gomega](https://onsi.github.io/gomega) for testing
- [Pion](https://github.com/pion) for its ICE, STUN, TURN implementation
- [Gont](https://github.com/cunicu/gont) for end-to-end testing in various network topologies
- [Gont](https://codeberg.org/cunicu/gont) for end-to-end testing in various network topologies
Furthermore use the following services to manage our development:
- [GitHub](https://github.com/cunicu/cunicu) for source code management and CI pipelines
- [GitHub](https://codeberg.org/cunicu/cunicu) for source code management and CI pipelines
- [Codecov](https://app.codecov.io/gh/cunicu/cunicu) for code coverage analysis
## Testing

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/main/proto/signaling/signaling.proto) for details.
Checkout the [`pkg/pb/signaling.proto`](https://codeberg.org/cunicu/cunicu/src/main/proto/signaling/signaling.proto) for details.
## Backends
@@ -69,7 +69,7 @@ cunīcu can support multiple backends for signaling session information such as
- gRPC
- Multicast
Checkout the [`Backend`](https://github.com/cunicu/cunicu/blob/main/pkg/signaling/backend.go) interface for implementing your own backend.
Checkout the [`Backend`](https://codeberg.org/cunicu/cunicu/src/main/pkg/signaling/backend.go) interface for implementing your own backend.
### Semantics
@@ -83,7 +83,7 @@ A backend must:
### Interface
All signaling backends implement the rather simple [`signaling.Backend` interface](https://github.com/cunicu/cunicu/blob/main/pkg/signaling/backend.go):
All signaling backends implement the rather simple [`signaling.Backend` interface](https://codeberg.org/cunicu/cunicu/src/main/pkg/signaling/backend.go):
```go
type Message = pb.SignalingMessage

View File

@@ -30,14 +30,14 @@ graph TD
go-trussed-secrets-app --> go-iso7816
go-feitian-oath --> go-iso7816
click cunicu href "https://github.com/cunicu/cunicu" "GitHub Repo"
click hawkes href "https://github.com/cunicu/hawkes" "GitHub Repo"
click gont href "https://github.com/cunicu/gont" "GitHub Repo"
click go-pmtud href "https://github.com/cunicu/go-pmtud" "GitHub Repo"
click go-rosenpass href "https://github.com/cunicu/go-rosenpass" "GitHub Repo"
click go-babel href "https://github.com/cunicu/go-babel" "GitHub Repo"
click go-piv href "https://github.com/cunicu/go-piv" "GitHub Repo"
click go-ykoath href "https://github.com/cunicu/go-ykoath" "GitHub Repo"
click go-iso7816 href "https://github.com/cunicu/go-iso7816" "GitHub Repo"
click go-openpgp-card href "https://github.com/cunicu/go-openpgp-card" "GitHub Repo"
click cunicu href "https://codeberg.org/cunicu/cunicu" "Git Repo"
click hawkes href "https://codeberg.org/cunicu/hawkes" "GitH Repo"
click gont href "https://codeberg.org/cunicu/gont" "Git Repo"
click go-pmtud href "https://codeberg.org/cunicu/go-pmtud" "Git Repo"
click go-rosenpass href "https://codeberg.org/cunicu/go-rosenpass" "Git Repo"
click go-babel href "https://codeberg.org/cunicu/go-babel" "Git Repo"
click go-piv href "https://codeberg.org/cunicu/go-piv" "Git Repo"
click go-ykoath href "https://codeberg.org/cunicu/go-ykoath" "Git Repo"
click go-iso7816 href "https://codeberg.org/cunicu/go-iso7816" "Git Repo"
click go-openpgp-card href "https://codeberg.org/cunicu/go-openpgp-card" "Git Repo"
```

View File

@@ -9,12 +9,8 @@ hide_title: true
<p align="center" >
<img style={{width: '60%'}} src="/img/cunicu_logo.svg" alt="cunīcu logo" />
[![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/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)
[![goreportcard](https://goreportcard.com/badge/codeberg.org/cunicu/cunicu?style=flat-square)](https://goreportcard.com/report/codeberg.org/cunicu/cunicu)
[![Go Reference](https://pkg.go.dev/badge/codeberg.org/cunicu/cunicu.svg)](https://pkg.go.dev/codeberg.org/cunicu/cunicu)
</p>
:::caution cunīcu is currently still in an Alpha state and not usable yet 🚧
@@ -60,6 +56,6 @@ It has been changed from the former name _wice_ in order to broaden the scope of
[pion-ice]: https://github.com/pion/ice
[cunicu]: https://github.com/cunicu/cunicu
[cunicu]: https://codeberg.org/cunicu/cunicu
[erigrid]: https://erigrid2.eu

View File

@@ -16,7 +16,7 @@ These binary versions can be manually downloaded and installed.
## By Hand
1. [Download your desired version](https://github.com/cunicu/cunicu/releases)
1. [Download your desired version](https://codeberg.org/cunicu/cunicu/releases)
2. Unzip it: `gunzip cunicu_0.0.1_linux_amd64.tar.gz`
3. Move the unzipped binary to its desired destination: `mv cunicu /usr/local/bin/cunicu`
4. Make it executable: `chmod +x /usr/local/bin/cunicu`
@@ -68,7 +68,7 @@ sudo yum install cunicu
### From Homebrew (macOS)
A formulae for cunīcu is available in our Homebrew Tap: https://github.com/cunicu/homebrew-cunicu.
A formulae for cunīcu is available in our Homebrew Tap: https://codeberg.org/cunicu/homebrew-cunicu.
```shell
brew tap cunicu/cunicu
@@ -109,7 +109,7 @@ You can also use `nix-env`/`nix-build` if you have cunicu checked out locally.
```shell
# check out cunicu
git clone https://github.com/cunicu/cunicu --branch nix && cd cunicu
git clone https://codeberg.org/cunicu/cunicu --branch nix && cd cunicu
# Build cunicu and add it to the environment
nix-env -if ./nix
@@ -122,7 +122,7 @@ Building cunīcu is fairly easy and allows you to install the latest unreleased
You must have a working Go environment.
```shell
go install github.com/cunicu/cunicu/cmd/cunicu@latest
go install codeberg.org/cunicu/cunicu/cmd/cunicu@latest
```
If required, it will fetch the dependencies and cache them, and validate configuration.

View File

@@ -4,9 +4,9 @@ sidebar_position: 99
# SPDX-License-Identifier: Apache-2.0
---
# Licence
# License
cunīcu is licensed in most parts under the [Apache 2.0](https://github.com/cunicu/cunicu/blob/main/LICENSE) license.
cunīcu is licensed in most parts under the [Apache 2.0](https://codeberg.org/cunicu/cunicu/src/main/LICENSE) license.
cunīcu is [REUSE-compliant](https://reuse.software/). All files include [SPDX headers](https://spdx.dev/learn/handling-license-info/) with more detailed license and copyright information.

View File

@@ -1,14 +1,14 @@
{
"cunicu.li/cunicu": "https://github.com/cunicu/cunicu.git",
"cunicu.li/go-babel": "https://github.com/cunicu/go-babel.git",
"cunicu.li/go-iso7816": "https://github.com/cunicu/go-iso7816.git",
"cunicu.li/go-openpgp-card": "https://github.com/cunicu/go-openpgp-card.git",
"cunicu.li/go-piv": "https://github.com/cunicu/go-piv.git",
"cunicu.li/go-pmtud": "https://github.com/cunicu/go-pmtud.git",
"cunicu.li/go-rosenpass": "https://github.com/cunicu/go-rosenpass.git",
"cunicu.li/go-ykoath/v2": "https://github.com/cunicu/go-ykoath.git",
"cunicu.li/gont/v2": "https://github.com/cunicu/gont.git",
"cunicu.li/hawkes": "https://github.com/cunicu/hawkes.git",
"cunicu.li/skeleton": "https://github.com/cunicu/skeleton.git",
"github.com/cloudflare/circl": "https://github.com/cunicu/circl.git"
}
"cunicu.li/cunicu": "https://codeberg.org/cunicu/cunicu.git",
"cunicu.li/go-babel": "https://codeberg.org/cunicu/go-babel.git",
"cunicu.li/go-iso7816": "https://codeberg.org/cunicu/go-iso7816.git",
"cunicu.li/go-openpgp-card": "https://codeberg.org/cunicu/go-openpgp-card.git",
"cunicu.li/go-piv": "https://codeberg.org/cunicu/go-piv.git",
"cunicu.li/go-pmtud": "https://codeberg.org/cunicu/go-pmtud.git",
"cunicu.li/go-rosenpass": "https://codeberg.org/cunicu/go-rosenpass.git",
"cunicu.li/go-ykoath/v2": "https://codeberg.org/cunicu/go-ykoath.git",
"cunicu.li/gont/v2": "https://codeberg.org/cunicu/gont.git",
"cunicu.li/hawkes": "https://codeberg.org/cunicu/hawkes.git",
"cunicu.li/skeleton": "https://codeberg.org/cunicu/skeleton.git",
"github.com/cloudflare/circl": "https://codeberg.org/cunicu/circl.git"
}

View File

@@ -16,7 +16,7 @@
# **full** kernel sources (headers are not sufficient) while running "go generate":
#
# $ export KERNELDIR=/usr/src/linux-5.15
# $ git clone github.com/cunicu/cunicu
# $ git clone codeberg.org/cunicu/cunicu
# $ cd cunicu
# $ go generate -tags tracer
# $ go build -tags tracer ./cmd/cunicu
@@ -108,4 +108,4 @@ echo -e "\n=== WireGuard keys"
cat "${KEYS_FILE}"
echo -e "\n=== Decrypted capture"
tshark -r "${PCAP_FILE}" -o "wg.keylog_file:${KEYS_FILE}" -o wg.dissect_packet:true
tshark -r "${PCAP_FILE}" -o "wg.keylog_file:${KEYS_FILE}" -o wg.dissect_packet:true

View File

@@ -98,7 +98,7 @@ var _ = Context("nat double: Carrier Grade NAT setup with two relays and a singl
),
// Mixed IPv4/IPv6 NAT tests are currently broken for some reason.
// Hence we limit ourself to IPv6 here.
// See: https://github.com/cunicu/cunicu/issues/224
// See: https://codeberg.org/cunicu/cunicu/issues/224
opt.ConfigValue("ice.network_types", []string{"udp6", "tcp6"}),
)

View File

@@ -77,7 +77,7 @@ var _ = Context("nat simple: Simple home-router NAT setup", Label("nat"), func()
),
// Mixed IPv4/IPv6 NAT tests are currently broken for some reason.
// Hence we limit ourself to IPv6 here.
// See: https://github.com/cunicu/cunicu/issues/224
// See: https://codeberg.org/cunicu/cunicu/issues/224
opt.ConfigValue("ice.network_types", []string{"udp6", "tcp6"}),
// opt.ICECandidateTypes(ice.CandidateTypeHost, ice.CandidateTypeServerReflexive),
)

View File

@@ -21,7 +21,7 @@ We just need to finish the last features and do quite some more testing.
### Website, Docs and Twitter
The project has now its dedicated [website](https://cunicu.li), [GitHub organization](https://github.com/cunicu) and Twitter handle ([@cunicuVPN](https://twitter.com/cunicuVPN)).
The project has now its dedicated [website](https://cunicu.li), [Codeberg organization](https://codeberg.org/cunicu) and Twitter handle ([@cunicuVPN](https://twitter.com/cunicuVPN)).
Feel free to follow us there for updates!
You might also have realized that the project name has changed. We decided to rebrand from the previous name _wice_ to avoid any potential trademark issues with the WireGuard project as well as another small German company named _WICE_.

View File

@@ -4,6 +4,6 @@
stv0g:
name: Steffen Vogel
title: Maintainer of cunīcu
url: https://github.com/stv0g
url: https://steffenvogel.de
image_url: https://github.com/stv0g.png
discourse: stv0g

View File

@@ -88,7 +88,7 @@ export default {
docs: {
sidebarPath: require.resolve("./sidebars.js"),
editUrl:
"https://github.com/cunicu/cunicu/edit/main/",
"https://codeberg.org/cunicu/cunicu/_edit/main/",
remarkPlugins: [
remarkMath
],
@@ -102,7 +102,7 @@ export default {
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
"https://github.com/cunicu/cunicu/main/website",
"https://codeberg.org/cunicu/cunicu/_edit/main/website",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
@@ -146,7 +146,7 @@ export default {
label: "📚 Documentation",
},
{
href: "https://github.com/cunicu",
href: "https://codeberg.org/cunicu",
position: "right",
className: "header-github-link",
"aria-label": "GitHub repository",