Re: [Zope-dev] SVN: zope.bugchecker/trunk/src/zope/bugchecker/bugchecker.py Get clickable URLs in the output.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sidnei da Silva wrote:
+ link = ('https://bugs.launchpad.net/%s/+bug/%s' + % (self.project_name, bug_id))
You can actually link to the bug having an id only, by using 'http://launchpad.net/bugs/<bug-id>'. It's fine since you have a project_name here to use it, but a nice tip anyway.
Cool, good to know. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkvGxzEACgkQ+gerLs4ltQ7+/ACdHBjg7rFWMBaGpJ2hadDXcAyL xN0Anjn2jq1Vpzs0Hf9RPbz0sCTyDgFK =kR7Z -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 4/15/10 09:58 , Tres Seaver wrote:
Sidnei da Silva wrote:
+ link = ('https://bugs.launchpad.net/%s/+bug/%s' + % (self.project_name, bug_id)) You can actually link to the bug having an id only, by using 'http://launchpad.net/bugs/<bug-id>'. It's fine since you have a project_name here to use it, but a nice tip anyway.
That's a great tip for keeping short bug URLs in change log entries. I was wondering about that myself. jens -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkvGyOsACgkQRAx5nvEhZLL7IwCgk6tY8F99q6zC1drLwtp4Y9jq CGQAn3QMS4YnPEEk4mfjm64Nav40Wdjw =bmKS -----END PGP SIGNATURE-----
participants (2)
-
Jens Vagelpohl -
Tres Seaver