From fc43a288e9f06140ce6620dad378da5f7b4c45b7 Mon Sep 17 00:00:00 2001 From: valentinkolb Date: Wed, 27 Mar 2024 16:00:59 +0100 Subject: [PATCH] refactor(project): path rename Renamed ../StuVe-IT/.. to ../stuve-it/.. --- .gitea/workflows/deploy.yaml | 2 +- Readme.md | 4 ++-- go.mod | 2 +- ldapLogin/main.go | 4 ++-- ldapSync/db.go | 2 +- ldapSync/ldapSync.go | 2 +- ldapSync/main.go | 2 +- main/main.go | 8 ++++---- qrApi/main.go | 4 ++-- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index f23e6a4..0b35b82 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -26,7 +26,7 @@ jobs: context: . file: ./Dockerfile push: true - tags: git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend:latest + tags: git.stuve.uni-ulm.de/stuve-it/stuve-it-backend:latest #- name: Trigger webhook # run: curl -X POST ${{ secrets.WEBHOOK_URL }} \ No newline at end of file diff --git a/Readme.md b/Readme.md index f2f9d54..79c813a 100644 --- a/Readme.md +++ b/Readme.md @@ -54,7 +54,7 @@ Funktionen für die einzelnen Tabellen und User erlaubt sind. ## Entwickeln ```bash -git clone https://git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend.git +git clone https://git.stuve.uni-ulm.de/stuve-it/stuve-it-backend.git cd stuve-it-backend go run main/main.go serve # --debug=0 for no debug output ``` @@ -107,7 +107,7 @@ Funktionen `Success`, `Info` und `Error` an. ```go package main -import "git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/logger" +import "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/logger" func main() { logger.LogInfoF("Info Message") diff --git a/go.mod b/go.mod index 2a53a81..a6f4bbd 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend +module git.stuve.uni-ulm.de/stuve-it/stuve-it-backend go 1.21 diff --git a/ldapLogin/main.go b/ldapLogin/main.go index ed89bb0..57b4434 100644 --- a/ldapLogin/main.go +++ b/ldapLogin/main.go @@ -2,8 +2,8 @@ package ldapLogin import ( "fmt" - "git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/ldapSync" - "git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/logger" + "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/ldapSync" + "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/logger" "github.com/go-ldap/ldap/v3" "github.com/labstack/echo/v5" "github.com/pocketbase/pocketbase" diff --git a/ldapSync/db.go b/ldapSync/db.go index 062cc12..1fd7fdf 100644 --- a/ldapSync/db.go +++ b/ldapSync/db.go @@ -6,7 +6,7 @@ this file contains functions to sync ldap users and groups to the database import ( "fmt" - "git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/logger" + "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/logger" "github.com/pocketbase/dbx" "github.com/pocketbase/pocketbase" "github.com/pocketbase/pocketbase/forms" diff --git a/ldapSync/ldapSync.go b/ldapSync/ldapSync.go index 0de06da..0de040a 100644 --- a/ldapSync/ldapSync.go +++ b/ldapSync/ldapSync.go @@ -3,7 +3,7 @@ package ldapSync import ( "encoding/json" "fmt" - "git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/logger" + "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/logger" "github.com/go-ldap/ldap/v3" "github.com/google/uuid" "github.com/pocketbase/dbx" diff --git a/ldapSync/main.go b/ldapSync/main.go index 2fafd44..74aaaa0 100644 --- a/ldapSync/main.go +++ b/ldapSync/main.go @@ -5,7 +5,7 @@ package ldapSync import ( "fmt" - "git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/logger" + "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/logger" "github.com/pocketbase/pocketbase" "github.com/pocketbase/pocketbase/tools/cron" "os" diff --git a/main/main.go b/main/main.go index 31d6fe0..a9d3cb0 100644 --- a/main/main.go +++ b/main/main.go @@ -1,10 +1,10 @@ package main import ( - "git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/ldapLogin" - "git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/ldapSync" - "git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/logger" - "git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/qrApi" + "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/ldapLogin" + "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/ldapSync" + "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/logger" + "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/qrApi" "github.com/joho/godotenv" "github.com/pocketbase/pocketbase" "github.com/pocketbase/pocketbase/core" diff --git a/qrApi/main.go b/qrApi/main.go index 137f118..b317a81 100644 --- a/qrApi/main.go +++ b/qrApi/main.go @@ -2,8 +2,8 @@ package qrApi import ( "bytes" - goqr "git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/go-qr" - "git.stuve.uni-ulm.de/StuVe-IT/stuve-it-backend/logger" + goqr "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/go-qr" + "git.stuve.uni-ulm.de/stuve-it/stuve-it-backend/logger" "github.com/labstack/echo/v5" "github.com/pocketbase/pocketbase" "github.com/pocketbase/pocketbase/apis"