aboutsummaryrefslogtreecommitdiffstats
path: root/services/repository/adopt.go
Commit message (Expand)AuthorAgeFilesLines
* Refactor pprof labels and process desc (#32909)wxiaoguang11 days1-1/+0
* Move AddCollabrator and CreateRepositoryByExample to service layer (#32419)Lunny Xiao2024-11-071-1/+1
* Fix incorrect default branch when adopt a repository (#30912)yp053272024-05-091-21/+16
* Make "sync branch" also sync object format and add tests (#30878)wxiaoguang2024-05-061-0/+4
* Resolve lint for unused parameter and unnecessary type arguments (#30750)Chongyi Zheng2024-04-291-2/+2
* Enable more `revive` linter rules (#30608)silverwind2024-04-221-1/+0
* Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995)Lunny Xiao2024-03-221-4/+2
* Move get/set default branch from git package to gitrepo package to hide repop...Lunny Xiao2024-03-081-11/+11
* Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329)65432024-02-231-1/+2
* Simplify how git repositories are opened (#28937)Lunny Xiao2024-01-271-1/+2
* Replace more db.DefaultContext (#27628)Lunny Xiao2023-10-151-1/+1
* Another round of `db.DefaultContext` refactor (#27103)JakobDev2023-09-251-1/+1
* Move createrepository from module to service layer (#26927)Lunny Xiao2023-09-061-1/+1
* Move notification interface to services layer (#26915)Lunny Xiao2023-09-051-2/+2
* Sync tags when adopting repos (#26816)Zettat1232023-08-311-0/+4
* Sync branches into databases (#22743)Lunny Xiao2023-06-291-1/+10
* Add Adopt repository event and handler (#25497)Lunny Xiao2023-06-261-11/+13
* Fix unclear `IsRepositoryExist` logic (#24374)wxiaoguang2023-04-281-1/+1
* Use context parameter in services/repository (#23186)Jason Song2023-02-281-11/+11
* Repositories: by default disable all units except code and pulls on forks (#2...techknowlogick2023-02-041-1/+1
* Change use of Walk to WalkDir to improve disk performance (#22462)Felipe Leopoldo Sologuren GutiƩrrez2023-01-161-6/+6
* Do not list active repositories as unadopted (#22034)Christian Ullrich2022-12-161-1/+1
* refactor some functions to support ctx as first parameter (#21878)Lunny Xiao2022-12-031-1/+1
* Implement FSFE REUSE for golang files (#21840)flynnnnnnnnnn2022-11-271-2/+1
* Add `context.Context` to more methods (#21546)KN4CK3R2022-11-191-1/+1
* Allow detect whether it's in a database transaction for a context.Context (#2...Lunny Xiao2022-11-121-1/+1
* Fix repository adoption on Windows (#21646)zeripath2022-10-311-5/+6
* Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551)delvh2022-10-241-11/+11
* Add generic set type (#21408)KN4CK3R2022-10-121-3/+4
* Move some files into models' sub packages (#20262)Lunny Xiao2022-08-251-4/+3
* Remove confusing TrimPrefix(... git.BranchPrefix) (#20369)wxiaoguang2022-07-161-2/+0
* Move some repository related code into sub package (#19711)Lunny Xiao2022-06-061-3/+3
* Move almost all functions' parameter db.Engine to context.Context (#19748)Lunny Xiao2022-05-201-2/+2
* Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280)wxiaoguang2022-04-011-2/+2
* Make git.OpenRepository accept Context (#19260)65432022-03-301-1/+1
* Move init repository related functions to modules (#19159)Lunny Xiao2022-03-291-1/+1
* Use IterateBufferSize whilst querying repositories during adoption check (#19...zeripath2022-03-211-0/+7
* Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552)65432022-02-061-1/+1
* format with gofumpt (#18184)65432022-01-201-1/+2
* Propagate context and ensure git commands run in request context (#17868)zeripath2022-01-191-2/+5
* services/repository: fix ListUnadoptedRepositories incorrect total count (#17...singuliere2022-01-011-110/+70
* Some repository refactors (#17950)Lunny Xiao2021-12-121-4/+4
* Move repository model into models/repo (#17933)Lunny Xiao2021-12-101-10/+11
* Improve checkBranchName (#17901)zeripath2021-12-081-1/+1
* Move user related model into models/user (#17781)Lunny Xiao2021-11-241-6/+7
* Move some functions into services/repository (#17660)Lunny Xiao2021-11-161-0/+386