Age | Commit message (Collapse) | Author |
|
# Conflicts:
# public/tests.py
# templates/base.html
|
|
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
|
|
|
|
Django commit 00110904ac67050c639f93cfd7b5e19218b changed the signatures of
update_contenttypes and create_permissions. The relevant lines from the
commit are:
-def update_contenttypes(app, created_models, verbosity=2, db=DEFAULT_DB_ALIAS, **kwargs):
+def update_contenttypes(app_config, verbosity=2, interactive=True, db=DEFAULT_DB_ALIAS, **kwargs):
-def create_permissions(app, created_models, verbosity, db=DEFAULT_DB_ALIAS, **kwargs):
+def create_permissions(app_config, verbosity=22, interactive=True, db=DEFAULT_DB_ALIAS, **kwargs):
|
|
|
|
Version bumps and minor fixes
|
|
|
|
Minor fixes and package updates
|
|
Mirror status and details switch to Jinja2
|
|
Staff groups
|
|
A few Jinja2 fixes and some perf changes
|
|
Jinja2 switch for some templates, exact matches in package search
|
|
Packages smaller than 25 KiB shouldn't really come into play here; this
was meant to show huge packages spending too much time on compression.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
When we changed the query here, things got a little weird and we could
no longer pickle.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Thank Johannes for this one. Only reason I didn't take his patches is
for consistency with the way we were already doing this on the master
keys page.
Noticed-by: Johannes Löthberg <johannes@kyriasis.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This will allow us to be a bit more dynamic in showing the people
listings on the website. We'll be adding a Support Staff category to
recognize those that do things around here but aren't technically
developers.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
After the refactor in commit 7947d36c4, we weren't gathering arches and
repos from the correct list of packages. Fix this.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Conflicts:
templates/public/download.html
templates/public/index.html
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Django 1.7 has built-in migrations support, so we no longer want these
around. All existing installs should be fully migrated at this point to
the latest schema.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Fix long filenames; local storage for filter prefs
Conflicts:
templates/public/download.html
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This code was getting quite unwieldy, and wasn't very modular. Introduce
a DeveloperReport class that contains the content for a single report,
and utilize it to create our various report metadata and package
filtering operations. Utilize these report objects in the reports view,
vastly simplifying it.
We don't yet dynamically generate the list of reports on the developer
index page; that will be coming soon.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
At the request of barthalion. This bumps the report from currently
showing 36 packages to 109 packages.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
This reverts commit 8d3a1a1c504a70dd23d36c3ed5be0ebcd2f7a86d.
Turns out we aren't updating packages quite as often anymore. There are
currently 1900+ packages in the repos built more than one year ago.
Signed-off-by: Dan McGee <dan@archlinux.org>
Conflicts:
devel/views.py
|
|
This will work with both the newer and older versions.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Mirror URL page, other random stuff
|
|
This gives us some large memory savings in python due to the internal
storage of Unicode strings vs. byte strings, as well as saving us
processing time up front for filelist data we are never going to have to
actually use.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
For packages with filelists with > 80,000 items, we were starting to see
some serious memory issues in reporead. This was both on the statement
generation side in Python as well as on the database side. Break the
updates into chunks of 10,000 when we encounter packages with tons of
files to control things in a bit.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Django 1.6 upgrade and other changes
Conflicts:
templates/news/list.html
templates/public/index.html
|
|
Dependency updates and fix for key revokes
|
|
|
|
|
|
Use get_or_create, even though it leaves a bad taste in my mouth. The
first user created won't have a profile becuase Django doesn't create
one for users created at the command line, causing an exception when
the user goes to edit it.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
We've moved onto bytes only now.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
PendingDeprecationWarning: commit_on_success is deprecated in favor of atomic.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Not a common case, but one we can and should support and hasn't been
noticed up until this point. That pesky colon! Fixes FS#37477.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
The 'valid' column wasn't quite right. Add a new 'revoked' column that
works similar to the one we have on keys and use it instead, properly
parsing the output from `gpg` signature data and looking for the magic
prefix string.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
|
|
|