GNU bug report logs -
#27673
[PATCH] gnu: Add emacs-org-pomodoro.
Previous Next
Reported by: Oleg Pykhalov <go.wigust <at> gmail.com>
Date: Wed, 12 Jul 2017 20:49:02 UTC
Severity: normal
Tags: patch
Done: Arun Isaac <arunisaac <at> systemreboot.net>
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 27673 in the body.
You can then email your comments to 27673 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#27673
; Package
guix-patches
.
(Wed, 12 Jul 2017 20:49:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Oleg Pykhalov <go.wigust <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 12 Jul 2017 20:49:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/emacs.scm (emacs-org-pomodoro): New variable.
---
gnu/packages/emacs.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 75122af8b..551dfa1c7 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -2514,6 +2514,29 @@ number.")
@code{org-mode} to be rendered as UTF-8 characters.")
(license license:gpl3+)))
+(define-public emacs-org-pomodoro
+ (package
+ (name "emacs-org-pomodoro")
+ (version "2.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/lolownia/org-pomodoro/archive/"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1jalsggw3q5kvj353f84x4nl04a5vmq07h75ggppy1627lb31zm4"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-alert" ,emacs-alert)))
+ (home-page "https://github.com/lolownia/org-pomodoro")
+ (synopsis "Pomodoro technique for org-mode")
+ (description
+ "@code{emacs-org-pomodoro} adds very basic support for Pomodoro technique
+in Emacs org-mode.")
+ (license license:gpl3+)))
+
(define-public emacs-org-trello
(package
(name "emacs-org-trello")
--
2.13.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#27673
; Package
guix-patches
.
(Fri, 14 Jul 2017 11:56:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 27673 <at> debbugs.gnu.org (full text, mbox):
Thanks for the patch!
> +(define-public emacs-org-pomodoro
> + (package
> + (name "emacs-org-pomodoro")
> + (version "2.1.0")
> + (source (origin
> + (method url-fetch)
> + (uri (string-append
> + "https://github.com/lolownia/org-pomodoro/archive/"
> + version ".tar.gz"))
> + (file-name (string-append name "-" version ".tar.gz"))
> + (sha256
> + (base32
> + "1jalsggw3q5kvj353f84x4nl04a5vmq07h75ggppy1627lb31zm4"))))
> + (build-system emacs-build-system)
Could you also package the tests? You'll need something very similar to
what the emacs-which-key package has.
> + (propagated-inputs
> + `(("emacs-alert" ,emacs-alert)))
> + (home-page "https://github.com/lolownia/org-pomodoro")
> + (synopsis "Pomodoro technique for org-mode")
> + (description
> + "@code{emacs-org-pomodoro} adds very basic support for Pomodoro technique
> +in Emacs org-mode.")
Could you extend the description a little more, perhaps by paraphrasing
paragraph 3 of README.md...?
Information forwarded
to
guix-patches <at> gnu.org
:
bug#27673
; Package
guix-patches
.
(Fri, 14 Jul 2017 13:50:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 27673 <at> debbugs.gnu.org (full text, mbox):
Arun Isaac <arunisaac <at> systemreboot.net> writes:
> Could you also package the tests? You'll need something very similar to
> what the emacs-which-key package has.
Sure, but they fails :-)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'install 'check
(lambda _
(zero? (system* "emacs" "--batch" "-L" "."
"-l" "org-pomodoro-tests.el"
"-f" "ert-run-tests-batch-and-exit")))))))
Running 2 tests (2017-07-14 13:09:26+0000)
Test org-pomodoro-expires-when-last-clockin-is-new backtrace:
(let ((fn-5 (function equal)) (args-6 (list nil (org-pomodoro-expire
(let ((org-pomodoro-last-clock-in (current-time)) (org-pomodoro-expi
(lambda nil (let ((org-pomodoro-last-clock-in (current-time)) (org-p
ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
ert-run-test([cl-struct-ert-test org-pomodoro-expires-when-last-cloc
ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test o
ert-run-tests(t #[385 "\306\307\"\203G\211\211G\310U\203 \211@\20
ert-run-tests-batch(nil)
ert-run-tests-batch-and-exit()
command-line-1(("-L" "." "-l" "org-pomodoro-tests.el" "-f" "ert-run-
command-line()
normal-top-level()
Test org-pomodoro-expires-when-last-clockin-is-new condition:
(void-function org-pomodoro-expires-p)
FAILED 1/2 org-pomodoro-expires-when-last-clockin-is-new
Test org-pomodoro-expires-when-last-clockin-too-old backtrace:
(let ((fn-0 (function equal)) (args-1 (list t (org-pomodoro-expires-
(let ((org-pomodoro-last-clock-in (quote (0 120 0 0))) (org-pomodoro
(lambda nil (let ((org-pomodoro-last-clock-in (quote (0 120 0 0))) (
ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc
ert-run-test([cl-struct-ert-test org-pomodoro-expires-when-last-cloc
ert-run-or-rerun-test([cl-struct-ert--stats t [[cl-struct-ert-test o
ert-run-tests(t #[385 "\306\307\"\203G\211\211G\310U\203 \211@\20
ert-run-tests-batch(nil)
ert-run-tests-batch-and-exit()
command-line-1(("-L" "." "-l" "org-pomodoro-tests.el" "-f" "ert-run-
command-line()
normal-top-level()
Test org-pomodoro-expires-when-last-clockin-too-old condition:
(void-function org-pomodoro-expires-p)
FAILED 2/2 org-pomodoro-expires-when-last-clockin-too-old
Ran 2 tests, 0 results as expected, 2 unexpected (2017-07-14 13:09:26+0000)
2 unexpected results:
FAILED org-pomodoro-expires-when-last-clockin-is-new
FAILED org-pomodoro-expires-when-last-clockin-too-old
>> + (propagated-inputs
>> + `(("emacs-alert" ,emacs-alert)))
>> + (home-page "https://github.com/lolownia/org-pomodoro")
>> + (synopsis "Pomodoro technique for org-mode")
>> + (description
>> + "@code{emacs-org-pomodoro} adds very basic support for Pomodoro technique
>> +in Emacs org-mode.")
>
> Could you extend the description a little more, perhaps by paraphrasing
> paragraph 3 of README.md...?
Sure, I think it's appropriate:
@code{emacs-org-pomodoro} adds very basic support for Pomodoro technique
in Emacs org-mode.
Run @code{M-x org-pomodoro} for the task at point or select one of the
last tasks that you clocked time for. Each clocked-in pomodoro starts a
timer of 25 minutes and after each pomodoro a break timer of 5 minutes
is started automatically. Every 4 breaks a long break is started with
20 minutes. All values are customizable.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#27673
; Package
guix-patches
.
(Fri, 14 Jul 2017 14:12:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 27673 <at> debbugs.gnu.org (full text, mbox):
Oleg Pykhalov writes:
> Arun Isaac <arunisaac <at> systemreboot.net> writes:
>> Could you also package the tests? You'll need something very similar to
>> what the emacs-which-key package has.
>
> Sure, but they fails :-)
Sure, we'll ditch the tests. Could you just send me an updated patch
with the new description?
Thanks!
Information forwarded
to
guix-patches <at> gnu.org
:
bug#27673
; Package
guix-patches
.
(Fri, 14 Jul 2017 15:13:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 27673 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Fri, Jul 14, 2017 at 07:41:25PM +0530, Arun Isaac wrote:
>
> Oleg Pykhalov writes:
>
> > Arun Isaac <arunisaac <at> systemreboot.net> writes:
> >> Could you also package the tests? You'll need something very similar to
> >> what the emacs-which-key package has.
> >
> > Sure, but they fails :-)
>
> Sure, we'll ditch the tests. Could you just send me an updated patch
> with the new description?
Do the test failures indicate a real problem with the package? Or are
they spurious? Should we report them upstream?
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#27673
; Package
guix-patches
.
(Fri, 14 Jul 2017 16:36:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 27673 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Arun Isaac <arunisaac <at> systemreboot.net> writes:
> Sure, we'll ditch the tests. Could you just send me an updated patch
> with the new description?
[0001-gnu-Add-emacs-org-pomodoro.patch (text/x-patch, inline)]
From 8c0c77b34b12bffd32947691ee365922ed6f79fb Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <go.wigust <at> gmail.com>
Date: Wed, 12 Jul 2017 18:30:56 +0300
Subject: [PATCH] gnu: Add emacs-org-pomodoro.
* gnu/packages/emacs.scm (emacs-org-pomodoro): New variable.
---
gnu/packages/emacs.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 75122af8b..e2ef257ec 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -2514,6 +2514,35 @@ number.")
@code{org-mode} to be rendered as UTF-8 characters.")
(license license:gpl3+)))
+(define-public emacs-org-pomodoro
+ (package
+ (name "emacs-org-pomodoro")
+ (version "2.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/lolownia/org-pomodoro/archive/"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1jalsggw3q5kvj353f84x4nl04a5vmq07h75ggppy1627lb31zm4"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-alert" ,emacs-alert)))
+ (home-page "https://github.com/lolownia/org-pomodoro")
+ (synopsis "Pomodoro technique for org-mode")
+ (description
+ "@code{emacs-org-pomodoro} adds very basic support for Pomodoro
+technique in Emacs org-mode.
+
+Run @code{M-x org-pomodoro} for the task at point or select one of the
+last tasks that you clocked time for. Each clocked-in pomodoro starts
+a timer of 25 minutes and after each pomodoro a break timer of 5
+minutes is started automatically. Every 4 breaks a long break is
+started with 20 minutes. All values are customizable.")
+ (license license:gpl3+)))
+
(define-public emacs-org-trello
(package
(name "emacs-org-trello")
--
2.13.2
[Message part 3 (text/plain, inline)]
Leo Famulari <leo <at> famulari.name> writes:
> Do the test failures indicate a real problem with the package? Or are
> they spurious? Should we report them upstream?
No, I think they fail because checked variables are not defined during
test and even during running Emacs session. I passed the test manually
evaluate them in Emacs.
Reply sent
to
Arun Isaac <arunisaac <at> systemreboot.net>
:
You have taken responsibility.
(Mon, 17 Jul 2017 09:47:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Oleg Pykhalov <go.wigust <at> gmail.com>
:
bug acknowledged by developer.
(Mon, 17 Jul 2017 09:47:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 27673-done <at> debbugs.gnu.org (full text, mbox):
I have pushed the patch. Thanks!
@Oleg:
Could you report the failing tests upstream?
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 14 Aug 2017 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 2 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.