<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/app/services/git_hooks_service.rb, branch bugfix/upgrade-ruby-parser</title>
<subtitle>gitlab.com: gitlab-org/gitlab-ce.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/'/>
<entry>
<title>Make GitHooksService#execute return block value</title>
<updated>2017-01-26T11:35:19+00:00</updated>
<author>
<name>Lin Jen-Shin</name>
<email>godfat@godfat.org</email>
</author>
<published>2017-01-26T11:35:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=05f4e48a4c761e13faf080e2d33fb8cc9886f723'/>
<id>05f4e48a4c761e13faf080e2d33fb8cc9886f723</id>
<content type='text'>
Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7237#note_21627207
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7237#note_21627207
</pre>
</div>
</content>
</entry>
<entry>
<title>Pass tag SHA to post-receive hook when tag is created via UI</title>
<updated>2016-11-28T14:04:51+00:00</updated>
<author>
<name>Adam Niedzielski</name>
<email>adamsunday@gmail.com</email>
</author>
<published>2016-11-28T14:04:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=cf58271e11f6704523be5211ecfb2d02ae1091fe'/>
<id>cf58271e11f6704523be5211ecfb2d02ae1091fe</id>
<content type='text'>
We only know the tag SHA after we create the tag.
This means that we pass a different value to the hooks that happen before
creating the tag, and a different value to the hooks that happen after
creating the tag.

This is not an ideal situation, but it is a trade-off we decided to
make. For discussion of the alternatives please refer to
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7700#note_18982873

"pre-receive" and "update" hooks always get the SHA of the commit
that the tag points to. "post-receive" gets the tag SHA if it is
an annotated tag or the commit SHA if it is an lightweight tag.
Currently we always create annotated tags if UI is used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We only know the tag SHA after we create the tag.
This means that we pass a different value to the hooks that happen before
creating the tag, and a different value to the hooks that happen after
creating the tag.

This is not an ideal situation, but it is a trade-off we decided to
make. For discussion of the alternatives please refer to
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7700#note_18982873

"pre-receive" and "update" hooks always get the SHA of the commit
that the tag points to. "post-receive" gets the tag SHA if it is
an annotated tag or the commit SHA if it is an lightweight tag.
Currently we always create annotated tags if UI is used.
</pre>
</div>
</content>
</entry>
<entry>
<title>Better message for git hooks and file locks</title>
<updated>2016-07-04T12:31:49+00:00</updated>
<author>
<name>Valery Sizov</name>
<email>valery@gitlab.com</email>
</author>
<published>2016-07-04T12:30:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=bf218337ed5bd535856204ef1878a1495fa37dfe'/>
<id>bf218337ed5bd535856204ef1878a1495fa37dfe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Get rid of Gitlab::ShellEnv</title>
<updated>2016-06-15T12:59:37+00:00</updated>
<author>
<name>Jacob Vosmaer</name>
<email>jacob@gitlab.com</email>
</author>
<published>2016-06-15T12:59:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=c32e61251e5afa9131f4c5d08f762a6e9f7de110'/>
<id>c32e61251e5afa9131f4c5d08f762a6e9f7de110</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Raise the exception from #execute instead of #run_hook. #1156 #3069</title>
<updated>2015-12-03T14:39:15+00:00</updated>
<author>
<name>Rubén Dávila</name>
<email>ruben@gitlab.com</email>
</author>
<published>2015-12-01T17:31:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=5e6a5270d52ea2f13ca9967913012691e257439b'/>
<id>5e6a5270d52ea2f13ca9967913012691e257439b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Call update hook from new GitHooksService class. #3069</title>
<updated>2015-12-03T14:39:15+00:00</updated>
<author>
<name>Rubén Dávila</name>
<email>ruben@gitlab.com</email>
</author>
<published>2015-12-01T05:22:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=338eb2c41ea766779d6bb7798079a1dd3a50e11d'/>
<id>338eb2c41ea766779d6bb7798079a1dd3a50e11d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Run custom Git hooks when creating or deleting branches through the UI. #1156</title>
<updated>2015-12-03T14:39:15+00:00</updated>
<author>
<name>Rubén Dávila</name>
<email>ruben@gitlab.com</email>
</author>
<published>2015-11-26T00:20:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=5145706c82613d64462fe736850d09799224cd77'/>
<id>5145706c82613d64462fe736850d09799224cd77</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
