GNU bug report logs - #74051
[PATCH] gnu: Add emacs-weblorg

Previous Next

Package: guix-patches;

Reported by: Mattia Bunel <mattia.bunel <at> ehess.fr>

Date: Sun, 27 Oct 2024 18:54:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

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 74051 in the body.
You can then email your comments to 74051 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to andrew <at> trop.in, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org:
bug#74051; Package guix-patches. (Sun, 27 Oct 2024 18:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mattia Bunel <mattia.bunel <at> ehess.fr>:
New bug report received and forwarded. Copy sent to andrew <at> trop.in, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org. (Sun, 27 Oct 2024 18:54:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mattia Bunel <mattia.bunel <at> ehess.fr>
To: guix-patches <at> gnu.org
Cc: Mattia Bunel <mattia.bunel <at> ehess.fr>
Subject: [PATCH] gnu: Add emacs-weblorg
Date: Sun, 27 Oct 2024 19:49:12 +0100
Change-Id: Iae2d6cbbadec7a171e1e5b8502d4f47701d7af5b
---
 gnu/packages/emacs-xyz.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 488b4cb5d7..0ff7ac08ca 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -38230,6 +38230,26 @@ (define-public emacs-org-static-blog
 a @samp{date} keywords, and optionally, a @samp{filetags} keyword.")
     (license license:bsd-3)))
 
