<feed xmlns='http://www.w3.org/2005/Atom'>
<title>markzz/aurweb.git/web/lib/pkgfuncs.inc, branch v3.4.2</title>
<subtitle>aurweb working repository</subtitle>
<id>https://git.markzz.net/markzz/aurweb.git/atom/web/lib/pkgfuncs.inc?h=v3.4.2</id>
<link rel='self' href='https://git.markzz.net/markzz/aurweb.git/atom/web/lib/pkgfuncs.inc?h=v3.4.2'/>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/'/>
<updated>2011-06-22T13:15:04Z</updated>
<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>test return value from db_query before assuming it is valid</title>
<updated>2011-05-17T08:43:42Z</updated>
<author>
<name>elij</name>
<email>elij.mx@gmail.com</email>
</author>
<published>2011-05-11T23:17:12Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=0898f1447a2d6bdc893f55f4718f867734841361'/>
<id>urn:sha1:0898f1447a2d6bdc893f55f4718f867734841361</id>
<content type='text'>
make the sql query form consistent in usage by cleaning up instances
where db_query's result was not inspected before attempting to fetch row
data from the handle

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>SQL: use standard LIMIT/OFFSET syntax</title>
<updated>2011-04-27T12:50:27Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-04-26T04:23:00Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=fcda6671f3021273844f7898c7cfec1e99df8ec2'/>
<id>urn:sha1:fcda6671f3021273844f7898c7cfec1e99df8ec2</id>
<content type='text'>
Increases compatibility with standard SQL dialect.

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>Use HTTPs for links in out of date notification mails.</title>
<updated>2011-04-19T22:02:09Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2011-04-19T22:02:09Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=973e4f8558d03c5d7f58476f175dea980bfa6582'/>
<id>urn:sha1:973e4f8558d03c5d7f58476f175dea980bfa6582</id>
<content type='text'>
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Add option to search for exact name matches only (fixes FS#23556).</title>
<updated>2011-04-06T17:21:19Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2011-04-06T17:21:12Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=1c55e6b40c015f3c3b15681aa181ef2dfbd8b106'/>
<id>urn:sha1:1c55e6b40c015f3c3b15681aa181ef2dfbd8b106</id>
<content type='text'>
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Initialize "$name" in pkgname_from_id().</title>
<updated>2011-04-05T09:38:43Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2011-04-05T09:38:43Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=8cd2aef50d96ee68dc08738a4ddf94ed58f28db4'/>
<id>urn:sha1:8cd2aef50d96ee68dc08738a4ddf94ed58f28db4</id>
<content type='text'>
Ensures "$name" is always initialized, even if the package doesn't
exist. Fixes PHP warnings appearing when retrieving package details of a
package with an invalid ID.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Remove Dummy Package concept</title>
<updated>2011-04-03T20:59:32Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-03-31T01:48:09Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=7c91c592458b7532806ef75fe09146f82f085f3b'/>
<id>urn:sha1:7c91c592458b7532806ef75fe09146f82f085f3b</id>
<content type='text'>
Instead, we just store dependencies directly in the PackageDepends
table. Since we don't use this info anywhere besides the package details
page, there is little value in precalculating what is in the AUR vs.
what is not.

An upgrade path is provided via several SQL statements in the UPGRADING
document. There should be no user-visible change from this, but the DB
schema gets a bit more sane and we no longer have loads of junk packages
in our tables that are never shown to the end user. This should also
help the MySQL query planner in several cases as we no longer have to be
careful to exclude dummy packages on every query.

Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Always set ModifiedTS including new packages</title>
<updated>2011-04-03T20:59:31Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-03-31T01:48:08Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=1f252eba64acf18719bd514a7a4464ca18f4c1cb'/>
<id>urn:sha1:1f252eba64acf18719bd514a7a4464ca18f4c1cb</id>
<content type='text'>
Set it equal to the SubmittedTS field, which will be our indication the
package is new when we show the logo on the front page of the AUR.

This results in the ability to remove the use of the unindexable
GREATEST() function from the AUR code everywhere we had to use it before
to handle the 0 timestamp case.

Note that there is no race condition here in calling UNIX_TIMESTAMP()
twice- it always returns the time at the beginning of statment
execution:

    mysql&gt; select unix_timestamp(), sleep(2), unix_timestamp();
    +------------------+----------+------------------+
    | unix_timestamp() | sleep(2) | unix_timestamp() |
    +------------------+----------+------------------+
    |       1300851746 |        0 |       1300851746 |
    +------------------+----------+------------------+
    1 row in set (2.00 sec)

Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Bump up default per-page value to 50</title>
<updated>2011-03-24T14:32:08Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-03-23T03:03:56Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=b6a34d013bd81c336312c09f55c417da1163b3f1'/>
<id>urn:sha1:b6a34d013bd81c336312c09f55c417da1163b3f1</id>
<content type='text'>
25 is woefully small for the number of packages many searches can
return, and with 28000+ packages in AUR, it makes sense to show a lot
more per page by default.

The new choices of (50, 100, 250) happen to match those from the main
site.

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 searching for orphans with "$LANG != 'en'" (fixes FS#23252).</title>
<updated>2011-03-12T18:54:35Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2011-03-12T18:54:31Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=bd36412321980024718306291706a85d8abde06c'/>
<id>urn:sha1:bd36412321980024718306291706a85d8abde06c</id>
<content type='text'>
Regression introduced in commit ef8fab0c. Removed the strict check again
instead of wrapping it in __() to ensure search URLs are language
independent.

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