Andreas Tille pushed to branch master at Debian Blends Team / website


Commits:
9b544de8 by Sunil Mohan Adapa at 2020-10-26T19:05:04-07:00
webtools: Add python3-babel as a dependency

- Update dependencies to python3 in man page for update-all-tasks script.

Signed-off-by: Sunil Mohan Adapa <su...@medhas.org>

- - - - -
e7a425b7 by Sunil Mohan Adapa at 2020-10-26T19:05:07-07:00
Ignore auto-generated www/*/qa/ directories

- Make other similar ignores more specific.

Signed-off-by: Sunil Mohan Adapa <su...@medhas.org>

- - - - -
41c4d68c by Sunil Mohan Adapa at 2020-10-26T19:05:13-07:00
webtools: i18n: Use pybabel to extract messages

Signed-off-by: Sunil Mohan Adapa <su...@medhas.org>

- - - - -
0899396e by Sunil Mohan Adapa at 2020-10-26T19:05:16-07:00
webtools: qa: Convert index page to html5

Signed-off-by: Sunil Mohan Adapa <su...@medhas.org>

- - - - -
d30f1a57 by Sunil Mohan Adapa at 2020-10-26T19:05:26-07:00
templates: qa: Apply consistent indentation to index page

Signed-off-by: Sunil Mohan Adapa <su...@medhas.org>

- - - - -
6de95146 by Sunil Mohan Adapa at 2020-10-26T19:05:29-07:00
templates: qa: Use Genshi i18n instead of passing strings in context

- Also drop unused context variables. They can be re-introduced as necessary.

Signed-off-by: Sunil Mohan Adapa <su...@medhas.org>

- - - - -
ecd48523 by Sunil Mohan Adapa at 2020-10-27T16:28:15-07:00
templates: qa: Implement new style and layout

- Cleaner/simpler layout for distraction free information presentation.

- Works well on mobile devices.

- Use HTML5 tags for better semantic layout instead of a layout for styling.

- Has JavaScript but Works without it. Compatible with librejs.

- Internationalize all strings in the interface even though messages are not yet
extracted.

- Takes the approach of minimal status presentation with full information on
request.

- Split large template into smaller pieces for better modularity.

- Use emojis as icons.

Signed-off-by: Sunil Mohan Adapa <su...@medhas.org>

- - - - -
fe19af5d by Sunil Mohan Adapa at 2020-10-27T17:53:59-07:00
templates: qa: Restyle the index page

- Move the long description to individual task pages. Currently, the totals are
drowned in large amounts of description text.

- Update labels for totals.

Signed-off-by: Sunil Mohan Adapa <su...@medhas.org>

- - - - -
64a502d5 by Sunil Mohan Adapa at 2020-10-28T20:14:27-07:00
webtools: qa: Use logic from DMD to show packages missing in testing

- Use same logic as DMD.
  - Very new packages are not considered.
  - Packages very recently uploaded are ignored.
  - Packages very recently migrated but having problems now are not considered.
  - Packages removed from unstable are not considered.

- Keep the excuses logic unchanged. We may consider not showing excuses if the
above conditions are not satisfied for a package. However, excuses logic is
still useful in cases where above conditions are not satisfied. For example, it
will point to some problems with recently uploaded packages that are not likely
to migrate to testing in expected time.

- Show results in the current migration section instead of creating a new one.

Logic from DMD:
--------------

- in_testing_age is null and debian_age > 11, then "Has been Debian for
{debian_age} days but never migrated to testing"

- in_testing_age > 1 then "not in testing for {in_testing_age} days.

- in_testing_age <= 1 and sync_age > 11 then "Has been trying to 
migrate for
{sync_age} days"

- SQL query:
SELECT
  source,
  unstable_version,
  in_testing,
  current_date - in_testing AS in_testing_age,
  sync,
  current_date - sync AS sync_age,
  current_date - first_seen AS debian_age
FROM migrations
WHERE
  current_date - in_unstable < 2
  AND (sync IS NULL OR current_date - sync > 1)
  AND source NOT IN (
    SELECT
      source
    FROM upload_history
    WHERE
      date > (current_date - interval '10 days')
      AND distribution='unstable'
  )

Tests:

- Tested by verifying the many debian-med packages that satisfy the above
conditions show results. Those that don't show up have a valid reason.

- Tested with slightly stale UDD dump by altering the periods in SQL query.

Signed-off-by: Sunil Mohan Adapa <su...@medhas.org>
Tested-by: Sunil Mohan Adapa <su...@medhas.org>

- - - - -
004fa9d2 by Andreas Tille at 2020-10-29T06:54:53+00:00
Merge branch 'missing-package-in-testing' into 'master'

QA: Show information about packages missing in testing similar to UDD

See merge request blends-team/website!10
- - - - -


15 changed files:

- .gitignore
- webtools/0dependencies
- + webtools/babel.cfg
- webtools/mkpot.sh
- webtools/qa.py
- + webtools/templates/qa-autoremoval.xhtml
- + webtools/templates/qa-ci-failing.xhtml
- + webtools/templates/qa-ci-missing.xhtml
- + webtools/templates/qa-migration.xhtml
- + webtools/templates/qa-piuparts.xhtml
- webtools/templates/qa.xhtml
- webtools/templates/qa_idx.xhtml
- webtools/update-all-tasks
- + www/css/sentinel2.css
- + www/js/sentinel.js


View it on GitLab: 
https://salsa.debian.org/blends-team/website/-/compare/7b621d1f6cecab181c829347b7e10d1b4cbe2c12...004fa9d2db60724437ac197bad292427dc70ca29

-- 
View it on GitLab: 
https://salsa.debian.org/blends-team/website/-/compare/7b621d1f6cecab181c829347b7e10d1b4cbe2c12...004fa9d2db60724437ac197bad292427dc70ca29
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
Blends-commit mailing list
Blends-commit@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/blends-commit

Reply via email to