<feed xmlns='http://www.w3.org/2005/Atom'>
<title>markzz/aurweb.git/web/html/pkgsubmit.php, branch v1.9.0</title>
<subtitle>aurweb working repository</subtitle>
<id>https://git.markzz.net/markzz/aurweb.git/atom/web/html/pkgsubmit.php?h=v1.9.0</id>
<link rel='self' href='https://git.markzz.net/markzz/aurweb.git/atom/web/html/pkgsubmit.php?h=v1.9.0'/>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/'/>
<updated>2011-08-11T14:17:08Z</updated>
<entry>
<title>Make package creation and update atomic</title>
<updated>2011-08-11T14:17:08Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-08-10T23:20:07Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=5d74a994ff3e67bb2d3a3e27828785eb6bda94d9'/>
<id>urn:sha1:5d74a994ff3e67bb2d3a3e27828785eb6bda94d9</id>
<content type='text'>
Add BEGIN and COMMIT statements where it makes sense to do so. This
allows the entire package creation or update process to be atomic and
not be seen until it is complete.

Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Rename package_exists() to pkgid_from_name()</title>
<updated>2011-08-11T14:17:07Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2011-07-31T17:04:59Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=0ac8970b62ad728bc0988e7e0a7f16efe78ea6cd'/>
<id>urn:sha1:0ac8970b62ad728bc0988e7e0a7f16efe78ea6cd</id>
<content type='text'>
Describe what this function actually does: Return the ID of a package
with a given name and return NULL if such a package doesn't exist.

The function name is chosen in a fashion similar to other functions from
"pkgfuncs.inc.php" (pkgname_from_id(), pkgnotify_from_sid(), ...).

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Segment the upload directory by package name prefix</title>
<updated>2011-08-10T12:34:07Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-08-09T22:01:13Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=9a79d2105e2dea9876883da65a00d245d475bed2'/>
<id>urn:sha1:9a79d2105e2dea9876883da65a00d245d475bed2</id>
<content type='text'>
This implements the following scheme:

* /packages/cower/ --&gt; /packages/co/cower/
* /packages/j/     --&gt; /packages/j/j/
* /packages/zqy/   --&gt; /packages/zq/zqy/

We take up to the first two characters of each package name as a
intermediate subdirectory, and then the full package name lives
underneath that. Shorter named packages live in a single letter
directory.

Why, you ask? Well because earlier today the AUR hit 32,000 entries in
the unsupported/ directory, making new package uploads impossible. While
some might argue we shouldn't have so many damn packages in the repos,
we should be able to handle this case.

Why two characters instead of one? Our two biggest two-char groups, 'pe'
and 'py', both start with 'p', and have nearly 2000 packages each. Go
Python and Perl.

Still needed is a "move the existing data" script, as well as a set of
rewrite rules for those wishing to preserve backward compatible URLs for
any helper programs doing the wrong thing and relying on them.

Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Fix empty depends database insert</title>
<updated>2011-07-29T21:51:29Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2011-07-29T21:49:12Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=16cda58ff85aa3ae3534a2fe1fd0c998e01e8bb4'/>
<id>urn:sha1:16cda58ff85aa3ae3534a2fe1fd0c998e01e8bb4</id>
<content type='text'>
Do not try to insert a falsey value into the database in case of
"depends=()".

Signed-off-by: Manuel &lt;manutortosa@chakra-project.org&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Replace split() invocations with explode()</title>
<updated>2011-06-28T06:55:47Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2011-06-28T06:55:47Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=a32b2f2ef7d290c9470e3718fab4b2e68b82c0c6'/>
<id>urn:sha1:a32b2f2ef7d290c9470e3718fab4b2e68b82c0c6</id>
<content type='text'>
Do not use split(), which has been deprecated as of PHP 5.3.0. As we
don't even require regular expressions here, just use explode() instead.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Honor epoch field in PKGBUILD files.</title>
<updated>2011-06-25T09:29:56Z</updated>
<author>
<name>Slavi Pantaleev</name>
<email>s.pantaleev@gmail.com</email>
</author>
<published>2011-06-24T16:38:40Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=2131d3cb8b8b12c28efdebe1d288274d84663076'/>
<id>urn:sha1:2131d3cb8b8b12c28efdebe1d288274d84663076</id>
<content type='text'>
The epoch field in PKGBUILD files was completely ignored until now,
and the final Version field for a package consisted only of
pkgver and pkgrel (example: 5.0-1)

This means that rpc.php reported the version incorrectly for packages
having epoch &gt; 0.
One case where this was a problem is that it confused AUR helpers
wanting to examine all locally installed packages (with epoch &gt; 0)
and search the AUR for an updated version.

The epoch field is taken into consideration now, and if not 0,
will be prepended to the final Version field (example: 1:5.0-1)

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>rename *.inc files to *.inc.php and adjust imports and references</title>
<updated>2011-06-22T13:15:04Z</updated>
<author>
<name>elij</name>
<email>elij.mx@gmail.com</email>
</author>
<published>2011-05-29T21:33:37Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=888db089c515270fd5cd9a9bedd217110f43bc4c'/>
<id>urn:sha1:888db089c515270fd5cd9a9bedd217110f43bc4c</id>
<content type='text'>
Lukas: Add note to "UPGRADING".

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>SQL: treat all UID/ID values as numbers, not strings</title>
<updated>2011-04-27T12:50:27Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-04-26T04:23:01Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=3609cf140eaca30878d0a69fba0d837b4fec41a0'/>
<id>urn:sha1:3609cf140eaca30878d0a69fba0d837b4fec41a0</id>
<content type='text'>
Ensure we are not quoting these values in any of our SQL queries.

Thanks-to: elij &lt;elij.mx@gmail.com&gt;
Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>pkgsubmit.php: Ensure the session is linked to a valid user.</title>
<updated>2011-04-24T12:22:24Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2011-04-24T12:22:24Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=ed9c95623fcf3b46e42dfbb2596abbf4c55107a3'/>
<id>urn:sha1:ed9c95623fcf3b46e42dfbb2596abbf4c55107a3</id>
<content type='text'>
Prevent race conditions that may occur when either the session or the
user is deleted before we extract the actual user identifier.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>pkgsubmit.php: Remove redundant uid_from_sid() invocations.</title>
<updated>2011-04-24T12:00:09Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2011-04-24T12:00:09Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=9ff30614b8500b1079f301365d5f11ff5f42fc0c'/>
<id>urn:sha1:9ff30614b8500b1079f301365d5f11ff5f42fc0c</id>
<content type='text'>
uid_from_sid() is called once at the very beginning of the script,
storing the actual user identifier in "$uid". No need to fire up another
query.

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