<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-shell.git/lib, branch test-socket-path</title>
<subtitle>gitlab.com: gitlab-org/gitlab-shell.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-shell.git/'/>
<entry>
<title>adds timeout option to push branches and respective test suite</title>
<updated>2017-03-29T15:59:43+00:00</updated>
<author>
<name>Tiago Botelho</name>
<email>tiagonbotelho@hotmail.com</email>
</author>
<published>2017-03-16T10:47:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-shell.git/commit/?id=9e41159a6d2eb0d7409fe7188f8eedddbef0136b'/>
<id>9e41159a6d2eb0d7409fe7188f8eedddbef0136b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fetch repositories with --quiet option by default</title>
<updated>2017-03-28T00:01:03+00:00</updated>
<author>
<name>Douglas Barbosa Alexandre</name>
<email>dbalexandre@gmail.com</email>
</author>
<published>2017-03-28T00:01:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-shell.git/commit/?id=da97c29237f1bee8f46aa0523db19cf7becc7bdf'/>
<id>da97c29237f1bee8f46aa0523db19cf7becc7bdf</id>
<content type='text'>
This will allow us to prevent deadlocks when dealing with extremely
long outputs from `git fetch`. All the pipes (stdin, stdout, and
stderr) have limited buffers, and when one fills up, everything is
going to stop.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will allow us to prevent deadlocks when dealing with extremely
long outputs from `git fetch`. All the pipes (stdin, stdout, and
stderr) have limited buffers, and when one fills up, everything is
going to stop.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove git annex support</title>
<updated>2017-02-24T13:20:20+00:00</updated>
<author>
<name>Pawel Chojnacki</name>
<email>pawel@chojnacki.ws</email>
</author>
<published>2017-02-24T13:20:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-shell.git/commit/?id=42d31f8fe18424617da19f55feb9b10f16219812'/>
<id>42d31f8fe18424617da19f55feb9b10f16219812</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use api/v4 for gitaly notification and add tests</title>
<updated>2017-02-10T17:12:27+00:00</updated>
<author>
<name>Alejandro Rodríguez</name>
<email>alejorro70@gmail.com</email>
</author>
<published>2017-02-10T11:11:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-shell.git/commit/?id=09e4814483863b3cb570a98746c684a2709eece8'/>
<id>09e4814483863b3cb570a98746c684a2709eece8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add gitaly notification on post-receive hook</title>
<updated>2017-02-07T21:05:52+00:00</updated>
<author>
<name>Alejandro Rodríguez</name>
<email>alejorro70@gmail.com</email>
</author>
<published>2017-02-05T18:23:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-shell.git/commit/?id=b98d59acdf6453708ec53e38146238cab9f9754c'/>
<id>b98d59acdf6453708ec53e38146238cab9f9754c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Set a 'Host' header on unix sockets</title>
<updated>2017-01-03T10:42:41+00:00</updated>
<author>
<name>Jacob Vosmaer</name>
<email>jacob@gitlab.com</email>
</author>
<published>2017-01-03T10:08:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-shell.git/commit/?id=3695d162bd68827dbd495cca77db366f81b5893b'/>
<id>3695d162bd68827dbd495cca77db366f81b5893b</id>
<content type='text'>
Workaround for a bug in the HTTPUNIX client.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Workaround for a bug in the HTTPUNIX client.
</pre>
</div>
</content>
</entry>
<entry>
<title>Pass relevant git environment variables while calling `/allowed`</title>
<updated>2016-12-16T04:09:12+00:00</updated>
<author>
<name>Timothy Andrew</name>
<email>mail@timothyandrew.net</email>
</author>
<published>2016-12-07T07:39:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-shell.git/commit/?id=fc2016484aacb82980c1c9082e195110f0eacb34'/>
<id>fc2016484aacb82980c1c9082e195110f0eacb34</id>
<content type='text'>
1. Starting version 2.11, git changed the way the pre-receive flow works.

  - Previously, the new potential objects would be added to the main repo. If the
    pre-receive passes, the new objects stay in the repo but are linked up. If
    the pre-receive fails, the new objects stay orphaned in the repo, and are
    cleaned up during the next `git gc`.

  - In 2.11, the new potential objects are added to a temporary "alternate object
    directory", that git creates for this purpose. If the pre-receive passes, the
    objects from the alternate object directory are migrated to the main repo. If
    the pre-receive fails the alternate object directory is simply deleted.

