Debian Bug report logs - #766597
tracker news urls could be more package related + human friendly

Package: tracker.debian.org; Maintainer for tracker.debian.org is Debian QA Team <debian-qa@lists.debian.org>;

Reported by: Holger Levsen <holger@layer-acht.org>

Date: Fri, 24 Oct 2014 09:42:14 UTC

Severity: wishlist

Tags: newcomer

Done: arthurmde@gmail.com

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian QA Team <debian-qa@lists.debian.org>:
Bug#766597; Package tracker.debian.org. (Fri, 24 Oct 2014 09:42:19 GMT) (full text, mbox, link).


Acknowledgement sent to Holger Levsen <holger@layer-acht.org>:
New Bug report received and forwarded. Copy sent to Debian QA Team <debian-qa@lists.debian.org>. (Fri, 24 Oct 2014 09:42:19 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Holger Levsen <holger@layer-acht.org>
To: submit@bugs.debian.org
Subject: tracker news urls could be more package related + human friendly
Date: Fri, 24 Oct 2014 11:40:32 +0200
[Message part 1 (text/plain, inline)]
package: tracker.debian.org
severity: wishlist

Hi,

somewhere someone wrote this:

> > Since I don't know how much work and effort will take to fix this,
> Hopefully none (well, no more), given the upload of
> https://tracker.debian.org/news/580713

and I thought "which package" so I clicked the link and found out it was about 
a package I don't have much interest in...

And then I realized that I thought this before about the tracker news urls: I 
think they are too "meaningless" and they would be more informative if they 
were of the form https://tracker.debian.org/$package/news/580713 (or 
news/$package/)

What do you think? That would also make it possible to use lower IDs (and 
internally use pkgname+id) which are more human friendly. The current numbers 
can also be confused with bugs...

What do you think?


cheers,
	Holger


[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian QA Team <debian-qa@lists.debian.org>:
Bug#766597; Package tracker.debian.org. (Wed, 26 Nov 2014 17:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to Raphael Hertzog <hertzog@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian QA Team <debian-qa@lists.debian.org>. (Wed, 26 Nov 2014 17:45:04 GMT) (full text, mbox, link).


Message #10 received at 766597@bugs.debian.org (full text, mbox, reply):

From: Raphael Hertzog <hertzog@debian.org>
To: Holger Levsen <holger@layer-acht.org>, 766597@bugs.debian.org
Subject: Re: Bug#766597: tracker news urls could be more package related + human friendly
Date: Wed, 26 Nov 2014 18:42:58 +0100
Control: tag -1 newcomer

On Fri, 24 Oct 2014, Holger Levsen wrote:
> And then I realized that I thought this before about the tracker news urls: I 
> think they are too "meaningless" and they would be more informative if they 
> were of the form https://tracker.debian.org/$package/news/580713 (or 
> news/$package/)
> 
> What do you think? That would also make it possible to use lower IDs (and 
> internally use pkgname+id) which are more human friendly. The current numbers 
> can also be confused with bugs...

I don't think it makes much sense to include the name of the package.
However we could include the title of the news after the news id:
https://tracker.debian.org/news/534915/Accepted-xdelta-1.1.3-9.1-source-amd64

Basically, we take the title, pass is through a function that changes
the string to something that looks like a "slug" (possibly using
django.template.defaultfilters.slugify) and append it to the URL.

We modify the default urls.py to accept those url (and discard the
title part).

This is a good contribution for a new contributor. Anyone up to the task?

FWIW the list of news is handled in this template:
distro_tracker/core/templates/core/panels/news.html

And the URL of the news is defined by the News.get_absolute_url()
method in distro_tracker/core/models.py.

Happy hacking!
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/



Added tag(s) newcomer. Request was from Raphael Hertzog <hertzog@debian.org> to 766597-submit@bugs.debian.org. (Wed, 26 Nov 2014 17:45:04 GMT) (full text, mbox, link).


Reply sent to arthurmde@gmail.com:
You have taken responsibility. (Thu, 15 Mar 2018 01:03:04 GMT) (full text, mbox, link).


Notification sent to Holger Levsen <holger@layer-acht.org>:
Bug acknowledged by developer. (Thu, 15 Mar 2018 01:03:04 GMT) (full text, mbox, link).


Message #17 received at 766597-done@bugs.debian.org (full text, mbox, reply):

From: arthurmde@gmail.com
To: 766597-done@bugs.debian.org
Subject: Bug #766597 in tracker.debian.org fixed
Date: Thu, 15 Mar 2018 00:58:25 +0000
Hello,

Bug #766597 in tracker.debian.org reported by you has been fixed in the Git repository.
You can see the commit message below, and you can check the diff of the fix at:

https://salsa.debian.org/qa/distro-tracker/commit/89560cf2914cfcbbe429d3f1ea5b8917d2feb3dd

------------------------------------------------------------------------
Make news' url more human friendly by using its title slug

Closes: #766597

------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/766597



Message #18 received at 766597-done@bugs.debian.org (full text, mbox, reply):

From: arthurmde@gmail.com
To: 766597-done@bugs.debian.org
Subject: Bug #766597 in tracker.debian.org fixed
Date: Thu, 22 Mar 2018 16:59:52 +0000
Hello,

Bug #766597 in tracker.debian.org reported by you has been fixed in the Git repository.
You can see the commit message below, and you can check the diff of the fix at:

https://salsa.debian.org/qa/distro-tracker/commit/89560cf2914cfcbbe429d3f1ea5b8917d2feb3dd

------------------------------------------------------------------------
Make news' url more human friendly by using its title slug

Closes: #766597

------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/766597



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 20 Apr 2018 07:33:35 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jan 30 04:39:21 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.