Commit Graph

213 Commits

Author SHA1 Message Date
Frédéric Péters b2d7337908 scrutinise: increase timeout (#66146) 2022-06-13 13:00:03 +02:00
Frédéric Péters 0aeb7046f6 add godo.js to project versions view 2022-05-24 19:14:28 +02:00
Frédéric Péters f3200a6c83 add lingo and publik-django-templatetags to project view 2022-05-24 19:13:28 +02:00
Pierre Ducroquet 98cbde3865 rewrite the code to get modules and versions of a service (#64667)
This page was iterating on Python side, and was spending a huge amount
of time sending tiny queries and building objects from the results.
Instead, use a single query per service/platform, and fetch the version
at the same time.

Benefits: we divide by more than 100 the number of queries of the project
page, and we speed it up by a factor 10 or more...
2022-04-29 09:49:41 +02:00
Frédéric Péters f2a6104d56 trivial: apply isort/pyupgrade 2022-04-29 08:25:15 +02:00
Frédéric Péters 1d4c0a7ff5 build: run isort/pyupgrade 2022-04-29 08:24:21 +02:00
Frédéric Péters 14e55eeb1e ci: update jenkins to check codestyle 2022-04-29 08:20:57 +02:00
Frédéric Péters 9014f2c5bf sort issues by project then id 2022-04-05 22:12:24 +02:00
Frédéric Péters 7d6d793e7f misc: sort modules in history page 2022-04-05 22:04:55 +02:00
Thomas NOËL d53b8c1e51 trivial: bump black version to 22.3.0 2022-03-31 12:57:24 +02:00
Frédéric Péters ccb66cd8ce trivial: bump black version to 22.1.0 (#62312) 2022-03-01 19:30:46 +01:00
Frédéric Péters 9a4d781565 debian: update django dependency to 2.2 2022-02-18 10:08:34 +01:00
Frédéric Péters a9cfcbd4ac add settings to impersonate a redmine user 2022-02-01 22:09:41 +01:00
Frédéric Péters 0d0b25bd2c add redmine project name mapping for godo.js 2022-01-24 16:53:36 +01:00
Frédéric Péters 069305c052 build: update setup.py to require at least django 2.2 2021-12-19 16:43:03 +01:00
Frédéric Péters 101bcfac89 debian: switch to debhelper compat 12 (#57538) 2021-12-02 21:27:48 +01:00
Frédéric Péters 7b7362b6d6 debian: remove obsolete dh-systemd build-dep 2021-12-02 21:25:46 +01:00
Frédéric Péters cc073462b6 jenkins: build package for bullseye 2021-12-02 21:23:20 +01:00
Frédéric Péters c56d046bd6 build: bump black version 2021-11-22 22:08:56 +01:00
Frédéric Péters 98b22c158b debian: enable uwsgi memory reports (#54610) 2021-06-06 10:34:44 +02:00
Frédéric Péters bf632fe465 models: add on_delete to forein key fields 2021-05-04 22:20:54 +02:00
Frédéric Péters f6fe4be9c1 urls: update to "new" way to import admin URLs 2021-05-04 22:20:11 +02:00
Frédéric Péters 8b9074982b settings: update to "new" MIDDLEWARE setting 2021-05-04 22:19:49 +02:00
Frédéric Péters 911c7f5633 jenkins: update to build packagefor origin/main branch 2021-04-30 11:12:18 +02:00
Frédéric Péters 74a56a9c0f add verbose output to checkout command 2021-04-30 11:06:59 +02:00
Frédéric Péters 608cc8e61b misc: add black files/notes 2021-01-17 10:37:15 +01:00
Frédéric Péters 11fe0141d6 paint it with a newer black
(...)
2020-12-16 15:48:05 +01:00
Frédéric Péters dd0567b653 allow longer version strings 2020-12-16 15:35:56 +01:00
Frédéric Péters 2ce912f3cb scrutinise: skip/log invalid responses 2020-09-08 07:35:22 +02:00
Frédéric Péters 1542128423 ignore duplicated version objects 2020-06-16 21:22:22 +02:00
Frédéric Péters 2092e81b6b debian: switch to debhelper compat level 10 2020-06-14 17:33:35 +02:00
Frédéric Péters 0aa8f98ec9 Jenkinsfile: build for default distributions 2020-06-14 17:32:28 +02:00
Frédéric Péters 1e74f82323 use get_or_create in scrutinise management command 2020-03-28 15:51:32 +01:00
Frédéric Péters d46c174bdb get version hash as string 2020-01-28 15:16:26 +01:00
Frédéric Péters c1ca2ea616 use multiprocessing to run scrutinise command 2020-01-28 08:19:43 +01:00
Frédéric Péters 9fd14a0b4a update script shebang to point to python3 2020-01-27 18:10:38 +01:00
Frédéric Péters 8c114e2e42 misc: replace __unicode__ by __str__ 2020-01-19 20:05:27 +01:00
Frédéric Péters e5d2d7eca4 misc: replace unicode() calls 2020-01-19 20:04:59 +01:00
Frédéric Péters bda17fd66a debian: add python3-redmine dependency 2020-01-19 20:02:05 +01:00
Frédéric Péters e99c1daad0 trivial: don't declare support for django < 1.11 2020-01-19 18:37:37 +01:00
Frédéric Péters 0856ac758f general: paint it black 2020-01-19 18:37:34 +01:00
Frédéric Péters 3097d75276 debian: fix breaks/replaces mentions 2020-01-19 18:10:46 +01:00
Frédéric Péters defbfd95fd debian: run with python3 2020-01-19 18:06:12 +01:00
Frédéric Péters 0e92ea921d python3: sort version using key function 2020-01-19 18:02:04 +01:00
Frédéric Péters 930f110872 python3: replace execfile usage 2020-01-19 18:02:04 +01:00
Emmanuel Cazenave 1d0e1a2f21 jenkins: use ci@entrouvert.org for notifications 2019-10-02 14:53:22 +02:00
Frédéric Péters c420f7a7dd add basic Jenkinsfile 2019-08-22 21:27:46 +02:00
Frédéric Péters 9f2bff6712 add gadjo to release changes page 2019-07-17 19:45:07 +02:00
Frédéric Péters a0b2170ade remove python-authentic2-auth-fc from modules used in release changes page 2019-07-17 19:44:36 +02:00
Frédéric Péters af20754173 add support for login/logout via django-mellon (#18725) 2019-01-26 15:30:40 +01:00