teamcity/git-plugin.git
5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Thu, 27 Jul 2017 18:57:02 +0000 (20:57 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoAbility to disable credential helper provided by TeamCity
Dmitry Neverov [Thu, 27 Jul 2017 18:56:09 +0000 (20:56 +0200)]
Ability to disable credential helper provided by TeamCity

5 years agoInclude repository dir in fetch error message
Dmitry Neverov [Thu, 27 Jul 2017 10:36:00 +0000 (12:36 +0200)]
Include repository dir in fetch error message

5 years agoupdate icon classnames
Igor Shevchenko [Fri, 21 Jul 2017 14:33:59 +0000 (17:33 +0300)]
update icon classnames

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Mon, 17 Jul 2017 13:59:01 +0000 (15:59 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoTW-50714 fetch non-head ref when fetchAllHeads option is enabled
Dmitry Neverov [Mon, 17 Jul 2017 13:56:53 +0000 (15:56 +0200)]
TW-50714 fetch non-head ref when fetchAllHeads option is enabled

It was assumed that fetching all refs will fetch the branch in a build,
but it is not the case for non-head refs (e.g. pull requests).

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Wed, 12 Jul 2017 12:33:43 +0000 (14:33 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoTW-50733 specify full path to java in credential helper
Dmitry Neverov [Wed, 12 Jul 2017 12:30:10 +0000 (14:30 +0200)]
TW-50733 specify full path to java in credential helper

To make it work when java is not in the $PATH

5 years agoFix NPE
Dmitry Neverov [Thu, 6 Jul 2017 16:36:10 +0000 (18:36 +0200)]
Fix NPE

Host is null for repositories on a local file-system

5 years agofix possible NPE
pavel.sher [Wed, 5 Jul 2017 13:46:47 +0000 (15:46 +0200)]
fix possible NPE

5 years agoUsername is not mandatory for password authentication
Dmitry Neverov [Fri, 23 Jun 2017 06:48:09 +0000 (08:48 +0200)]
Username is not mandatory for password authentication

It can be taken from repository url

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Tue, 20 Jun 2017 07:19:08 +0000 (09:19 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoLog repository url during git gc
Dmitry Neverov [Tue, 20 Jun 2017 07:18:27 +0000 (09:18 +0200)]
Log repository url during git gc

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Tue, 20 Jun 2017 06:51:25 +0000 (08:51 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoRun gc in a dedicated dir by default
Dmitry Neverov [Tue, 20 Jun 2017 06:50:44 +0000 (08:50 +0200)]
Run gc in a dedicated dir by default

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Mon, 19 Jun 2017 15:31:05 +0000 (17:31 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoTW-14734 enable native git gc by default
Dmitry Neverov [Mon, 19 Jun 2017 15:28:57 +0000 (17:28 +0200)]
TW-14734 enable native git gc by default

5 years agobetter logging
Dmitry Neverov [Mon, 19 Jun 2017 15:28:22 +0000 (17:28 +0200)]
better logging

5 years agoBetter property name
Dmitry Neverov [Mon, 19 Jun 2017 15:25:51 +0000 (17:25 +0200)]
Better property name

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Mon, 19 Jun 2017 15:23:31 +0000 (17:23 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoShow url of the repository where 'git gc' failed
Dmitry Neverov [Mon, 19 Jun 2017 15:22:02 +0000 (17:22 +0200)]
Show url of the repository where 'git gc' failed

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Mon, 19 Jun 2017 13:56:51 +0000 (15:56 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agowording
Dmitry Neverov [Mon, 19 Jun 2017 13:56:21 +0000 (15:56 +0200)]
wording

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Mon, 19 Jun 2017 13:52:50 +0000 (15:52 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agowording
Dmitry Neverov [Mon, 19 Jun 2017 13:52:14 +0000 (15:52 +0200)]
wording

5 years agoRun git gc only when there is enough disk space
Dmitry Neverov [Mon, 19 Jun 2017 13:51:51 +0000 (15:51 +0200)]
Run git gc only when there is enough disk space

5 years agoClose creted repository
Dmitry Neverov [Mon, 19 Jun 2017 13:24:45 +0000 (15:24 +0200)]
Close creted repository

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Mon, 19 Jun 2017 12:59:29 +0000 (14:59 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoPick-up changed gc cron without server restart
Dmitry Neverov [Mon, 19 Jun 2017 12:57:36 +0000 (14:57 +0200)]
Pick-up changed gc cron without server restart

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Tue, 13 Jun 2017 15:20:07 +0000 (17:20 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoTW-50332 use system's line-endings in credential helper script
Dmitry Neverov [Tue, 13 Jun 2017 15:16:57 +0000 (17:16 +0200)]
TW-50332 use system's line-endings in credential helper script

5 years agoMark mandatory fields
Dmitry Neverov [Tue, 13 Jun 2017 09:00:25 +0000 (11:00 +0200)]
Mark mandatory fields

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Wed, 24 May 2017 07:08:57 +0000 (09:08 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoGc logging
Dmitry Neverov [Wed, 24 May 2017 07:07:29 +0000 (09:07 +0200)]
Gc logging

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Mon, 22 May 2017 07:40:26 +0000 (09:40 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoLock gc commands duration
Dmitry Neverov [Mon, 22 May 2017 07:39:46 +0000 (09:39 +0200)]
Lock gc commands duration

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Sun, 21 May 2017 08:34:57 +0000 (10:34 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoReturn early in order to not clean just added error
Dmitry Neverov [Sun, 21 May 2017 08:33:54 +0000 (10:33 +0200)]
Return early in order to not clean just added error

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Sun, 21 May 2017 08:29:54 +0000 (10:29 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoTune git repack options
Dmitry Neverov [Sun, 21 May 2017 08:28:20 +0000 (10:28 +0200)]
Tune git repack options

The -f option allows to create more optimal packs, but makes repack much
slower.

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Sun, 21 May 2017 07:37:39 +0000 (09:37 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoLogging for git gc
Dmitry Neverov [Sun, 21 May 2017 07:34:54 +0000 (09:34 +0200)]
Logging for git gc

5 years agoadd support for Bitbucket server: http(s) fetch URL only, because their SSH URL is...
pavel.sher [Sat, 20 May 2017 20:56:02 +0000 (22:56 +0200)]
add support for Bitbucket server: http(s) fetch URL only, because their SSH URL is too generic, and we can't be sure it's really Bitbucket server

5 years agoadd .git to Gitlab fetch URL, otherwise VCS operations on the server side fail (cherr...
pavel.sher [Sat, 20 May 2017 17:49:38 +0000 (19:49 +0200)]
add .git to Gitlab fetch URL, otherwise VCS operations on the server side fail (cherry picked from commit e29a220)

5 years agoadd .git to Gitlab fetch URL, otherwise VCS operations on the server side fail
pavel.sher [Sat, 20 May 2017 17:49:38 +0000 (19:49 +0200)]
add .git to Gitlab fetch URL, otherwise VCS operations on the server side fail

5 years agoadd support for Gitlab.com
pavel.sher [Sat, 20 May 2017 17:23:46 +0000 (19:23 +0200)]
add support for Gitlab.com

5 years agoimplementation of external change viewers extension which supports GitHub/Bitbucket...
pavel.sher [Sat, 20 May 2017 16:56:18 +0000 (18:56 +0200)]
implementation of external change viewers extension which supports GitHub/Bitbucket and VSTS

5 years agofix VSTS url parsing
pavel.sher [Sat, 20 May 2017 10:52:22 +0000 (12:52 +0200)]
fix VSTS url parsing

5 years agoGitHubUtl utility renamed to WellKnownHostingsUtil, GitHubRepo is renamed to VcsHosti...
pavel.sher [Sat, 20 May 2017 10:43:43 +0000 (12:43 +0200)]
GitHubUtl utility renamed to WellKnownHostingsUtil, GitHubRepo is renamed to VcsHostingRepo; tests added for WellKnownHostingsUtil

5 years agoremove unnecessary throw VcsException
pavel.sher [Sat, 20 May 2017 09:57:20 +0000 (11:57 +0200)]
remove unnecessary throw VcsException

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Fri, 19 May 2017 08:26:00 +0000 (10:26 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoDon't log stacktrace in non-debug mode
Dmitry Neverov [Fri, 19 May 2017 08:24:08 +0000 (10:24 +0200)]
Don't log stacktrace in non-debug mode

5 years agoMerge into master
TeamCityServer [Fri, 19 May 2017 03:18:59 +0000 (06:18 +0300)]
Merge into master

5 years agoTW-50097 handle case when checkout rules are inside submodule
Dmitry Neverov [Thu, 18 May 2017 19:13:20 +0000 (21:13 +0200)]
TW-50097 handle case when checkout rules are inside submodule

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Thu, 18 May 2017 16:59:52 +0000 (18:59 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoTW-50097 fix patch with checkout rules for repository with submodules
Dmitry Neverov [Thu, 18 May 2017 16:57:14 +0000 (18:57 +0200)]
TW-50097 fix patch with checkout rules for repository with submodules

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Thu, 18 May 2017 14:15:26 +0000 (16:15 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agofix compilation
Dmitry Neverov [Thu, 18 May 2017 14:14:58 +0000 (16:14 +0200)]
fix compilation

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Thu, 18 May 2017 13:37:29 +0000 (15:37 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoHealth report wording
Dmitry Neverov [Thu, 18 May 2017 13:36:29 +0000 (15:36 +0200)]
Health report wording

5 years agoReport missing git only when there are some clones on the server
Dmitry Neverov [Thu, 18 May 2017 13:20:12 +0000 (15:20 +0200)]
Report missing git only when there are some clones on the server

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Thu, 18 May 2017 13:02:43 +0000 (15:02 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoHealth report showing git gc errors
Dmitry Neverov [Thu, 18 May 2017 12:49:27 +0000 (14:49 +0200)]
Health report showing git gc errors

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Thu, 18 May 2017 11:45:26 +0000 (13:45 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoReset error when git is found
Dmitry Neverov [Thu, 18 May 2017 11:44:42 +0000 (13:44 +0200)]
Reset error when git is found

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Thu, 18 May 2017 11:43:29 +0000 (13:43 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoHealth report for the case when git is not found on the server
Dmitry Neverov [Thu, 18 May 2017 11:42:27 +0000 (13:42 +0200)]
Health report for the case when git is not found on the server

5 years agoTurn cleanup into bean
Dmitry Neverov [Thu, 18 May 2017 10:35:23 +0000 (12:35 +0200)]
Turn cleanup into bean

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Thu, 18 May 2017 09:47:26 +0000 (11:47 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoAbility to run 'git gc' without blocking other vcs operations
Dmitry Neverov [Thu, 18 May 2017 09:38:47 +0000 (11:38 +0200)]
Ability to run 'git gc' without blocking other vcs operations

We run 'git gc' in a temprrary repository clone and then swap the
original repository with the optimized one.

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Wed, 17 May 2017 13:57:20 +0000 (15:57 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoRun vcs operations with rm lock
Dmitry Neverov [Wed, 17 May 2017 13:54:02 +0000 (15:54 +0200)]
Run vcs operations with rm lock

Later we can run 'git gc' in a dedicated dir and then replace clone with
packed clone under the rm write lock.

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Tue, 16 May 2017 13:08:30 +0000 (15:08 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoTW-50043 prohibit newlines in urls
Dmitry Neverov [Tue, 16 May 2017 13:00:03 +0000 (15:00 +0200)]
TW-50043 prohibit newlines in urls

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Fri, 12 May 2017 08:37:50 +0000 (10:37 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoFaster checkSuitable()
Dmitry Neverov [Fri, 12 May 2017 08:36:20 +0000 (10:36 +0200)]
Faster checkSuitable()

Check suitability for any repository clone only once

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Mon, 8 May 2017 06:55:31 +0000 (08:55 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoMerge branch 'Indore-10.0.x' into Indore-2017.1.x
Dmitry Neverov [Mon, 8 May 2017 06:54:52 +0000 (08:54 +0200)]
Merge branch 'Indore-10.0.x' into Indore-2017.1.x

5 years agoMore stable test
Dmitry Neverov [Mon, 8 May 2017 06:54:01 +0000 (08:54 +0200)]
More stable test

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Fri, 5 May 2017 11:12:14 +0000 (13:12 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoMerge branch 'Indore-10.0.x' into Indore-2017.1.x
Dmitry Neverov [Fri, 5 May 2017 11:11:43 +0000 (13:11 +0200)]
Merge branch 'Indore-10.0.x' into Indore-2017.1.x

5 years agoMore stable test
Dmitry Neverov [Fri, 5 May 2017 11:10:54 +0000 (13:10 +0200)]
More stable test

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Fri, 5 May 2017 11:04:14 +0000 (13:04 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoMerge branch 'Indore-10.0.x' into Indore-2017.1.x
Dmitry Neverov [Fri, 5 May 2017 11:00:19 +0000 (13:00 +0200)]
Merge branch 'Indore-10.0.x' into Indore-2017.1.x

5 years agoTW-48463 fix concurrent merge/commit
Dmitry Neverov [Fri, 5 May 2017 10:56:42 +0000 (12:56 +0200)]
TW-48463 fix concurrent merge/commit

Push via transport instead of connection, the latter doesn't check the
expected remote ref revision and push always succeeds even if remore
refs was updated.

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Thu, 4 May 2017 11:58:11 +0000 (13:58 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoMerge branch 'Indore-10.0.x' into Indore-2017.1.x
Dmitry Neverov [Thu, 4 May 2017 11:57:42 +0000 (13:57 +0200)]
Merge branch 'Indore-10.0.x' into Indore-2017.1.x

5 years agoIgnore prune removed branches error
Dmitry Neverov [Thu, 4 May 2017 11:55:21 +0000 (13:55 +0200)]
Ignore prune removed branches error

Unpruned branch preventing fetch is a rare case, but listing remote refs
can often fail e.g. with timeout error. Looks like it is safe to ignore
such errors.

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Wed, 3 May 2017 09:26:27 +0000 (11:26 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoImplement bulk checkSuitable() check
Dmitry Neverov [Wed, 3 May 2017 09:25:27 +0000 (11:25 +0200)]
Implement bulk checkSuitable() check

5 years agoWrite used git version into agent logs
Dmitry Neverov [Wed, 3 May 2017 07:39:13 +0000 (09:39 +0200)]
Write used git version into agent logs

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Tue, 2 May 2017 17:39:47 +0000 (19:39 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoIterate through entries, it doesn't affect LRU order
Dmitry Neverov [Tue, 2 May 2017 17:38:10 +0000 (19:38 +0200)]
Iterate through entries, it doesn't affect LRU order

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Tue, 2 May 2017 13:59:44 +0000 (15:59 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoEnsure cache entries order
Dmitry Neverov [Tue, 2 May 2017 13:58:54 +0000 (15:58 +0200)]
Ensure cache entries order

5 years agoDon't write file back during loading on server start
Dmitry Neverov [Tue, 2 May 2017 11:49:54 +0000 (13:49 +0200)]
Don't write file back during loading on server start

5 years agoMerge branch 'Indore-2017.1.x'
Dmitry Neverov [Tue, 2 May 2017 07:29:33 +0000 (09:29 +0200)]
Merge branch 'Indore-2017.1.x'

5 years agoFix tests on agents without git in $PATH
Dmitry Neverov [Tue, 2 May 2017 07:26:27 +0000 (09:26 +0200)]
Fix tests on agents without git in $PATH

5 years agoUpdate project name
Dmitry Neverov [Tue, 2 May 2017 07:17:08 +0000 (09:17 +0200)]
Update project name

5 years agoTW-49782 ignore submodules excluded by rules during patch building
Dmitry Neverov [Tue, 25 Apr 2017 12:52:06 +0000 (14:52 +0200)]
TW-49782 ignore submodules excluded by rules during patch building