summaryrefslogtreecommitdiffstats
path: root/services/release
Commit message (Collapse)AuthorAgeFilesLines
* Backport to v1.12 for #12341 - Release date fix (#12351)Richard Mahn2020-07-282-1/+152
| | | | | | | | | * Backport for Issue #12341 PR #12343 - Release date fix * Adds sleep for comparing times * Fixes imports * Fixes tests
* When using API CreateRelease set created_unix to the tag commit time (#11218)Jason Duan2020-04-301-1/+1
|
* Move PushUpdateAddDeleteTags to repository module from models (#10106)Lunny Xiao2020-02-031-2/+2
| | | | | | * Move PushUpdateAddDeleteTags to repository module from models * Fix deadlock on sqlite
* Move push commits from models to modules/repository (#9370)Lunny Xiao2020-01-101-1/+2
| | | | | | | | | | | | | | | | * Move push commits from models to modules/repository * fix test * fix test * fix test * fix test * fix test Co-authored-by: zeripath <art27@cantab.net>
* Graceful: Cancel Process on monitor pages & HammerTime (#9213)zeripath2019-11-301-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Graceful: Create callbacks to with contexts * Graceful: Say when Gitea is completely finished * Graceful: Git and Process within HammerTime Force all git commands to terminate at HammerTime Force all process commands to terminate at HammerTime Move almost all git processes to run as git Commands * Graceful: Always Hammer after Shutdown * ProcessManager: Add cancel functionality * Fix tests * Make sure that process.Manager.Kill() cancels * Make threadsafe access to Processes and remove own unused Kill * Remove cmd from the process manager as it is no longer used * the default context is the correct context * get rid of double till
* Send tag create and push webhook when release created on UI (#8671)Benno2019-11-221-0/+9
| | | | | | | | | | | | | | | | | | * 'update' * Send push tag event when release created * send tag create event while release created in UI * update to go v1.13 * fix gofmt error * update #8671 move release tag created hook to modules/notification/webhook due to #8802 refactoring * use NotifyCreateRef and NotifyPushCommits instead of NotifyNewReleaseTag * move tag notification to correct place
* Add Close() method to gogitRepository (#8901)zeripath2019-11-131-0/+1
| | | | | | | | | In investigating #7947 it has become clear that the storage component of go-git repositories needs closing. This PR adds this Close function and adds the Close functions as necessary. In TransferOwnership the ctx.Repo.GitRepo is closed if it is open to help prevent the risk of multiple open files. Fixes #7947
* Move release webhook to notification (#8817)Lunny Xiao2019-11-061-38/+4
| | | | | | | | | | * Move release webhook to notification * Extract release webhook method * fix bug * fix import
* Rename HookQueue to hookQueue (#8778)Lunny Xiao2019-11-021-6/+0
| | | | | | * Rename HookQueue to hookQueue * fix lint
* Move webhook to a standalone package under modules (#8747)Lunny Xiao2019-11-011-6/+7
| | | | | | | | * Move webhook to a standalone package under modules * fix test * fix comments
* Move mirror to a standalone package from models (#7486)Lunny Xiao2019-10-011-59/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move mirror to a standalone package * fix mirror address in template * fix tests * fix lint * fix comment * fix tests * fix tests * fix vendor * fix fmt * fix lint * remove wrong file submitted * fix conflict * remove unrelated changes * fix go mod * fix tests * clean go mod * make vendor work * make vendor work * fix tests * remove duplicated test
* Extract actions on deletereleasebyid from models to release service (#8219)Lunny Xiao2019-10-012-1/+69
| | | | | | * extract actions on deletereleasebyid from models to release service * fix tests
* Fix assets key on release webhook (#8253)Daniel Fonseca de Lira2019-09-241-2/+4
| | | | | | | | * Fix assets key on release webhook * Fix assets key on release webhook * Add message to log on AddReleaseAttachments failure
* Move create release from models to a standalone package (#7539)Lunny Xiao2019-09-152-0/+293
* move create release from models to a standalone package * fix lint * fix comment year * fix lint * fix lint * fix package import name * fix vendor * fix go mod * some refactors * fix vendor * use go1.12 make vendor * fix vendor