<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/gitlab/gitlab-ce.git/lib/backup, branch patch-41</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>Modify file restore to rectify tar issue</title>
<updated>2019-01-17T16:07:29+00:00</updated>
<author>
<name>Jason Colyer</name>
<email>jcolyer2007@gmail.com</email>
</author>
<published>2019-01-16T17:11:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=c74820db07f1f7348cd6fbe2a2d5307ba0e9eeba'/>
<id>c74820db07f1f7348cd6fbe2a2d5307ba0e9eeba</id>
<content type='text'>
Fixed typo in run_pipeline! function
  -&gt; Open3.pieline to Open3.pipeline
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed typo in run_pipeline! function
  -&gt; Open3.pieline to Open3.pipeline
</pre>
</div>
</content>
</entry>
<entry>
<title>Modify file restore to rectify tar issue</title>
<updated>2019-01-17T16:07:29+00:00</updated>
<author>
<name>Jason Colyer</name>
<email>jcolyer2007@gmail.com</email>
</author>
<published>2019-01-15T17:51:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=f88b464bf3bfa13dea33489d8f57e5380dbc00cd'/>
<id>f88b464bf3bfa13dea33489d8f57e5380dbc00cd</id>
<content type='text'>
Adjusted run_pipeline! function
  to match rubocop syntax requirements
Adjusted run_pipeline! function
  to use variable instead of string interpolation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adjusted run_pipeline! function
  to match rubocop syntax requirements
Adjusted run_pipeline! function
  to use variable instead of string interpolation
</pre>
</div>
</content>
</entry>
<entry>
<title>Modify file restore to rectify tar issue</title>
<updated>2019-01-17T16:07:06+00:00</updated>
<author>
<name>Jason Colyer</name>
<email>jcolyer2007@gmail.com</email>
</author>
<published>2019-01-09T16:44:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=99b6f37fa525b1a19cccfe743d4f56d104c02c78'/>
<id>99b6f37fa525b1a19cccfe743d4f56d104c02c78</id>
<content type='text'>
Changed run_pipeline! function to have use $ in regex
Changed run_pipeline! function to use Open3.pipeline
instead of Open3.pipeline_start
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changed run_pipeline! function to have use $ in regex
Changed run_pipeline! function to use Open3.pipeline
instead of Open3.pipeline_start
</pre>
</div>
</content>
</entry>
<entry>
<title>Modified files.rb to handle tar error</title>
<updated>2019-01-16T14:29:40+00:00</updated>
<author>
<name>Jason Colyer</name>
<email>jcolyer2007@gmail.com</email>
</author>
<published>2018-12-21T20:55:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=6de60ef29575adb6480850cff32b37c820ad396b'/>
<id>6de60ef29575adb6480850cff32b37c820ad396b</id>
<content type='text'>
Changed the run_pipeline! function to instead use Open3.pipeline_start
In doing so, the code is able to grab the last STDERR. In the case
where the error is the one from older tar versions (relating to ./),
it will not raise a Backup::Error. All other instances of command
failure will result in Backup::Error being raised.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changed the run_pipeline! function to instead use Open3.pipeline_start
In doing so, the code is able to grab the last STDERR. In the case
where the error is the one from older tar versions (relating to ./),
it will not raise a Backup::Error. All other instances of command
failure will result in Backup::Error being raised.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add SSE-C key configuration option for Amazon S3 remote backups</title>
<updated>2019-01-09T16:39:20+00:00</updated>
<author>
<name>Pepijn Van Eeckhoudt</name>
<email>pepijn@vaneeckhoudt.net</email>
</author>
<published>2019-01-09T16:39:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=1b3ffdf250e2fc632765aef2d003d1ea29f66977'/>
<id>1b3ffdf250e2fc632765aef2d003d1ea29f66977</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid extra storage bucket perm and query</title>
<updated>2018-12-21T18:34:05+00:00</updated>
<author>
<name>Michael Kozono</name>
<email>mkozono@gmail.com</email>
</author>
<published>2018-12-21T17:56:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=d2d85c31fea920b0e62fb600fc6de874762a71ad'/>
<id>d2d85c31fea920b0e62fb600fc6de874762a71ad</id>
<content type='text'>
Specifically, the `ListAllMyBuckets` permission.

