| | |
| | | * chain, "return false" at the appropriate failure points.
|
| | | *
|
| | | * Bound Variables:
|
| | | * gitblit Gitblit Server com.gitblit.GitBlit
|
| | | * repository Gitblit Repository com.gitblit.models.RepositoryModel
|
| | | * user Gitblit User com.gitblit.models.UserModel
|
| | | * commands JGit commands Collection<org.eclipse.jgit.transport.ReceiveCommand>
|
| | | * url Base url for Gitblit String
|
| | | * logger Logger instance org.slf4j.Logger
|
| | | * gitblit Gitblit Server com.gitblit.GitBlit
|
| | | * repository Gitblit Repository com.gitblit.models.RepositoryModel
|
| | | * receivePack JGit Receive Pack org.eclipse.jgit.transport.ReceivePack
|
| | | * user Gitblit User com.gitblit.models.UserModel
|
| | | * commands JGit commands Collection<org.eclipse.jgit.transport.ReceiveCommand>
|
| | | * url Base url for Gitblit String
|
| | | * logger Logs messages to Gitblit org.slf4j.Logger
|
| | | * clientLogger Logs messages to Git client com.gitblit.utils.ClientLogger
|
| | | *
|
| | | * Accessing Gitblit Custom Fields:
|
| | | * def myCustomField = repository.customFields.myCustomField
|
| | | *
|
| | | */
|
| | |
|
| | |
| | | toAddresses.addAll(repository.mailingLists)
|
| | |
|
| | | // define the summary and commit urls
|
| | | def repo = repository.name.replace('/', gitblit.getString(Keys.web.forwardSlashCharacter, '/'))
|
| | | def repo = repository.name
|
| | | def summaryUrl
|
| | | def commitUrl
|
| | | if (gitblit.getBoolean(Keys.web.mountParameters, true)) { |
| | | if (gitblit.getBoolean(Keys.web.mountParameters, true)) {
|
| | | repo = repo.replace('/', gitblit.getString(Keys.web.forwardSlashCharacter, '/')).replace('/', '%2F')
|
| | | summaryUrl = url + "/summary/$repo"
|
| | | commitUrl = url + "/commit/$repo/"
|
| | | } else {
|