[Git][security-tracker-team/security-tracker][master] cvelist.el: Retain source package name from former action when adding a new CVE entry
Moritz Muehlenhoff (@jmm)
jmm at debian.org
Wed Jul 20 10:17:22 BST 2022
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20220720/210be096/attachment-0001.htm>
More information about the debian-security-tracker-commits
mailing list