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


Commits:
f0891687 by Moritz Muehlenhoff at 2022-07-20T11:16:36+02:00
cvelist.el: Retain source package name from former action when adding a new CVE 
entry

- - - - -


1 changed file:

- conf/cvelist.el


Changes:

=====================================
conf/cvelist.el
=====================================
@@ -17,6 +17,7 @@
 
 (setq last-nfu "")
 (setq bugnum "")
+(setq newsrcpkg "")
 
 ; TODO: Tab completion for existing NFUs
 (defun debian-cvelist-insert-not-for-us ()
@@ -72,11 +73,11 @@
 (defun debian-cvelist-insert-srcentry ()
   "Insert new source package entry."
   (interactive)
-  (setq srcpkg (read-string "Source package: " ""))
+  (setq newsrcpkg (read-string "Source package: " newsrcpkg))
   (setq version (read-string "Fixed version: " "<unfixed>"))
   (next-line)
   (beginning-of-line)
-  (insert (concat "\t- " srcpkg " " version "\n")))
+  (insert (concat "\t- " newsrcpkg " " version "\n")))
 
 (defun debian-cvelist-cvesearch ()
   "Look up a CVE ID at the MITRE website."



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

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


_______________________________________________
debian-security-tracker-commits mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-security-tracker-commits

Reply via email to