Robin H. Johnson [Sat, 10 Nov 2007 13:15:16 +0000 (13:15 +0000)]
Cleanup.
Robin H. Johnson [Sat, 10 Nov 2007 13:04:51 +0000 (13:04 +0000)]
Wrapper moved, and remember the timeout now.
Robin H. Johnson [Sat, 10 Nov 2007 13:04:32 +0000 (13:04 +0000)]
Factor out some duplicate MC code.
Robin H. Johnson [Sat, 10 Nov 2007 12:58:09 +0000 (12:58 +0000)]
Remove the pickle testing and workaround now that it is fixed.
Robin H. Johnson [Sat, 10 Nov 2007 12:57:47 +0000 (12:57 +0000)]
Cache fun.
Robin H. Johnson [Sat, 10 Nov 2007 12:48:21 +0000 (12:48 +0000)]
Slight more fix from ferringb.
Robin H. Johnson [Sat, 10 Nov 2007 12:29:56 +0000 (12:29 +0000)]
Fix from ferringb for CPV failure to pickle.
Robin H. Johnson [Sat, 10 Nov 2007 12:28:49 +0000 (12:28 +0000)]
Fixup.
Robin H. Johnson [Sat, 10 Nov 2007 12:02:09 +0000 (12:02 +0000)]
Include TTLs on memcache objects.
Robin H. Johnson [Sat, 10 Nov 2007 12:00:10 +0000 (12:00 +0000)]
Use memcache for storing keywords and details.
Robin H. Johnson [Sat, 10 Nov 2007 11:59:21 +0000 (11:59 +0000)]
New style config.
Robin H. Johnson [Sat, 10 Nov 2007 11:57:02 +0000 (11:57 +0000)]
Add memcached abstract support.
Robin H. Johnson [Sat, 10 Nov 2007 10:53:21 +0000 (10:53 +0000)]
Put init after sanity check.
Robin H. Johnson [Sat, 10 Nov 2007 09:37:47 +0000 (09:37 +0000)]
Add cache accessors.
Robin H. Johnson [Sat, 10 Nov 2007 09:33:23 +0000 (09:33 +0000)]
Factor the caching to seperate functions.
Robin H. Johnson [Sat, 10 Nov 2007 09:26:52 +0000 (09:26 +0000)]
Bad exit line.
Robin H. Johnson [Sat, 10 Nov 2007 08:15:29 +0000 (08:15 +0000)]
Document privileges seps.
Robin H. Johnson [Sat, 10 Nov 2007 08:14:57 +0000 (08:14 +0000)]
Add scripts for running updates as cronjobs.
Robin H. Johnson [Sat, 10 Nov 2007 06:58:01 +0000 (06:58 +0000)]
Merge branch 'master' of git+ssh://robbat2@git.gentoo.org/var/gitroot/packages
Robin H. Johnson [Sat, 10 Nov 2007 06:57:42 +0000 (06:57 +0000)]
Process pmask entries.
Robin H. Johnson [Sat, 10 Nov 2007 06:57:27 +0000 (06:57 +0000)]
Allow access to the pmask entry data.
root [Sat, 10 Nov 2007 03:28:17 +0000 (03:28 +0000)]
testing version goes on port 8081 since 8081 is taken on nuthatch.
Robin H. Johnson [Sat, 10 Nov 2007 00:57:14 +0000 (00:57 +0000)]
Make more specific config stuff not be stored in the repo.
Robin H. Johnson [Sat, 10 Nov 2007 00:32:41 +0000 (00:32 +0000)]
This is the script used for cronjob.
Robin H. Johnson [Thu, 8 Nov 2007 23:05:15 +0000 (23:05 +0000)]
Merge branch 'master' of git+ssh://robbat2@git.gentoo.org/var/gitroot/packages
Robin H. Johnson [Thu, 8 Nov 2007 22:58:12 +0000 (22:58 +0000)]
Fix px sizing for font.
Robin H. Johnson [Thu, 8 Nov 2007 22:57:59 +0000 (22:57 +0000)]
Allow + in package names.
Markus Ullmann [Thu, 8 Nov 2007 17:31:55 +0000 (18:31 +0100)]
Be python 2.4 compatible
Markus Ullmann [Thu, 8 Nov 2007 17:28:00 +0000 (18:28 +0100)]
'None' is not None...
Markus Ullmann [Thu, 8 Nov 2007 17:23:48 +0000 (18:23 +0100)]
A minor fix for arch check
Markus Ullmann [Thu, 8 Nov 2007 15:47:12 +0000 (16:47 +0100)]
sort package by cpv instead of cpvstring and micro-optimize sorting a bit
Robin H. Johnson [Thu, 8 Nov 2007 08:30:13 +0000 (08:30 +0000)]
Add linkage for full_cat/latest switch inside categories.
Robin H. Johnson [Thu, 8 Nov 2007 00:40:27 +0000 (00:40 +0000)]
HTTPS link for bugs.
Robin H. Johnson [Wed, 7 Nov 2007 10:02:02 +0000 (10:02 +0000)]
Update link for source.
Robin H. Johnson [Wed, 7 Nov 2007 10:00:39 +0000 (10:00 +0000)]
Update TODO lists.
Robin H. Johnson [Wed, 7 Nov 2007 09:32:33 +0000 (09:32 +0000)]
Add stats in update output.
Robin H. Johnson [Wed, 7 Nov 2007 09:14:09 +0000 (01:14 -0800)]
Merge branch 'master' of git+ssh://robbat2@git.gentoo.org/var/gitroot/packages
Robin H. Johnson [Wed, 7 Nov 2007 09:14:03 +0000 (01:14 -0800)]
Hook up deletion code.
Robin H. Johnson [Wed, 7 Nov 2007 09:13:21 +0000 (01:13 -0800)]
Make add_versions return the IDs of the new items, for deletion work.
Robin H. Johnson [Wed, 7 Nov 2007 09:12:25 +0000 (01:12 -0800)]
Provide DELETE functions for database cleanups.
Robin H. Johnson [Wed, 7 Nov 2007 09:11:40 +0000 (01:11 -0800)]
Add functions to select CP/CPV ids for deletion detection.
Robin H. Johnson [Wed, 7 Nov 2007 09:09:06 +0000 (01:09 -0800)]
Behave correctly if Changelog is missing.
Markus Ullmann [Mon, 5 Nov 2007 14:00:50 +0000 (15:00 +0100)]
a single python open suffices and fix a ciavc error on feed
Robin H. Johnson [Mon, 5 Nov 2007 10:28:54 +0000 (10:28 +0000)]
Add categories link.
Robin H. Johnson [Mon, 5 Nov 2007 10:22:31 +0000 (10:22 +0000)]
Update FAQ and FRONTEND_FEATURES.
Robin H. Johnson [Mon, 5 Nov 2007 10:18:55 +0000 (10:18 +0000)]
Add sucky rendering of footer.
Robin H. Johnson [Mon, 5 Nov 2007 10:08:09 +0000 (10:08 +0000)]
Clean up HTML for categories and add stats.
Robin H. Johnson [Mon, 5 Nov 2007 10:02:00 +0000 (10:02 +0000)]
Template for /categories/ view. Needs CSS still.
Robin H. Johnson [Mon, 5 Nov 2007 10:01:44 +0000 (10:01 +0000)]
Building of /categories/ data.
Robin H. Johnson [Mon, 5 Nov 2007 10:01:18 +0000 (10:01 +0000)]
Enable hit of categories.
Robin H. Johnson [Mon, 5 Nov 2007 09:30:08 +0000 (01:30 -0800)]
Merge branch 'master' of git+ssh://robbat2@git.gentoo.org/var/gitroot/packages
Robin H. Johnson [Mon, 5 Nov 2007 09:25:38 +0000 (01:25 -0800)]
pylint cleanups.
Robin H. Johnson [Mon, 5 Nov 2007 09:25:23 +0000 (01:25 -0800)]
Provide categories implementation.
Robin H. Johnson [Mon, 5 Nov 2007 08:59:37 +0000 (08:59 +0000)]
Merge branch 'master' of git+ssh://robbat2@git.gentoo.org/var/gitroot/packages
Robin H. Johnson [Mon, 5 Nov 2007 08:59:14 +0000 (08:59 +0000)]
Fix link for reporting bugs.
Robin H. Johnson [Mon, 5 Nov 2007 08:41:26 +0000 (00:41 -0800)]
Add categories template file.
Robin H. Johnson [Mon, 5 Nov 2007 07:35:58 +0000 (23:35 -0800)]
Start work on category list page.
Robin H. Johnson [Mon, 5 Nov 2007 06:00:52 +0000 (22:00 -0800)]
Fix slight bug with replacement stuff.
Robin H. Johnson [Mon, 5 Nov 2007 05:54:11 +0000 (05:54 +0000)]
SQLite should not use INDEX in table creation.
Robin H. Johnson [Sun, 4 Nov 2007 23:57:16 +0000 (23:57 +0000)]
Always include all arches when selecting a set of CPV keywords, by using a RIGHT OUTER JOIN to grab cpvs that have no keywords, and pre-filling the keywords array with blanks.
Markus Ullmann [Wed, 31 Oct 2007 19:05:34 +0000 (20:05 +0100)]
swap some code from model.py into own modules
Robin H. Johnson [Mon, 29 Oct 2007 11:45:17 +0000 (11:45 +0000)]
Typo fix.
Robin H. Johnson [Mon, 29 Oct 2007 11:39:28 +0000 (11:39 +0000)]
Comment out debug code.
Robin H. Johnson [Mon, 29 Oct 2007 11:38:37 +0000 (11:38 +0000)]
Add naive caching.
Robin H. Johnson [Mon, 29 Oct 2007 11:38:19 +0000 (11:38 +0000)]
Put the cache outside the thread.
Robin H. Johnson [Mon, 29 Oct 2007 10:56:20 +0000 (10:56 +0000)]
Add a naive cache for get_package_details and get_package_keywords.
Robin H. Johnson [Mon, 29 Oct 2007 10:23:05 +0000 (10:23 +0000)]
Comments about feature request.
Robin H. Johnson [Mon, 29 Oct 2007 10:16:56 +0000 (10:16 +0000)]
Right colour for blocked packages.
Robin H. Johnson [Mon, 29 Oct 2007 10:13:52 +0000 (10:13 +0000)]
Revert "demand_regex_compile instead of re.compile to speed up general serving"
This reverts commit
9db9b4f553f83e3aa83311c6fdd2781e8622d6b7.
Reverted because all the regular expression objects were already made into
globals instead of using demandload, and there is a bug with demandload on py2.4:
File "/var/www/packages2.gentoo.org/packages/snakeoil/demandload.py", line 206, in _replace
args, kwargs = object.__getatTRibute__(self, '_replace_func')
TypeError: unpack non-sequence
Robin H. Johnson [Mon, 29 Oct 2007 10:12:39 +0000 (10:12 +0000)]
Turn on debug on 8080.
Robin H. Johnson [Mon, 29 Oct 2007 10:12:26 +0000 (10:12 +0000)]
Use safer mode code.
Robin H. Johnson [Mon, 29 Oct 2007 10:05:56 +0000 (10:05 +0000)]
Merge branch 'master' of git+ssh://robbat2@git.gentoo.org/var/gitroot/packages
Conflicts:
web/lib/filters.py
Markus Ullmann [Sun, 28 Oct 2007 14:54:06 +0000 (15:54 +0100)]
don't like use? as doc
Markus Ullmann [Sun, 28 Oct 2007 12:40:24 +0000 (13:40 +0100)]
Allow arch visibility switching everywhere (as reported by Flameeyes on IRC)
Markus Ullmann [Sun, 28 Oct 2007 12:23:41 +0000 (13:23 +0100)]
more TODO
Markus Ullmann [Fri, 26 Oct 2007 11:42:43 +0000 (13:42 +0200)]
demand_regex_compile instead of re.compile to speed up general serving
Robin H. Johnson [Fri, 26 Oct 2007 10:05:13 +0000 (10:05 +0000)]
+ is also valid in a package name!
Robin H. Johnson [Fri, 26 Oct 2007 09:50:36 +0000 (09:50 +0000)]
Cache the static filter results. Regenerated when the server restarts :-).
Robin H. Johnson [Fri, 26 Oct 2007 09:42:21 +0000 (09:42 +0000)]
Move duplicate code.
Robin H. Johnson [Fri, 26 Oct 2007 09:40:41 +0000 (09:40 +0000)]
Clean up banner
Robin H. Johnson [Fri, 26 Oct 2007 06:32:41 +0000 (06:32 +0000)]
Clean up whitespace.
Robin H. Johnson [Fri, 26 Oct 2007 06:32:11 +0000 (06:32 +0000)]
Remove profiler junk.
Robin H. Johnson [Fri, 26 Oct 2007 06:07:02 +0000 (06:07 +0000)]
Improve the numbers slightly.
Robin H. Johnson [Fri, 26 Oct 2007 06:06:40 +0000 (06:06 +0000)]
Move the MySQL model to using PooledDB.
Robin H. Johnson [Fri, 26 Oct 2007 06:00:42 +0000 (06:00 +0000)]
Go global database.
Robin H. Johnson [Fri, 26 Oct 2007 06:00:26 +0000 (06:00 +0000)]
Use correct path to model.
Robin H. Johnson [Fri, 26 Oct 2007 05:44:36 +0000 (05:44 +0000)]
Tuning of application start.
Robin H. Johnson [Fri, 26 Oct 2007 03:27:14 +0000 (03:27 +0000)]
Globalize the compiled regular expressions.
Robin H. Johnson [Fri, 26 Oct 2007 01:12:18 +0000 (01:12 +0000)]
Pre-compile all regexes that are used more than once.
Robin H. Johnson [Thu, 25 Oct 2007 23:25:49 +0000 (23:25 +0000)]
Do not use cursor after it is closed!
Robin H. Johnson [Wed, 24 Oct 2007 09:16:34 +0000 (09:16 +0000)]
Code is faster with recent changes.
Robin H. Johnson [Wed, 24 Oct 2007 08:51:32 +0000 (08:51 +0000)]
Use the changelog sha1 then the ebuild sha1 for detecting changes.
Robin H. Johnson [Wed, 24 Oct 2007 08:50:26 +0000 (08:50 +0000)]
Backend accessor functions for changelog metadata.
Robin H. Johnson [Wed, 24 Oct 2007 08:49:57 +0000 (08:49 +0000)]
Document how we detect changes
Robin H. Johnson [Wed, 24 Oct 2007 08:49:31 +0000 (08:49 +0000)]
Accessor function for the changelog metadata.
Robin H. Johnson [Wed, 24 Oct 2007 07:35:23 +0000 (07:35 +0000)]
Store the SHA1 and mtime for each ebuild and the package ChangeLog. ebuild mtimes are not reliable due to portage bug #139134.
Robin H. Johnson [Wed, 24 Oct 2007 06:58:42 +0000 (06:58 +0000)]
Convert remaining code to prepared SQL.
Robin H. Johnson [Wed, 24 Oct 2007 02:22:53 +0000 (02:22 +0000)]
We check the array before use, so we don't need to bloat it.
Robin H. Johnson [Wed, 24 Oct 2007 02:22:19 +0000 (02:22 +0000)]
Convert get_latest_cpvs_by_arch to prepared SQL.
Robin H. Johnson [Wed, 24 Oct 2007 02:21:14 +0000 (02:21 +0000)]
Fix render glitch.