GNU bug report logs -
#50076
[PATCH 0/1] Add python-flask-debugtoolbar.
Previous Next
Reported by: BonfaceKilz <me <at> bonfacemunyoki.com>
Date: Mon, 16 Aug 2021 09:48:02 UTC
Severity: normal
Tags: patch
Done: jgart <jgart <at> dismail.de>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50076 in the body.
You can then email your comments to 50076 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#50076
; Package
guix-patches
.
(Mon, 16 Aug 2021 09:48:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
BonfaceKilz <me <at> bonfacemunyoki.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 16 Aug 2021 09:48:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi. Find attach a patch that adds python-flask-debugtoolbar to GUIX.
BonfaceKilz (1):
gnu: Add python-flask-debugtoolbar.
gnu/packages/python-web.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
--
2.31.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#50076
; Package
guix-patches
.
(Mon, 16 Aug 2021 09:52:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 50076 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-web.scm (python-flask-debugtoolbar): New variable.
---
gnu/packages/python-web.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 32b4aa4bf0..c8f0ab3940 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3005,6 +3005,32 @@ and Jinja2 template engine. It is called a micro framework because it does not
presume or force a developer to use a particular tool or library.")
(license license:bsd-3)))
+(define-public python-flask-debugtoolbar
+ (package
+ (name "python-flask-debugtoolbar")
+ (version "0.11.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Flask-DebugToolbar" version))
+ (sha256
+ (base32
+ "1d5asdnk8bmh6m46pzg3i7677cjgdm9mlm3wcpk19q7dak9pjkiw"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-blinker" ,python-blinker)
+ ("python-flask" ,python-flask)
+ ("python-itsdangerous" ,python-itsdangerous)
+ ("python-werkzeug" ,python-werkzeug)))
+ (home-page
+ "https://flask-debugtoolbar.readthedocs.io/")
+ (synopsis
+ "A toolbar overlay for debugging Flask applications.")
+ (description
+ "This extension adds a toolbar overlay to Flask applications containing
+useful information for debugging.")
+ (license license:bsd-3)))
+
(define-public python-flask-wtf
(package
(name "python-flask-wtf")
--
2.31.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#50076
; Package
guix-patches
.
(Mon, 23 Aug 2021 20:54:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 50076 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Bonface,
Thanks for contributing! :-) Some feedback follows.
1. Please add a copyright header.
2. Could you try packaging the tests? I think tests use
pytest. Currently, no tests are run during the check phase.
> + (synopsis
> + "A toolbar overlay for debugging Flask applications.")
3. Could you remove the article "A" at the beginning, and the period at
the end? Quoting from our manual at "(guix) Synopses and Descriptions":
--8<---------------cut here---------------start------------->8---
Synopses must start with a capital letter and must not end with a
period. They must not start with “a” or “the”, which usually does not
bring anything; for instance, prefer “File-frobbing tool” over “A tool
that frobs files”.
--8<---------------cut here---------------end--------------->8---
> + (description
> + "This extension adds a toolbar overlay to Flask applications containing
> +useful information for debugging.")
4. Finally, a nitpick: It would be more consistent with the rest of Guix
if the synopsis and description started on the same line instead of on
the next. So, something like this:
--8<---------------cut here---------------start------------->8---
(description "This extension adds a toolbar overlay to Flask applications
containing useful information for debugging.")
--8<---------------cut here---------------end--------------->8---
Thanks!
Arun
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#50076
; Package
guix-patches
.
(Fri, 27 Aug 2021 11:15:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 50076 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Arun Isaac <arunisaac <at> systemreboot.net> anaandika:
> Hi Bonface,
>
> Thanks for contributing! :-) Some feedback follows.
>
> 1. Please add a copyright header.
Cool. Thanks for the gentle reminder.
> 2. Could you try packaging the tests? I think tests use
> pytest. Currently, no tests are run during the check phase.
>
Cool. I'll try to work out how to do that.
>> + (synopsis
>> + "A toolbar overlay for debugging Flask applications.")
>
> 3. Could you remove the article "A" at the beginning, and the period at
> the end? Quoting from our manual at "(guix) Synopses and Descriptions":
>
> Synopses must start with a capital letter and must not end with a
> period. They must not start with “a” or “the”, which usually does not
> bring anything; for instance, prefer “File-frobbing tool” over “A tool
> that frobs files”.
>
>
>> + (description
>> + "This extension adds a toolbar overlay to Flask applications containing
>> +useful information for debugging.")
>
> 4. Finally, a nitpick: It would be more consistent with the rest of Guix
> if the synopsis and description started on the same line instead of on
> the next. So, something like this:
>
> (description "This extension adds a toolbar overlay to Flask applications
> containing useful information for debugging.")
>
Much thanks for the above suggestions! I'll work
on this and submit a revised patch over the
weekend.
--
Bonface M. K. D4F09EB110177E03C28E2FE1F5BBAE1E0392253F
Free Software Activist
Humble GNU Emacs User | Bearer of scheme-y parens
Curator: <https://upbookclub.com> | Twitter: @BonfaceKilz
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#50076
; Package
guix-patches
.
(Fri, 19 May 2023 04:51:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 50076 <at> debbugs.gnu.org (full text, mbox):
Hi Bonz,
Are you still interested in picking this issue up again?
The only problem I see with this package is that it vendors 63 javascript files including dependencies like jquery.
Hi Arun, is this a non issue for upstream guix or what should we do here?
What is our current policy regarding jquery?
all best,
jgart
Information forwarded
to
guix-patches <at> gnu.org
:
bug#50076
; Package
guix-patches
.
(Mon, 22 May 2023 07:29:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 50076 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
"jgart" <jgart <at> dismail.de> aliandika:
> Hi Bonz,
>
> Are you still interested in picking this issue up again?
>
Sure no problem. I'll try looking at this later
tonight (EAT). Thanks for the follow-up.
> The only problem I see with this package is that it vendors 63 javascript files including dependencies like jquery.
>
> Hi Arun, is this a non issue for upstream guix or what should we do here?
>
> What is our current policy regarding jquery?
>
> all best,
>
> jgart
--
(Life is like a pencil that will surely run out,
but will leave the beautiful writing of life.)
(D4F09EB110177E03C28E2FE1F5BBAE1E0392253F
(hkp://keys.openpgp.org))
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#50076
; Package
guix-patches
.
(Wed, 24 May 2023 18:08:03 GMT)
Full text and
rfc822 format available.
Message #23 received at 50076 <at> debbugs.gnu.org (full text, mbox):
> The only problem I see with this package is that it vendors 63
> javascript files including dependencies like jquery.
>
> Hi Arun, is this a non issue for upstream guix or what should we do
> here?
As long as these javascript files are actual source and are not minified
source, this should be fine. Minified source is considered to be a
binary. This is the precedent set in packages such as js-mathjax.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#50076
; Package
guix-patches
.
(Sat, 29 Jun 2024 06:56:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 50076 <at> debbugs.gnu.org (full text, mbox):
Hi all,
This issue is pretty stale by now. Does anyone want to still work on
it?
If not, I recommend for us to close it and reopen when actively working
on it.
WDYT?
all the best,
jgart
Reply sent
to
jgart <jgart <at> dismail.de>
:
You have taken responsibility.
(Thu, 02 Jan 2025 02:15:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
BonfaceKilz <me <at> bonfacemunyoki.com>
:
bug acknowledged by developer.
(Thu, 02 Jan 2025 02:15:04 GMT)
Full text and
rfc822 format available.
Message #31 received at 50076-done <at> debbugs.gnu.org (full text, mbox):
> This issue is pretty stale by now. Does anyone want to still work on
> it?
>
> If not, I recommend for us to close it and reopen when actively working
> on it.
Hi, closing this ticket. Feel free to reopen if you'd like to continue
working on it.
--
all the best,
jgart
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 30 Jan 2025 12:24:15 GMT)
Full text and
rfc822 format available.
This bug report was last modified 42 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.