<feed xmlns='http://www.w3.org/2005/Atom'>
<title>markzz/aurweb.git/git-interface/git-serve.py, branch v4.0.0</title>
<subtitle>aurweb working repository</subtitle>
<id>https://git.markzz.net/markzz/aurweb.git/atom/git-interface/git-serve.py?h=v4.0.0</id>
<link rel='self' href='https://git.markzz.net/markzz/aurweb.git/atom/git-interface/git-serve.py?h=v4.0.0'/>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/'/>
<updated>2015-06-27T11:04:03Z</updated>
<entry>
<title>git-serve: Drop direct AccountType checking, use AUR_PRIVILEGED</title>
<updated>2015-06-27T11:04:03Z</updated>
<author>
<name>Johannes Löthberg</name>
<email>johannes@kyriasis.com</email>
</author>
<published>2015-06-23T12:18:14Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=e93f198edef454d179e6524d5162de0a014e5649'/>
<id>urn:sha1:e93f198edef454d179e6524d5162de0a014e5649</id>
<content type='text'>
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: Use AUR_USER env var instead of ForceCommand argument</title>
<updated>2015-06-27T11:04:03Z</updated>
<author>
<name>Johannes Löthberg</name>
<email>johannes@kyriasis.com</email>
</author>
<published>2015-06-23T12:18:12Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=e9485531be24b090162ec317bd3a3de3ec9a3d82'/>
<id>urn:sha1:e9485531be24b090162ec317bd3a3de3ec9a3d82</id>
<content type='text'>
Also add an utility function for formatting the ForceCommand, using
shlex.quote to quote the value.

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: Use .format everywhere instead of %</title>
<updated>2015-06-27T11:04:03Z</updated>
<author>
<name>Johannes Löthberg</name>
<email>johannes@kyriasis.com</email>
</author>
<published>2015-06-27T10:27:07Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=ae2907a57ec50bba2c74d4ce1d137fe822fddf3b'/>
<id>urn:sha1:ae2907a57ec50bba2c74d4ce1d137fe822fddf3b</id>
<content type='text'>
% formatting is deprecated, and .format should be used instead.

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-serve: Support cloning with simplified paths</title>
<updated>2015-06-12T14:58:00Z</updated>
<author>
<name>Johannes Löthberg</name>
<email>johannes@kyriasis.com</email>
</author>
<published>2015-06-12T14:56:04Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=3158e038c8565232c2f3aec4a736a4a047935d56'/>
<id>urn:sha1:3158e038c8565232c2f3aec4a736a4a047935d56</id>
<content type='text'>
This commit adds support for cloning repositories over SSH without a
leading slash or with a trailing .git

Fixes FS#45260

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>Support exceptions in the maintenance mode</title>
<updated>2015-06-11T12:48:01Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>lfleischer@archlinux.org</email>
</author>
<published>2015-06-11T12:41:06Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=078f7256e3424c3fad304a3c90f735c88060d277'/>
<id>urn:sha1:078f7256e3424c3fad304a3c90f735c88060d277</id>
<content type='text'>
Allow for excluding certain IP addresses from the maintenance mode. This
allows administrators to view the web page while the site is still under
maintenance for the rest of the world.

Signed-off-by: Lukas Fleischer &lt;lfleischer@archlinux.org&gt;
</content>
</entry>
<entry>
<title>Implement a maintenance mode</title>
<updated>2015-06-11T12:32:21Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>lfleischer@archlinux.org</email>
</author>
<published>2015-06-11T12:26:47Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=a45b5073cac989da084f1bdb44cac71b6c6a61a8'/>
<id>urn:sha1:a45b5073cac989da084f1bdb44cac71b6c6a61a8</id>
<content type='text'>
Add support for a maintenance mode that disables both the website and
the SSH interface and can be enabled easily using a configuration
option.

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-serve: Use `pkgbase` for errors about invalid names</title>
<updated>2015-06-08T10:43:58Z</updated>
<author>
<name>Wieland Hoffmann</name>
<email>themineo@gmail.com</email>
</author>
<published>2015-06-08T09:49:38Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=d5beada7c36529dd5f1ef500e2bbb4dcdcc0336a'/>
<id>urn:sha1:d5beada7c36529dd5f1ef500e2bbb4dcdcc0336a</id>
<content type='text'>
`repo` is not defined at the point it's used, so you would get errors
like

&gt; Traceback (most recent call last):
&gt;   File "/srv/http/vhosts/aur-dev.archlinux.org/public/git-interface/git-serve.py", line 138, in &lt;module&gt;
&gt;     die('%s: invalid repository name: %s' % (action, repo))
&gt; NameError: name 'repo' is not defined

Signed-off-by: Lukas Fleischer &lt;lfleischer@archlinux.org&gt;
</content>
</entry>
<entry>
<title>config.proto: Cleanup</title>
<updated>2015-06-02T13:16:24Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>lfleischer@archlinux.org</email>
</author>
<published>2015-06-02T13:16:08Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=c38f95f63221d23b109042b32b4eb94b40b25d2c'/>
<id>urn:sha1:c38f95f63221d23b109042b32b4eb94b40b25d2c</id>
<content type='text'>
Remove the template-path and git-update-hook options which are no longer
used. Update the git_clone_uri_anon default value.

Signed-off-by: Lukas Fleischer &lt;lfleischer@archlinux.org&gt;
</content>
</entry>
<entry>
<title>Setup Git repositories even if package base exists</title>
<updated>2015-06-02T13:12:00Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>lfleischer@archlinux.org</email>
</author>
<published>2015-06-02T12:42:01Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=6fe87925089ef16eb8f378d105c4707895dd6e29'/>
<id>urn:sha1:6fe87925089ef16eb8f378d105c4707895dd6e29</id>
<content type='text'>
Sometimes, we need to initialize the Git repository even if the package
base already exists (e.g. when using a non-empty package database with
empty repositories during the AUR 4.0.0 migration period). Make sure
that the package branch and the namespaced HEAD ref is always created.

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