You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services/repository
zeripath f211d235c7
Fix repository adoption on Windows (#21646)
A bug was introduced in #17865 where filepath.Join is used to join
putative unadopted repository owner and names together. This is
incorrect as these names are then used as repository names - which shoud
have the '/' separator. This means that adoption will not work on
Windows servers.

Fix #21632

Signed-off-by: Andrew Thornton <art27@cantab.net>
2 years ago
..
archiver Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
files Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
adopt.go Fix repository adoption on Windows (#21646) 2 years ago
adopt_test.go Fix repository adoption on Windows (#21646) 2 years ago
avatar.go Merge db.Iterate and IterateObjects (#21641) 2 years ago
avatar_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
branch.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
cache.go Slightly simplify LastCommitCache (#20444) 2 years ago
check.go Merge db.Iterate and IterateObjects (#21641) 2 years ago
fork.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
fork_test.go Move some files into models' sub packages (#20262) 2 years ago
hooks.go Merge db.Iterate and IterateObjects (#21641) 2 years ago
main_test.go Use a struct as test options (#19393) 2 years ago
push.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
repository.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
repository_test.go Move some repository related code into sub package (#19711) 2 years ago
review.go Move some repository related code into sub package (#19711) 2 years ago
review_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
template.go Remove manual rollback for failed generated repositories (#20639) 2 years ago
transfer.go Move some files into models' sub packages (#20262) 2 years ago
transfer_test.go Move some files into models' sub packages (#20262) 2 years ago