From unknown Tue Jun 17 01:32:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#74864 <74864@debbugs.gnu.org> To: bug#74864 <74864@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add adl-submit.py Reply-To: bug#74864 <74864@debbugs.gnu.org> Date: Tue, 17 Jun 2025 08:32:10 +0000 retitle 74864 [PATCH] gnu: Add adl-submit.py reassign 74864 guix-patches submitter 74864 Denis 'GNUtoo' Carikli severity 74864 normal tag 74864 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 13 20:26:23 2024 Received: (at submit) by debbugs.gnu.org; 14 Dec 2024 01:26:23 +0000 Received: from localhost ([127.0.0.1]:44870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMGvD-0000Qc-4H for submit@debbugs.gnu.org; Fri, 13 Dec 2024 20:26:23 -0500 Received: from lists.gnu.org ([209.51.188.17]:59282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMGvA-0000QQ-Rs for submit@debbugs.gnu.org; Fri, 13 Dec 2024 20:26:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMGvA-000864-5Q for guix-patches@gnu.org; Fri, 13 Dec 2024 20:26:16 -0500 Received: from cyberdimension.org ([2001:678:938:3ff::36] helo=rockpro64.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tMGv7-0002qz-2g for guix-patches@gnu.org; Fri, 13 Dec 2024 20:26:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=dkim; bh=my7tkBykN7M/7N/ YWIJUUqCzDVKkr0KKrvAtF2hETVI=; h=date:subject:cc:to:from; d=cyberdimension.org; b=hc4cr9OQvfTof9FcaCUHFs81J3vYWuZEyD+cD8581VAs1E TeUrLacUCmIVM4fBUrSSSsr9yk0xh+Pz+n/eFphLJltYVyRIekgN7g2vwa2NTdHJXFpvuQ dl0NIBxXujlPQBTcKD89tS1OuwPSZ9boPD7oZMcoyzQedo4mgeMHOFLQXhrFvlidyTz60D i5yywmsRxjRXMirBPKRlwAwkQLfIGV4FBQ42K6DfZyLrnWe3YdpcZ5gO8v2e0RY/GAMOp2 0O8gQ58gp5gINmmfchqDI8AlIu/djnqjhUQjNKhsnKbOfHDZieqUwCsJcpAaKWYiD9BQED Jm8+Ih7fb4hBjaWg== Received: from localhost.localdomain (localhost [127.0.0.1]) by rockpro64.cyberdimension.org (OpenSMTPD) with ESMTP id 5ca75ed3; Sat, 14 Dec 2024 01:26:04 +0000 (UTC) From: Denis 'GNUtoo' Carikli To: guix-patches@gnu.org Subject: [PATCH] gnu: Add adl-submit.py Date: Sat, 14 Dec 2024 02:25:30 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:678:938:3ff::36; envelope-from=GNUtoo@cyberdimension.org; helo=rockpro64.cyberdimension.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Denis 'GNUtoo' Carikli X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/calendar.scm (adl-submit.py): New variable. Signed-off-by: Denis 'GNUtoo' Carikli Change-Id: Icd9438fbaf2c53635989fb8cfb443d2c3e541eff --- gnu/packages/calendar.scm | 44 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm index 6717db867f..069e3c05ca 100644 --- a/gnu/packages/calendar.scm +++ b/gnu/packages/calendar.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2020 Peng Mei Yu ;;; Copyright © 2021 Wamm K. D. ;;; Copyright © 2022 Maxim Cournoyer +;;; Copyright © 2024 Denis 'GNUtoo' Carikli ;;; ;;; This file is part of GNU Guix. ;;; @@ -56,6 +57,7 @@ (define-module (gnu packages calendar) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-build) + #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) #:use-module (gnu packages sphinx) @@ -65,6 +67,48 @@ (define-module (gnu packages calendar) #:use-module (gnu packages xml) #:use-module (srfi srfi-26)) +(define-public adl-submit.py + (let ((revision "1") + (commit "e20998c17475e64676173828385f22a6d5801240")) + (package + (name "adl-submit.py") + (version (git-version "1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://framagit.org/agenda-libre/agenda-libre-ruby.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1jpasv7skpbi20674f23kbgw2fj78ywhnd542cwgkc65v2s6s4lh")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f ; No tests + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda _ + (install-file + "public/adl-submit.py" (string-append #$output "/bin")) + (wrap-program (string-append #$output "/bin/adl-submit.py") + `("GUIX_PYTHONPATH" ":" + prefix (,(getenv "GUIX_PYTHONPATH"))))))))) + (inputs (list python python-pycurl)) + (home-page "https://www.agendadulibre.org") + (synopsis "Submit events to the Agenda Du Libre") + (description "adl-submit.py is a tool that can be used to submit events +to any instance of the Agenda Du Libre (a web calendar originally meant for +free software events). Users can set fields through the command line or +create an XML that can be submitted with the adl-submit.py tool. While the +Agenda Du Libre web application is available in multiple languages, most of +the events on https://www.agendadulibre.org are in French and the +adl-submit.py tool is only available in French.") + (license license:gpl2)))) + (define-public date ;; We make the same choice as the Arch package maintainer by choosing a ;; recent commit to fix some bugs. base-commit: 0787a180b3ca64d3958438920ca1b58a2a27fba4 -- 2.46.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 16 13:02:26 2025 Received: (at 74864) by debbugs.gnu.org; 16 Jan 2025 18:02:26 +0000 Received: from localhost ([127.0.0.1]:34585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tYUCH-0001eZ-Q7 for submit@debbugs.gnu.org; Thu, 16 Jan 2025 13:02:26 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:54685) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tYUC7-0001dZ-MA for 74864@debbugs.gnu.org; Thu, 16 Jan 2025 13:02:16 -0500 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3863494591bso691804f8f.1 for <74864@debbugs.gnu.org>; Thu, 16 Jan 2025 10:02:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737050529; x=1737655329; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=7HC//KTA7FyFPvXJE2GQwdXqLGXVxG/JjCQAuPHz1m4=; b=Lw6SO8PgkF2hzHB0DaA11+yg1TY+wWU4agsQ61Uqhxyd2vnv2Sv37X9EeP+nv3Be+r eWtnLTzHv8V+coeRBQrXAUeJ+WQ4N0wqrAv/ZWvHrq0uo3G58n0Lx7GynLkn/pnKMUxp PwgiSH1xKohKUa+zA9ox5rcuLvZPGTFZ1Iq54wc8YCq4/UsgBIRzMAupS/dBUAVO7tqe lMIDP1UlSG5lbBDrd08BhFN1zJbneqBGXOTEnvK72QRKajldE1KI9cSSm9r5obeV+c/z F3qnF7B4k3kRUcfZvgr6qTFwPL6aaTrPsEi+AouuYog27xssxcabmvJWjF+gZE1xARXP 6dJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737050529; x=1737655329; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7HC//KTA7FyFPvXJE2GQwdXqLGXVxG/JjCQAuPHz1m4=; b=rvKqbx0a/xmjDqhRtZ8AOlPjxrtRuvsWZjUsXC0sJTc6+AHny7tbWwYaa2i6ftgPLL I/1Opdk6Vi204Zu5CdWJmP5Jtmo+tsJihQ+oKxBD5eP90usTbb8vwGkBTuNzGotDU0fh p9enACVHsRqKxSNwP8RBNB3AqpNdCYn0Gp5hpxI+GrI/tiqmkmRwQKZga7a6kxM1v3g1 e0kBhyT6FFG5IihI1ZYXKg3UNLTCn3zjE/FiFMeOZyXjpTM49FuVOuiZQ7PirhRwcbQQ kb3pFr7oxpLMqUU8DU/eV3YedKtF3cWL8swd1c4K2lpkT9v7X6DgYPeo/X6YMNfJB5bf h2jw== X-Forwarded-Encrypted: i=1; AJvYcCU+iu0DOiWi5cL6F5PVfMrFhYvu++PFQdTwoFCMyoQVXXZedbjmtWZyDAkBlsUSnwNKJuRWHg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yw2+vR3ra+ql3ljn71h1w57KZVAf4gvE6TU2tVu0oy1hLl3nZLb ShdFSSvGMo449mbgtFKWcq3lzlCqQKdqSA4SsVfuMFzuJ+9I626l X-Gm-Gg: ASbGncv1fMxCLMnTEzNaYImLz3n2J32q+9WiKm/JbJKLYXDrSD0fqzWHVSsdaBLyByt TZp0cjflJC+tFgOqLZDU4e34TOkiqr9cPjUnTo7+IpNuwYkWXTHX4FRrG1UoRx5rLRzxJSF+8wk q5KtrbLc1UgX6Ri5rAo84IJCIl5UkqsLChH1L95I0qWg8aDuC+MUmPjDmvdnWZ7GuROkwqD+92Q qrk1zvx7Yjb/EYa9V20it3aWQ8EYVX/8K/Hj+dquodawXPeCF3Ji5caOMGbbh4IKIo1YuHBmJow yMZ0LxsTemZIrXWZ1LtYF1y4NocsERQMYw8umxLHqg== X-Google-Smtp-Source: AGHT+IGQlMwzRjj1Q34AhrgGpHxHyz1eJ9HN8cSuk/oOhHM0BUkCZ6N1OAi3rwSyzIre2wiOUP1iMw== X-Received: by 2002:a05:6000:490e:b0:386:32cb:4aa with SMTP id ffacd0b85a97d-38a8730ef59mr31849626f8f.45.1737050528519; Thu, 16 Jan 2025 10:02:08 -0800 (PST) Received: from lili (roam-nat-fw-prg-194-254-61-45.net.univ-paris-diderot.fr. [194.254.61.45]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38bf322a506sm451137f8f.41.2025.01.16.10.02.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2025 10:02:07 -0800 (PST) From: Simon Tournier To: Denis 'GNUtoo' Carikli , 74864@debbugs.gnu.org Subject: Re: [bug#74864] [PATCH] gnu: Add adl-submit.py In-Reply-To: References: Date: Thu, 16 Jan 2025 13:27:01 +0100 Message-ID: <87tt9zrlka.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Denis, CC: Python team because it’s a Python script after all. :-) On Sat, 14 Dec 2024 at 02:25, Denis 'GNUtoo' Carikli wrote: Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zimon.toutoune[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:435 listed in] [list.dnswl.org] X-Debbugs-Envelope-To: 74864 Cc: Sharlatan Hellseher , Munyoki Kilyungi , Lars-Dominik Braun , jgart , Marius Bakke , Tanguy Le Carrour X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.1 (/) Hi Denis, CC: Python team because it=E2=80=99s a Python script after all. :-) On Sat, 14 Dec 2024 at 02:25, Denis 'GNUtoo' Carikli wrote: > * gnu/packages/calendar.scm (adl-submit.py): New variable. Cool! Thank you. > +(define-public adl-submit.py [...] > + (build-system gnu-build-system) > + (arguments > + (list > + #:tests? #f ; No tests > + #:phases > + #~(modify-phases %standard-phases > + (delete 'configure) > + (delete 'build) > + (replace 'install > + (lambda _ > + (install-file > + "public/adl-submit.py" (string-append #$output "/bin")) > + (wrap-program (string-append #$output "/bin/adl-submit.py") > + `("GUIX_PYTHONPATH" ":" > + prefix (,(getenv "GUIX_PYTHONPATH"))))))))) Since it =E2=80=9Conly=E2=80=9C copies =E2=80=99public/adl-submit.py=E2=80= =99, why not rely on =E2=80=99copy-build-system=E2=80=99 instead? Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 16 16:11:18 2025 Received: (at 74864) by debbugs.gnu.org; 16 Jan 2025 21:11:18 +0000 Received: from localhost ([127.0.0.1]:34876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tYX93-0004ib-R8 for submit@debbugs.gnu.org; Thu, 16 Jan 2025 16:11:18 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:57374) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tYX91-0004iN-0y for 74864@debbugs.gnu.org; Thu, 16 Jan 2025 16:11:15 -0500 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-385de9f789cso1075354f8f.2 for <74864@debbugs.gnu.org>; Thu, 16 Jan 2025 13:11:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737061869; x=1737666669; darn=debbugs.gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=hxsxVrL95R9qnQkQUg/vQco6w86UVtnXbNla64gAN9c=; b=Os1F64W0uTKKn4EdGwXUpjmaK4oBFUE/ZOouKXTISX5q5IVqEse6DJX71Wx3lF0UOi GUqIHSaVOTKVDFeulz7PkOMRHZoqOImzIK8TlrLI7qzLFoqZuBI28jwYceFr1JdeBSL1 gE1Ani/rHBmoc+eV3oqikVMD5Ed0cSIe7Ca4TpKmFALD1owHPB3pVMUvryvgq/1Fly5s 3fZTcTp1FZgSEMbvddvs01LT+rMqomqVVOovfZvzCqGuLKTfDv67d9S1EHjklvJ2fuWe 2kbpAjQhBlD8hZs52Wlaq1tPu9zO6jIUCuTcTc+rJtkTTE8hsOfDGvDE5VP00nb8Zp2r rRLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737061869; x=1737666669; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hxsxVrL95R9qnQkQUg/vQco6w86UVtnXbNla64gAN9c=; b=LOHo34KGtWeZF1wIE6Ed2z7VJCf2eTvn3fSYnbbkAfYjaPOFKVHyo4oPCfZW/COPaO nUj6821DHgDPpT/V38khcqonjMHFvvpnJgXE+WSPWeKSomoV0naQEqOcXEUT50X61Jt+ u5AkJXhZbaJERO6+ka5Ui45PcaCADMlDDT6gpcIUPAHF9zW03xOI83CcsrDOzZWWKb43 JZV9JktuRoy+U+5fI8OfnFoAOPTe9Wrs08KwWFik8SvLgb2T5+Isi9lDGIeFs1CShLAa 0JDV1dLp4fTW7M2VslkLLgJYqXh/ziTzRAvOPbuHNRiXuzDiPeK2YzK/fEJXwchrCwBs 4RrA== X-Gm-Message-State: AOJu0Yxd1nQx/tLek9ZYozFB4AAHq6JqqwihrLP+QTK8VuMcZHC4v+Hy lTorH1ZQJuyygNh6qZuyab1m8NBWNgPIM1yvoy+WOIzRrv4BaA/hENVMRMC8 X-Gm-Gg: ASbGncvHdPSyP4T/X1h/lT5ayBi3f4UiXLrx+FL4XpDD3rpyATYA5JWSP3tRuuXsowQ StGhO1Txty6/YItSw7PkOePdkqvPpVLTWkGDf52wFYuaxQtqRVAtlmyC/iC7dnOhFEXw9FTvA31 r45408L4vaKkTA1d+J31k2tfwtbXUn2d4N3VEkal9x4FbaIWCglDZn0zyjDnzbSG6296WC4u5Iy x5A9rLYIFY2Y2hdMju/uzgfl2fzT3udFeib0Kf98GH1rSjV6owkIAsu/904o624JpGaI8u/fYiw twyha8YcFpALr1AcaZSKPd9EDAVHjyLA X-Google-Smtp-Source: AGHT+IFkePujtcERuW1sKwKKBVh27Oi27AgQnSzGvEvpTVq+pnUr7paZNWYxNHvmIE8jVuZcFN+2RA== X-Received: by 2002:a5d:64a1:0:b0:385:f44a:a53 with SMTP id ffacd0b85a97d-38bf5655b07mr103159f8f.4.1737061868600; Thu, 16 Jan 2025 13:11:08 -0800 (PST) Received: from guxtil (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-437c74c4751sm70420205e9.19.2025.01.16.13.11.07 for <74864@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jan 2025 13:11:07 -0800 (PST) From: Sharlatan Hellseher To: 74864@debbugs.gnu.org Subject: [PATCH] gnu: Add adl-submit.py Date: Thu, 16 Jan 2025 21:11:02 +0000 Message-ID: <87v7ueihw9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74864 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Hi, I've checked the project on , and looks like a full featured application where public/adl-submit.py is served by the web server. Question of interest, why we need to pack just one script out of the whole project :-)? -- Oleg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmeJdeYACgkQdtcnv/Ys 0rUTMg/+KLEoPOUvQ0Yr0NHzXrKYMjMGHb3agt/DFLu/+WX4KRAHRN9dfC5uNWyc T3ImdZfSWXe/HJJMooJTiCZGVrQIdaREEXUeTXYwN5fICq22mzpuua3gTwkDV7IN /8g4TXTNrVzLMxKRvigCrv/bjs1vnucCiEVTjJmtVSgvdTfiIvSCpd7daiC0vAqx ZdBzoge7v8ZApqtDF4v6edZe7q583vixxdlJwcYAcyYhHXyFo2DnvE9gimaZrwBa XnShFsSm/dZhN3Qf3lP2fyER6GSa2vnl2IZ+T3RovdR4rJjxW2II/Y90zcLiuVyw NmtZSDM9Q/eew0lNUWJ1D2Ye4mgEo5ZxQ5zlvVT4Tmpd+PjfF9+3fUrr25Xc3K3D BJJ5l/B9piBxbINMIuPe5LqCUyypv9Na+MkM6tb6zeVbbAgyQjQKir0yUCQI9b/9 GHq/JLst8uZ4HXoavUUVXR1uT4yX75bZlaEB602eFMBlYbI5im9sJ+4IfBw9HpRz hBRWJiXmjzPDovw3Yp+lVKjUUkZaK1Q3F3GeHwyJ2PnlJ1dP4gdaPBajCW+tnOan 49pJTdnExQid30REudlXrwVv3vkghVjEw3l9kp5INkrdd8O2qM9WqtCIqVF4jVNv 10YLYacMZWAJ7KLRvr2kdZlL5hZYAKKI91Wqv127ggp/dI8p4Ps= =XacG -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 21 12:19:02 2025 Received: (at 74864) by debbugs.gnu.org; 21 Jan 2025 17:19:03 +0000 Received: from localhost ([127.0.0.1]:55971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1taHu2-0001ac-1k for submit@debbugs.gnu.org; Tue, 21 Jan 2025 12:19:02 -0500 Received: from cyberdimension.org ([2001:678:938:3ff::36]:53960 helo=rockpro64.cyberdimension.org) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1taHty-0001aJ-C2 for 74864@debbugs.gnu.org; Tue, 21 Jan 2025 12:19:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=dkim; bh=oGBI/5F73g0B0fE r072lLYw7K+6Q5+JdlpBC6qfbf5Q=; h=date:subject:cc:to:from; d=cyberdimension.org; b=rB0QGY5FpFEYC8pQOzNSQXXs0vpZgqhTU2dEUdL7dlj+HE V0vATu7VyzvNnZdR0oHJY6OvKqwdHZ9s0Mw+GkbVhzDtNB8zghPzogpIqOQwG9qZVwvFKS lgMFcGRuRYQabh9Dn2UswWc6sKxmYMxtHhQanQwurFymuAArN5PAEpmajf8U38F0wid2Ix cRfZ1hfKBMX61msHXIyIIJa1Ds0eNWjT5LFhaPKRhkE0fH+mUv6nN7DYw389h4DaKOYuJa KM0FOdpWmxvl1WpPa7PmPiR3rw0SPK4vuFVs6ci0wO9OA7BWUDGTyroIdvnbKUXJcm2AU7 cXqr7aVnNx3DVKhg== Received: from localhost.localdomain (localhost [127.0.0.1]) by rockpro64.cyberdimension.org (OpenSMTPD) with ESMTP id cace0509; Tue, 21 Jan 2025 17:18:54 +0000 (UTC) From: Denis 'GNUtoo' Carikli To: 74864@debbugs.gnu.org Subject: [PATCH v2] gnu: Add adl-submit.py Date: Tue, 21 Jan 2025 18:18:23 +0100 Message-ID: <4eb4ddd710929754ac28abf26f6a850afb59fc70.1737479903.git.GNUtoo@cyberdimension.org> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74864 Cc: Denis 'GNUtoo' Carikli X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/calendar.scm (adl-submit.py): New variable. Signed-off-by: Denis 'GNUtoo' Carikli Change-Id: Icd9438fbaf2c53635989fb8cfb443d2c3e541eff --- gnu/packages/calendar.scm | 42 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm index 6717db867f2..733ec823ba5 100644 --- a/gnu/packages/calendar.scm +++ b/gnu/packages/calendar.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2020 Peng Mei Yu ;;; Copyright © 2021 Wamm K. D. ;;; Copyright © 2022 Maxim Cournoyer +;;; Copyright © 2024 Denis 'GNUtoo' Carikli ;;; ;;; This file is part of GNU Guix. ;;; @@ -35,6 +36,7 @@ (define-module (gnu packages calendar) #:use-module (guix git-download) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system cmake) @@ -56,6 +58,7 @@ (define-module (gnu packages calendar) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-build) + #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) #:use-module (gnu packages sphinx) @@ -65,6 +68,45 @@ (define-module (gnu packages calendar) #:use-module (gnu packages xml) #:use-module (srfi srfi-26)) +(define-public adl-submit.py + (let ((revision "1") + (commit "e20998c17475e64676173828385f22a6d5801240")) + (package + (name "adl-submit.py") + (version (git-version "1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://framagit.org/agenda-libre/agenda-libre-ruby.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1jpasv7skpbi20674f23kbgw2fj78ywhnd542cwgkc65v2s6s4lh")))) + (build-system copy-build-system) + (arguments + (list + #:install-plan + #~'(("public/adl-submit.py" "bin/adl-submit.py")) + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'wrap-script + (lambda _ + (wrap-program (string-append #$output "/bin/adl-submit.py") + `("GUIX_PYTHONPATH" ":" + prefix (,(getenv "GUIX_PYTHONPATH"))))))))) + (inputs (list python python-pycurl)) + (home-page "https://www.agendadulibre.org") + (synopsis "Submit events to the Agenda Du Libre") + (description "adl-submit.py is a tool that can be used to submit events +to any instance of the Agenda Du Libre (a web calendar originally meant for +free software events). Users can set fields through the command line or +create an XML that can be submitted with the adl-submit.py tool. While the +Agenda Du Libre web application is available in multiple languages, most of +the events on https://www.agendadulibre.org are in French and the +adl-submit.py tool is only available in French.") + (license license:gpl2)))) + (define-public date ;; We make the same choice as the Arch package maintainer by choosing a ;; recent commit to fix some bugs. base-commit: 309ad9fcdacf732691f0220c4122757d9940b97d -- 2.46.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 22 23:33:19 2025 Received: (at 74864) by debbugs.gnu.org; 23 Jan 2025 04:33:19 +0000 Received: from localhost ([127.0.0.1]:38533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1taou7-0001kM-4T for submit@debbugs.gnu.org; Wed, 22 Jan 2025 23:33:19 -0500 Received: from cyberdimension.org ([2001:678:938:3ff::36]:55658 helo=rockpro64.cyberdimension.org) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1taou2-0001jx-Dv for 74864@debbugs.gnu.org; Wed, 22 Jan 2025 23:33:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=dkim; bh=zaRnpDEuwjwfuNB 8mjyNhT0RabJu1QQIiZELJbbAdRg=; h=subject:to:from:date; d=cyberdimension.org; b=VRY1jrnf1Vs4E+ZtfcpWE68s/cNllYYgUykehI/1YAm+Jq ZOqbJD/QPZ1lz+t7QEJdObzqSHrJXW2UpNKz4VtcjJ05TsWhuGyLdpVV9sZ/XVgKaAolAV wFNRJxwuzYXyUjeFP8ZpYu1HLgcND60bUJ/R6XDFYTiqLMXLqEBP3lZ8JJZApd4krLaGKB zw0Wif7K73othW/moOOmD7yNshNYuGPvKHmEIGtT0Pufq1+/v8ywja8naNG2xIRMvw5t0E fDntpZ2FfWlmG5+Etm9YJ6rw8XQr3bGFs5knbrR1FCUA9jUYkD8rZX4su/+mo0ghysDVtT uGNkv2Tl+I25g1rA== Received: from primary_laptop (localhost [127.0.0.1]) by rockpro64.cyberdimension.org (OpenSMTPD) with ESMTP id cf5a2c2b; Thu, 23 Jan 2025 04:33:11 +0000 (UTC) Date: Thu, 23 Jan 2025 05:33:02 +0100 From: Denis 'GNUtoo' Carikli To: 74864@debbugs.gnu.org, Sharlatan Hellseher Subject: Re: [PATCH] gnu: Add adl-submit.py Message-ID: <20250123053302.691863e6@primary_laptop> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.41; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/VlOpTbDceVJAp/eTE7bcf4H"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74864 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --Sig_/VlOpTbDceVJAp/eTE7bcf4H Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable > Hi, Hi, > Question of interest, why we need to pack just one script out of the > whole project :-)? The issue is that the whole project is a web application that is deployed at https://www.agendadulibre.org/ (it's basically a=20 calendar for French free software events). And I'm only interested in packaging a client that connects to that web application to submit events. The use case is that I find adl-submit.py really useful as we heavily depend on adl-submit.py in a French free software user group (Parinux) that I'm part of, and so I thought that maybe other people than me might also need it as well (other people from Parinux, people organizing Guix events in France around Paris because they also publish on the Agenda du libre, etc). This website is really central in the free software community in France. If you need more details on the use case, our workflow at Parinux is the following: we start by creating a new page with a new event (like the install Party for the next month) on our SPIP website, usually by cloning another event (like the install party from the previous month). We have a custom SPIP extension that generates an xml file that is compatible with the adl-submit.py tool. So once the event is published, someone (usually the person that published the event but not always) downloads that XML and runs adl-submit.py on her computer to send it to the Agenda du libre. Then people from the Agenda du libre (it's moderated) accept our event and it gets published there as well. So basically we're not really interested in hosting our own Agenda du libre, we're only interested in sending events its most famous instance. And at least for us it is crucial because people have very little time to do such publication, and the Agenda du libre is also kind of central, and so not publishing there or publishing very late means that way less people go to the event, which is problematic. I think that the use cases are relevant here because as I understand the packages we add to Guix are expected to be maintained somehow, so I think it makes more sense to add packages that people actually use or depend on. Also note that while I heavily depend on this package, I don't know how many other people do or may want to. > I've checked the project on > , and looks like > a full featured application where public/adl-submit.py is served by > the web server. This is actually the case indeed. This also complicates things: contributions to adl-submit.py need to fit into this file because that file is also served by the web application.=20 This is why I didn't translate adl-submit.py in English before sending a patch to add it in Guix. So for instance I can't simply send a patch to adl-submit that uses gettext to translate it in English as well because such modification would make adl-submit.py depend on additional files. Though maybe once it is packaged in Guix, a patch could still be made to optionally add internationalization, and once/if it is merged in adl-submit.py, the Guix package could then be updated to use this optional internationalization feature, making all that a bit more useful and easier for people that don't understand French to understand what all that is about. Also note that the agendadulibre.org website also works fine in English, through not everything is translated. This can be relevant for international conferences that take place in France for instance (assuming they choose to use the Agenda du libre, as not all International conferences do that in France). PS: for some reasons I didn't get your mail, I just replied by copy-pasting it from debbugs. Denis. --Sig_/VlOpTbDceVJAp/eTE7bcf4H Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmeRxn4ACgkQX138wUF3 4mPOEg//WBX+P49pQ8fVfGezSDKQyIIH1LGSfigoCfgPWQJVldWdeO2KlVtRhWpj gj6phzboJkRQtnl4eJQ1EDb+nFvEtNj+Zd1kHVHqTV0yDbOAkkgMRjVX6A3aJAU8 Qvjgdq8nR/bvEeMzgiBN6qQPM+2m31zfpUD+nQezr+5GvqwV1lIhWdj3xur+NsPu uXAjjjgKqIdV6d8PpAaaTLO5pF+l6o06lL6zoFrX8sOK09MPCcVpE5nJky5S2IDE AGDPXUnZ3xT2ws7MZP7qxVdVHQcj4jIeIbuRxWH6gYtp/ap9K0QGdmIeL585Cuxa mWB7vt8SW6hr9nXqY+LaVRCmYj0JOFDtSYPL51r+vKV8BXO189ws+lZeH0L995zg 6PXEs442ACrIzXnTaNVnKkN2r0HtFxBa+D1J9Kd6F28GkaUq6bRzoUttxwiIPxkL wa7LS5txauhrIkHSMnOakjApDp+00FX/6pue4wdOP1HkQ/ubif8GQAt+HNZrt5dm EX30fFP5uRa644GmuUtVR5Hguk3SMjgUs64zClh2zcGD3YLKBOQ4HLadyfSh3uUE Vz4jp42oMJHFIpCQckHPj8gsUt7ufKlx1d3rdkWqkHfnQShpaGRmEzFv/ZVD4JxF AYm/FydnBGYn3O6G5BDWWFkyGgMJgglC4JvJ97UK3Y43Dz2JAPc= =YUrd -----END PGP SIGNATURE----- --Sig_/VlOpTbDceVJAp/eTE7bcf4H-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 23 14:34:00 2025 Received: (at 74864) by debbugs.gnu.org; 23 Jan 2025 19:34:00 +0000 Received: from localhost ([127.0.0.1]:42435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tb2xj-0000AQ-RA for submit@debbugs.gnu.org; Thu, 23 Jan 2025 14:34:00 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:59625) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tb2xh-0000A7-Db for 74864@debbugs.gnu.org; Thu, 23 Jan 2025 14:33:58 -0500 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-436202dd730so9537455e9.2 for <74864@debbugs.gnu.org>; Thu, 23 Jan 2025 11:33:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737660831; x=1738265631; darn=debbugs.gnu.org; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=H/48etawkNivYmnQPdcw/5STxmMGARksXiY2gO0yQp4=; b=KbJEDheAr8Y4MusHHXRC3VuRN1nJIuUiw3O+sQmjO4sgidI8JFzKZ6g/1LssER0WvK W1eUzzkcta/7wMjJ6TaQsWW9hLsy9zoPwIpHQbrLivfyoq17Kh2kfaVaR+rbgKr2tuBF iGExsaI7xySULlh+H4Bs2qyS32MQuF6ikURB00tTzOARZQz7TeL/c1mUS0EyNBDF8SI7 MvNRehdRTUhsOzhFiPN2ucafvu0jCR46nMHdnT0Yyl1z3fQ5TD2uih6FKQFLtHPXHREg 5O0iHcw0gM6c1CTZD+sVNHcARbW5vJWOqJf6xWCAT0AA6wyKgGBnpI0CS/6ghH1hRqr0 BvGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737660831; x=1738265631; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=H/48etawkNivYmnQPdcw/5STxmMGARksXiY2gO0yQp4=; b=xUegWufzfT9bCZFJUWTspPNBLkX3RIv5Vu36dd08bCRX7KcD5t17nAl5jd3aEgYnos +im+4K+aK3ALDv1AYnl3iEovlWqFS6pMbE7fGSVnLdDc7UAx5PYz77rBYZJnPJl/03us RWmW0ihdDMqhEJbmL6KRhRvIpbBLJX5T3nnniybAy7KE6VF9ikc1qxKlhRYIRfAt8GWo MGqZGQqIwo4hyTKJD5KJkxdVu0FrlljW6wtqZ/ge6ETp+sRSBWz7ZYllNJlKWZhs9NKR cXLFiwKxveOtJv54ymCBr9u9gmYOuk/RxJjYjp+3PDUx2FsfkY6CMaA+urdIm6GV5Wpn twhw== X-Gm-Message-State: AOJu0YxIx7F1f3tkv/Cp6yU676tL+D4enIjL7d0+SSdlW9PqcxYTTjMA LOCW1zgkjgDeIkieL5i+LxM74/dCTIN1LIYx/emPYjaX1KQaXvBH3XPWYwfF X-Gm-Gg: ASbGnct3uLkDaL61tFvR450OGhl5A/9ZplYwviqJ1JWV9VcZC5OtTXyVu5vCA54Mw7Q iPauBL9i+44kQsiN32lHOCsw/uKsQXOrgbK+DT3tSxoJoIGgMvuTkSig/t+Z/wLjgjMpjnc36Bb g6H3vkWFMPjN1XGPFnVDVkJ0ga4HONyhLMG1LqaVNJrUPhb0DsXN6/JfXg9a8BB/S4EEtJnEgGP YH46TYxE39NdmnQUjhirqsdYPW9Rkdyeq/E9jK1ubat2WyYdiCgHG2j4+nV5lFjqY87Y2j95HT1 /cHU60HSrL06Qf7pAiEEJnQ+yC2XnZkeUMeyisrP3KKYEqjQwEYZwtpG X-Google-Smtp-Source: AGHT+IFxP85wneM6fqxMqp2dRLCcCFFHZWGY2R77saIxtQkLumVTjpit57IAcqNx+tObm4l2ei2Rxw== X-Received: by 2002:a05:600c:1f0d:b0:431:3bf9:3ebb with SMTP id 5b1f17b1804b1-4389143923bmr227998045e9.24.1737660830677; Thu, 23 Jan 2025 11:33:50 -0800 (PST) Received: from guxtil (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438b16ff48esm51305645e9.0.2025.01.23.11.33.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jan 2025 11:33:49 -0800 (PST) From: Sharlatan Hellseher To: 74864@debbugs.gnu.org Subject: [PATCH] gnu: Add adl-submit.py Date: Thu, 23 Jan 2025 19:33:46 +0000 Message-ID: <874j1piaud.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74864 Cc: GNUtoo@cyberdimension.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Hi, > This also complicates things: contributions to adl-submit.py need to > fit into this file because that file is also served by the web > application. What if someone would like to create a proper python package first by taking that file and preparing pyproject.toml with all dependencies? It would ease the live both for packaging and maintain, WDYT? I may prepare the project based on that script, I guess the license would let us do that, or propose maintainers of to ship it as dedicated project with the same reason you described - it would help make live more bright and shiny. -- Thanks Oleg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmeSmZoACgkQdtcnv/Ys 0rVJvRAApwSYP8ARg+np1FGcp9dEkGwuG8IRl5mJXxXfxNUe2IszepML9nKZ0jHP 3Md+1XMThg7jsTJBKrA/hm2GJueH/PaDroArbM8Z5LG62hEmVX3Ld5WQUtTrEFam Mkjxy2zKGrbMbEh99oXrpPYihC4sy9O9b1zKo3Rax2HFO7SK/wmS/v8N8vFchz4E SG5eTr1Y1ipSfj6wMAecUg6ZhSOYmhUj05vlzWpFZuVSfEkWtca/W0m/6vRG5Vyu +8Ht8xp01bMxwlAofSSOnoJfpzu0RRn77cphcbE/1OuJqq0t5zRI86YDWhD6tL+P So6BbTuH8rdv5vwTGs1mGwCo88kN3qVmsLlk0pfDXZqYrR8Z1gz7vfSMUTZBpx/j i169ZbKcnszANSIyQWjcQHhZJTqoAAR8JfSiTLKbKX4W+ZFynLlwJZkhnrGdLs3C eJYFZWH1M8SrZyArdgmTRa+S2tvdkrUZ4FPvGMBCOXWR/r7SKScqXEq9WN52px8V f3OUBtQxMXWw+ItCLnWjC9sMUjVxspBnkg+e/bCpkEuQ2pfIq/z2aXPUh/cTITyU YqEbg/sMxQjiS4/9eYJ4Ok6w5I4txrF8IPFLvi2xfDRMpzxZyL/lj1Gjtx9L3Gn4 h/wHGHmBPHxZ+SfvSyJXjg3RkHZrf/MhvNZlfERnC8PIoYPgsTI= =emYM -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 28 20:41:24 2025 Received: (at 74864) by debbugs.gnu.org; 29 Jan 2025 01:41:24 +0000 Received: from localhost ([127.0.0.1]:39293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tcx52-0005sY-GF for submit@debbugs.gnu.org; Tue, 28 Jan 2025 20:41:24 -0500 Received: from cyberdimension.org ([2001:678:938:3ff::36]:38342 helo=rockpro64.cyberdimension.org) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tcx4y-0005sH-VK for 74864@debbugs.gnu.org; Tue, 28 Jan 2025 20:41:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=dkim; bh=32CBE+mKO2pGo8e NsVsZ8idK19oia5OQjE8lsmOnvD0=; h=references:in-reply-to:subject:cc:to: from:date; d=cyberdimension.org; b=IMknMYIU2tfCa2CPrN0XDbXde/FCcNXvsbI F3l19HN/Ccz8LQ7W/XFFxpl+55/634/wRlOgiWYiM3vrtKNcXw+KydSxFFi8t8Xf1m5w5y bZDHnaEFbUTb9hp+D3YUdkfmOSGOhIt1be/GTCAqOZBsesib/zr+b2Poi8C1g3aoCC1thd igeQe9d87UCk/KHw8uhEXWt4i3kwYXIqDPdc+WnlYyBM/e5wyOBFTEKVvrj7AHBFZD3yfy UmZ6F5GHXG5NwRRUDmgE4ZuaFGRZuzr1oDIyjApwPYkRi+jDYtJuSzZvTbb2uALcRHoXqm 1c3YFihBTrB6U0UgyOaWNB5SFQw== Received: from primary_laptop (localhost [127.0.0.1]) by rockpro64.cyberdimension.org (OpenSMTPD) with ESMTP id a3a359f4; Wed, 29 Jan 2025 01:41:17 +0000 (UTC) Date: Wed, 29 Jan 2025 02:41:01 +0100 From: Denis 'GNUtoo' Carikli To: Sharlatan Hellseher Subject: Re: [PATCH] gnu: Add adl-submit.py Message-ID: <20250129024101.3ceb9be5@primary_laptop> In-Reply-To: <874j1piaud.fsf@gmail.com> References: <874j1piaud.fsf@gmail.com> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.41; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/n4dVK2zacYGwTT=kf0VoeJI"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 74864 Cc: 74864@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --Sig_/n4dVK2zacYGwTT=kf0VoeJI Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, On Thu, 23 Jan 2025 19:33:46 +0000 Sharlatan Hellseher wrote: > > This also complicates things: contributions to adl-submit.py need to > > fit into this file because that file is also served by the web > > application. >=20 > What if someone would like to create a proper python package first by > taking that file and preparing pyproject.toml with all dependencies? > It would ease the live both for packaging and maintain, WDYT? Thanks a lot for the suggestion, I've started doing that and I sent a first version of 2 patch sets that goes together for that which are here: https://framagit.org/agenda-libre/agenda-libre-ruby/-/merge_requests/71 https://framagit.org/agenda-libre/agenda-libre-ruby/-/merge_requests/72 The discussion happens in the first merge request (71). > I may prepare the project based on that script, I guess the license > would let us do that, or propose maintainers of > to ship it as > dedicated project with the same reason you described - it would help > make live more bright and shiny. I'm unsure this is a good idea or not as moving the adl-submit.py in a separate repository might result in more maintenance for the Agenda du libre maintainer. However as I understand all major general purpose package managers (Guix, Arch Linux's pacman, Gentoo's portage, Yocto's bitbake etc) support changing directory during the build. If we do that, would that create some undesirable side effect? For instance would pip be able to build that? Would guix import work? What about guix refresh or guix lint? Since programming language package managers (like pip) tend to be more strict than general purpose ones (like Guix), could that cause any issues? Denis. --Sig_/n4dVK2zacYGwTT=kf0VoeJI Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmeZhy4ACgkQX138wUF3 4mM+EA//fTNfT0y1Wu55aSKUuKXNMXrSkkoD6hSfq0LbnWJOr1gKdTNIRKx9Gcq7 rF9XFaUIdO0UsnMkuAM3G7K8JLjh4HNMII8cQTB64XCAzY1R6Tgs+jWjDl6tYCJq wWBEP4ZwvczuYwt3YMrfjKDJVAPW+7i9nlZg+qrdkdq2vTIDA46H7fpRF4TmLGc6 KsKciDONmBau5cQrKRj9iO3X+CO8MK5jelIbxsUkbTgVkFhHDGnsw6sGvNDhsZnn DJHhpcJQOD5DIanxYnKEZ78opn5NRVkCIlKSCQSzVRtD1VbfZydZ98TzIlRvgxwl +/1IHgyOWfggHu0UrGRkYCSkEuK3XsmADGi6nDccLPRyUdYg71N3JIrw5NrNG6qB azKzpkBad9qHSiSqpKEkSMmWW9M4LwJVZr0Gg6lWOqWTQp8qbs9FO9ihMcxtik41 wJcNq1IuLzHmgjxZSVSPWrFsyy9gK5WUQ0xpjUL0qTFVp6zDcLHZSDFz/HT8mwdy ZIuhoJ51MaQRrnUjpq0Ndk4FRwKAwE7dqwc4J+me13zZpwywn1BgwaQnhebCUdUr 2uH1Wt4PPbFYflvOChuSuhckuo7hs5VgpdIXfwP/4LrprXP7dszKNq1GA7hg9Cnu AV7SYcb2cSPeu8MXI5dwu9XJRJ/2YoEPxz7JW9SiYtP4PTuTIw4= =pI0W -----END PGP SIGNATURE----- --Sig_/n4dVK2zacYGwTT=kf0VoeJI-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 24 17:07:24 2025 Received: (at 74864) by debbugs.gnu.org; 24 Mar 2025 21:07:25 +0000 Received: from localhost ([127.0.0.1]:59535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1twp11-0003F1-Fw for submit@debbugs.gnu.org; Mon, 24 Mar 2025 17:07:24 -0400 Received: from cyberdimension.org ([2001:678:938:3ff::36]:43730 helo=rockpro64.cyberdimension.org) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1twp0y-0003Dy-23 for 74864@debbugs.gnu.org; Mon, 24 Mar 2025 17:07:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=dkim; bh=0ZrInrGy/e5ZMMf 3GF/7lEDCFaZGoscOTUTP7TykAoI=; h=references:in-reply-to:subject:cc:to: from:date; d=cyberdimension.org; b=i7EWAdzwa4J2+Q9QrfJ6jTdUUh14Va0VF2K w4z7u40HhzwEg9EOwiXF9aXtYtoe8/nMreYoblqxtV2v+Yz+mwxMICB9hbvIBB8tEz9LVo 62Eo1S98uP8wWtH32DJ2C9LMF7xhndPY9L3+zmYJb30COYAgCZ/QhlaUZrhwpJItWUVmMa Rfplqo5KGBnZw1f2v2Sj8+2843ZLQO3JGWlKW9YqhvUXweFtl8i2FwYljzbXDffL0r7BGO ty7BdwCYeXoqBUefKs1jS+NDipKsP/9CYwD7E+gPoKNFLBOri+dRDlavrqHZFsUtHfQGpj cfZ4zoAn/DZQuimW1v/OlL/BeHA== Received: from primary_laptop (localhost [127.0.0.1]) by rockpro64.cyberdimension.org (OpenSMTPD) with ESMTP id 02510d85; Mon, 24 Mar 2025 21:07:16 +0000 (UTC) Date: Mon, 24 Mar 2025 16:14:03 +0100 From: Denis 'GNUtoo' Carikli To: Sharlatan Hellseher Subject: Re: [PATCH] gnu: Add adl-submit.py Message-ID: <20250324161403.6f1676e3@primary_laptop> In-Reply-To: <874j1piaud.fsf@gmail.com> References: <874j1piaud.fsf@gmail.com> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.41; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/38Jr9g3.yeP9AzM4V6lZBOi"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Thu, 23 Jan 2025 19:33:46 +0000 Sharlatan Hellseher wrote: > What if someone would like to create a proper python package first by > taking that file and preparing pyproject [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date X-Debbugs-Envelope-To: 74864 Cc: 74864@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.1 (/) --Sig_/38Jr9g3.yeP9AzM4V6lZBOi Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 23 Jan 2025 19:33:46 +0000 Sharlatan Hellseher wrote: > What if someone would like to create a proper python package first by > taking that file and preparing pyproject.toml with all dependencies? > It would ease the live both for packaging and maintain, WDYT? I've discussed with the maintainer and at the end we decided to do that, and the new repository is now here: https://framagit.org/agenda-libre/adl-submit.git I also somehow became co-maintainer (I wanted to avoid that) but we didn't agree yet on how to handle new patches. I'll try to see how to send an additional patch to adl-submit to rename adl-submit.py in adl-submit and I'll then a new patch to Guix. For the other planned improvements (like add an English translation) I'll do that later on if I can find the time. Denis. --Sig_/38Jr9g3.yeP9AzM4V6lZBOi Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmfhdrsACgkQX138wUF3 4mOf4w/+K2C7Cw1q0TffVS2w4mIs+roKwo17ZgCUrD+Y2CTyLy7mnBuGMBw04ZXw BxYMEYPmkVCYN0AnMKVq2JHRm4MyAGzIUgTW4RQOKC/wq/TqwEE1Ae6auuIkkaAj G55lNjctSDUyNYkV7+tFsVPuDEXwX/QFrk7jV1i8/Jeah8egfwSqqg6ZppuhhTlJ mE0FOnBkwGgJPtmvetwXRvdlAYFlGV1fDe9LG4jg6AGQeJelkNRzXcVtMxd92XVh ZDGe0rptC1gSo4gKwcdhDo9vIm+hN/4VWLAR4BnuHB/gMWmoFu8mtInRqwZItaw4 uuXfgVKpBFyg0jnVIgRuhZCT0L4svdbIW+5KMJ1/59plgeO2cHvdoKhYwmFrzD8F nnJ/7mDcw9V+6qLnKqxBHcf4IeLwLuJM+sFFovGQ1suSrevZKglwxSABUbeLQM4g CM8x9Uc6ntHPr3JV0p0e7+AWCwOyDdPL8Xr0Z90estLgLjtM8t1Q9fKsxoQpCCws dQ4UV3BrB2wAKS4isjHVSgfljGixf0wC+ZIqdA7F2HoMnfaMC6HF5uwp4BtfJppz GpzJz+w/L2sjK2hWDUY6ieEskiGinv7uyLf9en0IlB4+ipNyrmNYM/2lXSQgOv9f YJpGPptlzGpa0MJ86wiUJwNfnZTVjKKvTGyFTLAQx/1SnOeaTOY= =Yv75 -----END PGP SIGNATURE----- --Sig_/38Jr9g3.yeP9AzM4V6lZBOi-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 09 19:47:44 2025 Received: (at 74864) by debbugs.gnu.org; 9 May 2025 23:47:44 +0000 Received: from localhost ([127.0.0.1]:41353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uDXRP-0004fD-LP for submit@debbugs.gnu.org; Fri, 09 May 2025 19:47:44 -0400 Received: from cyberdimension.org ([2001:678:938:3ff::36]:48598 helo=rockpro64.cyberdimension.org) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uDXRK-0004ew-Sc for 74864@debbugs.gnu.org; Fri, 09 May 2025 19:47:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=dkim; bh=Je1dVsVAcWx565t BuU7hhJjo+9f66ejVyoIZkZDhlvM=; h=date:subject:cc:to:from; d=cyberdimension.org; b=qxzCweLL0VbvkI8vV7i11MCKK7HtURoUkKNFQr0PzvTYTQ 8IpV3NzZUqOK2JBlsTNEBn4K7MYvJDAkFvbPGspewnB7obd/aQhUsfeXQBQLbhbTH84YaV oGrkEJ4IYvl3Cdtrr6DxHalt5AXEEyJNJsDGA8QULsDHyriRJg9t7qvbpu9oHXGQ8SF+MV Z/qnVZQR4o3+TDSV+eCSyMrF7Y1MHFkYbyxVxQyU+T2ZztrUgKzD9FmrcdXFQKSOpB01Nl OKcTPUHD94zwEyJO2oGUeIusnPrrdnz8CXxn5L+4UEfNYyjNkMC1DhD8PWR7+/V+qeuvHT oV9RX9tz7LWOfEtQ== Received: from localhost.localdomain (localhost [127.0.0.1]) by rockpro64.cyberdimension.org (OpenSMTPD) with ESMTP id 643952b2; Fri, 9 May 2025 23:47:34 +0000 (UTC) From: Denis 'GNUtoo' Carikli To: 74864@debbugs.gnu.org, Sharlatan Hellseher , Simon Tournier Subject: [PATCH v3] gnu: Add adl-submit. Date: Sat, 10 May 2025 01:46:59 +0200 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74864 Cc: Denis 'GNUtoo' Carikli X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/calendar.scm (adl-submit): New variable. Signed-off-by: Denis 'GNUtoo' Carikli Change-Id: Icd9438fbaf2c53635989fb8cfb443d2c3e541eff --- ChangeLog v2->v3: * Updated copyright to 2025. * Switch to a new repository that only has adl-submit and not the full Agenda Du Libre code. This simplifies license compliance because while the Agenda Du Libre web application was fully free it also pulled in compiled/minified JavaScript from other sources (probably with a script if I understood well the maintainer). This repository is co-maintained by both the Agenda Du Libre maintainer (Esharp) and me, though if I understood well, in practice the maintainer trusts me to do what's best and doesn't necessarily and only reviewed a bit the commits until the revision 9c62c13ba35720b2d0fdbc37c19cbb55cef6d5c1 ("Add .gitignore."). * Switch to a new git revision that uses the python build system. So we don't need to do any workarounds anymore in the Guix package. And beside some small fixes, it also has some improvements: * adl-submit.py was renamed to adl-submit and #!/usr/bin/python3 is now used as per Debian Guidelines on packaging python scripts. * All the authors copyrights are now added in the copyright header of the python script. This required to contact 2 authors to make sure who between them has copyright on a specific commit as they both collaborated together to do it. * The READMEs are now shipped as part of the documentation. --- gnu/packages/calendar.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/calendar.scm b/gnu/packages/calendar.scm index ed7a13a2c9..84f83fe9c4 100644 --- a/gnu/packages/calendar.scm +++ b/gnu/packages/calendar.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2020 Peng Mei Yu ;;; Copyright © 2021 Wamm K. D. ;;; Copyright © 2022 Maxim Cournoyer +;;; Copyright © 2025 Denis 'GNUtoo' Carikli ;;; ;;; This file is part of GNU Guix. ;;; @@ -56,6 +57,7 @@ (define-module (gnu packages calendar) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages python-build) + #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) #:use-module (gnu packages sphinx) @@ -65,6 +67,34 @@ (define-module (gnu packages calendar) #:use-module (gnu packages xml) #:use-module (srfi srfi-26)) +(define-public python-adl-submit + (let ((revision "1") + (commit "f38c7ad161fbe6ec72ecc725edbd624f5c627ea9")) + (package + (name "python-adl-submit") + (version (git-version "1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://framagit.org/agenda-libre/adl-submit.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1zi5s8xpbm253mjdlcc1j13qqz5q7s9zavk3h0m2gfgb52xy2avp")))) + (build-system python-build-system) + (inputs (list python python-pycurl)) + (home-page "https://www.agendadulibre.org") + (synopsis "Submit events to the Agenda Du Libre") + (description "adl-submit is a tool that can be used to submit events +to any instance of the Agenda Du Libre (a web calendar originally meant for +free software events). Users can set fields through the command line or +create an XML that can be submitted with the adl-submit tool. While the +Agenda Du Libre web application is available in multiple languages, most of +the events on https://www.agendadulibre.org are in French and the +adl-submit tool is only available in French.") + (license license:gpl2)))) + (define-public date ;; We make the same choice as the Arch package maintainer by choosing a ;; recent commit to fix some bugs. base-commit: 7d29ea6c4968de56e9edcae2632aa53d5f2e5e61 -- 2.46.0