GNU bug report logs -
#43635
[PATCH] gnu: Add emacs-sqlite.
Previous Next
Reported by: Adam Kandur <rndd <at> tuta.io>
Date: Sat, 26 Sep 2020 20:38:02 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
Adam Kandur via Guix-patches via <guix-patches <at> gnu.org> writes:
> Subject: [PATCH] gnu: Add emacs-sqlite.
>
> * gnu/packages/emacs-xyz.scm (emacs-sqlite): New variable.
Thank you!
Some comments follow.
> +(define-public emacs-sqlite.el
The same should be emacs-sqlite.
> + (let ((commit "dad42b8bbca4994be1871343dd18fd6528ee5797")
> + (revision "1"))
You need to provide a comment explaining why you're choosing a specific
commit instead of a tagged release (in this case, that's because there
is no tagged commit).
Also, mind the indentation. (revision ...) should be vertically aligned
with (commit ...)
> + (package
> + (name "emacs-sqlite.el")
See above.
> + (build-system emacs-build-system)
> + (version (git-version "0.0.0" revision commit))
The base version is "1.0" per keyword in the main Elisp file, not
"0.0.0".
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://gitlab.com/cnngimenez/sqlite.el.git")
You can drop the ".git" suffix in the URL.
> + (commit commit)))
> + (file-name (git-file-name name version))
> + (sha256 (base32 "06ln4vijl8kii3nzc5cscgsadx1fqgxksflijd3ain83bn8g4wrd"))))
(base32 ...) should be moved on the line below.
> + (home-page "https://gitlab.com/cnngimenez/sqlite.el.git")
Likewise, please drop the ".git" suffix.
> + (synopsis "SQLite Interface for EmasLisp")
There's a typo in EmacsLisp, which I suggest to write "Emacs Lisp".
> + (description "This code was retrieved from the EmacsWiki at Dicember 26, 2013. At that point was two developers:
> + @cnngimenez
> + @KIDD (Raimon Grau)")
This description is not useful. I suggest to use the one from EmacsWiki,
quoted here:
@code{sqlite.el} is a simple SqliteInterface for connecting and retrieving
information using the SQLite program through Elisp programming. It is
not intended as a user interface.
Could you send an updated patch?
Regards,
--
Nicolas Goaziou
This bug report was last modified 4 years and 237 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.