* [bug#50076] [PATCH 0/1] Add python-flask-debugtoolbar.
@ 2021-08-16 9:47 BonfaceKilz
2021-08-16 9:50 ` [bug#50076] [PATCH 1/1] gnu: " BonfaceKilz
2023-05-19 4:50 ` [bug#50076] [PATCH 0/1] " jgart via Guix-patches via
0 siblings, 2 replies; 8+ messages in thread
From: BonfaceKilz @ 2021-08-16 9:47 UTC (permalink / raw)
To: 50076; +Cc: BonfaceKilz
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#50076] [PATCH 1/1] gnu: Add python-flask-debugtoolbar.
2021-08-16 9:47 [bug#50076] [PATCH 0/1] Add python-flask-debugtoolbar BonfaceKilz
@ 2021-08-16 9:50 ` BonfaceKilz
2021-08-23 20:53 ` Arun Isaac
2023-05-19 4:50 ` [bug#50076] [PATCH 0/1] " jgart via Guix-patches via
1 sibling, 1 reply; 8+ messages in thread
From: BonfaceKilz @ 2021-08-16 9:50 UTC (permalink / raw)
To: 50076; +Cc: BonfaceKilz
* 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
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [bug#50076] [PATCH 1/1] gnu: Add python-flask-debugtoolbar.
2021-08-16 9:50 ` [bug#50076] [PATCH 1/1] gnu: " BonfaceKilz
@ 2021-08-23 20:53 ` Arun Isaac
2021-08-27 11:14 ` Bonface Munyoki K.
0 siblings, 1 reply; 8+ messages in thread
From: Arun Isaac @ 2021-08-23 20:53 UTC (permalink / raw)
To: BonfaceKilz; +Cc: 50076
[-- Attachment #1: Type: text/plain, Size: 1445 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 524 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#50076] [PATCH 1/1] gnu: Add python-flask-debugtoolbar.
2021-08-23 20:53 ` Arun Isaac
@ 2021-08-27 11:14 ` Bonface Munyoki K.
0 siblings, 0 replies; 8+ messages in thread
From: Bonface Munyoki K. @ 2021-08-27 11:14 UTC (permalink / raw)
To: Arun Isaac; +Cc: 50076
[-- Attachment #1: Type: text/plain, Size: 1658 bytes --]
Arun Isaac <arunisaac@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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 865 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#50076] [PATCH 0/1] Add python-flask-debugtoolbar.
2021-08-16 9:47 [bug#50076] [PATCH 0/1] Add python-flask-debugtoolbar BonfaceKilz
2021-08-16 9:50 ` [bug#50076] [PATCH 1/1] gnu: " BonfaceKilz
@ 2023-05-19 4:50 ` jgart via Guix-patches via
2023-05-22 7:28 ` Munyoki Kilyungi
2023-05-24 18:07 ` Arun Isaac
1 sibling, 2 replies; 8+ messages in thread
From: jgart via Guix-patches via @ 2023-05-19 4:50 UTC (permalink / raw)
To: Bonface M. K., 50076; +Cc: Arun Isaac
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#50076] [PATCH 0/1] Add python-flask-debugtoolbar.
2023-05-19 4:50 ` [bug#50076] [PATCH 0/1] " jgart via Guix-patches via
@ 2023-05-22 7:28 ` Munyoki Kilyungi
2023-05-24 18:07 ` Arun Isaac
1 sibling, 0 replies; 8+ messages in thread
From: Munyoki Kilyungi @ 2023-05-22 7:28 UTC (permalink / raw)
To: jgart, 50076; +Cc: Arun Isaac
[-- Attachment #1: Type: text/plain, Size: 675 bytes --]
"jgart" <jgart@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))
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 869 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#50076] [PATCH 0/1] Add python-flask-debugtoolbar.
2023-05-19 4:50 ` [bug#50076] [PATCH 0/1] " jgart via Guix-patches via
2023-05-22 7:28 ` Munyoki Kilyungi
@ 2023-05-24 18:07 ` Arun Isaac
2024-06-29 6:55 ` jgart via Guix-patches via
1 sibling, 1 reply; 8+ messages in thread
From: Arun Isaac @ 2023-05-24 18:07 UTC (permalink / raw)
To: jgart, Bonface M. K., 50076
> 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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [bug#50076] [PATCH 0/1] Add python-flask-debugtoolbar.
2023-05-24 18:07 ` Arun Isaac
@ 2024-06-29 6:55 ` jgart via Guix-patches via
0 siblings, 0 replies; 8+ messages in thread
From: jgart via Guix-patches via @ 2024-06-29 6:55 UTC (permalink / raw)
To: 50076; +Cc: Bonface Munyoki K., Arun Isaac, jgart, Munyoki Kilyungi
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
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-06-29 6:56 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-16 9:47 [bug#50076] [PATCH 0/1] Add python-flask-debugtoolbar BonfaceKilz
2021-08-16 9:50 ` [bug#50076] [PATCH 1/1] gnu: " BonfaceKilz
2021-08-23 20:53 ` Arun Isaac
2021-08-27 11:14 ` Bonface Munyoki K.
2023-05-19 4:50 ` [bug#50076] [PATCH 0/1] " jgart via Guix-patches via
2023-05-22 7:28 ` Munyoki Kilyungi
2023-05-24 18:07 ` Arun Isaac
2024-06-29 6:55 ` jgart via Guix-patches via
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).