<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git, branch cmn/config-tx</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/'/>
<entry>
<title>config: perform unlocking via git_transaction</title>
<updated>2015-08-12T02:09:38+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-07-12T10:50:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=5340d63d3815ddbd1a7e1b5b9628fce10089e8a0'/>
<id>5340d63d3815ddbd1a7e1b5b9628fce10089e8a0</id>
<content type='text'>
This makes the API for commiting or discarding changes the same as for
references.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes the API for commiting or discarding changes the same as for
references.
</pre>
</div>
</content>
</entry>
<entry>
<title>config: expose locking via the main API</title>
<updated>2015-08-12T02:09:38+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-06-01T18:02:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=36f784b538c4b27f7b52427d2cfce06c535abba0'/>
<id>36f784b538c4b27f7b52427d2cfce06c535abba0</id>
<content type='text'>
This lock/unlock pair allows for the cller to lock a configuration file
to avoid concurrent operations.

It also allows for a transactional approach to updating a configuration
file. If multiple updates must be made atomically, they can be done
while the config is locked.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This lock/unlock pair allows for the cller to lock a configuration file
to avoid concurrent operations.

It also allows for a transactional approach to updating a configuration
file. If multiple updates must be made atomically, they can be done
while the config is locked.
</pre>
</div>
</content>
</entry>
<entry>
<title>config: implement basic transactional support</title>
<updated>2015-08-12T02:09:09+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-06-01T17:17:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=b1667039640ba3464ea0e2d13ad28c9244d80b4d'/>
<id>b1667039640ba3464ea0e2d13ad28c9244d80b4d</id>
<content type='text'>
When a configuration file is locked, any updates made to it will be done
to the in-memory copy of the file. This allows for multiple updates to
happen while we hold the lock, preventing races during complex
config-file manipulation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a configuration file is locked, any updates made to it will be done
to the in-memory copy of the file. This allows for multiple updates to
happen while we hold the lock, preventing races during complex
config-file manipulation.
</pre>
</div>
</content>
</entry>
<entry>
<title>config: write the modified file to memory</title>
<updated>2015-08-12T02:09:08+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-06-01T06:45:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=3ce9e4d23572718deeab438ce149013eece57371'/>
<id>3ce9e4d23572718deeab438ce149013eece57371</id>
<content type='text'>
Instead of writing into the filebuf directly, make the functions to
write the modified config file write into a buffer which can then be
dumped into the lockfile for committing.

This allows us to re-use the same code for modifying a locked
configuration, as we can simply skip the last step of dumping the data
to disk.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of writing into the filebuf directly, make the functions to
write the modified config file write into a buffer which can then be
dumped into the lockfile for committing.

This allows us to re-use the same code for modifying a locked
configuration, as we can simply skip the last step of dumping the data
to disk.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3363 from ripdev/master</title>
<updated>2015-08-12T02:04:39+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-08-12T02:04:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=bbbd0cbd6dcec05fd21a1cad173fd0b79e5a4010'/>
<id>bbbd0cbd6dcec05fd21a1cad173fd0b79e5a4010</id>
<content type='text'>
Forcing libssh2 lib location in CMake</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Forcing libssh2 lib location in CMake</pre>
</div>
</content>
</entry>
<entry>
<title>Forcing libssh2 lib location</title>
<updated>2015-08-06T08:06:17+00:00</updated>
<author>
<name>Slava Karpenko</name>
<email>slava@unrealmojo.com</email>
</author>
<published>2015-08-06T08:06:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=c27b4afcdd80f5a45d7120044bf3d78272181abb'/>
<id>c27b4afcdd80f5a45d7120044bf3d78272181abb</id>
<content type='text'>
OS X may have libssh2 in diff locations, so CHECK_LIBRARY_EXISTS may check the wrong lib; forcing it to use a found directory.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
OS X may have libssh2 in diff locations, so CHECK_LIBRARY_EXISTS may check the wrong lib; forcing it to use a found directory.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3360 from nodegit/master-duplicate-basename-fix</title>
<updated>2015-08-05T21:26:43+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2015-08-05T21:26:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=98f7bd289dfb172473b7d7353d4b0f0b09c67937'/>
<id>98f7bd289dfb172473b7d7353d4b0f0b09c67937</id>
<content type='text'>
Fix duplicate basenames to support older VS on master</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix duplicate basenames to support older VS on master</pre>
</div>
</content>
</entry>
<entry>
<title>Fix duplicate basenames to support older VS</title>
<updated>2015-08-05T20:02:58+00:00</updated>
<author>
<name>John Haley</name>
<email>johnh@axosoft.com</email>
</author>
<published>2015-08-05T17:19:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=eba784d24d12ad7243708d97d80427bbdc9fd2b7'/>
<id>eba784d24d12ad7243708d97d80427bbdc9fd2b7</id>
<content type='text'>
With Visual Studio versions 2008 and older they ignore the full path to files and only check
the basename of the file to find a collision. Additionally, having duplicate basenames can break
other build tools like GYP.

This fixes https://github.com/libgit2/libgit2/issues/3356</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With Visual Studio versions 2008 and older they ignore the full path to files and only check
the basename of the file to find a collision. Additionally, having duplicate basenames can break
other build tools like GYP.

This fixes https://github.com/libgit2/libgit2/issues/3356</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #3351 from ethomson/error_buf</title>
<updated>2015-08-04T09:18:21+00:00</updated>
<author>
<name>Carlos Martín Nieto</name>
<email>cmn@dwim.me</email>
</author>
<published>2015-08-04T09:18:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=cf716beed2f4729cf01a9822d75b4f1ebf7ccbf1'/>
<id>cf716beed2f4729cf01a9822d75b4f1ebf7ccbf1</id>
<content type='text'>
Error handling: use buffers, improved OOM handling</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Error handling: use buffers, improved OOM handling</pre>
</div>
</content>
</entry>
<entry>
<title>errors: tighten up git_error_state OOMs a bit more</title>
<updated>2015-08-03T23:44:51+00:00</updated>
<author>
<name>Edward Thomson</name>
<email>ethomson@edwardthomson.com</email>
</author>
<published>2015-08-03T21:50:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/libgit2.git/commit/?id=ef4857c2b3d4a61fd1d840199afc92eaf2e15345'/>
<id>ef4857c2b3d4a61fd1d840199afc92eaf2e15345</id>
<content type='text'>
When an error state is an OOM, make sure that we treat is specially
and do not try to free it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When an error state is an OOM, make sure that we treat is specially
and do not try to free it.
</pre>
</div>
</content>
</entry>
</feed>
