emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#31844: closed ([cuirass] Invalid specs are ignored, should be report


From: GNU bug Tracking System
Subject: bug#31844: closed ([cuirass] Invalid specs are ignored, should be reported instead)
Date: Thu, 25 Mar 2021 13:57:01 +0000

Your message dated Thu, 25 Mar 2021 14:56:08 +0100
with message-id <878s6b49s7.fsf@gnu.org>
and subject line Re: bug#31844: [cuirass] Invalid specs are ignored, should be 
reported instead
has caused the debbugs.gnu.org bug report #31844,
regarding [cuirass] Invalid specs are ignored, should be reported instead
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
31844: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31844
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [cuirass] Invalid specs are ignored, should be reported instead Date: Fri, 15 Jun 2018 14:37:19 +0200 User-agent: mu4e 1.0; emacs 25.3.1
When Cuirass processes a list of specifications it silently ignores
those that would result in erroneous SQL statements.

Take for example a specification that does not include an #:arguments
field.  The database schema says that “arguments” may not be NULL, but
db-add-specification will produce an INSERT statement that sets
“arguments” to NULL when it is not part of the specification alist.

Cuirass should either validate the specifications before passing them to
“db-add-specification” or report an error when “db-add-specification”
fails to add a table record.

--
Ricardo



--- End Message ---
--- Begin Message --- Subject: Re: bug#31844: [cuirass] Invalid specs are ignored, should be reported instead Date: Thu, 25 Mar 2021 14:56:08 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Hello,

Invalid specifications are now reported, see for example:

--8<---------------cut here---------------start------------->8---
(list (specification
       (namee "guix-master")
       (build 'hello)))
--8<---------------cut here---------------end--------------->8---

gives,

--8<---------------cut here---------------start------------->8---
2021-03-25T14:52:46 running Fibers on 4 kernel threads
/home/mathieu/cuirass/examples/hello.scm:1:6: error: (specification (namee 
"guix-master") (build (quote hello))): extraneous field initializers (namee)
--8<---------------cut here---------------end--------------->8---

Closing this one,

Thanks,

Mathieu


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]