<feed xmlns='http://www.w3.org/2005/Atom'>
<title>markzz/aurweb.git/git-interface/git-update.py, branch v4.0.0-rc4</title>
<subtitle>aurweb working repository</subtitle>
<id>https://git.markzz.net/markzz/aurweb.git/atom/git-interface/git-update.py?h=v4.0.0-rc4</id>
<link rel='self' href='https://git.markzz.net/markzz/aurweb.git/atom/git-interface/git-update.py?h=v4.0.0-rc4'/>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/'/>
<updated>2015-06-11T15:56:51Z</updated>
<entry>
<title>git-update: Allow non-fast-forwards for TUs</title>
<updated>2015-06-11T15:56:51Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>lfleischer@archlinux.org</email>
</author>
<published>2015-06-11T15:52:42Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=5225dfef4840de147aed261366df5426d1ea5301'/>
<id>urn:sha1:5225dfef4840de147aed261366df5426d1ea5301</id>
<content type='text'>
Although we theoretically never want to lose history, there may be rare
occasions when a forced push is required (e.g. if illegal data is
pushed). Allow Trusted Users and Developers to perform non-fast-forward
pushes.

Signed-off-by: Lukas Fleischer &lt;lfleischer@archlinux.org&gt;
</content>
</entry>
<entry>
<title>git-update: Deny non-fast-forwards</title>
<updated>2015-06-11T15:56:26Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>lfleischer@archlinux.org</email>
</author>
<published>2015-06-11T15:48:48Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=a0f3060f234418993aaeee0962cfdbd25f37b940'/>
<id>urn:sha1:a0f3060f234418993aaeee0962cfdbd25f37b940</id>
<content type='text'>
To make sure we never lose any history, non-fast-forwards are forbidden.
Instead of relying on receive.denyNonFastForwards, add a simple check to
the update hook. This has the added benefit of more flexibility.

Signed-off-by: Lukas Fleischer &lt;lfleischer@archlinux.org&gt;
</content>
</entry>
<entry>
<title>Do not use symrefs for manually created Git refs</title>
<updated>2015-06-11T12:03:56Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>lfleischer@archlinux.org</email>
</author>
<published>2015-06-11T11:58:43Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=2164750f1e951c6985b3f9c29663bf94d16553e7'/>
<id>urn:sha1:2164750f1e951c6985b3f9c29663bf94d16553e7</id>
<content type='text'>
When creating the refs for the package base branch and the HEAD ref
workaround, directly use commit IDs instead of symrefs. It looks like
Git cannot pack symrefs, so this is expected to improve space
efficiency. Also, since the refs are now only created (or updated) when
new objects are actually received, this fixes a problem with dangling
refs that were created when a user initialized a repository but did not
push anything.

Signed-off-by: Lukas Fleischer &lt;lfleischer@archlinux.org&gt;
</content>
</entry>
<entry>
<title>git-update: Avoid duplicate notifications</title>
<updated>2015-06-08T19:52:59Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>lfleischer@archlinux.org</email>
</author>
<published>2015-06-08T19:52:59Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=c7ff97a6a86c2dd315d09656af568a108ada3567'/>
<id>urn:sha1:c7ff97a6a86c2dd315d09656af568a108ada3567</id>
<content type='text'>
Fixes FS#45254.

Signed-off-by: Lukas Fleischer &lt;lfleischer@archlinux.org&gt;
</content>
</entry>
<entry>
<title>git-update: Drop writing git description file</title>
<updated>2015-06-08T13:04:13Z</updated>
<author>
<name>Johannes Löthberg</name>
<email>johannes@kyriasis.com</email>
</author>
<published>2015-06-08T12:57:57Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=fcbfaf6a373eefdf84311da0326c1af28eb7edc3'/>
<id>urn:sha1:fcbfaf6a373eefdf84311da0326c1af28eb7edc3</id>
<content type='text'>
All PKGBUILDs are stored in a single repository now, so there is no use
for writing out a description file for the repo anymore.

This fixes a bug where pkgdescs containing UTF-8 characters are rejected
due to it trying to write the file out using ASCII.

