forked from RDTK/generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix username/password translation in src/commands/functions-input.lisp
* src/commands/functions-input.lisp (header): updated copyright (analyze-project): translate :scm.username -> :username and :scm.password -> :password * changes.sexp (Release 0.34): added bugfix entry Reported-by: Birte Richter <[email protected]>
- Loading branch information
Showing
2 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
;;;; functions-input.lisp --- Functions for loading recipes. | ||
;;;; | ||
;;;; Copyright (C) 2017, 2018, 2019 Jan Moringen | ||
;;;; Copyright (C) 2017-2022 Jan Moringen | ||
;;;; | ||
;;;; Author: Jan Moringen <[email protected]> | ||
|
||
|
@@ -282,8 +282,15 @@ | |
versions) | ||
(values (hash-table-values infos) version->info)))) | ||
((&flet+ analyze-group ((info . versions)) | ||
(let+ (((&plist-r/o (repository :repository)) info) | ||
(other-info (remove-from-plist info :repository)) | ||
(let+ (((&plist-r/o (repository :repository) | ||
(username :scm.username) | ||
(password :scm.password)) | ||
info) | ||
(other-info (append | ||
(remove-from-plist | ||
info :repository :scm.username :scm.password) | ||
(when username (list :username username)) | ||
(when password (list :password password)))) | ||
((&values version-infos version->info) | ||
(compute-version-infos versions)) | ||
(results (apply #'analysis:analyze repository :auto | ||
|