<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libgit2.git/tests/t09-tree.c, branch cmn/https-cap-no-hardcode</title>
<subtitle>github.com: libgit2/libgit2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/'/>
<entry>
<title>Removing test suites that have been ported to Clar:</title>
<updated>2012-03-31T21:15:18+00:00</updated>
<author>
<name>Ben Straub</name>
<email>ben@straubnet.net</email>
</author>
<published>2012-03-31T21:06:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=9297b6e0a1e5846eb3d3fd978d3a2c00faaf2d8c'/>
<id>9297b6e0a1e5846eb3d3fd978d3a2c00faaf2d8c</id>
<content type='text'>
* t00 / 6e86fb3 (mentioned in #406)
* t01 / fc60c4a (mentioned in #406)
* t03 / bcbabe6
* t04 / PR #606
* t05 / d96f2c3
* t06 / 6c106ee
* t07 / 2ef582b
* t08 / b482c42
* t09 / 9a39a36
* t10 / 00a4893
* t12 / 7c3a4a7
* t13 / 1cb9b31
* t17 / cdaa6ff (mentioned in #406)
* t18 / efabc08
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* t00 / 6e86fb3 (mentioned in #406)
* t01 / fc60c4a (mentioned in #406)
* t03 / bcbabe6
* t04 / PR #606
* t05 / d96f2c3
* t06 / 6c106ee
* t07 / 2ef582b
* t08 / b482c42
* t09 / 9a39a36
* t10 / 00a4893
* t12 / 7c3a4a7
* t13 / 1cb9b31
* t17 / cdaa6ff (mentioned in #406)
* t18 / efabc08
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename all `_close` methods</title>
<updated>2011-11-26T07:48:00+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>tanoku@gmail.com</email>
</author>
<published>2011-11-26T03:59:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=45e79e37012ffec58c754000c23077ecac2da753'/>
<id>45e79e37012ffec58c754000c23077ecac2da753</id>
<content type='text'>
There's no difference between `_free` and `_close` semantics: keep
everything with the same name to avoid confusions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's no difference between `_free` and `_close` semantics: keep
everything with the same name to avoid confusions.
</pre>
</div>
</content>
</entry>
<entry>
<title>*: correct and codify various file permissions</title>
<updated>2011-10-14T23:07:47+00:00</updated>
<author>
<name>Brodie Rao</name>
<email>brodie@bitheap.org</email>
</author>
<published>2011-09-06T22:48:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=01ad7b3a9ec8f5e465f94c2704e1e96b84f941c7'/>
<id>01ad7b3a9ec8f5e465f94c2704e1e96b84f941c7</id>
<content type='text'>
The following files now have 0444 permissions:

- loose objects
- pack indexes
- pack files
- packs downloaded by fetch
- packs downloaded by the HTTP transport

And the following files now have 0666 permissions:

- config files
- repository indexes
- reflogs
- refs

This brings libgit2 more in line with Git.

Note that git_filebuf_commit() and git_filebuf_commit_at() have both
gained a new mode parameter.

The latter change fixes an important issue where filebufs created with
GIT_FILEBUF_TEMPORARY received 0600 permissions (due to mkstemp(3)
usage). Now we chmod() the file before renaming it into place.

Tests have been added to confirm that new commit, tag, and tree
objects are created with the right permissions. I don't have access to
Windows, so for now I've guarded the tests with "#ifndef GIT_WIN32".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The following files now have 0444 permissions:

- loose objects
- pack indexes
- pack files
- packs downloaded by fetch
- packs downloaded by the HTTP transport

And the following files now have 0666 permissions:

- config files
- repository indexes
- reflogs
- refs

This brings libgit2 more in line with Git.

Note that git_filebuf_commit() and git_filebuf_commit_at() have both
gained a new mode parameter.

The latter change fixes an important issue where filebufs created with
GIT_FILEBUF_TEMPORARY received 0600 permissions (due to mkstemp(3)
usage). Now we chmod() the file before renaming it into place.

Tests have been added to confirm that new commit, tag, and tree
objects are created with the right permissions. I don't have access to
Windows, so for now I've guarded the tests with "#ifndef GIT_WIN32".
</pre>
</div>
</content>
</entry>
<entry>
<title>fileops/repository: create (most) directories with 0777 permissions</title>
<updated>2011-10-14T23:04:34+00:00</updated>
<author>
<name>Brodie Rao</name>
<email>brodie@bitheap.org</email>
</author>
<published>2011-09-07T22:32:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=ce8cd006ce3adcd012a38401b8a7555ba3307b3f'/>
<id>ce8cd006ce3adcd012a38401b8a7555ba3307b3f</id>
<content type='text'>
To further match how Git behaves, this change makes most of the
directories libgit2 creates in a git repo have a file mode of
0777. Specifically:

- Intermediate directories created with git_futils_mkpath2file() have
  0777 permissions. This affects odb_loose, reflog, and refs.

- The top level folder for bare repos is created with 0777
  permissions.

- The top level folder for non-bare repos is created with 0755
  permissions.

- /objects/info/, /objects/pack/, /refs/heads/, and /refs/tags/ are
  created with 0777 permissions.

Additionally, the following changes have been made:

- fileops functions that create intermediate directories have grown a
  new dirmode parameter. The only exception to this is filebuf's
  lock_file(), which unconditionally creates intermediate directories
  with 0777 permissions when GIT_FILEBUF_FORCE is set.

- The test runner now sets the umask to 0 before running any
  tests. This ensurses all file mode checks are consistent across
  systems.

- t09-tree.c now does a directory permissions check. I've avoided
  adding this check to other tests that might reuse existing
  directories from the prefabricated test repos. Because they're
  checked into the repo, they have 0755 permissions.

- Other assorted directories created by tests have 0777 permissions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To further match how Git behaves, this change makes most of the
directories libgit2 creates in a git repo have a file mode of
0777. Specifically:

- Intermediate directories created with git_futils_mkpath2file() have
  0777 permissions. This affects odb_loose, reflog, and refs.

- The top level folder for bare repos is created with 0777
  permissions.

- The top level folder for non-bare repos is created with 0755
  permissions.

- /objects/info/, /objects/pack/, /refs/heads/, and /refs/tags/ are
  created with 0777 permissions.

Additionally, the following changes have been made:

- fileops functions that create intermediate directories have grown a
  new dirmode parameter. The only exception to this is filebuf's
  lock_file(), which unconditionally creates intermediate directories
  with 0777 permissions when GIT_FILEBUF_FORCE is set.

- The test runner now sets the umask to 0 before running any
  tests. This ensurses all file mode checks are consistent across
  systems.

- t09-tree.c now does a directory permissions check. I've avoided
  adding this check to other tests that might reuse existing
  directories from the prefabricated test repos. Because they're
  checked into the repo, they have 0755 permissions.

- Other assorted directories created by tests have 0777 permissions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix minor indentation issues</title>
<updated>2011-10-13T20:49:05+00:00</updated>
<author>
<name>nulltoken</name>
<email>emeric.fermas@gmail.com</email>
</author>
<published>2011-10-11T12:42:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=a6c0e4d2028966c73525de020d4e500f272dfadf'/>
<id>a6c0e4d2028966c73525de020d4e500f272dfadf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix memory leak when wrong object type is looked up from cache</title>
<updated>2011-08-02T17:23:00+00:00</updated>
<author>
<name>Lambert CLARA</name>
<email>lambert.clara@yahoo.fr</email>
</author>
<published>2011-08-02T17:23:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=7d3ec3caac1ed10faecaf828b481b0f4958755c1'/>
<id>7d3ec3caac1ed10faecaf828b481b0f4958755c1</id>
<content type='text'>
Update unit test accordingly : no need to close
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update unit test accordingly : no need to close
</pre>
</div>
</content>
</entry>
<entry>
<title>tree: fix insertion of entries with invalid filenames</title>
<updated>2011-07-13T05:58:17+00:00</updated>
<author>
<name>nulltoken</name>
<email>emeric.fermas@gmail.com</email>
</author>
<published>2011-07-13T05:58:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=f4ad64c109f14f9e8fd5df9d6bf93e82f039c3b0'/>
<id>f4ad64c109f14f9e8fd5df9d6bf93e82f039c3b0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>oid: Rename methods</title>
<updated>2011-06-16T00:36:21+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>tanoku@gmail.com</email>
</author>
<published>2011-06-16T00:36:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=fa48608ec30758dbf6d0d26d3c4f8efba8efe8e9'/>
<id>fa48608ec30758dbf6d0d26d3c4f8efba8efe8e9</id>
<content type='text'>
Yeah. Finally. Fuck the old names, this ain't POSIX
and they don't make any sense at all.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Yeah. Finally. Fuck the old names, this ain't POSIX
and they don't make any sense at all.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compilation warnings in MSVC</title>
<updated>2011-06-12T05:37:50+00:00</updated>
<author>
<name>nulltoken</name>
<email>emeric.fermas@gmail.com</email>
</author>
<published>2011-06-08T18:39:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=9e3aa94764b1c686ee5848b6f5bf1821c354a759'/>
<id>9e3aa94764b1c686ee5848b6f5bf1821c354a759</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix tree-entry attribute convertion (fix corrupted trees)</title>
<updated>2011-04-26T11:32:11+00:00</updated>
<author>
<name>Sergey Nikishin</name>
<email>nordsturm@yandex-team.ru</email>
</author>
<published>2011-04-26T09:22:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/libgit2.git/commit/?id=555ce568196f62558eb5a9084ba61add7e6b1ba1'/>
<id>555ce568196f62558eb5a9084ba61add7e6b1ba1</id>
<content type='text'>
Magic constant replaced by direct to-string covertion because of:
1) with value length 6 (040000 - subtree) final tree will be corrupted;
2) for wrong values length &lt;6 final tree will be corrupted too.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Magic constant replaced by direct to-string covertion because of:
1) with value length 6 (040000 - subtree) final tree will be corrupted;
2) for wrong values length &lt;6 final tree will be corrupted too.
</pre>
</div>
</content>
</entry>
</feed>
