mirror of
https://github.com/harness/drone.git
synced 2025-05-02 05:30:13 +00:00
This change is adding the concept of Paths. A repository and space always have a Primary Path which always is represents the ancestry to the root space. All access history / resource visibility / child listings / UI traversal / etc. is done via that path. Additionally, repos and spaces can have Alias Paths, which as the name states are aliases. via the primary path. They sole impact is that a space or repo can be reached via different paths from the UI / rest apis / git apis. This fulfills two major purposes: - Customers can rename or move projects and spaces without breaking any existing references from CI pipeliens / code bases / local repos / ... - Customer can create shorter aliases for important repos when in harness embeded mode! (acc/org/proj/repo can be shortened to acc/repo, or acc/repo' Apart from the path changes, this PR adds: Improved User facing errors Improved internal error handling and wrapping update / rename operation for repo and space path list / delete / create operation for repo and space
55 lines
2.1 KiB
Modula-2
55 lines
2.1 KiB
Modula-2
module github.com/harness/gitness
|
|
|
|
go 1.17
|
|
|
|
require (
|
|
github.com/Masterminds/squirrel v1.5.1
|
|
github.com/adrg/xdg v0.3.2
|
|
github.com/coreos/go-semver v0.3.0
|
|
github.com/dchest/uniuri v0.0.0-20200228104902-7aecb25e1fe5
|
|
github.com/dgrijalva/jwt-go v3.2.0+incompatible
|
|
github.com/drone/funcmap v0.0.0-20190918184546-d4ef6e88376d
|
|
github.com/go-chi/chi v1.5.4
|
|
github.com/go-chi/cors v1.2.0
|
|
github.com/golang/mock v1.5.0
|
|
github.com/google/go-cmp v0.5.5
|
|
github.com/google/wire v0.5.0
|
|
github.com/gotidy/ptr v1.3.0
|
|
github.com/jmoiron/sqlx v1.3.1
|
|
github.com/joho/godotenv v1.3.0
|
|
github.com/kelseyhightower/envconfig v1.4.0
|
|
github.com/lib/pq v1.10.0
|
|
github.com/maragudk/migrate v0.4.1
|
|
github.com/mattn/go-isatty v0.0.12
|
|
github.com/mattn/go-sqlite3 v1.14.10-0.20211026011849-85436841b33e
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/rs/zerolog v1.26.0
|
|
github.com/swaggest/openapi-go v0.2.13
|
|
github.com/swaggest/swgui v1.4.2
|
|
github.com/unrolled/secure v1.0.8
|
|
golang.org/x/crypto v0.0.0-20211117183948-ae814b36b871
|
|
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
|
|
gopkg.in/alecthomas/kingpin.v2 v2.2.6
|
|
)
|
|
|
|
require (
|
|
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
|
|
github.com/alecthomas/units v0.0.0-20210208195552-ff826a37aa15 // indirect
|
|
github.com/google/subcommands v1.0.1 // indirect
|
|
github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 // indirect
|
|
github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/rs/xid v1.3.0 // indirect
|
|
github.com/swaggest/jsonschema-go v0.3.24 // indirect
|
|
github.com/swaggest/refl v1.0.1 // indirect
|
|
github.com/vearutop/statigz v1.1.5 // indirect
|
|
golang.org/x/mod v0.4.2 // indirect
|
|
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 // indirect
|
|
golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e // indirect
|
|
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 // indirect
|
|
golang.org/x/text v0.3.6 // indirect
|
|
golang.org/x/tools v0.1.7 // indirect
|
|
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
)
|