From unknown Sun Aug 17 10:20:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#37082] Add poussetaches Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Aug 2019 12:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37082 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 37082@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.156621631919100 (code B ref -1); Mon, 19 Aug 2019 12:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Aug 2019 12:05:19 +0000 Received: from localhost ([127.0.0.1]:59258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzgPX-0004y0-EG for submit@debbugs.gnu.org; Mon, 19 Aug 2019 08:05:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:50725) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzgPV-0004xs-Ov for submit@debbugs.gnu.org; Mon, 19 Aug 2019 08:05:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35350) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzgPT-000620-B8 for guix-patches@gnu.org; Mon, 19 Aug 2019 08:05:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzgPM-00007E-Rq for guix-patches@gnu.org; Mon, 19 Aug 2019 08:05:14 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:50224) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hzgPI-000051-Vd for guix-patches@gnu.org; Mon, 19 Aug 2019 08:05:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZqrdXanZ7sXoI9O0obfxC0bfY0U7KThxnd5aakF8gwc=; b=ktHhiSgdEysCq+qZgicBSb+dCa k4LAVeN5knEJMPnhbNDbk60eL4FoVERhJ4pmm84SwLhyQz4+xDFlQZTtb8OkeuN2UK40xb6ZdP8UW oS0qXues0DPnOXS1aBiHMZt7GNP3sXxkgIDR2EuHvnLdMD17wpPR09tJIUhGWuI5ob3A=; Received: from [14.139.128.10] (helo=steel) by systemreboot.net with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.1) (envelope-from ) id 1hzgPD-00052e-6X for guix-patches@gnu.org; Mon, 19 Aug 2019 17:34:59 +0530 From: Arun Isaac Date: Mon, 19 Aug 2019 17:34:56 +0530 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 139.59.75.54 X-Spam-Score: -1.4 (-) 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 (--) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain The attached patchset adds poussetaches, a lightweight asynchronous task execution service. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-go-github-com-robfig-cron.patch Content-Transfer-Encoding: quoted-printable From=20cccbc240836acd1be7e1f1bc4eac51d1c719fd6a Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 19 Aug 2019 17:27:17 +0530 Subject: [PATCH 1/2] gnu: Add go-github-com-robfig-cron. * gnu/packages/golang.scm (go-github-com-robfig-cron): New variable. =2D-- gnu/packages/golang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 01de446ce0..950ba9fb37 100644 =2D-- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -15,6 +15,7 @@ ;;; Copyright @ 2018, 2019 Katherine Cox-Buday ;;; Copyright @ 2019 Giovanni Biscuolo ;;; Copyright @ 2019 Alex Griffin +;;; Copyright =C2=A9 2019 Arun Isaac ;;; ;;; This file is part of GNU Guix. ;;; @@ -3640,3 +3641,26 @@ stack traces. It simplifies the traces to make sali= ent information more visible and aid debugging.") (home-page "https://github.com/maruel/panicparse") (license license:asl2.0))) + +(define-public go-github-com-robfig-cron + (package + (name "go-github-com-robfig-cron") + (version "3.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/robfig/cron") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0bvq5gxkhyj21lq32nma23i4dpwp7bswnp2yks6372ilkcyisx2z")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/robfig/cron")) + (home-page "https://godoc.org/github.com/robfig/cron") + (synopsis "Cron library for Go") + (description "This package provides a cron library for Go. It impleme= nts +a cron spec parser and job runner.") + (license license:expat))) =2D-=20 2.22.0 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0002-gnu-Add-poussetaches.patch Content-Transfer-Encoding: quoted-printable From=20e0edac0d08da5845a36b05de1f8f0110540cda17 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 19 Aug 2019 17:28:22 +0530 Subject: [PATCH 2/2] gnu: Add poussetaches. * gnu/packages/web.scm (poussetaches): New variable. =2D-- gnu/packages/web.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 0b7bf698f1..205826cc9a 100644 =2D-- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -68,6 +68,7 @@ #:use-module (guix build-system python) #:use-module (guix build-system ant) #:use-module (guix build-system scons) + #:use-module (guix build-system go) #:use-module (gnu packages) #:use-module (gnu packages admin) #:use-module (gnu packages adns) @@ -92,6 +93,7 @@ #:use-module (gnu packages gnome) #:use-module (gnu packages gnu-doc) #:use-module (gnu packages gnupg) + #:use-module (gnu packages golang) #:use-module (gnu packages gperf) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) @@ -6597,3 +6599,35 @@ It's also possible to rewrite existing log files. =20 Anonip can also be uses as a Python module in your own Python application.= ") (license license:bsd-3))) + +(define-public poussetaches + (package + (name "poussetaches") + (version "0.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tsileo/poussetaches") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "07106kfcz3a39jvrv3mlqqxlihsmdhgkrjnqznyjsij9absgvdv6")))) + (build-system go-build-system) + (propagated-inputs + `(("go-github-com-robfig-cron" ,go-github-com-robfig-cron) + ("go-golang-org-x-time-rate" ,go-golang-org-x-time-rate))) + (arguments + `(#:import-path "github.com/tsileo/poussetaches")) + (home-page "https://github.com/tsileo/poussetaches") + (synopsis "Lightweight asynchronous task execution service") + (description "Poussetaches (which literally means \"push tasks\" in +French) is a lightweight asynchronous task execution service that aims to +replace Celery and RabbitMQ for small Python applications. + +The app posts base64-encoded payload to poussetaches and specifies the +endpoint that will be used to trigger the task. Poussetaches makes HTTP +requests with the registered payload until the right status code is +returned.") + (license license:isc))) =2D-=20 2.22.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAl1akGkACgkQLiXui2GA K7PSawgAoWRtt6aEZyznNbZVK1NreUcpeu0la0Ez+BxOl1dNpU4fetrB0QtgOzqw AVjLH1U8VW8cJ4QYNDwnmlmOLDCcD5Yd40IDlcQAgDLnxQXoms2BkOnNoe9ai+gH CRkwnXvyIS9oVRDKfkKKc/fkPSPJ9I8sF6qhswH+vieAPDdemQD2im+sYGQ22KRG PBzdxcVr/EYZzzVmTiXielteewevKngzT8l0rs3qeAOwnzOj2xxDohZkRJ2XeI9O zylYca9UpWznGBFp9LhYi1sOSij2iJAPDXnbZysm1KHNJXESIxNAoiUrDs1KgD4b nrHrTC5JyK+zQqoKe2BLjxQiz0sudg== =oXD/ -----END PGP SIGNATURE----- --==-=-=-- From unknown Sun Aug 17 10:20:04 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#37082] Add poussetaches Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Aug 2019 10:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37082 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Arun Isaac Cc: 37082@debbugs.gnu.org Received: via spool by 37082-submit@debbugs.gnu.org id=B37082.15669019139851 (code B ref 37082); Tue, 27 Aug 2019 10:32:02 +0000 Received: (at 37082) by debbugs.gnu.org; 27 Aug 2019 10:31:53 +0000 Received: from localhost ([127.0.0.1]:47764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i2YlU-0002Yo-P3 for submit@debbugs.gnu.org; Tue, 27 Aug 2019 06:31:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i2YlS-0002Yb-8p for 37082@debbugs.gnu.org; Tue, 27 Aug 2019 06:31:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i2YlM-0005e1-LF; Tue, 27 Aug 2019 06:31:44 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=47436 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i2YlL-0001PP-VT; Tue, 27 Aug 2019 06:31:44 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Tue, 27 Aug 2019 12:31:42 +0200 In-Reply-To: (Arun Isaac's message of "Mon, 19 Aug 2019 17:34:56 +0530") Message-ID: <87h862rjap.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) 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: -3.3 (---) Hi Arun, Arun Isaac skribis: > From cccbc240836acd1be7e1f1bc4eac51d1c719fd6a Mon Sep 17 00:00:00 2001 > From: Arun Isaac > Date: Mon, 19 Aug 2019 17:27:17 +0530 > Subject: [PATCH 1/2] gnu: Add go-github-com-robfig-cron. > > * gnu/packages/golang.scm (go-github-com-robfig-cron): New variable. [...] > From e0edac0d08da5845a36b05de1f8f0110540cda17 Mon Sep 17 00:00:00 2001 > From: Arun Isaac > Date: Mon, 19 Aug 2019 17:28:22 +0530 > Subject: [PATCH 2/2] gnu: Add poussetaches. > > * gnu/packages/web.scm (poussetaches): New variable. Funny name. :-) LGTM! Ludo=E2=80=99. From unknown Sun Aug 17 10:20:04 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Arun Isaac Subject: bug#37082: closed (Re: [bug#37082] Add poussetaches) Message-ID: References: X-Gnu-PR-Message: they-closed 37082 X-Gnu-PR-Package: guix-patches Reply-To: 37082@debbugs.gnu.org Date: Thu, 29 Aug 2019 19:57:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1567108622-18330-1" This is a multi-part message in MIME format... ------------=_1567108622-18330-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #37082: Add poussetaches which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 37082@debbugs.gnu.org. --=20 37082: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D37082 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1567108622-18330-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 37082-done) by debbugs.gnu.org; 29 Aug 2019 19:56:30 +0000 Received: from localhost ([127.0.0.1]:52947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i3QWz-0004kq-OH for submit@debbugs.gnu.org; Thu, 29 Aug 2019 15:56:29 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:47006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i3QWu-0004ka-N9 for 37082-done@debbugs.gnu.org; Thu, 29 Aug 2019 15:56:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=PQneGDhyS8ppDfS6fifmDiXdUSkhNZQ6MrcXp8Gg9P4=; b=HGkioFJ24splLmnrBd3mBkl0V kCarHny4PS+090stbVPdfxeODN0aZXepZ5CgVGp8ijFCNegCocBx04nIK+FmSbXuJcUuwq1mtkocz /zGtP/X/33px5kJeCpfocca9Epi6lbjdyKWdIcpo1eGqAOsCS2kzUhNxchsGHKybve0wc=; Received: from [49.206.3.117] (helo=steel) by systemreboot.net with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.1) (envelope-from ) id 1i3QWq-0006yB-Ek; Fri, 30 Aug 2019 01:26:20 +0530 From: Arun Isaac To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#37082] Add poussetaches In-Reply-To: <87h862rjap.fsf@gnu.org> References: <87h862rjap.fsf@gnu.org> Date: Fri, 30 Aug 2019 01:26:04 +0530 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37082-done Cc: 37082-done@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 (-) --=-=-= Content-Type: text/plain >> * gnu/packages/web.scm (poussetaches): New variable. > > Funny name. :-) :-) It apparently means "push tasks" in French. > > LGTM! Pushed to master, thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAl1oLdUACgkQLiXui2GA K7PaHwgAs16JnTRd8WDe9dZ7WKqjc31Z0Cgf42ytQk1xttUsZ8ZKZ3IEcWa6vSgA KktqU3oRsFq2EELbsH9DlNBkRSTMmMaOmqmxSziqaEFTAFN8n1c+AVLPvzTl+Oya 6rSmuqAnV5/1V8XrqBHwyJCIY/PlSgdJS38OCs6MQaqihoLugMg2dL0MMMyWpnry gQM/hihXaK/gmut7xP9U7/YxuyRcxvY/pyWjb3EplVLsmMBh06yu3F3ihznpia4J itTVHkDX7sY0Lq7DWk3iEPxCwzco/3f2gD3mASAkpZrI+Jj7Hmc/0havDW7ZUrNi 4et7QG41WzxjwygifIQQUjOaHUCoDQ== =1FFI -----END PGP SIGNATURE----- --=-=-=-- ------------=_1567108622-18330-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Aug 2019 12:05:19 +0000 Received: from localhost ([127.0.0.1]:59258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzgPX-0004y0-EG for submit@debbugs.gnu.org; Mon, 19 Aug 2019 08:05:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:50725) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzgPV-0004xs-Ov for submit@debbugs.gnu.org; Mon, 19 Aug 2019 08:05:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35350) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzgPT-000620-B8 for guix-patches@gnu.org; Mon, 19 Aug 2019 08:05:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzgPM-00007E-Rq for guix-patches@gnu.org; Mon, 19 Aug 2019 08:05:14 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:50224) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hzgPI-000051-Vd for guix-patches@gnu.org; Mon, 19 Aug 2019 08:05:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZqrdXanZ7sXoI9O0obfxC0bfY0U7KThxnd5aakF8gwc=; b=ktHhiSgdEysCq+qZgicBSb+dCa k4LAVeN5knEJMPnhbNDbk60eL4FoVERhJ4pmm84SwLhyQz4+xDFlQZTtb8OkeuN2UK40xb6ZdP8UW oS0qXues0DPnOXS1aBiHMZt7GNP3sXxkgIDR2EuHvnLdMD17wpPR09tJIUhGWuI5ob3A=; Received: from [14.139.128.10] (helo=steel) by systemreboot.net with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.1) (envelope-from ) id 1hzgPD-00052e-6X for guix-patches@gnu.org; Mon, 19 Aug 2019 17:34:59 +0530 From: Arun Isaac To: guix-patches@gnu.org Subject: Add poussetaches Date: Mon, 19 Aug 2019 17:34:56 +0530 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 139.59.75.54 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit 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 (--) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain The attached patchset adds poussetaches, a lightweight asynchronous task execution service. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-go-github-com-robfig-cron.patch Content-Transfer-Encoding: quoted-printable From=20cccbc240836acd1be7e1f1bc4eac51d1c719fd6a Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 19 Aug 2019 17:27:17 +0530 Subject: [PATCH 1/2] gnu: Add go-github-com-robfig-cron. * gnu/packages/golang.scm (go-github-com-robfig-cron): New variable. =2D-- gnu/packages/golang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 01de446ce0..950ba9fb37 100644 =2D-- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -15,6 +15,7 @@ ;;; Copyright @ 2018, 2019 Katherine Cox-Buday ;;; Copyright @ 2019 Giovanni Biscuolo ;;; Copyright @ 2019 Alex Griffin +;;; Copyright =C2=A9 2019 Arun Isaac ;;; ;;; This file is part of GNU Guix. ;;; @@ -3640,3 +3641,26 @@ stack traces. It simplifies the traces to make sali= ent information more visible and aid debugging.") (home-page "https://github.com/maruel/panicparse") (license license:asl2.0))) + +(define-public go-github-com-robfig-cron + (package + (name "go-github-com-robfig-cron") + (version "3.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/robfig/cron") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0bvq5gxkhyj21lq32nma23i4dpwp7bswnp2yks6372ilkcyisx2z")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/robfig/cron")) + (home-page "https://godoc.org/github.com/robfig/cron") + (synopsis "Cron library for Go") + (description "This package provides a cron library for Go. It impleme= nts +a cron spec parser and job runner.") + (license license:expat))) =2D-=20 2.22.0 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0002-gnu-Add-poussetaches.patch Content-Transfer-Encoding: quoted-printable From=20e0edac0d08da5845a36b05de1f8f0110540cda17 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 19 Aug 2019 17:28:22 +0530 Subject: [PATCH 2/2] gnu: Add poussetaches. * gnu/packages/web.scm (poussetaches): New variable. =2D-- gnu/packages/web.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 0b7bf698f1..205826cc9a 100644 =2D-- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -68,6 +68,7 @@ #:use-module (guix build-system python) #:use-module (guix build-system ant) #:use-module (guix build-system scons) + #:use-module (guix build-system go) #:use-module (gnu packages) #:use-module (gnu packages admin) #:use-module (gnu packages adns) @@ -92,6 +93,7 @@ #:use-module (gnu packages gnome) #:use-module (gnu packages gnu-doc) #:use-module (gnu packages gnupg) + #:use-module (gnu packages golang) #:use-module (gnu packages gperf) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) @@ -6597,3 +6599,35 @@ It's also possible to rewrite existing log files. =20 Anonip can also be uses as a Python module in your own Python application.= ") (license license:bsd-3))) + +(define-public poussetaches + (package + (name "poussetaches") + (version "0.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tsileo/poussetaches") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "07106kfcz3a39jvrv3mlqqxlihsmdhgkrjnqznyjsij9absgvdv6")))) + (build-system go-build-system) + (propagated-inputs + `(("go-github-com-robfig-cron" ,go-github-com-robfig-cron) + ("go-golang-org-x-time-rate" ,go-golang-org-x-time-rate))) + (arguments + `(#:import-path "github.com/tsileo/poussetaches")) + (home-page "https://github.com/tsileo/poussetaches") + (synopsis "Lightweight asynchronous task execution service") + (description "Poussetaches (which literally means \"push tasks\" in +French) is a lightweight asynchronous task execution service that aims to +replace Celery and RabbitMQ for small Python applications. + +The app posts base64-encoded payload to poussetaches and specifies the +endpoint that will be used to trigger the task. Poussetaches makes HTTP +requests with the registered payload until the right status code is +returned.") + (license license:isc))) =2D-=20 2.22.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAl1akGkACgkQLiXui2GA K7PSawgAoWRtt6aEZyznNbZVK1NreUcpeu0la0Ez+BxOl1dNpU4fetrB0QtgOzqw AVjLH1U8VW8cJ4QYNDwnmlmOLDCcD5Yd40IDlcQAgDLnxQXoms2BkOnNoe9ai+gH CRkwnXvyIS9oVRDKfkKKc/fkPSPJ9I8sF6qhswH+vieAPDdemQD2im+sYGQ22KRG PBzdxcVr/EYZzzVmTiXielteewevKngzT8l0rs3qeAOwnzOj2xxDohZkRJ2XeI9O zylYca9UpWznGBFp9LhYi1sOSij2iJAPDXnbZysm1KHNJXESIxNAoiUrDs1KgD4b nrHrTC5JyK+zQqoKe2BLjxQiz0sudg== =oXD/ -----END PGP SIGNATURE----- --==-=-=-- ------------=_1567108622-18330-1--