2. In our workflow, the pre-recieve script calls the `/allowed` endpoint on the
   rails server. This `/allowed` endpoint calls out directly to git to perform
   various checks. These direct calls to git do _not_ have the necessary
   environment variables set which allow access to the "alternate object
   directory" (explained above). Therefore these calls to git are not able to
   access any of the new potential objects to be added during this push.

3. We fix this by passing the relevant environment variables
   (GIT_ALTERNATE_OBJECT_DIRECTORIES, GIT_OBJECT_DIRECTORY, and
   GIT_QUARANTINE_PATH) to the `/allowed` endpoint, which will then include
   these environment variables while calling out to git.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. Starting version 2.11, git changed the way the pre-receive flow works.

  - Previously, the new potential objects would be added to the main repo. If the
    pre-receive passes, the new objects stay in the repo but are linked up. If
    the pre-receive fails, the new objects stay orphaned in the repo, and are
    cleaned up during the next `git gc`.

  - In 2.11, the new potential objects are added to a temporary "alternate object
    directory", that git creates for this purpose. If the pre-receive passes, the
    objects from the alternate object directory are migrated to the main repo. If
    the pre-receive fails the alternate object directory is simply deleted.

2. In our workflow, the pre-recieve script calls the `/allowed` endpoint on the
   rails server. This `/allowed` endpoint calls out directly to git to perform
   various checks. These direct calls to git do _not_ have the necessary
   environment variables set which allow access to the "alternate object
   directory" (explained above). Therefore these calls to git are not able to
   access any of the new potential objects to be added during this push.

3. We fix this by passing the relevant environment variables
   (GIT_ALTERNATE_OBJECT_DIRECTORIES, GIT_OBJECT_DIRECTORY, and
   GIT_QUARANTINE_PATH) to the `/allowed` endpoint, which will then include
   these environment variables while calling out to git.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make custom hooks dir configurable</title>
<updated>2016-12-12T13:21:42+00:00</updated>
<author>
<name>Sean McGivern</name>
<email>sean@gitlab.com</email>
</author>
<published>2016-12-09T12:52:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-shell.git/commit/?id=fbc213eabdbb76ec846357d980705f5d4f20ecc5'/>
<id>fbc213eabdbb76ec846357d980705f5d4f20ecc5</id>
<content type='text'>
Add a new configuration option, custom_hooks_dir. When this is set, we
will look for global custom hooks in:
    &lt;custom_hooks_dir&gt;/{pre-receive,update,post-receive}.d/*

When this is not set, default to &lt;REPO_PATH&gt;/hooks.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new configuration option, custom_hooks_dir. When this is set, we
will look for global custom hooks in:
    &lt;custom_hooks_dir&gt;/{pre-receive,update,post-receive}.d/*

When this is not set, default to &lt;REPO_PATH&gt;/hooks.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make merge request text after push clearer</title>
<updated>2016-12-08T21:29:29+00:00</updated>
<author>
<name>Lisanne Fellinger</name>
<email>lisanne.88@gmail.com</email>
</author>
<published>2016-11-28T14:50:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-shell.git/commit/?id=ed37021cc296f4b3dda0d933c3b25cf212a29e5c'/>
<id>ed37021cc296f4b3dda0d933c3b25cf212a29e5c</id>
<content type='text'>
Add changelog entry

Editing changelog entry version
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add changelog entry

Editing changelog entry version
</pre>
</div>
</content>
</entry>
<entry>
<title>avoid Dir.exists? duplication by moving the check to match_hook_files</title>
<updated>2016-12-01T11:40:11+00:00</updated>
<author>
<name>Elan Ruusamäe</name>
<email>glen@delfi.ee</email>
</author>
<published>2016-11-16T00:12:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-shell.git/commit/?id=872c66e977b3041e0c18543d2e00a255e8e89e41'/>
<id>872c66e977b3041e0c18543d2e00a255e8e89e41</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