+(define-public emacs-weblorg
+  (package
+    (name "emacs-weblorg")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://stable.melpa.org/packages/" "weblorg-"
+                           version ".tar"))
+       (sha256
+        (base32 "0lvjfhysiyaz8klbj01da5jdjw1p4vvd9kl1zmi9vciazayh82ch"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-templatel))
+    (home-page "https://emacs.love/weblorg")
+    (synopsis "Static site generator for org-mode")
+    (description
+     "@code{emacs-weblorg} is a static site generator for org-mode,
+based on @code{templatel} library.")
+    (license license:gpl3+)))
+
 (define-public emacs-ddskk
   (let ((commit "8c47f46e38a29a0f3eabcd524268d20573102467")
         (revision "0"))

base-commit: 091131af64fd4e4e925fff829fa19097cfcdfcc5
-- 
2.47.0





Information forwarded to guix-patches <at> gnu.org:
bug#74051; Package guix-patches. (Sun, 27 Oct 2024 23:20:02 GMT) Full text and rfc822 format available.

Message #8 received at 74051 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Mattia Bunel <mattia.bunel <at> ehess.fr>
Cc: 74051 <at> debbugs.gnu.org, Katherine Cox-Buday <cox.katherine.e+guix <at> gmail.com>,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 Andrew Tropin <andrew <at> trop.in>
Subject: Re: [bug#74051] [PATCH] gnu: Add emacs-weblorg
Date: Mon, 28 Oct 2024 00:18:16 +0100
Hello,

Mattia Bunel <mattia.bunel <at> ehess.fr> writes:

> Change-Id: Iae2d6cbbadec7a171e1e5b8502d4f47701d7af5b

Thank you for your patch. There are some (small) things to fix before it
can be merged, tho.

First you need to write a proper commit message, such as:

  gnu: Add emacs-weblorg.

  * gnu/packages/emacs-xyz.scm (emacs-weblorg): New variable.

> +(define-public emacs-weblorg
> +  (package
> +    (name "emacs-weblorg")
> +    (version "0.1.2")

The version is not actually "0.1.2", or rather, it seems we need to pick
a commit after this tag. You should let-bind the commit hash, i.e.,
"0db218bd6b2e083546d3a69a022dfb1a08900acd", to a `commit' symbol.
Then, `version' field would become:

  (version (git-version "0.1.2" revision commit))

See, e.g., `emacs-taskrunner' package definition.

> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "https://stable.melpa.org/packages/" "weblorg-"
> +                           version ".tar"))

Upstream is on GitHub, not on Stable MELPA. The package should use
`git-fetch' method, and

  (uri (git-reference
        (url "https://github.com/emacs-love/weblorg")
        (commit commit)))

as the `uri' field.

Also, you need to add

  (file-name (git-file-name name version))

before the `sha256' field.

> +       (sha256
> +        (base32 "0lvjfhysiyaz8klbj01da5jdjw1p4vvd9kl1zmi9vciazayh82ch"))))
> +    (build-system emacs-build-system)

There are tests. You may want to run them, probably with

  (arguments
   (list #:tests? #t
         #:test-command '("emacs" "--batch"
                          "-l" "t/weblorg-tests.el"
                          "-f" "ert-run-tests-batch-and-exit")))

There seem to be some documentation in the "doc/" directory. What should
be done about it?

> +    (propagated-inputs (list emacs-templatel))
> +    (home-page "https://emacs.love/weblorg")
> +    (synopsis "Static site generator for org-mode")

Nitpick: org-mode -> Org mode

> +    (description
> +     "@code{emacs-weblorg} is a static site generator for org-mode,
> +based on @code{templatel} library.")

Nitpick: @code{emacs-weblorg} -> Weblorg, org-mode -> Org mode. I also
suggest to remove the reference about Templatel library in the
description.

Could you send an updated patch? If you have any trouble doing so,
please let us know.

Regards,
-- 
Nicolas Goaziou






Information forwarded to guix-patches <at> gnu.org:
bug#74051; Package guix-patches. (Mon, 28 Oct 2024 12:10:02 GMT) Full text and rfc822 format available.

Message #11 received at 74051 <at> debbugs.gnu.org (full text, mbox):

From: Mattia Bunel <mattia.bunel <at> ehess.fr>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 74051 <at> debbugs.gnu.org, Katherine Cox-Buday <cox.katherine.e+guix <at> gmail.com>,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 Andrew Tropin <andrew <at> trop.in>
Subject: Re: [bug#74051] [PATCH] gnu: Add emacs-weblorg
Date: Mon, 28 Oct 2024 13:08:22 +0100
Hello Nicolas,

Thanks for your review.

I've written a new patch based on your comments. What is the correct 
procedure for sending it? Should I send a patch based on *origin/master* 
or the previous patch you reviewed?

For documentation, the weblorg *doc/* folder contains the sources for 
the project website. My opinion is therefore not to include them.

Regards,

Le 28/10/2024 à 00:18, Nicolas Goaziou a écrit :
> Hello,
> 
> Mattia Bunel <mattia.bunel <at> ehess.fr> writes:
> 
>> Change-Id: Iae2d6cbbadec7a171e1e5b8502d4f47701d7af5b
> 
> Thank you for your patch. There are some (small) things to fix before it
> can be merged, tho.
> 
> First you need to write a proper commit message, such as:
> 
>    gnu: Add emacs-weblorg.
> 
>    * gnu/packages/emacs-xyz.scm (emacs-weblorg): New variable.
> 
>> +(define-public emacs-weblorg
>> +  (package
>> +    (name "emacs-weblorg")
>> +    (version "0.1.2")
> 
> The version is not actually "0.1.2", or rather, it seems we need to pick
> a commit after this tag. You should let-bind the commit hash, i.e.,
> "0db218bd6b2e083546d3a69a022dfb1a08900acd", to a `commit' symbol.
> Then, `version' field would become:
> 
>    (version (git-version "0.1.2" revision commit))
> 
> See, e.g., `emacs-taskrunner' package definition.
> 
>> +    (source
>> +     (origin
>> +       (method url-fetch)
>> +       (uri (string-append "https://stable.melpa.org/packages/" "weblorg-"
>> +                           version ".tar"))
> 
> Upstream is on GitHub, not on Stable MELPA. The package should use
> `git-fetch' method, and
> 
>    (uri (git-reference
>          (url "https://github.com/emacs-love/weblorg")
>          (commit commit)))
> 
> as the `uri' field.
> 
> Also, you need to add
> 
>    (file-name (git-file-name name version))
> 
> before the `sha256' field.
> 
>> +       (sha256
>> +        (base32 "0lvjfhysiyaz8klbj01da5jdjw1p4vvd9kl1zmi9vciazayh82ch"))))
>> +    (build-system emacs-build-system)
> 
> There are tests. You may want to run them, probably with
> 
>    (arguments
>     (list #:tests? #t
>           #:test-command '("emacs" "--batch"
>                            "-l" "t/weblorg-tests.el"
>                            "-f" "ert-run-tests-batch-and-exit")))
> 
> There seem to be some documentation in the "doc/" directory. What should
> be done about it?
> 
>> +    (propagated-inputs (list emacs-templatel))
>> +    (home-page "https://emacs.love/weblorg")
>> +    (synopsis "Static site generator for org-mode")
> 
> Nitpick: org-mode -> Org mode
> 
>> +    (description
>> +     "@code{emacs-weblorg} is a static site generator for org-mode,
>> +based on @code{templatel} library.")
> 
> Nitpick: @code{emacs-weblorg} -> Weblorg, org-mode -> Org mode. I also
> suggest to remove the reference about Templatel library in the
> description.
> 
> Could you send an updated patch? If you have any trouble doing so,
> please let us know.
> 
> Regards,




Information forwarded to andrew <at> trop.in, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org:
bug#74051; Package guix-patches. (Mon, 28 Oct 2024 15:45:02 GMT) Full text and rfc822 format available.

Message #14 received at 74051 <at> debbugs.gnu.org (full text, mbox):

From: Mattia Bunel <mattia.bunel <at> ehess.fr>
To: 74051 <at> debbugs.gnu.org
Cc: Mattia Bunel <mattia.bunel <at> ehess.fr>
Subject: [PATCH] gnu: Add emacs-weblorg
Date: Mon, 28 Oct 2024 16:42:14 +0100
* gnu/packages/emacs-xyz.scm (emacs-weblorg): New Variable.

Change-Id: Iae2d6cbbadec7a171e1e5b8502d4f47701d7af5b
---
 gnu/packages/emacs-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 488b4cb5d7..18ae6937bb 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -38230,6 +38230,38 @@ (define-public emacs-org-static-blog
 a @samp{date} keywords, and optionally, a @samp{filetags} keyword.")
     (license license:bsd-3)))
 
+(define-public emacs-weblorg
+  (let ((commit "0db218bd6b2e083546d3a69a022dfb1a08900acd")
+        (revision "0"))
+    (package
+      (name "emacs-weblorg")
+      (version (git-version "0.1.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/emacs-love/weblorg")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0fijrzc96p3jkq53i65bzhmxqyg28a49n21glkzb5b21agy0cdqh"))))
+      (build-system emacs-build-system)
+      (arguments
+       (list
+        #:tests? #t
+        #:test-command #~(list "emacs"
+                               "--quick"
+                               "--batch"
+                               "-l"
+                               "t/weblorg-tests.el"
+                               "-f"
+                               "ert-run-tests-batch-and-exit")))
+      (propagated-inputs (list emacs-templatel))
+      (home-page "https://emacs.love/weblorg")
+      (synopsis "Static site generator for Org mode")
+      (description "@code{Weblorg} is a static site generator for Org mode.")
+      (license license:gpl3+))))
+
 (define-public emacs-ddskk
   (let ((commit "8c47f46e38a29a0f3eabcd524268d20573102467")
         (revision "0"))

base-commit: 091131af64fd4e4e925fff829fa19097cfcdfcc5
-- 
2.47.0





Information forwarded to guix-patches <at> gnu.org:
bug#74051; Package guix-patches. (Tue, 12 Nov 2024 13:46:02 GMT) Full text and rfc822 format available.

Message #17 received at 74051 <at> debbugs.gnu.org (full text, mbox):

From: Cayetano Santos <csantosb <at> inventati.org>
To: control <at> debbugs.gnu.org,74051 <at> debbugs.gnu.org
Subject: QA review for 74051
Date: Tue, 12 Nov 2024 14:45:28 +0100
user guix
usertag 74051 + waiting-on-contributor
thanks

Guix QA review form submission:

- watch the commit message (missing trailing dot)

    gnu: Add emacs-weblorg.

- same with home page (missing trailing slash)

    https://emacs.love/weblorg/

- synopsis and description are pretty the same, you’ll find inspiration
  on equivalent packages

-Items marked as checked:

- Commit messages
- Package builds
- Lint warnings
- Package tests
- Package style
- List dependent packages build

- New package licenses
- New package tests
- New package synopsis and descriptions




Information forwarded to mattia.bunel <at> ehess.fr, mail <at> nicolasgoaziou.fr, csantosb <at> inventati.org, guix-patches <at> gnu.org:
bug#74051; Package guix-patches. (Wed, 27 Nov 2024 10:54:02 GMT) Full text and rfc822 format available.

Message #20 received at 74051 <at> debbugs.gnu.org (full text, mbox):

From: Mattia Bunel <mattia.bunel <at> ehess.fr>
To: 74051 <at> debbugs.gnu.org
Cc: Mattia Bunel <mattia.bunel <at> ehess.fr>
Subject: [PATCH] gnu: Add emacs-weblorg.
Date: Wed, 27 Nov 2024 11:53:21 +0100
* gnu/packages/emacs-xyz.scm (emacs-weblorg): New Variable.

Change-Id: Iae2d6cbbadec7a171e1e5b8502d4f47701d7af5b
---
 gnu/packages/emacs-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6e8e9f5551..a9a0d6d9ce 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -38424,6 +38424,40 @@ (define-public emacs-org-static-blog
 a @samp{date} keywords, and optionally, a @samp{filetags} keyword.")
     (license license:bsd-3)))
 
+(define-public emacs-weblorg
+  (let ((commit "0db218bd6b2e083546d3a69a022dfb1a08900acd")
+        (revision "0"))
+    (package
+      (name "emacs-weblorg")
+      (version (git-version "0.1.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/emacs-love/weblorg")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0fijrzc96p3jkq53i65bzhmxqyg28a49n21glkzb5b21agy0cdqh"))))
+      (build-system emacs-build-system)
+      (arguments
+       (list
+        #:tests? #t
+        #:test-command #~(list "emacs"
+                               "--quick"
+                               "--batch"
+                               "-l"
+                               "t/weblorg-tests.el"
+                               "-f"
+                               "ert-run-tests-batch-and-exit")))
+      (propagated-inputs (list emacs-templatel))
+      (home-page "https://emacs.love/weblorg/")
+      (synopsis "Static site generator for Org mode")
+      (description "A static site generator particularly suitable for blogs,
+written in Emacs Lisp and with support for templates and themes. It requires
+no external dependencies.")
+      (license license:gpl3+))))
+
 (define-public emacs-ddskk
   (let ((commit "8c47f46e38a29a0f3eabcd524268d20573102467")
         (revision "0"))
-- 
2.47.0





Information forwarded to guix-patches <at> gnu.org:
bug#74051; Package guix-patches. (Fri, 29 Nov 2024 09:51:01 GMT) Full text and rfc822 format available.

Message #23 received at 74051 <at> debbugs.gnu.org (full text, mbox):

From: Cayetano Santos <csantosb <at> inventati.org>
To: Mattia Bunel <mattia.bunel <at> ehess.fr>
Cc: 74051 <at> debbugs.gnu.org, mattia.bunel <at> ehess.fr, mail <at> nicolasgoaziou.fr
Subject: Re: [bug#74051] [PATCH] gnu: Add emacs-weblorg.
Date: Fri, 29 Nov 2024 10:50:47 +0100
Thanks !

Please follow instructions in

    https://guix.gnu.org/manual/en/html_node/Sending-a-Patch-Series.html

in what concerns revised patches so as to follow the different versions
of your patches.

Other than this, looks fine to me.

--
Cayetano Santos




Information forwarded to mattia.bunel <at> ehess.fr, mail <at> nicolasgoaziou.fr, csantosb <at> inventati.org, guix-patches <at> gnu.org:
bug#74051; Package guix-patches. (Fri, 29 Nov 2024 15:43:01 GMT) Full text and rfc822 format available.

Message #26 received at 74051 <at> debbugs.gnu.org (full text, mbox):

From: Mattia Bunel <mattia.bunel <at> ehess.fr>
To: 74051 <at> debbugs.gnu.org
Cc: Mattia Bunel <mattia.bunel <at> ehess.fr>
Subject: [PATCH] gnu: Add emacs-weblorg
Date: Fri, 29 Nov 2024 16:41:38 +0100
Change-Id: Iae2d6cbbadec7a171e1e5b8502d4f47701d7af5b
---
 gnu/packages/emacs-xyz.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5ad6933dc0..1eddf1d4f3 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -38431,6 +38431,26 @@ (define-public emacs-org-static-blog
 a @samp{date} keywords, and optionally, a @samp{filetags} keyword.")
     (license license:bsd-3)))
 
+(define-public emacs-weblorg
+  (package
+    (name "emacs-weblorg")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://stable.melpa.org/packages/" "weblorg-"
+                           version ".tar"))
+       (sha256
+        (base32 "0lvjfhysiyaz8klbj01da5jdjw1p4vvd9kl1zmi9vciazayh82ch"))))
+    (build-system emacs-build-system)
+    (propagated-inputs (list emacs-templatel))
+    (home-page "https://emacs.love/weblorg")
+    (synopsis "Static site generator for org-mode")
+    (description
+     "@code{emacs-weblorg} is a static site generator for org-mode,
+based on @code{templatel} library.")
+    (license license:gpl3+)))
+
 (define-public emacs-ddskk
   (let ((commit "8c47f46e38a29a0f3eabcd524268d20573102467")
         (revision "0"))

base-commit: f129a6cc591817c5c51770d5b8712eeb344ba4e4
-- 
2.47.0





Information forwarded to mattia.bunel <at> ehess.fr, mail <at> nicolasgoaziou.fr, csantosb <at> inventati.org, guix-patches <at> gnu.org:
bug#74051; Package guix-patches. (Fri, 29 Nov 2024 15:44:02 GMT) Full text and rfc822 format available.

Message #29 received at 74051 <at> debbugs.gnu.org (full text, mbox):

From: Mattia Bunel <mattia.bunel <at> ehess.fr>
To: 74051 <at> debbugs.gnu.org
Cc: Mattia Bunel <mattia.bunel <at> ehess.fr>
Subject: [PATCH v1] gnu: Add emacs-weblorg
Date: Fri, 29 Nov 2024 16:42:53 +0100
* gnu/packages/emacs-xyz.scm (emacs-weblorg): New Variable.

Change-Id: Iae2d6cbbadec7a171e1e5b8502d4f47701d7af5b
---
 gnu/packages/emacs-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5ad6933dc0..f458a61503 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -38431,6 +38431,38 @@ (define-public emacs-org-static-blog
 a @samp{date} keywords, and optionally, a @samp{filetags} keyword.")
     (license license:bsd-3)))
 
+(define-public emacs-weblorg
+  (let ((commit "0db218bd6b2e083546d3a69a022dfb1a08900acd")
+        (revision "0"))
+    (package
+      (name "emacs-weblorg")
+      (version (git-version "0.1.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/emacs-love/weblorg")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0fijrzc96p3jkq53i65bzhmxqyg28a49n21glkzb5b21agy0cdqh"))))
+      (build-system emacs-build-system)
+      (arguments
+       (list
+        #:tests? #t
+        #:test-command #~(list "emacs"
+                               "--quick"
+                               "--batch"
+                               "-l"
+                               "t/weblorg-tests.el"
+                               "-f"
+                               "ert-run-tests-batch-and-exit")))
+      (propagated-inputs (list emacs-templatel))
+      (home-page "https://emacs.love/weblorg")
+      (synopsis "Static site generator for Org mode")
+      (description "@code{Weblorg} is a static site generator for Org mode.")
+      (license license:gpl3+))))
+
 (define-public emacs-ddskk
   (let ((commit "8c47f46e38a29a0f3eabcd524268d20573102467")
         (revision "0"))

base-commit: f129a6cc591817c5c51770d5b8712eeb344ba4e4
-- 
2.47.0





Information forwarded to mattia.bunel <at> ehess.fr, mail <at> nicolasgoaziou.fr, csantosb <at> inventati.org, guix-patches <at> gnu.org:
bug#74051; Package guix-patches. (Fri, 29 Nov 2024 15:44:02 GMT) Full text and rfc822 format available.

Message #32 received at 74051 <at> debbugs.gnu.org (full text, mbox):

From: Mattia Bunel <mattia.bunel <at> ehess.fr>
To: 74051 <at> debbugs.gnu.org
Cc: Mattia Bunel <mattia.bunel <at> ehess.fr>
Subject: [PATCH v2] gnu: Add emacs-weblorg.
Date: Fri, 29 Nov 2024 16:43:11 +0100
* gnu/packages/emacs-xyz.scm (emacs-weblorg): New Variable.

Change-Id: Iae2d6cbbadec7a171e1e5b8502d4f47701d7af5b
---
 gnu/packages/emacs-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5ad6933dc0..3ae7a40c79 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -38431,6 +38431,40 @@ (define-public emacs-org-static-blog
 a @samp{date} keywords, and optionally, a @samp{filetags} keyword.")
     (license license:bsd-3)))
 
+(define-public emacs-weblorg
+  (let ((commit "0db218bd6b2e083546d3a69a022dfb1a08900acd")
+        (revision "0"))
+    (package
+      (name "emacs-weblorg")
+      (version (git-version "0.1.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/emacs-love/weblorg")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0fijrzc96p3jkq53i65bzhmxqyg28a49n21glkzb5b21agy0cdqh"))))
+      (build-system emacs-build-system)
+      (arguments
+       (list
+        #:tests? #t
+        #:test-command #~(list "emacs"
+                               "--quick"
+                               "--batch"
+                               "-l"
+                               "t/weblorg-tests.el"
+                               "-f"
+                               "ert-run-tests-batch-and-exit")))
+      (propagated-inputs (list emacs-templatel))
+      (home-page "https://emacs.love/weblorg/")
+      (synopsis "Static site generator for Org mode")
+      (description "A static site generator particularly suitable for blogs,
+written in Emacs Lisp and with support for templates and themes. It requires
+no external dependencies.")
+      (license license:gpl3+))))
+
 (define-public emacs-ddskk
   (let ((commit "8c47f46e38a29a0f3eabcd524268d20573102467")
         (revision "0"))

base-commit: f129a6cc591817c5c51770d5b8712eeb344ba4e4
-- 
2.47.0





Information forwarded to guix-patches <at> gnu.org:
bug#74051; Package guix-patches. (Fri, 29 Nov 2024 15:48:01 GMT) Full text and rfc822 format available.

Message #35 received at 74051 <at> debbugs.gnu.org (full text, mbox):

From: Mattia Bunel <mattia.bunel <at> ehess.fr>
To: 74051 <at> debbugs.gnu.org
Cc: Mattia Bunel <mattia.bunel <at> ehess.fr>,
 Cayetano Santos <csantosb <at> inventati.org>,
 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Subject: Re: [PATCH] gnu: Add emacs-weblorg
Date: Fri, 29 Nov 2024 16:47:32 +0100
[Message part 1 (text/plain, inline)]
Thanks for the review.

I've sent back all the patches with the version number. I hope it's all 
good.

Mattia
[OpenPGP_0xBC7A2A280F4E9EE2.asc (application/pgp-keys, attachment)]
[OpenPGP_signature.asc (application/pgp-signature, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#74051; Package guix-patches. (Fri, 29 Nov 2024 20:52:02 GMT) Full text and rfc822 format available.

Message #38 received at 74051 <at> debbugs.gnu.org (full text, mbox):

From: Cayetano Santos <csantosb <at> inventati.org>
To: Mattia Bunel <mattia.bunel <at> ehess.fr>
Cc: 74051 <at> debbugs.gnu.org, Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Subject: Re: [bug#74051] [PATCH v2] gnu: Add emacs-weblorg.
Date: Fri, 29 Nov 2024 21:51:05 +0100
>ven. 29 nov. 2024 at 16:43, Mattia Bunel <mattia.bunel <at> ehess.fr> wrote:

> +      (description "A static site generator particularly suitable for blogs,
> +written in Emacs Lisp and with support for templates and themes. It requires
> +no external dependencies.")

Sentences in description should be followed by two spaces.

You may check your code before submitting with:

./pre-inst-env guix lint emacs-weblorg
./pre-inst-env guix style emacs-weblorg

and your description  here

https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html

Thanks !

--
Cayetano Santos




Information forwarded to mattia.bunel <at> ehess.fr, mail <at> nicolasgoaziou.fr, csantosb <at> inventati.org, andrew <at> trop.in, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org:
bug#74051; Package guix-patches. (Sat, 30 Nov 2024 17:02:02 GMT) Full text and rfc822 format available.

Message #41 received at 74051 <at> debbugs.gnu.org (full text, mbox):

From: Mattia Bunel <mattia.bunel <at> ehess.fr>
To: 74051 <at> debbugs.gnu.org
Cc: Mattia Bunel <mattia.bunel <at> ehess.fr>
Subject: [PATCH v3] gnu: Add emacs-weblorg.
Date: Sat, 30 Nov 2024 18:01:08 +0100
* gnu/packages/emacs-xyz.scm (emacs-weblorg): New Variable.

Change-Id: Iae2d6cbbadec7a171e1e5b8502d4f47701d7af5b
---
 gnu/packages/emacs-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5ad6933dc0..cd71d3852c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -38431,6 +38431,41 @@ (define-public emacs-org-static-blog
 a @samp{date} keywords, and optionally, a @samp{filetags} keyword.")
     (license license:bsd-3)))
 
+(define-public emacs-weblorg
+  (let ((commit "0db218bd6b2e083546d3a69a022dfb1a08900acd")
+        (revision "0"))
+    (package
+      (name "emacs-weblorg")
+      (version (git-version "0.1.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/emacs-love/weblorg")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0fijrzc96p3jkq53i65bzhmxqyg28a49n21glkzb5b21agy0cdqh"))))
+      (build-system emacs-build-system)
+      (arguments
+       (list
+        #:tests? #t
+        #:test-command #~(list "emacs"
+                               "--quick"
+                               "--batch"
+                               "-l"
+                               "t/weblorg-tests.el"
+                               "-f"
+                               "ert-run-tests-batch-and-exit")))
+      (propagated-inputs (list emacs-templatel))
+      (home-page "https://emacs.love/weblorg/")
+      (synopsis "Static site generator for Org mode")
+      (description
+       "A static site generator particularly suitable for blogs,
+written in Emacs Lisp and with support for templates and themes.  It requires
+no external dependencies.")
+      (license license:gpl3+))))
+
 (define-public emacs-ddskk
   (let ((commit "8c47f46e38a29a0f3eabcd524268d20573102467")
         (revision "0"))

base-commit: f129a6cc591817c5c51770d5b8712eeb344ba4e4
-- 
2.47.0





Information forwarded to guix-patches <at> gnu.org:
bug#74051; Package guix-patches. (Sun, 01 Dec 2024 08:57:01 GMT) Full text and rfc822 format available.

Message #44 received at 74051 <at> debbugs.gnu.org (full text, mbox):

From: Cayetano Santos <csantosb <at> inventati.org>
To: GNU bug tracker automated control server <control <at> debbugs.gnu.org>
Cc: 74051 <at> debbugs.gnu.org, mattia.bunel <at> ehess.fr,
 cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, andrew <at> trop.in,
 mail <at> nicolasgoaziou.fr
Subject: Re: [bug#74051] [PATCH v3] gnu: Add emacs-weblorg.
Date: Sun, 01 Dec 2024 09:56:39 +0100
Thanks !

user guix
usertag 74051 + review-looks-good
thanks

-Items marked as checked:

- Commit messages
- Package builds
- Lint warnings
- Package tests
- Package style
- List dependent packages build

- New package licenses
- New package tests
- New package synopsis and descriptions

--
Cayetano Santos




Reply sent to Andreas Enge <andreas <at> enge.fr>:
You have taken responsibility. (Sat, 07 Dec 2024 13:53:03 GMT) Full text and rfc822 format available.

Notification sent to Mattia Bunel <mattia.bunel <at> ehess.fr>:
bug acknowledged by developer. (Sat, 07 Dec 2024 13:53:04 GMT) Full text and rfc822 format available.

Message #49 received at 74051-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: 74051-done <at> debbugs.gnu.org
Subject: Close
Date: Sat, 7 Dec 2024 14:52:37 +0100
Thanks for the patch, the reviews, and your reactivity in making
changes! I have slightly modified the description - it should consist of
full sentences - and pushed the commit.

Andreas





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 05 Jan 2025 12:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 246 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.