Package: tracker.debian.org Severity: normal Tags: patch https://ci.debian.net/data/packages/unstable/amd64/n/node-rai/latest-autopkgtest/log should be https://ci.debian.net/data/packages/unstable/amd64/n/node-rai/latest-autopkgtest/log.gz (note the trailing .gz) the attached patch (untested) should fix it. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) -- Antonio Terceiro <terceiro@debian.org>
From 4371fc69db367dc2c44ecdaaab3490cc4e5cbac8 Mon Sep 17 00:00:00 2001
From: Antonio Terceiro <terceiro@debian.org>
Date: Mon, 8 Feb 2016 11:27:52 -0200
Subject: [PATCH] Fix links to latest autopkgtest test logs on ci.debian.net
---
distro_tracker/vendor/debian/tests.py | 4 ++--
distro_tracker/vendor/debian/tracker_tasks.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/distro_tracker/vendor/debian/tests.py b/distro_tracker/vendor/debian/tests.py
index 89060fa..da4d725 100644
--- a/distro_tracker/vendor/debian/tests.py
+++ b/distro_tracker/vendor/debian/tests.py
@@ -5074,7 +5074,7 @@ class UpdateDebciStatusTaskTest(TestCase):
action_item = self.other_package.action_items.all()[0]
url = "https://ci.debian.net/packages/o/other-package/"
log = "https://ci.debian.net/data/packages/unstable/amd64/o/" + \
- "other-package/latest-autopkgtest/log"
+ "other-package/latest-autopkgtest/log.gz"
self.assertIn(url, action_item.short_description)
self.assertIn(log, action_item.short_description)
self.assertEqual(action_item.extra_data['duration'], "0h 8m 8s")
@@ -5150,7 +5150,7 @@ class UpdateDebciStatusTaskTest(TestCase):
action_item = libpackage.action_items.all()[0]
action_item_log_url = action_item.extra_data['log']
log_url = "https://ci.debian.net/data/packages/unstable/amd64/libp/" + \
- "libpackage/latest-autopkgtest/log"
+ "libpackage/latest-autopkgtest/log.gz"
self.assertEqual(action_item_log_url, log_url)
diff --git a/distro_tracker/vendor/debian/tracker_tasks.py b/distro_tracker/vendor/debian/tracker_tasks.py
index e10d4ed..4037c3d 100644
--- a/distro_tracker/vendor/debian/tracker_tasks.py
+++ b/distro_tracker/vendor/debian/tracker_tasks.py
@@ -2214,7 +2214,7 @@ class UpdateDebciStatusTask(BaseTask):
url = 'https://ci.debian.net/packages/' + log_dir + '/' + \
package_name + '/'
log = 'https://ci.debian.net/data/packages/unstable/amd64/' + \
- log_dir + "/" + package_name + '/latest-autopkgtest/log'
+ log_dir + "/" + package_name + '/latest-autopkgtest/log.gz'
debci_action_item.short_description = self.ITEM_DESCRIPTION.format(
debci_url=url,
log_url=log)
--
2.7.0
Attachment:
signature.asc
Description: PGP signature