This works if you know the directory exists.

See more:

* https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23981
* https://stackoverflow.com/a/12288581/1992201
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Specifically, the `ListAllMyBuckets` permission.

This works if you know the directory exists.

See more:

* https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23981
* https://stackoverflow.com/a/12288581/1992201
</pre>
</div>
</content>
</entry>
<entry>
<title>Restore Object Pools when restoring an object pool</title>
<updated>2018-12-13T08:00:03+00:00</updated>
<author>
<name>Zeger-Jan van de Weg</name>
<email>git@zjvandeweg.nl</email>
</author>
<published>2018-12-10T08:31:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=89a407dc3bea38b60e06eb825991cbea0c87b85a'/>
<id>89a407dc3bea38b60e06eb825991cbea0c87b85a</id>
<content type='text'>
Pool repositories are persisted in the database, and when the DB is
restored, the data need to be restored on disk. This is done by
resetting the state machine and rescheduling the object pool creation.

This is not an exact replica of the state like at the time of the
creation of the backup. However, the data is consistent again.

Dumping isn't required as internally GitLab uses git bundles which
bundle all refs and include all objects in the bundle that they require,
reduplicating as more repositories get backed up. This does require more
data to be stored.

Fixes https://gitlab.com/gitlab-org/gitaly/issues/1355
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pool repositories are persisted in the database, and when the DB is
restored, the data need to be restored on disk. This is done by
resetting the state machine and rescheduling the object pool creation.

This is not an exact replica of the state like at the time of the
creation of the backup. However, the data is consistent again.

Dumping isn't required as internally GitLab uses git bundles which
bundle all refs and include all objects in the bundle that they require,
reduplicating as more repositories get backed up. This does require more
data to be stored.

Fixes https://gitlab.com/gitlab-org/gitaly/issues/1355
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable frozen string for lib/gitlab/*.rb</title>
<updated>2018-10-22T07:00:50+00:00</updated>
<author>
<name>gfyoung</name>
<email>gfyoung17+gitlab@gmail.com</email>
</author>
<published>2018-10-22T07:00:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=c858f70d076dc44f6bf1ab1f7acb1fc13a12ab1b'/>
<id>c858f70d076dc44f6bf1ab1f7acb1fc13a12ab1b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add installation type to backup information file</title>
<updated>2018-10-05T14:04:22+00:00</updated>
<author>
<name>Balasankar "Balu" C</name>
<email>balasankar@gitlab.com</email>
</author>
<published>2018-10-05T14:04:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=91ef6989d15c5fd8e93e93eb980d03abe1a15d0e'/>
<id>91ef6989d15c5fd8e93e93eb980d03abe1a15d0e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable frozen string in lib/api and lib/backup</title>
<updated>2018-09-30T04:04:50+00:00</updated>
<author>
<name>gfyoung</name>
<email>gfyoung17@gmail.com</email>
</author>
<published>2018-09-29T22:34:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/gitlab/gitlab-ce.git/commit/?id=3836d69119fee2a625edae2a564132eff9520bc8'/>
<id>3836d69119fee2a625edae2a564132eff9520bc8</id>
<content type='text'>
Partially addresses #47424.

Had to make changes to spec files because
stubbing methods on frozen objects is a mess
in RSpec and leads to failures:

https://github.com/rspec/rspec-mocks/issues/1190
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Partially addresses #47424.

Had to make changes to spec files because
stubbing methods on frozen objects is a mess
in RSpec and leads to failures:

https://github.com/rspec/rspec-mocks/issues/1190
</pre>
</div>
</content>
</entry>
</feed>
