<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-shell.git, branch 3-6-stable</title>
<subtitle>gitlab.com: gitlab-org/gitlab-shell.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gitlab/gitlab-shell.git/'/>
<entry>
<title>Merge branch 'backport-112-to-3-6-stable' into '3-6-stable'</title>
<updated>2017-02-08T14:44:26+00:00</updated>
<author>
<name>Rémy Coutable</name>
<email>remy@rymai.me</email>
</author>
<published>2017-02-08T14:44:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gitlab/gitlab-shell.git/commit/?id=bb4b8091d5f7817c192bac559ab65205982716ef'/>
<id>bb4b8091d5f7817c192bac559ab65205982716ef</id>
<content type='text'>

Backport "Pass relevant git environment variables while calling `/allowed`" to 3-6-stable

See merge request !120</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Backport "Pass relevant git environment variables while calling `/allowed`" to 3-6-stable

See merge request !120</pre>
</div>
</content>
</entry>
<entry>
<title>Bump VERSION to 3.6.7</title>
<updated>2017-02-07T15:08:58+00:00</updated>
<author>
<name>Rémy Coutable</name>
<email>remy@rymai.me</email>
</author>
<published>2017-02-06T08:51:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gitlab/gitlab-shell.git/commit/?id=f85d650e67d199f43259a9181d7c0406571f4bcf'/>
<id>f85d650e67d199f43259a9181d7c0406571f4bcf</id>
<content type='text'>
Signed-off-by: Rémy Coutable &lt;remy@rymai.me&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Rémy Coutable &lt;remy@rymai.me&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add 3.6.7 CHANGELOG</title>
<updated>2017-02-06T08:50:50+00:00</updated>
<author>
<name>Rémy Coutable</name>
<email>remy@rymai.me</email>
</author>
<published>2017-02-06T08:50:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gitlab/gitlab-shell.git/commit/?id=a812dc29035147322a6361bcc26f4626dd57eaee'/>
<id>a812dc29035147322a6361bcc26f4626dd57eaee</id>
<content type='text'>
Signed-off-by: Rémy Coutable &lt;remy@rymai.me&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Rémy Coutable &lt;remy@rymai.me&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Pass relevant git environment variables while calling `/allowed`</title>
<updated>2017-02-06T08:50:09+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://trove.baserock.org/cgit/delta/gitlab/gitlab-shell.git/commit/?id=752536bbb48970d17f09019338a9562127ac9ff7'/>
<id>752536bbb48970d17f09019338a9562127ac9ff7</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.

Signed-off-by: Rémy Coutable &lt;remy@rymai.me&gt;
</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.

Signed-off-by: Rémy Coutable &lt;remy@rymai.me&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Release 3.6.6</title>
<updated>2016-10-12T14:43:27+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2016-10-12T14:43:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gitlab/gitlab-shell.git/commit/?id=0cc6cfc11be21597b11470c1c1aaa7e4a92618db'/>
<id>0cc6cfc11be21597b11470c1c1aaa7e4a92618db</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'reuse-logger' into 'master'</title>
<updated>2016-10-12T14:22:26+00:00</updated>
<author>
<name>Marin Jankovski</name>
<email>marin@gitlab.com</email>
</author>
<published>2016-10-12T14:22:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gitlab/gitlab-shell.git/commit/?id=8ba3bc0e3014125d519af26ee601df0d25bfefc5'/>
<id>8ba3bc0e3014125d519af26ee601df0d25bfefc5</id>
<content type='text'>

Re-use the default logger for performance metrics

See #64 for the discussion leading up to this.

See merge request !100</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Re-use the default logger for performance metrics

See #64 for the discussion leading up to this.

See merge request !100</pre>
</div>
</content>
</entry>
<entry>
<title>Re-use the default logger for performance metrics</title>
<updated>2016-10-12T14:11:50+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2016-10-12T14:10:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gitlab/gitlab-shell.git/commit/?id=1d68fefe5016baa61043e72ba7ee5458eded8634'/>
<id>1d68fefe5016baa61043e72ba7ee5458eded8634</id>
<content type='text'>
This removes the need for configuring anything extra. To make scraping
easier each line is prefixed by "metrics:".

Fixes #64
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes the need for configuring anything extra. To make scraping
easier each line is prefixed by "metrics:".

Fixes #64
</pre>
</div>
</content>
</entry>
<entry>
<title>Release 3.6.5</title>
<updated>2016-10-11T15:21:38+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2016-10-11T15:21:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gitlab/gitlab-shell.git/commit/?id=3cba0e6ea6d30e9faca7727b66eb9ddfe5b5b51c'/>
<id>3cba0e6ea6d30e9faca7727b66eb9ddfe5b5b51c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch '62-instrument-gitlab-shell' into 'master'</title>
<updated>2016-10-11T15:20:14+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorickpeterse@gmail.com</email>
</author>
<published>2016-10-11T15:20:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gitlab/gitlab-shell.git/commit/?id=4227f0b6873c78181f9745e954672bb74af9df79'/>
<id>4227f0b6873c78181f9745e954672bb74af9df79</id>
<content type='text'>

Instrument GitLab Shell and log metrics data to a file

See merge request !98</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

Instrument GitLab Shell and log metrics data to a file

See merge request !98</pre>
</div>
</content>
</entry>
<entry>
<title>Instrument GitLab Shell and log metrics data to a file</title>
<updated>2016-10-11T13:36:05+00:00</updated>
<author>
<name>Paco Guzman</name>
<email>pacoguzmanp@gmail.com</email>
</author>
<published>2016-10-10T12:21:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/gitlab/gitlab-shell.git/commit/?id=a4c8927007499d71a13e1a52c59a0ec36f20a6e0'/>
<id>a4c8927007499d71a13e1a52c59a0ec36f20a6e0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