Signed-off-by: Johannes Löthberg &lt;johannes@kyriasis.com&gt;
Signed-off-by: Lukas Fleischer &lt;lfleischer@archlinux.org&gt;
</content>
</entry>
<entry>
<title>git-update: Improve error message for non-blob objects</title>
<updated>2015-06-08T12:26:26Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>lfleischer@archlinux.org</email>
</author>
<published>2015-06-08T11:40:47Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=ed72af63782c455ece6568b96849a29c43c79f1b'/>
<id>urn:sha1:ed72af63782c455ece6568b96849a29c43c79f1b</id>
<content type='text'>
When a repository contains a directory, a user is currently faced with
the following error message:

    remote: Traceback (most recent call last):
    remote:   File "hooks/update", line 194, in &lt;module&gt;
    remote:     if repo[treeobj.id].size &gt; 250000:
    remote: AttributeError: '_pygit2.Tree' object has no attribute 'size'
    remote: error: hook declined to update refs/heads/master

Explicitly check for directories and other non-blob objects and display
a more intuitive message.

Signed-off-by: Lukas Fleischer &lt;lfleischer@archlinux.org&gt;
</content>
</entry>
<entry>
<title>Use extract_arch_fields when checking for source files</title>
<updated>2015-06-08T12:26:26Z</updated>
<author>
<name>Johannes Löthberg</name>
<email>johannes@kyriasis.com</email>
</author>
<published>2015-06-08T11:01:35Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=6e52439e6f23eb1879c7f9ee6113cfc677992639'/>
<id>urn:sha1:6e52439e6f23eb1879c7f9ee6113cfc677992639</id>
<content type='text'>
This fixes a bug where pushes are rejected in split PKGBUILDs if there
are no arch-independent source array.

Fixes FS#45253

Reported-by: Marti &lt;marti@juffo.org&gt;
Reported-by: Maxime Gauduin &lt;alucryd@archlinux.org&gt;
Signed-off-by: Johannes Löthberg &lt;johannes@kyriasis.com&gt;
Signed-off-by: Lukas Fleischer &lt;lfleischer@archlinux.org&gt;
</content>
</entry>
<entry>
<title>git-update: Increase maximum blob size to 250kB</title>
<updated>2015-06-08T11:15:23Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>lfleischer@archlinux.org</email>
</author>
<published>2015-06-08T11:15:05Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=debe76299dc1521ae8964dfbf60bf7941b5d29ee'/>
<id>urn:sha1:debe76299dc1521ae8964dfbf60bf7941b5d29ee</id>
<content type='text'>
Large blobs are needed in some packages, such as customized Linux
kernels including kernel configurations.

Signed-off-by: Lukas Fleischer &lt;lfleischer@archlinux.org&gt;
</content>
</entry>
<entry>
<title>git-update: Prevent from overwriting packages</title>
<updated>2015-06-04T09:35:46Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>lfleischer@archlinux.org</email>
</author>
<published>2015-06-04T09:21:04Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=58db1647322b29dd2f182ccf0e93879e2a2fb88f'/>
<id>urn:sha1:58db1647322b29dd2f182ccf0e93879e2a2fb88f</id>
<content type='text'>
Make sure we do not overwrite a package belonging to another package
base. We forgot to add this check to git-update when porting the package
submission script to Python in commit 74edb6f (Use Git repositories to
store packages, 2014-06-06).

Reported-by: Johannes Löthberg &lt;johannes@kyriasis.com&gt;
Signed-off-by: Lukas Fleischer &lt;lfleischer@archlinux.org&gt;
</content>
</entry>
<entry>
<title>git-update: Only check HEAD for blacklisted packages</title>
<updated>2015-06-04T09:25:01Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>lfleischer@archlinux.org</email>
</author>
<published>2015-06-04T09:08:16Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=c4870a95fc54e7ca12c495fd63932a35418b9c83'/>
<id>urn:sha1:c4870a95fc54e7ca12c495fd63932a35418b9c83</id>
<content type='text'>
When a part of a package base is moved to the official repositories, it
needs to be dropped from the AUR package. However, we want to allow that
the moved packages still appear in the history.

Signed-off-by: Lukas Fleischer &lt;lfleischer@archlinux.org&gt;
</content>
</entry>
</feed>
