Update project references to use GitHub repository

All project references have been updated to point to the appropriate routes for the GitHub repository, replacing the previously used paths to src.neessen.cloud. This includes changes in README.md, Dockerfile, go mod packaging as well as in the source code where required.
This commit is contained in:
Winni Neessen 2024-03-21 15:39:31 +01:00
parent e11e5954e3
commit a50ae7299c
Signed by: wneessen
GPG key ID: 385AC9889632126E
8 changed files with 14 additions and 19 deletions

View file

@ -17,7 +17,7 @@ RUN go mod download
RUN go mod verify RUN go mod verify
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -ldflags \ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -ldflags \
'-w -s -extldflags "-static"' \ '-w -s -extldflags "-static"' \
-o /builddir/logranger src.neessen.cloud/wneessen/logranger/cmd/server -o /builddir/logranger github.com/wneessen/logranger/cmd/server
## Create scratch image ## Create scratch image
FROM scratch FROM scratch

View file

@ -6,10 +6,10 @@ SPDX-License-Identifier: MIT
# Logranger # Logranger
[![GoDoc](https://godoc.org/src.neessen.cloud/wneessen/logranger?status.svg)](https://pkg.go.dev/src.neessen.cloud/wneessen/logranger) [![GoDoc](https://godoc.org/github.com/wneessen/logranger?status.svg)](https://pkg.go.dev/github.com/wneessen/logranger)
[![Go Report Card](https://goreportcard.com/badge/src.neessen.cloud/wneessen/logranger)](https://goreportcard.com/report/src.neessen.cloud/wneessen/logranger) [![Go Report Card](https://goreportcard.com/badge/github.com/wneessen/logranger)](https://goreportcard.com/report/github.com/wneessen/logranger)
[![#logranger on Discord](https://img.shields.io/badge/Discord-%23logranger-blue.svg)](https://discord.gg/ysQXkaccXk) [![#logranger on Discord](https://img.shields.io/badge/Discord-%23logranger-blue.svg)](https://discord.gg/ysQXkaccXk)
[![REUSE status](https://api.reuse.software/badge/src.neessen.cloud/wneessen/logranger)](https://api.reuse.software/info/src.neessen.cloud/wneessen/logranger) [![REUSE status](https://api.reuse.software/badge/github.com/wneessen/logranger)](https://api.reuse.software/info/github.com/wneessen/logranger)
<a href="https://ko-fi.com/D1D24V9IX"><img src="https://uploads-ssl.webflow.com/5c14e387dab576fe667689cf/5cbed8a4ae2b88347c06c923_BuyMeACoffee_blue.png" height="20" alt="buy ma a coffee"></a> <a href="https://ko-fi.com/D1D24V9IX"><img src="https://uploads-ssl.webflow.com/5c14e387dab576fe667689cf/5cbed8a4ae2b88347c06c923_BuyMeACoffee_blue.png" height="20" alt="buy ma a coffee"></a>
*Note:* Logranger is still WIP *Note:* Logranger is still WIP
@ -45,10 +45,5 @@ Logranger is released under the [MIT License](LICENSE).
## Support ## Support
If you encounter any problems while using Logranger, please [create an issue](https://src.neessen.cloud/wneessen/logranger/issues) in this If you encounter any problems while using Logranger, please [create an issue](https://github.com/wneessen/logranger/issues) in this
repository. We appreciate any feedback or suggestions for improving Logranger. repository. We appreciate any feedback or suggestions for improving Logranger.
## Mirror
Please note that the repository on Github is just a mirror of
[https://src.neessen.cloud/wneessen/logranger](https://src.neessen.cloud/wneessen/logranger) for ease of access and reachability.

View file

@ -11,7 +11,7 @@ import (
"path/filepath" "path/filepath"
"syscall" "syscall"
"src.neessen.cloud/wneessen/logranger" "github.com/wneessen/logranger"
) )
const ( const (

2
go.mod
View file

@ -2,7 +2,7 @@
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
module src.neessen.cloud/wneessen/logranger module github.com/wneessen/logranger
go 1.21 go 1.21

View file

@ -4,4 +4,4 @@
package all package all
import _ "src.neessen.cloud/wneessen/logranger/plugins/actions/file" // register plugin import _ "github.com/wneessen/logranger/plugins/actions/file" // register plugin

View file

@ -10,8 +10,8 @@ import (
"github.com/wneessen/go-parsesyslog" "github.com/wneessen/go-parsesyslog"
"src.neessen.cloud/wneessen/logranger/plugins/actions" "github.com/wneessen/logranger/plugins/actions"
"src.neessen.cloud/wneessen/logranger/template" "github.com/wneessen/logranger/template"
) )
// File represents a file action that can be performed on a log message. // File represents a file action that can be performed on a log message.

View file

@ -5,7 +5,7 @@
package actions package actions
import ( import (
"src.neessen.cloud/wneessen/logranger/plugins" "github.com/wneessen/logranger/plugins"
) )
// Actions is a variable that represents a map of string keys to Action values. The keys are used to identify different actions, and the corresponding values are the functions that define // Actions is a variable that represents a map of string keys to Action values. The keys are used to identify different actions, and the corresponding values are the functions that define

View file

@ -19,8 +19,8 @@ import (
_ "github.com/wneessen/go-parsesyslog/rfc3164" _ "github.com/wneessen/go-parsesyslog/rfc3164"
_ "github.com/wneessen/go-parsesyslog/rfc5424" _ "github.com/wneessen/go-parsesyslog/rfc5424"
"src.neessen.cloud/wneessen/logranger/plugins/actions" "github.com/wneessen/logranger/plugins/actions"
_ "src.neessen.cloud/wneessen/logranger/plugins/actions/all" _ "github.com/wneessen/logranger/plugins/actions/all"
) )
const ( const (