Age | Commit message (Collapse) | Author |
|
This should prevent the need for monthly template updates from Pierre
and Thomas; best to just let them enter the data themselves and have it
show up on the website.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Use some standard SQL and split the query into two different parts to
save a lot of unnecessary sorting and field retrieval at the database
level. The `CASE WHEN complete THEN 1 ELSE 0 END` syntax should be
accepted by any database that implements proper SQL; it was tested in
PostgreSQL and sqlite3 without issues.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Rather than the old idiom of dict((k, v) for <> in <>).
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Now that we have as many mirror URLs as we do, we can do a better job
fetching and aggregating this data. The prior method resulted in a
rather unwieldy query being pushed down to the database with a
horrendously long GROUP BY clause. Instead of trying to group by
everything at once so we can retrieve mirror URL info at the same time,
separate the two queries- one for getting URL performance data, one for
the qualitative data.
The impetus behind fixing this is the PostgreSQL slow query log in
production; this currently shows up the most of any queries we run in
the system.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Show signature data on package details page
Conflicts:
requirements.txt
requirements_prod.txt
|
|
|
|
|
|
Conflicts:
templates/public/donate.html
templates/public/download.html
templates/public/index.html
|
|
|
|
is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
|
|
|
|
Fix template fragment caching issue
|
|
|
|
Defend against bogus URLs, mirrorlist no FTP by default
Conflicts:
templates/public/index.html
|
|
Quick release
Conflicts:
requirements.txt
requirements_prod.txt
|
|
Quick feature fixups and bugfixes
|
|
Conflicts:
packages/templatetags/package_extras.py
|
|
* It's "Arch Linux", not "Archlinux" or "ArchLinux"
* Reword the description of what packages we have on the homepage
* Add myself to the AUTHORS file
* Fix the typo s/instalation/installation/
|
|
|
|
|
|
|
|
Fix package names with @ symbols
|
|
Conflicts:
visualize/static/d3.js
visualize/static/d3.layout.js
visualize/static/d3.layout.min.js
visualize/static/d3.min.js
|
|
|
|
|
|
Pkgbase view in todos, other changes related to caching
Conflicts:
public/views.py
|
|
Too many new things to count
Conflicts:
templates/public/download.html
templates/public/index.html
|
|
|
|
Conflicts:
templates/packages/differences.html
|
|
|
|
|
|
Conflicts:
packages/views/__init__.py
templates/packages/differences.html
|
|
|
|
Conflicts:
local_settings.py.example
|
|
|
|
This seems like a more appropriate place, and now the visualization is
done here anyway so we should move the data backing it.
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>
|
|
This is in anticipation of moving the visualization stuff to this page
rather than grouped with unrelated things.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Otherwise we are doing one query per mirror, which at this point is over
100 separate queries.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
They've been good to us for several years, but our hardware requirements
have changed and we've moved on to using different machines for the
purposes this donated machine served. Thanks!
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Just the simple RSS feed image for now, but want to see how complicated
this will get.
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>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
* Clamp y-axis minimum to 0.
* Don't plot `is_success == false` values.
* Ensure URLs are sorted predictably.
Signed-off-by: Dan McGee <dan@archlinux.org>
|