[Git][security-tracker-team/security-tracker][master] new defun for PTS lookups

Moritz Muehlenhoff (@jmm) jmm at debian.org
Fri Sep 17 14:25:22 BST 2021



Moritz Muehlenhoff pushed to branch master at Debian Security Tracker / security-tracker


Commits:
136221e8 by Moritz Muehlenhoff at 2021-09-17T15:24:57+02:00
new defun for PTS lookups

- - - - -


1 changed file:

- conf/cvelist.el


Changes:

=====================================
conf/cvelist.el
=====================================
@@ -83,6 +83,11 @@
   (interactive)
   (browse-url (concat "https://cve.mitre.org/cgi-bin/cvename.cgi?name=" (thing-at-point 'symbol))))
 
+(defun debian-cvelist-ptslookup ()
+  "Look up a package name in Debian Package Tracker."
+  (interactive)
+  (browse-url (concat "https://tracker.debian.org/pkg/" (thing-at-point 'symbol))))
+
 (defvar debian-cvelist-mode-map
    (let ((map (make-sparse-keymap)))
      (define-key map (kbd "C-c C-f") 'debian-cvelist-insert-not-for-us)
@@ -93,6 +98,7 @@
      (define-key map (kbd "C-c C-x") 'debian-cvelist-insert-not-affected)
      (define-key map (kbd "C-c C-p") 'debian-cvelist-insert-postponed)
      (define-key map (kbd "C-c C-b") 'debian-cvelist-insert-bug)
+     (define-key map (kbd "C-c C-p") 'debian-cvelist-ptslookup)
      map)
    "Keymap for `debian-cvelist-mode'.")
 



View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/136221e80b08e02cf64182f53333f0509267e7cd

-- 
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/136221e80b08e02cf64182f53333f0509267e7cd
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20210917/829af7c9/attachment-0001.htm>


More information about the debian-security-tracker-commits mailing list