refactor(repo): consolidate openflare-server to root and move subprojects to internal/apps

- Merge all files inside openflare-server to the repository root directory.
- Relocate agent, relay, and flared subprojects from internal/ to internal/apps/.
- Combine docker-compose files and update build context paths to root.
- Update GitHub workflows and Dockerfiles to refer to new directories and package names.
- Rewrite Go package imports across all files.
- Resolve database renew test race condition and clean up docs.
This commit is contained in:
ryan
2026-06-19 14:23:29 +08:00
parent 19d476ed7f
commit 63cd906cfc
1064 changed files with 366 additions and 1397 deletions
+80 -57
View File
@@ -1,57 +1,80 @@
.cache
.gocache*
.idea
.vscode
/upload/
*.exe
*.db
build
*.log
/logs/
.gocache
# If you prefer the allow list template instead of the deny list, see community template:
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
#
# Binaries for programs and plugins
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c`
*.test
# Code coverage profiles and other test artifacts
*.out
coverage.*
*.coverprofile
profile.cov
# Dependency directories (remove the comment below to include it)
# vendor/
# Go workspace file
go.work
go.work.sum
# env file
.env
# Editor/IDE
# .idea/
# .vscode/
.DS_Store
.codex-cache
/.gomodcache/
*.mmdb
!openflare_agent/internal/geoipdata/GeoLite2-Country.mmdb
*-source
*-source.zip
.codex*
/bin/
.dmux/
.grok
# IDE
.idea/*
.idea
!.idea/icon.png
.vscode
.pnpm-store/
# logs
/logs/
*.log
# config
config.yaml
.env
.env.*
!.env.example
# sqlite
*.db
*.db-journal
*.db-shm
*.db-wal
# frontend
frontend/build
frontend/disk
frontend/node_modules/*
frontend/.next/*
frontend/next-env.d.ts
frontend/package-lock.json
frontend/.env
*.tsbuildinfo
# os
.DS_Store
Thumbs.db
# build
/build/
/bin/
/dist/
# go workspace
go.work
go.work.sum
main
# upload
/uploads/
s3_cache
/frontend/.next/
/data/
/internal/router/dist/
/frontend/out/
/internal/router/root/dist/
.dmux/
# test coverage
*.out
coverage.*
*.coverprofile
profile.cov
# generic ignores
.cache
.gocache*
*.exe
*.exe~
*.dll
*.so
*.dylib
*.test
*-source
*-source.zip
.codex*
.grok
/.gomodcache/
*.mmdb
!openflare_agent/internal/geoipdata/GeoLite2-Country.mmdb