From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH] ruby-mailcatcher: Draft Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Feb 2019 15:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34650@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155110784318701 (code B ref -1); Mon, 25 Feb 2019 15:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Feb 2019 15:17:23 +0000 Received: from localhost ([127.0.0.1]:51649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gyI0R-0004rZ-DB for submit@debbugs.gnu.org; Mon, 25 Feb 2019 10:17:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gyI0P-0004rL-9p for submit@debbugs.gnu.org; Mon, 25 Feb 2019 10:17:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:35947) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gyI0J-0006jh-3A for submit@debbugs.gnu.org; Mon, 25 Feb 2019 10:17:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyI0H-0006mM-Oa for guix-patches@gnu.org; Mon, 25 Feb 2019 10:17:14 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED,WEIRD_PORT autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gyI0F-0006iU-T9 for guix-patches@gnu.org; Mon, 25 Feb 2019 10:17:13 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:42873) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gyI0F-0006hb-Eu for guix-patches@gnu.org; Mon, 25 Feb 2019 10:17:11 -0500 X-Originating-IP: 90.92.41.33 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id EFA7320013 for ; Mon, 25 Feb 2019 15:17:05 +0000 (UTC) From: Pierre Neidhardt Date: Mon, 25 Feb 2019 16:17:05 +0100 Message-Id: <20190225151705.17655-1-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.183.200 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 0.0 (/) 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/ruby.scm | 185 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 185 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 6da7109d1..21a00c3ea 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7683,3 +7683,188 @@ uniquely identify it.") serves JavaScript, CoffeeScript, CSS, LESS, Sass, and SCSS.") (home-page "https://github.com/rails/sprockets") (license license:expat))) + +(define-public ruby-eventmachine-mailcatcher + (package + (inherit ruby-eventmachine) + (version "1.0.9.1") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "eventmachine" version)) + (sha256 + (base32 + "17jr1caa3ggg696dd02g2zqzdjqj9x9q2nl7va82l36f7c5v6k4z")))) + (synopsis "ruby-eventmachine for mailcatcher"))) + +(define-public ruby-rack-mailcatcher + (package + (inherit ruby-rack) + (name "ruby-rack") + (version "1.5.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url + "https://github.com/rack/rack/") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "09k24li8hp65ybpwmvvyy7ipxrbh62zd3n1qv1jh9kcrrhaihpya")))) + (arguments + ;; TODO: Fix tests. + `(#:tests? #f)))) + +(define-public ruby-tilt + (package + (name "ruby-tilt") + (version "2.0.9") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "tilt" version)) + (sha256 + (base32 + "0ca4k0clwf0rkvy7726x4nxpjxkpv67w043i39saxgldxd97zmwz")))) + (build-system ruby-build-system) + (arguments + ;; TODO: Fix tests. + `(#:tests? #f)) + (synopsis + "Generic interface to multiple Ruby template engines") + (description + "Generic interface to multiple Ruby template engines") + (home-page "http://github.com/rtomayko/tilt/") + (license license:expat))) + +(define-public ruby-mustermann + (package + (name "ruby-mustermann") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "mustermann" version)) + (sha256 + (base32 + "0lycgkmnyy0bf29nnd2zql5a6pcf8sp69g9v4xw0gcfcxgpwp7i1")))) + (build-system ruby-build-system) + (arguments + ;; TODO: Fix tests. + `(#:tests? #f)) + (synopsis + "A library implementing patterns that behave like regular expressions.") + (description + "This package provides a library implementing patterns that behave like regular expressions.") + (home-page + "https://github.com/sinatra/mustermann") + (license license:expat))) + +(define-public ruby-sinatra + (package + (name "ruby-sinatra") + (version "2.0.5") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "sinatra" version)) + (sha256 + (base32 + "1gasgn5f15myv08k10i16p326pchxjsy37pgqfw0xm66kcc5d7ry")))) + (build-system ruby-build-system) + (propagated-inputs + `(("ruby-mustermann" ,ruby-mustermann) + ("ruby-rack" ,ruby-rack) + ("ruby-rack-protection" ,ruby-rack-protection) + ("ruby-tilt" ,ruby-tilt))) + (synopsis "DSL for quick web applications creation in Ruby") + (description + "Sinatra is a DSL for quickly creating web applications in Ruby with +minimal effort.") + (home-page "http://sinatrarb.com/") + (license license:expat))) + +(define-public ruby-thin + (package + (name "ruby-thin") + (version "1.7.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "thin" version)) + (sha256 + (base32 + "0nagbf9pwy1vg09k6j4xqhbjjzrg5dwzvkn4ffvlj76fsn6vv61f")))) + (build-system ruby-build-system) + (arguments + ;; TODO: Fix tests. + `(#:tests? #f)) + (propagated-inputs + `(("ruby-daemons" ,ruby-daemons) + ("ruby-eventmachine" ,ruby-eventmachine) + ("ruby-rack" ,ruby-rack))) + (synopsis "A thin and fast web server") + (description + "This package provides a thin and fast web server") + (home-page "http://code.macournoyer.com/thin/") + ;; TODO: License? + (license (list #f #f)))) + +(define-public ruby-skinny + (package + (name "ruby-skinny") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "skinny" version)) + (sha256 + (base32 + "1y3yvx88ylgz4d2s1wskjk5rkmrcr15q3ibzp1q88qwzr5y493a9")))) + (build-system ruby-build-system) + (arguments + ;; TODO: Fix tests. + `(#:tests? #f)) + (propagated-inputs + `(("ruby-eventmachine" ,ruby-eventmachine) + ("ruby-thin" ,ruby-thin))) + (synopsis + "Simple, upgradable WebSockets for Thin.") + (description + "Simple, upgradable WebSockets for Thin.") + (home-page "http://github.com/sj26/skinny") + (license license:expat))) + +(define-public ruby-mailcatcher + (package + (name "ruby-mailcatcher") + (version "0.6.5") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "mailcatcher" version)) + (sha256 + (base32 + "0h6gk8n18i5f651f244al1hscjzl27fpma4vqw0qhszqqpd5p3bx")))) + (build-system ruby-build-system) + (propagated-inputs + `(("ruby-eventmachine" ,ruby-eventmachine) + ;; ("ruby-eventmachine" ,ruby-eventmachine-mailcatcher) + ("ruby-mail" ,ruby-mail) + ("ruby-rack" ,ruby-rack) + ;; ("ruby-rack" ,ruby-rack-mailcatcher) + ("ruby-sinatra" ,ruby-sinatra) + ("ruby-skinny" ,ruby-skinny) + ("ruby-sqlite3" ,ruby-sqlite3) + ("ruby-thin" ,ruby-thin))) + (synopsis "Run an SMTP server which catches any message sent to it to display in a browser") + (description + "MailCatcher runs a super simple SMTP server which catches any + message sent to it to display in a web interface. Run + mailcatcher, set your favourite app to deliver to + smtp://127.0.0.1:1025 instead of your default SMTP server, + then check out http://127.0.0.1:1080 to see the mail.") + (home-page "http://mailcatcher.me") + (license license:expat))) -- 2.20.1 From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] Acknowledgement ([PATCH] ruby-mailcatcher: Draft) Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Feb 2019 15:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.155110810619103 (code B ref 34650); Mon, 25 Feb 2019 15:22:01 +0000 Received: (at 34650) by debbugs.gnu.org; 25 Feb 2019 15:21:46 +0000 Received: from localhost ([127.0.0.1]:51654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gyI4g-0004y3-64 for submit@debbugs.gnu.org; Mon, 25 Feb 2019 10:21:46 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:43521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gyI4d-0004xt-Ru for 34650@debbugs.gnu.org; Mon, 25 Feb 2019 10:21:44 -0500 Received: from bababa (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 01A9410000A for <34650@debbugs.gnu.org>; Mon, 25 Feb 2019 15:21:40 +0000 (UTC) References: <20190225151705.17655-1-mail@ambrevar.xyz> User-agent: mu4e 1.0; emacs 26.1 From: Pierre Neidhardt In-reply-to: Date: Mon, 25 Feb 2019 16:21:39 +0100 Message-ID: <871s3vq4fw.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) 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.7 (-) --=-=-= Content-Type: text/plain I've never touched Ruby before, so I've got a bunch of questions: - Almost none of the tests pass. Anyone knows what's going on? - ruby-sinatra 'install phase hangs forever (i.e. several minutes at least). I suspect an infinite loop, and it's quite weird this is happening at the 'install phase. - Should mailcatcher be packaged as "ruby-mailcatcher" or "mailcatcher"? - Mailcatcher seems to depend on older version of some packages, e.g. version 1.0.9.1 of ruby-eventmachine. What's the commended procedure then? -- Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlx0CAMACgkQm9z0l6S7 zH/vPAf7B6Nxy/osLhCKUgwcsXYlkrerbEIzJgQRj6HaOXSbkbcjJHXZNUlSEvs6 r0FYcAKMYYMSu8frIxCc7QvNDHzMbb1FOF72IlTnueQ8DplPAAP7nXSuzhZ/zD1F QgLvTVb+oTSd6Ph2QUWw5PKAj6R8/SJIb/N46WClpo8K7TVFtmdVrK8odr9lOsoF 5wAGwrKkhyAlJ/6TCyiUwuRHrxaQDbPGcVtOVNuvuTMnCgjZeOqq1uKK4cY4sTOd JqKSVbGEPL87Jc6RC9jqILqv0NA+rqac3JbPkrEAwurPVD0OOpYMEj6WL7tW6owD 6gRRpaJG9CrcwxZwvWhv2D7KD6l0HQ== =HJRO -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] Acknowledgement ([PATCH] ruby-mailcatcher: Draft) Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Feb 2019 19:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Pierre Neidhardt Cc: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15511218227215 (code B ref 34650); Mon, 25 Feb 2019 19:11:01 +0000 Received: (at 34650) by debbugs.gnu.org; 25 Feb 2019 19:10:22 +0000 Received: from localhost ([127.0.0.1]:51749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gyLdt-0001sJ-UT for submit@debbugs.gnu.org; Mon, 25 Feb 2019 14:10:22 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:53130 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gyLdr-0001s9-Pc for 34650@debbugs.gnu.org; Mon, 25 Feb 2019 14:10:20 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 6BA6716C11; Mon, 25 Feb 2019 19:10:17 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 9a3d9453; Mon, 25 Feb 2019 19:10:17 +0000 (UTC) References: <20190225151705.17655-1-mail@ambrevar.xyz> <871s3vq4fw.fsf@ambrevar.xyz> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines In-reply-to: <871s3vq4fw.fsf@ambrevar.xyz> Date: Mon, 25 Feb 2019 19:10:12 +0000 Message-ID: <87zhqjfzvv.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) 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 Hey, Thanks for these patches Pierre, I haven't looked at them in detail, but one I did spot was ruby-tilt. I've already sent a patch for that here [1]. In fact, maybe have a look through the patches in that bug, as that will at least give you an idea of how I've been packaging some Ruby gems recently. 1: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=34514#68 Pierre Neidhardt writes: > I've never touched Ruby before, so I've got a bunch of questions: > > - Almost none of the tests pass. Anyone knows what's going on? I haven't checked the patch, but often the test suites are omitted from the archives published to rubygems.org. This avoids users who use the rubygems package manager from downloading the tests unnecessarily (as I don't believe rubygems provides a way to run the tests), but obviously doesn't suit packaging for Guix. Fetching from the version control repository is a good way of getting all the tests, but obviously that isn't what the gem importer generates. > - ruby-sinatra 'install phase hangs forever (i.e. several minutes at > least). I suspect an infinite loop, and it's quite weird this is > happening at the 'install phase. I think theres a commit on the staging branch to pass the --verbose flag to gem install, which may be revealing. > - Should mailcatcher be packaged as "ruby-mailcatcher" or "mailcatcher"? In my opinion, if you think someone might use it as a Ruby library, stick with the ruby- prefix for consistency. Otherwise, call it what you think makes most sense. > - Mailcatcher seems to depend on older version of some packages, > e.g. version 1.0.9.1 of ruby-eventmachine. What's the commended > procedure then? If you're confident that the more recent versions of the dependencies work, then I'd recommend patching the source to loosen the dependency constraints. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlx0PZRfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XcvRhAAiUVkKmfqUVWoBM/CBxuEqNyC4fd4iKvHqB9uMMEpwc7VkjQqni0+xuuP nW+zBgZYepg3IoW6qy77XzpMTxYUWPosD6WM8xHZuuPiAXbb31eVdKqqYc8RHBMr +wyUZrL3+UGTF89u1kKWtCCJ03k37a3i3Ulvpx5/4HBjxB8uKZEIK0PXBweKa7Nb ylxDdBeG3m5AxsdbvP90nl4pxutuU7S+tdJwBBJW/X1Le47JCb/x306ASONRhMdj LS+wD+6QKp1E+/vW/a7BdCjZVZoJRak1Ni9+iW704MsaGhYIB9jl3KYaEBBLTjRO njJHoHD+m6TEHGfcoU/1ZdNbw5XL/VLliwN7XAQezagJTNEqgeKcZhudL0SZeThW MmFUSd3C+XwfIw2e/1C0ypjFarQjnwELUBOgYLJVUQ2E39qZHK79YQAWeNCFcuC4 QmYRQVae+0NWlPsOUjiypyGyKtgYwvEjSsanYSE2i4IsMba+14w7SD/+IbXI+HAp 6BTByBxTDFW287ADJXCYv+ejfljhuQot8PDYNgQ0rhHPZ4RG1Y0Da8r1XzlWuX6c Dihyk+t/mEXbooqoO5ODwYFPtfAI2Pja5LLP8CXMVZ/C+eTqAu3vhQaKST84H+7+ pTsKLp39RiIwxuyt9wwQHl1lxzWHFJw8RAHOoaijis72UK9gRRo= =BDRk -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] Acknowledgement ([PATCH] ruby-mailcatcher: Draft) Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 26 Feb 2019 11:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.155117877316903 (code B ref 34650); Tue, 26 Feb 2019 11:00:03 +0000 Received: (at 34650) by debbugs.gnu.org; 26 Feb 2019 10:59:33 +0000 Received: from localhost ([127.0.0.1]:52283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gyaST-0004OZ-36 for submit@debbugs.gnu.org; Tue, 26 Feb 2019 05:59:33 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:42873) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gyaSQ-0004ON-0N for 34650@debbugs.gnu.org; Tue, 26 Feb 2019 05:59:31 -0500 X-Originating-IP: 90.92.41.33 Received: from bababa (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id D7E2A240006; Tue, 26 Feb 2019 10:59:27 +0000 (UTC) References: <20190225151705.17655-1-mail@ambrevar.xyz> <871s3vq4fw.fsf@ambrevar.xyz> <87zhqjfzvv.fsf@cbaines.net> User-agent: mu4e 1.0; emacs 26.1 From: Pierre Neidhardt In-reply-to: <87zhqjfzvv.fsf@cbaines.net> Date: Tue, 26 Feb 2019 11:59:27 +0100 Message-ID: <87ftsa24ts.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) 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.7 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Christopher, Thanks for all the details, that will help tremendously for sure. > ruby-tilt I tried applying your patch but I get the following error: =2D-8<---------------cut here---------------start------------->8--- starting phase `check' rake aborted! Bundler::VersionConflict: Bundler could not find compatible versions for ge= m "ffi": In Gemfile: sassc was resolved to 2.0.0, which depends on ffi (~> 1.9.6) Could not find gem 'ffi (~> 1.9.6)', which is required by gem 'sassc', in a= ny of the sources. =2D-8<---------------cut here---------------end--------------->8--- I suppose that ruby-ffi was updated recently and that the version number ne= eds patching? > I think theres a commit on the staging branch to pass the --verbose flag > to gem install, which may be revealing. I'll look into it, thanks for the tip. > In my opinion, if you think someone might use it as a Ruby library, > stick with the ruby- prefix for consistency. Otherwise, call it what you > think makes most sense. I'll call if mailcatcher then. > If you're confident that the more recent versions of the dependencies > work, then I'd recommend patching the source to loosen the dependency > constraints. I see that's what you are doing in your patch. It's quite cumbersome thoug= h :p At this point I wonder: if the developer explicitly say "A should be version X or above, while B should be exactly version Y", shou= ldn't we respect the upstream wish? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlx1HA8ACgkQm9z0l6S7 zH/5agf/cwKHYRESwqv56MszerLTw01HAJy1Qnzo9goOONMGKzyPRplpGUef6NPq 1TKEwls4osFopjCLxxbP1IUDT9f8PQ0Mnym+ucULkdztuzf6iPnAnV2kSV5k931L OAgYdlOAXn6Gio1BDDN57sYPbBLE+0M88EEcq4XWknWEMhRmvGXE/HcL34z/Fxzt wwpAEVle5jUJd7D1YDqbml+H8tW6dIFJ9SmRwVxDzE5joftsfCoJkt6k4/HjMhCI ilihbROn6eN+K1sMgN6k5oH9mW748kHaKP6xNq1eN5MLODmTyXpjVkmAo417czsH BI0M/3qggupBIoqDCJ1W65zjjnZfpQ== =wVss -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 1/7] gnu: ruby-rack-protection: Update to 2.0.5. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Feb 2019 17:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15513758816730 (code B ref 34650); Thu, 28 Feb 2019 17:45:01 +0000 Received: (at 34650) by debbugs.gnu.org; 28 Feb 2019 17:44:41 +0000 Received: from localhost ([127.0.0.1]:55459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPjc-0001kL-Oe for submit@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:41 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:60245) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPja-0001jl-Lr for 34650@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:39 -0500 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 59FE2100008 for <34650@debbugs.gnu.org>; Thu, 28 Feb 2019 17:44:36 +0000 (UTC) From: Pierre Neidhardt Date: Thu, 28 Feb 2019 18:44:29 +0100 Message-Id: <20190228174435.14499-1-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 In-Reply-To: <87ftsa24ts.fsf@ambrevar.xyz> References: <87ftsa24ts.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) 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.7 (-) * gnu/packages/ruby.scm (ruby-rack-protection): Update to 2.0.5. --- gnu/packages/ruby.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 6da7109d1..63cfa8cf4 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2017 Clément Lassieur ;;; Copyright © 2018 Vasile Dumitrascu ;;; Copyright © 2018 Alex Vong +;;; Copyright © 2019 Pierre Neidhardt ;;; ;;; This file is part of GNU Guix. ;;; @@ -4453,14 +4454,14 @@ testing libraries to build on.") (define-public ruby-rack-protection (package (name "ruby-rack-protection") - (version "2.0.3") + (version "2.0.5") (source (origin (method url-fetch) (uri (rubygems-uri "rack-protection" version)) (sha256 (base32 - "1z5598qipilmnf45428jnxi63ykrgvnyywa5ckpr52zv2vpd8jdp")))) + "15167q25rmxipqwi6hjqj3i1byi9iwl3xq9b7mdar7qiz39pmjsk")))) (build-system ruby-build-system) (arguments '(;; Tests missing from the gem. -- 2.20.1 From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 7/7] gnu: Add mailcatcher. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Feb 2019 17:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15513758816738 (code B ref 34650); Thu, 28 Feb 2019 17:45:02 +0000 Received: (at 34650) by debbugs.gnu.org; 28 Feb 2019 17:44:41 +0000 Received: from localhost ([127.0.0.1]:55461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPjd-0001kR-5Y for submit@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:41 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:48251) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPja-0001jn-Lf for 34650@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:39 -0500 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 717B5100010 for <34650@debbugs.gnu.org>; Thu, 28 Feb 2019 17:44:37 +0000 (UTC) From: Pierre Neidhardt Date: Thu, 28 Feb 2019 18:44:35 +0100 Message-Id: <20190228174435.14499-7-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190228174435.14499-1-mail@ambrevar.xyz> References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) 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.7 (-) * gnu/packages/ruby.scm (mailcatcher): New variable. --- gnu/packages/ruby.scm | 49 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 8cb170e17..854b4669b 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7814,3 +7814,52 @@ minimal effort.") (description "Simple, upgradable WebSockets for Ruby Thin.") (home-page "https://github.com/sj26/skinny") (license license:expat))) + +(define-public mailcatcher + (package + (name "mailcatcher") + (version "0.6.5") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "mailcatcher" version)) + (sha256 + (base32 + "0h6gk8n18i5f651f244al1hscjzl27fpma4vqw0qhszqqpd5p3bx")))) + (build-system ruby-build-system) + (arguments + ;; TODO: Grab from GitHub to get tests? + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-before 'build 'patch-gemspec + (lambda _ + (substitute* ".gemspec" + ((".freeze, \\[\\\"= 1.0.9.1") ", [\">= 1.0.9.1") + ((".freeze, \\[\\\"~> 1.5") ", [\">= 1.5") + ((".freeze, \\[\\\"~> 1.5.0") ", [\">= 1.5.0") + ((".freeze, \\[\\\"~> 1.2") ", [\">= 1.2") + ))) + (add-before 'build 'loosen-dependency-contraint + (lambda _ + (substitute* "lib/mail_catcher.rb" + (("\"eventmachine\", \"1.0.9.1\"") "\"eventmachine\", \">= 1.0.9.1\"") + (("\"rack\", \"~> 1.5\"") "\"rack\", \">= 1.5\"") + (("\"thin\", \"~> 1.5.0\"") "\"thin\", \">= 1.5.0\"") + (("\"sinatra\", \"~> 1.2\"") "\"sinatra\", \">= 1.2\""))))))) + (inputs + `(("ruby-eventmachine" ,ruby-eventmachine) + ("ruby-mail" ,ruby-mail) + ("ruby-rack" ,ruby-rack) + ("ruby-sinatra" ,ruby-sinatra) + ("ruby-skinny" ,ruby-skinny) + ("ruby-sqlite3" ,ruby-sqlite3) + ("ruby-thin" ,ruby-thin))) + (synopsis "Run an SMTP server which catches any message sent to it to display in a browser") + (description + "MailCatcher runs a super simple SMTP server which catches any message +sent to it to display in a web interface. Run mailcatcher, set your favourite +app to deliver to smtp://127.0.0.1:1025 instead of your default SMTP server, +then check out http://127.0.0.1:1080 to see the mail.") + (home-page "https://mailcatcher.me") + (license license:expat))) -- 2.20.1 From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 2/7] gnu: Add ruby-tilt. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Feb 2019 17:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15513758816745 (code B ref 34650); Thu, 28 Feb 2019 17:45:02 +0000 Received: (at 34650) by debbugs.gnu.org; 28 Feb 2019 17:44:41 +0000 Received: from localhost ([127.0.0.1]:55463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPjd-0001kd-HQ for submit@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:41 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:41259) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPja-0001ji-Lf for 34650@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:40 -0500 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 84106100007 for <34650@debbugs.gnu.org>; Thu, 28 Feb 2019 17:44:36 +0000 (UTC) From: Pierre Neidhardt Date: Thu, 28 Feb 2019 18:44:30 +0100 Message-Id: <20190228174435.14499-2-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190228174435.14499-1-mail@ambrevar.xyz> References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) 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.7 (-) * gnu/packages/ruby.scm (ruby-tilt): New variable. --- gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 63cfa8cf4..f6b6a19d5 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7684,3 +7684,27 @@ uniquely identify it.") serves JavaScript, CoffeeScript, CSS, LESS, Sass, and SCSS.") (home-page "https://github.com/rails/sprockets") (license license:expat))) + +(define-public ruby-tilt + (package + (name "ruby-tilt") + (version "2.0.9") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "tilt" version)) + (sha256 + (base32 + "0ca4k0clwf0rkvy7726x4nxpjxkpv67w043i39saxgldxd97zmwz")))) + (build-system ruby-build-system) + (arguments + ;; TODO: Fix tests. + `(#:tests? #f)) + (synopsis "Generic interface to multiple Ruby template engines") + (description "Tilt is a thin interface over a bunch of different Ruby +template engines in an attempt to make their usage as generic as +possible. This is useful for web frameworks, static site generators, and other +systems that support multiple template engines but don't want to code for each +of them individually.") + (home-page "https://github.com/rtomayko/tilt/") + (license license:expat))) -- 2.20.1 From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 4/7] gnu: Add ruby-sinatra. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Feb 2019 17:45:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15513758826752 (code B ref 34650); Thu, 28 Feb 2019 17:45:03 +0000 Received: (at 34650) by debbugs.gnu.org; 28 Feb 2019 17:44:42 +0000 Received: from localhost ([127.0.0.1]:55465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPjd-0001kk-RP for submit@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:42 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:32825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPja-0001jk-OS for 34650@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:40 -0500 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id DE62D10000D for <34650@debbugs.gnu.org>; Thu, 28 Feb 2019 17:44:36 +0000 (UTC) From: Pierre Neidhardt Date: Thu, 28 Feb 2019 18:44:32 +0100 Message-Id: <20190228174435.14499-4-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190228174435.14499-1-mail@ambrevar.xyz> References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) 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.7 (-) * gnu/packages/ruby.scm (ruby-sinatra): New variable. --- gnu/packages/ruby.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 1c10a16c2..78d113af7 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7730,3 +7730,27 @@ object that behaves like a regular expression and has comparable performance characteristics.") (home-page "https://github.com/sinatra/mustermann") (license license:expat))) + +(define-public ruby-sinatra + (package + (name "ruby-sinatra") + (version "2.0.5") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "sinatra" version)) + (sha256 + (base32 + "1gasgn5f15myv08k10i16p326pchxjsy37pgqfw0xm66kcc5d7ry")))) + (build-system ruby-build-system) + (propagated-inputs + `(("ruby-mustermann" ,ruby-mustermann) + ("ruby-rack" ,ruby-rack) + ("ruby-rack-protection" ,ruby-rack-protection) + ("ruby-tilt" ,ruby-tilt))) + (synopsis "DSL for quick web applications creation in Ruby") + (description + "Sinatra is a DSL for quickly creating web applications in Ruby with +minimal effort.") + (home-page "http://sinatrarb.com/") + (license license:expat))) -- 2.20.1 From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 3/7] gnu: Add ruby-mustermann. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Feb 2019 17:45:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15513758826759 (code B ref 34650); Thu, 28 Feb 2019 17:45:04 +0000 Received: (at 34650) by debbugs.gnu.org; 28 Feb 2019 17:44:42 +0000 Received: from localhost ([127.0.0.1]:55467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPje-0001kr-36 for submit@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:42 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:44187) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPja-0001jh-OW for 34650@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:40 -0500 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id B17CB10000C for <34650@debbugs.gnu.org>; Thu, 28 Feb 2019 17:44:36 +0000 (UTC) From: Pierre Neidhardt Date: Thu, 28 Feb 2019 18:44:31 +0100 Message-Id: <20190228174435.14499-3-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190228174435.14499-1-mail@ambrevar.xyz> References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) 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.7 (-) * gnu/packages/ruby.scm (ruby-mustermann): New variable. --- gnu/packages/ruby.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index f6b6a19d5..1c10a16c2 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7708,3 +7708,25 @@ systems that support multiple template engines but don't want to code for each of them individually.") (home-page "https://github.com/rtomayko/tilt/") (license license:expat))) + +(define-public ruby-mustermann + (package + (name "ruby-mustermann") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "mustermann" version)) + (sha256 + (base32 + "0lycgkmnyy0bf29nnd2zql5a6pcf8sp69g9v4xw0gcfcxgpwp7i1")))) + (build-system ruby-build-system) + (arguments + ;; TODO: Fix tests. + `(#:tests? #f)) + (synopsis "Library implementing patterns that behave like regular expressions") + (description "Given a string pattern, Mustermann will turn it into an +object that behaves like a regular expression and has comparable performance +characteristics.") + (home-page "https://github.com/sinatra/mustermann") + (license license:expat))) -- 2.20.1 From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 5/7] gnu: Add ruby-thin. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Feb 2019 17:45:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15513758826766 (code B ref 34650); Thu, 28 Feb 2019 17:45:04 +0000 Received: (at 34650) by debbugs.gnu.org; 28 Feb 2019 17:44:42 +0000 Received: from localhost ([127.0.0.1]:55469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPje-0001ky-Cy for submit@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:42 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:51403) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPja-0001jm-Pd for 34650@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:40 -0500 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 189C110000E for <34650@debbugs.gnu.org>; Thu, 28 Feb 2019 17:44:36 +0000 (UTC) From: Pierre Neidhardt Date: Thu, 28 Feb 2019 18:44:33 +0100 Message-Id: <20190228174435.14499-5-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190228174435.14499-1-mail@ambrevar.xyz> References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) 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.7 (-) * gnu/packages/ruby.scm (ruby-thin): New variable. --- gnu/packages/ruby.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 78d113af7..9d3c4b246 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7754,3 +7754,32 @@ characteristics.") minimal effort.") (home-page "http://sinatrarb.com/") (license license:expat))) + +(define-public ruby-thin + (package + (name "ruby-thin") + (version "1.7.2") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "thin" version)) + (sha256 + (base32 + "0nagbf9pwy1vg09k6j4xqhbjjzrg5dwzvkn4ffvlj76fsn6vv61f")))) + (build-system ruby-build-system) + (arguments + ;; TODO: Fix tests. + `(#:tests? #f)) + (propagated-inputs + `(("ruby-daemons" ,ruby-daemons) + ("ruby-eventmachine" ,ruby-eventmachine) + ("ruby-rack" ,ruby-rack))) + (synopsis "Thin and fast web server for Ruby") + (description "Thin is a Ruby web server that glues together 3 Ruby libraries: +@itemize +@item the Mongrel parser, +@item Event Machine, a network I/O library with high scalability, performance and stability +@item Rack, a minimal interface between webservers and Ruby frameworks +@end itemize\n") + (home-page "http://code.macournoyer.com/thin/") + (license license:ruby))) -- 2.20.1 From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 6/7] gnu: Add ruby-skinny. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Feb 2019 17:45:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15513758936783 (code B ref 34650); Thu, 28 Feb 2019 17:45:05 +0000 Received: (at 34650) by debbugs.gnu.org; 28 Feb 2019 17:44:53 +0000 Received: from localhost ([127.0.0.1]:55471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPjo-0001lL-Mm for submit@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:53 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:57235) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPja-0001jj-RA for 34650@debbugs.gnu.org; Thu, 28 Feb 2019 12:44:41 -0500 Received: from localhost.localdomain (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 4373910000B for <34650@debbugs.gnu.org>; Thu, 28 Feb 2019 17:44:37 +0000 (UTC) From: Pierre Neidhardt Date: Thu, 28 Feb 2019 18:44:34 +0100 Message-Id: <20190228174435.14499-6-mail@ambrevar.xyz> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190228174435.14499-1-mail@ambrevar.xyz> References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) 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.7 (-) * gnu/packages/ruby.scm (ruby-skinny): New variable. --- gnu/packages/ruby.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 9d3c4b246..8cb170e17 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7783,3 +7783,34 @@ minimal effort.") @end itemize\n") (home-page "http://code.macournoyer.com/thin/") (license license:ruby))) + +(define-public ruby-skinny + (package + (name "ruby-skinny") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (rubygems-uri "skinny" version)) + (sha256 + (base32 + "1y3yvx88ylgz4d2s1wskjk5rkmrcr15q3ibzp1q88qwzr5y493a9")))) + (build-system ruby-build-system) + (arguments + ;; TODO: Grab from GitHub to get tests? + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-before 'build 'patch-gemspec + (lambda _ + (substitute* ".gemspec" + ((".freeze, \\[\\\"~> 1.0.0\"") + ", [\">= 1.0.0\"") + ((".freeze, \\[\\\"< 1.7\", ") ", ["))))))) + (propagated-inputs + `(("ruby-eventmachine" ,ruby-eventmachine) + ("ruby-thin" ,ruby-thin))) + (synopsis "Simple, upgradable WebSockets for Ruby Thin") + (description "Simple, upgradable WebSockets for Ruby Thin.") + (home-page "https://github.com/sj26/skinny") + (license license:expat))) -- 2.20.1 From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] Acknowledgement ([PATCH] ruby-mailcatcher: Draft) Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Feb 2019 17:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15513760657121 (code B ref 34650); Thu, 28 Feb 2019 17:48:01 +0000 Received: (at 34650) by debbugs.gnu.org; 28 Feb 2019 17:47:45 +0000 Received: from localhost ([127.0.0.1]:55481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPmb-0001qn-D2 for submit@debbugs.gnu.org; Thu, 28 Feb 2019 12:47:45 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:51519) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gzPmZ-0001qe-EV for 34650@debbugs.gnu.org; Thu, 28 Feb 2019 12:47:44 -0500 X-Originating-IP: 90.92.41.33 Received: from bababa (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 94C301C0009; Thu, 28 Feb 2019 17:47:39 +0000 (UTC) References: <20190225151705.17655-1-mail@ambrevar.xyz> <871s3vq4fw.fsf@ambrevar.xyz> <87zhqjfzvv.fsf@cbaines.net> <87ftsa24ts.fsf@ambrevar.xyz> User-agent: mu4e 1.0; emacs 26.1 From: Pierre Neidhardt In-reply-to: <87ftsa24ts.fsf@ambrevar.xyz> Date: Thu, 28 Feb 2019 18:47:39 +0100 Message-ID: <87r2brg5z8.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) 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.7 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I've eventually figured that many of the dep requirements in the Ruby commu= nity follow poor practices, so I've lifter all of them to ">=3D" and Mailcatcher= seems to work smoothly still (it starts at least). I've cleanup up the packages, only the tests are missing. The rest should = be ready for merge. Christopher, feel free to merge. Only ruby-tilt conflicts with your patch. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlx4HrsACgkQm9z0l6S7 zH9H5Qf9G8JStz5qreiHZFKB0VVbwDE/KNkYRsGHxMn09oB0Y1v1F7ND1QSaoeu9 OWOLSsE53yYrRVOJPVoBxQ24rnEKm7euy7jPWz3FVxxM+CfjhwYqxcRP/VICaRgD T6IVhyxvJy0sz0iO0ZF3rR9gg3g8VN7Bp3Kpctq5QeXxRAfArvFVvVGBbRUpEhyG BMhe2CtV+3AtsWI2tkUgDBRrorJmkH54UY8Znbx7H5T/EJ7fE5PumcP+cJsHdB68 XAIlcndUf3gBmGTGNFXlwvYqlQ5unv3hGPeH0F5sIhcmhJZzFfx1HcqPaMVG0p1+ +dAM1eWSo7MwDkJSebubSniPgxZcfA== =iAn6 -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] Acknowledgement ([PATCH] ruby-mailcatcher: Draft) Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Mar 2019 21:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Pierre Neidhardt Cc: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.1551733625805 (code B ref 34650); Mon, 04 Mar 2019 21:08:02 +0000 Received: (at 34650) by debbugs.gnu.org; 4 Mar 2019 21:07:05 +0000 Received: from localhost ([127.0.0.1]:60280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0unh-0000Cv-0O for submit@debbugs.gnu.org; Mon, 04 Mar 2019 16:07:05 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57602 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0une-0000CT-I8 for 34650@debbugs.gnu.org; Mon, 04 Mar 2019 16:07:03 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 3D63416D0E; Mon, 4 Mar 2019 21:06:59 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 25d028f8; Mon, 4 Mar 2019 21:06:58 +0000 (UTC) References: <20190225151705.17655-1-mail@ambrevar.xyz> <871s3vq4fw.fsf@ambrevar.xyz> <87zhqjfzvv.fsf@cbaines.net> <87ftsa24ts.fsf@ambrevar.xyz> <87r2brg5z8.fsf@ambrevar.xyz> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines In-reply-to: <87r2brg5z8.fsf@ambrevar.xyz> Date: Mon, 04 Mar 2019 21:06:56 +0000 Message-ID: <87lg1ufixb.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) 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 Pierre Neidhardt writes: > I've eventually figured that many of the dep requirements in the Ruby community > follow poor practices, so I've lifter all of them to ">=" and Mailcatcher seems > to work smoothly still (it starts at least). > > I've cleanup up the packages, only the tests are missing. The rest should be > ready for merge. > > Christopher, feel free to merge. Only ruby-tilt conflicts with your patch. I've now merged some of the Ruby patches that I was working on, including ruby-tilt. It would be good if you could rebase your patches on top of master, and check if they still work. I also ran guix lint on the packages and got the following warnings: gnu/packages/ruby.scm:8431:2: ruby-thin@1.7.2: line 8453 is way too long (91 characters) gnu/packages/ruby.scm:8491:2: mailcatcher@0.6.5: can be upgraded to 0.7.1 gnu/packages/ruby.scm:8491:2: mailcatcher@0.6.5: line 8510 is way too long (92 characters) gnu/packages/ruby.scm:8491:2: mailcatcher@0.6.5: line 8514: parentheses feel lonely, move to the previous or next line gnu/packages/ruby.scm:8491:2: mailcatcher@0.6.5: line 8530 is way too long (96 characters) I'll have a look at the individual patches as well. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlx9k3BfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XeZ3A/+LyI2+6/mqXXIKi/Tez3MhVTH5ezEe69/h5uZCzXtP115b4QIukyqcn0A v5MRV80FNSNycpHmUgxsFUNuYEOYBmXn9lpYSz4bOPvgwG5Dkf2DylSmR1jmxojF Y6mJGm9+PvyCdqwKyza3EW0BEH7d8E6yYo/7+qbrWMJDlLQG2GGHs2KEUE75mApa 3NtNTUIgIfzCgHFPmIWGBSH7nm3vRcvN9sXBk6FoTZI1+HSGiPqe24udvp+mgFY8 wkcVuiFVbGiiYEidvpuM42DHWBhKlQbEkITqDmBJiCHPlJJS+2s20BPR7GSEKp8L wHTeXX0MXJyDFnS0O3pnceU7XsCm5ruZXrUYDOHPIhJrz67NrO8OPoq17YtUMaPC hug/AF37w1eCyxuSGVbF8fpyjhykrP7eiQVQUSISr99QbS+KD8HQEWjNngqMO0tM UuB3hpsP9NYLlp/GrQjRcj6VsY2xf1QsE8sxmKcVdebo8KizjOF60ZozgbFSAKgA u4dB10SLRpu2u67TpNiQ5kBQx4OAYDkr/87LEjtUIyxuJZXdefi30sVFbds0Z8ls U6zPfpe/uJ1LGnr70QDofN+xngazkTAAwf6Z1UL8XcDOmjr6bFPV0CuNuF0BYnCg N/aLGG5B9QN4LewBvTx2c9B8HBDPuSAR71r5JtI4h9ijpF5R30s= =42Qp -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 3/7] gnu: Add ruby-mustermann. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Mar 2019 21:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Pierre Neidhardt Cc: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15517344672112 (code B ref 34650); Mon, 04 Mar 2019 21:22:02 +0000 Received: (at 34650) by debbugs.gnu.org; 4 Mar 2019 21:21:07 +0000 Received: from localhost ([127.0.0.1]:60298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0v1H-0000Xz-0f for submit@debbugs.gnu.org; Mon, 04 Mar 2019 16:21:07 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57612 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0v1C-0000XV-RF for 34650@debbugs.gnu.org; Mon, 04 Mar 2019 16:21:03 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id C663316D0E; Mon, 4 Mar 2019 21:21:00 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 6b3b40db; Mon, 4 Mar 2019 21:21:00 +0000 (UTC) References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> <20190228174435.14499-3-mail@ambrevar.xyz> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines In-reply-to: <20190228174435.14499-3-mail@ambrevar.xyz> Date: Mon, 04 Mar 2019 21:20:57 +0000 Message-ID: <87k1hefi9y.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) 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 Pierre Neidhardt writes: > * gnu/packages/ruby.scm (ruby-mustermann): New variable. > --- > gnu/packages/ruby.scm | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm > index f6b6a19d5..1c10a16c2 100644 > --- a/gnu/packages/ruby.scm > +++ b/gnu/packages/ruby.scm > @@ -7708,3 +7708,25 @@ systems that support multiple template engines but don't want to code for each > of them individually.") > (home-page "https://github.com/rtomayko/tilt/") > (license license:expat))) > + > +(define-public ruby-mustermann > + (package > + (name "ruby-mustermann") > + (version "1.0.3") > + (source > + (origin > + (method url-fetch) > + (uri (rubygems-uri "mustermann" version)) > + (sha256 > + (base32 > + "0lycgkmnyy0bf29nnd2zql5a6pcf8sp69g9v4xw0gcfcxgpwp7i1")))) > + (build-system ruby-build-system) > + (arguments > + ;; TODO: Fix tests. > + `(#:tests? #f)) Could you include some details of what is broken about the tests? Even just a bit of the error message if there is one. Also, I'd usually use a single quote unless a backtick is necessary. > + (synopsis "Library implementing patterns that behave like regular expressions") > + (description "Given a string pattern, Mustermann will turn it into an > +object that behaves like a regular expression and has comparable performance > +characteristics.") > + (home-page "https://github.com/sinatra/mustermann") > + (license license:expat))) I'd recommend trying to avoid inserting packages at the end of modules, or generally in the same place. This can make rebases difficult, and increase the chances of conflicts when going to apply patches. I generally try to fit patches in to modules somewhat alphabetically. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlx9lrlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xfvvw//ak6SNDwOK3N3G4qiOjrvErodQwmxVfIpoa9VOT5C4gaheZsmzK/55XjW iqAeFL1kmy/sWoJoMtbYzjS3MPQrVBB86pB7R+1MMjr3ZLa4uliFg/iqGOmmoehh k96cLpBCbq5bXi3POwCAlSdVWr+Yag1wXFjx2bjoup3f1EAssANPbzMmXEHIf7QD p8XfOymZkuufLRT3vq0pwOFrV1kLeEh33KBs9plJ+HhQ1XlSkPW0LSQDoUkn7dJz kiZviM7QmPOO6qGhgkEm0D9+4D4/s2Itk8+/nprKEJd+9VJCRuQOkRWQLVm+bFnR kNZa8EnSSrD2IcPX+EphFgbTvTZmOOfVkkmX4/oZeMxrZrWFLvY5+i7fMphW8nn7 pabZZhZzrOZyu3JctnOfyUzUr62bTf0jcezpDMBq8kmsqsf1hITTuuDDrYVSq1hw 4LoeuHBMEG18NA5wlKxfFr1RiXq3BuYsD67XC0kOVR6i3Jl3qx4Ql5eupc+uAmtJ ifZiR1rJOmJnvhLOyx92VCEw4nwtk6KnYgZnMIEgFf5iLrm35tZLPEhIvgj70Ml5 PPXy7Yq30USdaomQnprCSG/8NNmwl4TQff9RGevtEBiqiKUgehG8SzjKwwHQqF8s CqSXcdiRkPxn6PEDpLn3TgPrhYuZ72jTEt3OqDw1LeuGO8oInGw= =WHq5 -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 5/7] gnu: Add ruby-thin. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Mar 2019 21:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Pierre Neidhardt Cc: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15517352353310 (code B ref 34650); Mon, 04 Mar 2019 21:34:01 +0000 Received: (at 34650) by debbugs.gnu.org; 4 Mar 2019 21:33:55 +0000 Received: from localhost ([127.0.0.1]:60315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0vDf-0000rJ-5g for submit@debbugs.gnu.org; Mon, 04 Mar 2019 16:33:55 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57664 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0vDd-0000rA-7T for 34650@debbugs.gnu.org; Mon, 04 Mar 2019 16:33:53 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 1C8E216D0E; Mon, 4 Mar 2019 21:33:52 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id e388a726; Mon, 4 Mar 2019 21:33:51 +0000 (UTC) References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> <20190228174435.14499-5-mail@ambrevar.xyz> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines In-reply-to: <20190228174435.14499-5-mail@ambrevar.xyz> Date: Mon, 04 Mar 2019 21:33:49 +0000 Message-ID: <87imwyfhoi.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) 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 Pierre Neidhardt writes: > * gnu/packages/ruby.scm (ruby-thin): New variable. > --- > gnu/packages/ruby.scm | 29 +++++++++++++++++++++++++++++ > 1 file changed, 29 insertions(+) > > diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm > index 78d113af7..9d3c4b246 100644 > --- a/gnu/packages/ruby.scm > +++ b/gnu/packages/ruby.scm > @@ -7754,3 +7754,32 @@ characteristics.") > minimal effort.") > (home-page "http://sinatrarb.com/") > (license license:expat))) > + > +(define-public ruby-thin > + (package > + (name "ruby-thin") > + (version "1.7.2") > + (source > + (origin > + (method url-fetch) > + (uri (rubygems-uri "thin" version)) > + (sha256 > + (base32 > + "0nagbf9pwy1vg09k6j4xqhbjjzrg5dwzvkn4ffvlj76fsn6vv61f")))) > + (build-system ruby-build-system) > + (arguments > + ;; TODO: Fix tests. > + `(#:tests? #f)) As with the other package, it would be good to put at least some information here about what the problem is. > + (propagated-inputs > + `(("ruby-daemons" ,ruby-daemons) > + ("ruby-eventmachine" ,ruby-eventmachine) > + ("ruby-rack" ,ruby-rack))) > + (synopsis "Thin and fast web server for Ruby") > + (description "Thin is a Ruby web server that glues together 3 Ruby libraries: > +@itemize > +@item the Mongrel parser, > +@item Event Machine, a network I/O library with high scalability, performance and stability > +@item Rack, a minimal interface between webservers and Ruby frameworks > +@end itemize\n") > + (home-page "http://code.macournoyer.com/thin/") > + (license license:ruby))) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlx9mb1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xducw//US9gaRHQ3lwSgwPkeADtaVSgDzZInmMg7iT/YqAFLOO2fSgqTGdiw6rO 7pyvwbh4ZkEGVNy4gJNYnXNFnGNtRdfLxPRCm6l00rThVq11sYErqL8irFQDOhVv JQjQHz/qptmNM/VJKk+NQR8VdY1WfMdqcCcT0Di7CXrHxAAeWlkuXh1AGuVXoF02 Roh3igxrcswt4Oa4W+5viwbJ+pVg6+hl9pX/U4uGpDOwL+TZMwGpqPaBK2djL5xi iTcAmEh2ttVl1H7MyWMcfMaNAdQbNM0bk3Rd8aqG2w9MAdMX18hR4Km38OBEX6A3 wUCz90i5TBOwRJsHGtlbabOx5tzJF3DSsobjBPAV2++BZ+SlTjnuZxQX41R1ma8v 1m6mgu5ng6rZIAlyfQ6Yo3xzpspD1De86P4SsZ2u0I9IMMB7OnQYjrcCVTUHCKgL 8wZAGuSBsM0fUdEheIUJn1eCEn9b7uR8Bi7FVMRXS+OOHfye91j1YRKDrmO2iMx4 jDOsXh9tzHmB5ipCt0tjf9/stPVOA+AgbzFx829sQ95cBGTggehQZl6vQA52ZtT4 08kEeDPJeF/qLLnCV+sROPcDu1EFXKpPulOVOW3b6xDHvy2IwO/t+PyB9HZoh/C/ lKw3KY+K4/3zTpfi1Z3jNm0GJvmpkpYdUrTk22t2lfXXSiLb5jk= =R9HX -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 6/7] gnu: Add ruby-skinny. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Mar 2019 21:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Pierre Neidhardt Cc: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15517357954112 (code B ref 34650); Mon, 04 Mar 2019 21:44:02 +0000 Received: (at 34650) by debbugs.gnu.org; 4 Mar 2019 21:43:15 +0000 Received: from localhost ([127.0.0.1]:60319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0vMh-00014F-7G for submit@debbugs.gnu.org; Mon, 04 Mar 2019 16:43:15 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57720 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0vMf-000145-H3 for 34650@debbugs.gnu.org; Mon, 04 Mar 2019 16:43:14 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 4D41816D0E; Mon, 4 Mar 2019 21:43:12 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 830afc48; Mon, 4 Mar 2019 21:43:12 +0000 (UTC) References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> <20190228174435.14499-6-mail@ambrevar.xyz> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines In-reply-to: <20190228174435.14499-6-mail@ambrevar.xyz> Date: Mon, 04 Mar 2019 21:43:09 +0000 Message-ID: <87h8cifh8y.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) 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 Pierre Neidhardt writes: > * gnu/packages/ruby.scm (ruby-skinny): New variable. > --- > gnu/packages/ruby.scm | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > > diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm > index 9d3c4b246..8cb170e17 100644 > --- a/gnu/packages/ruby.scm > +++ b/gnu/packages/ruby.scm > @@ -7783,3 +7783,34 @@ minimal effort.") > @end itemize\n") > (home-page "http://code.macournoyer.com/thin/") > (license license:ruby))) > + > +(define-public ruby-skinny > + (package > + (name "ruby-skinny") > + (version "0.2.4") > + (source > + (origin > + (method url-fetch) > + (uri (rubygems-uri "skinny" version)) > + (sha256 > + (base32 > + "1y3yvx88ylgz4d2s1wskjk5rkmrcr15q3ibzp1q88qwzr5y493a9")))) > + (build-system ruby-build-system) > + (arguments > + ;; TODO: Grab from GitHub to get tests? > + `(#:tests? #f If there are no tests, I'd just put: '(#:tests? #f ; No included tests > + #:phases > + (modify-phases %standard-phases > + (add-before 'build 'patch-gemspec > + (lambda _ > + (substitute* ".gemspec" > + ((".freeze, \\[\\\"~> 1.0.0\"") > + ", [\">= 1.0.0\"") > + ((".freeze, \\[\\\"< 1.7\", ") ", ["))))))) Adding a explicit #t at the end of this phase. > + (propagated-inputs > + `(("ruby-eventmachine" ,ruby-eventmachine) > + ("ruby-thin" ,ruby-thin))) > + (synopsis "Simple, upgradable WebSockets for Ruby Thin") > + (description "Simple, upgradable WebSockets for Ruby Thin.") The synopsis and description are the same. Even if there is no more information to add, it would be good to at least provide a slightly different description. > + (home-page "https://github.com/sj26/skinny") > + (license license:expat))) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlx9m+1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XfC9g/9EjFfXmOvHU+piHxHf+6n0EuwNrkdyCDFU01pqvtbfOGrxhpZPEkVOOMv h+peMMyDJxdTERrp+VxBsmeR7goldK/5y0DA8edgMjb3BvdDTtMXe4Zv2sLXS2D/ O3svgyBudKD1fb3K8WK6EepS3CkINQrWS51zey8qDU3KK5vl79HqflHasZl47EfD 9+6IkTLacrbaEgj8xAKo11VUVeiNHN6ETzKH4dPJ0MXQcSAlF0ipP2+wyeGOm1vc f7gMDvfcKl+2Qvy3q4E2mpfnW0GL69CqpdD31LRssr190vRzryQvMKT5GwkJ+/gC Vm3oF1IVFLRSmi0zq+g6/nryhc7aXpiOQYg0ouCvJA5k7F47cX7r5F94G2NdSOCH goCvbQ/xjdB388ccnr6vJPCdr2DP5+jxzHGRhVour/r47OoPKwWvy2dWXAg613pk ayXfsWtDmntCKdeh8pVNcIXOui7c6NBhtU4HKlbxBZzVYdf9rfluSUEnZM0Omaed g7V7qh+fEDZJTI77kbxSdfuPDlaOhlNf8/CUWAZjHgLEQWxWmQ22ibsNQ++TyHJP 7nQ/c8aVoSYk3kyabBFsC5tmQW7AKoNn4CnZOAYhkS4OM1zOgg/XSSmJLX5mN9qM /wz4chF+SY/nvFxo842DtObrrAU7v+ry6g5YtmC2G04IRMlmJSA= =ZXpj -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 7/7] gnu: Add mailcatcher. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Mar 2019 21:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Pierre Neidhardt Cc: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.15517362154751 (code B ref 34650); Mon, 04 Mar 2019 21:51:02 +0000 Received: (at 34650) by debbugs.gnu.org; 4 Mar 2019 21:50:15 +0000 Received: from localhost ([127.0.0.1]:60328 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0vTS-0001EZ-QA for submit@debbugs.gnu.org; Mon, 04 Mar 2019 16:50:15 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:57732 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h0vTP-0001EN-Un for 34650@debbugs.gnu.org; Mon, 04 Mar 2019 16:50:12 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id AA98F16D0E; Mon, 4 Mar 2019 21:50:08 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id a3d73266; Mon, 4 Mar 2019 21:50:08 +0000 (UTC) References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> <20190228174435.14499-7-mail@ambrevar.xyz> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines In-reply-to: <20190228174435.14499-7-mail@ambrevar.xyz> Date: Mon, 04 Mar 2019 21:50:05 +0000 Message-ID: <87fts2fgxe.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) 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 Pierre Neidhardt writes: > * gnu/packages/ruby.scm (mailcatcher): New variable. > --- > gnu/packages/ruby.scm | 49 +++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 49 insertions(+) > > diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm > index 8cb170e17..854b4669b 100644 > --- a/gnu/packages/ruby.scm > +++ b/gnu/packages/ruby.scm > @@ -7814,3 +7814,52 @@ minimal effort.") > (description "Simple, upgradable WebSockets for Ruby Thin.") > (home-page "https://github.com/sj26/skinny") > (license license:expat))) > + > +(define-public mailcatcher > + (package > + (name "mailcatcher") > + (version "0.6.5") > + (source > + (origin > + (method url-fetch) > + (uri (rubygems-uri "mailcatcher" version)) > + (sha256 > + (base32 > + "0h6gk8n18i5f651f244al1hscjzl27fpma4vqw0qhszqqpd5p3bx")))) > + (build-system ruby-build-system) > + (arguments > + ;; TODO: Grab from GitHub to get tests? > + `(#:tests? #f As with ruby-skinny, if there are no tests, I'd put: '(#:tests? #f ; No included tests > + #:phases > + (modify-phases %standard-phases > + (add-before 'build 'patch-gemspec > + (lambda _ > + (substitute* ".gemspec" > + ((".freeze, \\[\\\"= 1.0.9.1") ", [\">= 1.0.9.1") > + ((".freeze, \\[\\\"~> 1.5") ", [\">= 1.5") > + ((".freeze, \\[\\\"~> 1.5.0") ", [\">= 1.5.0") > + ((".freeze, \\[\\\"~> 1.2") ", [\">= 1.2") > + ))) > + (add-before 'build 'loosen-dependency-contraint > + (lambda _ > + (substitute* "lib/mail_catcher.rb" > + (("\"eventmachine\", \"1.0.9.1\"") "\"eventmachine\", \">= 1.0.9.1\"") > + (("\"rack\", \"~> 1.5\"") "\"rack\", \">= 1.5\"") > + (("\"thin\", \"~> 1.5.0\"") "\"thin\", \">= 1.5.0\"") > + (("\"sinatra\", \"~> 1.2\"") "\"sinatra\", \">= 1.2\""))))))) I'd add an explicit #t at the end of these phases. Also, using wildcards in place of the versions in the mailcatcher gem would probably make it easier to update this package if new versions are released. > + (inputs > + `(("ruby-eventmachine" ,ruby-eventmachine) > + ("ruby-mail" ,ruby-mail) > + ("ruby-rack" ,ruby-rack) > + ("ruby-sinatra" ,ruby-sinatra) > + ("ruby-skinny" ,ruby-skinny) > + ("ruby-sqlite3" ,ruby-sqlite3) > + ("ruby-thin" ,ruby-thin))) > + (synopsis "Run an SMTP server which catches any message sent to it to display in a browser") > + (description > + "MailCatcher runs a super simple SMTP server which catches any message > +sent to it to display in a web interface. Run mailcatcher, set your favourite > +app to deliver to smtp://127.0.0.1:1025 instead of your default SMTP server, > +then check out http://127.0.0.1:1080 to see the mail.") > + (home-page "https://mailcatcher.me") > + (license license:expat))) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlx9nY1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XflGg/9GNkAxpkzHsD9MJiwkhH0Ue22vPVUiepjvDGCVCyWVJkr45/d6lUYQkqF oPlr6n/kKkN5UYwoNc8gE+9FySRaRPmT53iBx1cRWFmXzxw7GH6LQThO8POf5ori GOqqH89zE4PhjPgNQh5V68sCfPOf4QHlyt9W504ez6+FkNZ9IWaeFzxbyKS0eIDN QzRyIC2MFdLb0gqn48mtWNx5nYMOIsXKIDPuKMKzzPJNDh+m+dtic0bqsTmAli1b yniKb1IVIT4pE0gpDWkVXk60vsRGVOpUk6Ih1PPNXpIxv3u4gxkZbyadlLBBx5st yl77MkA615TYtcvJQbS9Z0aNGg6Q8fv02y3PsIx+2K8KqukIFHOpqqLYO9qGXeo9 9tSaa/jQuih56A/2/2IxkKoiZEBi50s3jwiSG1k/NOQeFar9ZmwpLFsvl+tn3Clj USynvHH+89ZJvoFdChLRpeycnGFhrKELgSPyZVgVAdS4P0Ml+MF5AuJDGwtP63tG 0aXiWtireWzera5TgPUm3ZQIYmoiyindEQ3ztcMSwnbQzGWijsMcSVmT+YQrC8tR Av2SNsKTBiYj0T77daD/IOe/Q99xm1Xw44Q5PacZt9X/jcAk4T0AMtia1G7cy/DP SAQkB9BsQBQVNcUd0rFyD8X7B8yB7bZlfDowYkNL1p4OyYm66BY= =T9vC -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 7/7] gnu: Add mailcatcher. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Mar 2019 15:31:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.155179981122328 (code B ref 34650); Tue, 05 Mar 2019 15:31:04 +0000 Received: (at 34650) by debbugs.gnu.org; 5 Mar 2019 15:30:11 +0000 Received: from localhost ([127.0.0.1]:33329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1C1D-0005nw-1U for submit@debbugs.gnu.org; Tue, 05 Mar 2019 10:30:11 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:43231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h164o-0002qt-1X for 34650@debbugs.gnu.org; Tue, 05 Mar 2019 04:09:31 -0500 X-Originating-IP: 90.92.41.33 Received: from bababa (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: pierre@atlas.engineer) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id B2C42240003; Tue, 5 Mar 2019 09:09:27 +0000 (UTC) References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> <20190228174435.14499-7-mail@ambrevar.xyz> <87fts2fgxe.fsf@cbaines.net> User-agent: mu4e 1.0; emacs 26.1 From: Pierre Neidhardt Message-ID: <87y35tvgav.fsf@ambrevar.xyz> In-reply-to: <87fts2fgxe.fsf@cbaines.net> Date: Tue, 05 Mar 2019 10:09:27 +0100 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Mailman-Approved-At: Tue, 05 Mar 2019 10:30:09 -0500 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.7 (-) Thanks for the review! > I'd recommend trying to avoid inserting packages at the end of modules, > or generally in the same place. This can make rebases difficult, and > increase the chances of conflicts when going to apply patches. I > generally try to fit patches in to modules somewhat alphabetically. You are very true here, but currently ruby.scm seems to follow no order whatsoever. Not sure where to insert the new packages then. -- Pierre Neidhardt https://ambrevar.xyz/ From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] Acknowledgement ([PATCH] ruby-mailcatcher: Draft) Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Mar 2019 15:31:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.155179981222335 (code B ref 34650); Tue, 05 Mar 2019 15:31:04 +0000 Received: (at 34650) by debbugs.gnu.org; 5 Mar 2019 15:30:12 +0000 Received: from localhost ([127.0.0.1]:33331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1C1D-0005o5-Jq for submit@debbugs.gnu.org; Tue, 05 Mar 2019 10:30:11 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:58443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h16Dq-000344-Oe for 34650@debbugs.gnu.org; Tue, 05 Mar 2019 04:18:51 -0500 X-Originating-IP: 90.92.41.33 Received: from bababa (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: pierre@atlas.engineer) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id D195E20006; Tue, 5 Mar 2019 09:18:46 +0000 (UTC) References: <20190225151705.17655-1-mail@ambrevar.xyz> <871s3vq4fw.fsf@ambrevar.xyz> <87zhqjfzvv.fsf@cbaines.net> <87ftsa24ts.fsf@ambrevar.xyz> <87r2brg5z8.fsf@ambrevar.xyz> <87lg1ufixb.fsf@cbaines.net> User-agent: mu4e 1.0; emacs 26.1 From: Pierre Neidhardt Message-ID: <87tvghvfv8.fsf@ambrevar.xyz> In-reply-to: <87lg1ufixb.fsf@cbaines.net> Date: Tue, 05 Mar 2019 10:18:46 +0100 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Mailman-Approved-At: Tue, 05 Mar 2019 10:30:09 -0500 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.7 (-) > gnu/packages/ruby.scm:8431:2: ruby-thin@1.7.2: line 8453 is way too long (91 characters) > gnu/packages/ruby.scm:8491:2: mailcatcher@0.6.5: can be upgraded to 0.7.1 > gnu/packages/ruby.scm:8491:2: mailcatcher@0.6.5: line 8510 is way too long (92 characters) > gnu/packages/ruby.scm:8491:2: mailcatcher@0.6.5: line 8514: parentheses feel lonely, move to the previous or next line > gnu/packages/ruby.scm:8491:2: mailcatcher@0.6.5: line 8530 is way too long (96 characters) Funny, I did lint the packages and I don't get the long line warnings. Any clue what's going on? -- Pierre Neidhardt https://ambrevar.xyz/ From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 7/7] gnu: Add mailcatcher. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Mar 2019 15:31:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.155179981222343 (code B ref 34650); Tue, 05 Mar 2019 15:31:05 +0000 Received: (at 34650) by debbugs.gnu.org; 5 Mar 2019 15:30:12 +0000 Received: from localhost ([127.0.0.1]:33333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1C1D-0005oC-UG for submit@debbugs.gnu.org; Tue, 05 Mar 2019 10:30:12 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:42403) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h17Ia-0004k8-1M for 34650@debbugs.gnu.org; Tue, 05 Mar 2019 05:27:49 -0500 X-Originating-IP: 90.92.41.33 Received: from bababa (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: pierre@atlas.engineer) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id F24F91C0006; Tue, 5 Mar 2019 10:27:44 +0000 (UTC) References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> <20190228174435.14499-7-mail@ambrevar.xyz> <87fts2fgxe.fsf@cbaines.net> <87y35tvgav.fsf@ambrevar.xyz> User-agent: mu4e 1.0; emacs 26.1 From: Pierre Neidhardt In-reply-to: <87y35tvgav.fsf@ambrevar.xyz> Date: Tue, 05 Mar 2019 11:27:44 +0100 Message-ID: <87r2blvcnz.fsf@atlas.engineer> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Mailman-Approved-At: Tue, 05 Mar 2019 10:30:09 -0500 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.7 (-) I've taken all your comments into accounts (hopefully). I did not manage to run the test suite for mailcatcher. I've added a comment explaining what's going on, but I don't know enough Ruby to fix it properly. I've pushed to master. Thanks again for your review! -- Pierre Neidhardt https://ambrevar.xyz/ From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] [PATCH 7/7] gnu: Add mailcatcher. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Mar 2019 18:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Pierre Neidhardt Cc: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.155181187218232 (code B ref 34650); Tue, 05 Mar 2019 18:52:02 +0000 Received: (at 34650) by debbugs.gnu.org; 5 Mar 2019 18:51:12 +0000 Received: from localhost ([127.0.0.1]:33445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1F9k-0004k0-0M for submit@debbugs.gnu.org; Tue, 05 Mar 2019 13:51:12 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:58476 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1F9f-0004jm-KJ for 34650@debbugs.gnu.org; Tue, 05 Mar 2019 13:51:08 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id AE3F416D2C; Tue, 5 Mar 2019 18:51:04 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id e40056a7; Tue, 5 Mar 2019 18:51:04 +0000 (UTC) References: <87ftsa24ts.fsf@ambrevar.xyz> <20190228174435.14499-1-mail@ambrevar.xyz> <20190228174435.14499-7-mail@ambrevar.xyz> <87fts2fgxe.fsf@cbaines.net> <87y35tvgav.fsf@ambrevar.xyz> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines In-reply-to: <87y35tvgav.fsf@ambrevar.xyz> Date: Tue, 05 Mar 2019 18:51:02 +0000 Message-ID: <87bm2pf949.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) 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 Pierre Neidhardt writes: > Thanks for the review! > >> I'd recommend trying to avoid inserting packages at the end of modules, >> or generally in the same place. This can make rebases difficult, and >> increase the chances of conflicts when going to apply patches. I >> generally try to fit patches in to modules somewhat alphabetically. > > You are very true here, but currently ruby.scm seems to follow no order > whatsoever. Not sure where to insert the new packages then. Well, it's in no strict order. One approach I normally use is to start at the top and work my way down, and fit packages in just below the first thing that's before them in the alphabet. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlx+xRZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XdeFRAArbfgzQHcLdxCRkaay7mVXsL5Np/fqsirysTVdjm1sPb5EcHBCileN+j9 1J/GotpYWCb8KyrpwOh6LdzNhTjk6C9+JhSLqVi3xiAQCMAbNGGDl1VfHf8jKiz+ 5Xm6fHfR2ZdZbUu0ti/tTndtzLqob4hVLFjAi3lw/QP1mDRw9ORYUPn3rukLhnlS MBdrm2jToct2TqSXl5XxWkX/sC9xWifYxvtl0YXHRvVENsOhxe6qcnIOX/ZmHnQ+ vA9otsE7QdAGJYaMm4w4cjsrNbjpDCUoALOwvCeT9YAE/VxZ1ENIq6gR4pNAeSCf UPkOziPvNk8SsB42BcE18snAwz8Y7sUCNlSyBU5F7/7fsd+QMBRblBYvrlL/MLJQ 1gZIOeoPf6Jo8KhgXluakojRP8vdNeBvQOmSUkHdfNMDPl53uusStWUBK9DDHm36 ksYhxXyVtNqy7Q/3ynCiFmn7HaFJY+26r6yvrE33NYBZoTaYvcSUx4T0PFRS9GPP yZTjJo/GgFhxUl1qmmmjlPnxUhGTV30KorH+CB0IPDGti9M+hhaqgNi2EGZTWush lpNa2RInJOM+v+wEVZwHb6HOUeLkuI3XaTktJ1osMNF4XPJaS4YzkB5Z676094t0 UXtK18SG0Nt+dxP7li847WyBjnfnnIG9Y1li2/c2hVI9q7BXXG8= =cNum -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 13 11:00:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#34650] Acknowledgement ([PATCH] ruby-mailcatcher: Draft) Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Mar 2019 18:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34650 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Pierre Neidhardt Cc: 34650@debbugs.gnu.org Received: via spool by 34650-submit@debbugs.gnu.org id=B34650.155181192218339 (code B ref 34650); Tue, 05 Mar 2019 18:53:01 +0000 Received: (at 34650) by debbugs.gnu.org; 5 Mar 2019 18:52:02 +0000 Received: from localhost ([127.0.0.1]:33449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1FAY-0004lX-BN for submit@debbugs.gnu.org; Tue, 05 Mar 2019 13:52:02 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:58478 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1FAV-0004lA-Hj for 34650@debbugs.gnu.org; Tue, 05 Mar 2019 13:51:59 -0500 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id E512816D2C; Tue, 5 Mar 2019 18:51:58 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id c266035a; Tue, 5 Mar 2019 18:51:59 +0000 (UTC) References: <20190225151705.17655-1-mail@ambrevar.xyz> <871s3vq4fw.fsf@ambrevar.xyz> <87zhqjfzvv.fsf@cbaines.net> <87ftsa24ts.fsf@ambrevar.xyz> <87r2brg5z8.fsf@ambrevar.xyz> <87lg1ufixb.fsf@cbaines.net> <87tvghvfv8.fsf@ambrevar.xyz> User-agent: mu4e 1.0; emacs 26.1 From: Christopher Baines In-reply-to: <87tvghvfv8.fsf@ambrevar.xyz> Date: Tue, 05 Mar 2019 18:51:58 +0000 Message-ID: <87a7i9f92p.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) 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 Pierre Neidhardt writes: >> gnu/packages/ruby.scm:8431:2: ruby-thin@1.7.2: line 8453 is way too long (91 characters) >> gnu/packages/ruby.scm:8491:2: mailcatcher@0.6.5: can be upgraded to 0.7.1 >> gnu/packages/ruby.scm:8491:2: mailcatcher@0.6.5: line 8510 is way too long (92 characters) >> gnu/packages/ruby.scm:8491:2: mailcatcher@0.6.5: line 8514: parentheses feel lonely, move to the previous or next line >> gnu/packages/ruby.scm:8491:2: mailcatcher@0.6.5: line 8530 is way too long (96 characters) > > Funny, I did lint the packages and I don't get the long line warnings. Any clue > what's going on? No, I'm unsure why those warnings wouldn't appear. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlx+xU5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XfXJQ/+PcNC2zbHXeJQ+U4KLbjDwwcIMANgbPJsDrhYRUOW99zRy3xPjSO60lX7 A+ZstV1fNwYQMvsfFyl/hbSNw4f5L3dEHQbgJIakR9Xs4cnxWzQDOhTGaWCG2kzE O28j+ol42CP33ReeJ2Od+Mnnyy5+JZKbkj1VRJxACWTptCP7B7o1skWNVmDgOsDO xVISHs7UjAKhYYmy0+Eyqik6uyemx4rRzyopZE4G3QLSCeEcy5XeQFnFzMeGh8HE OPkV76qjKnJdYBjLaXn0dVSqNNu/tQS0QrQme1QzyAet4w7BU3g1doGxfzW90qIb EPPaX25+708tX8BZEhK0eyj1eOsQbGc7x4H2ZtgcT0jrtm3nDHhEgQd2MWA9cJS2 08s70SaHx3L+kpkcX+kiRvll3MSIo02iQ0aOiCCpQ/0wyoVn8ENZBwFjAly3u6hc CQyh800sY2R1iH847zDRHzfrT5uqoM8hyJboEIhMU7I8+Bg8AmSg4PLAafMVpJl+ UF8vYt8jsKLqpXA3Mw36Zrm1CZyNpnGoXsU5LQKoGMCfKz9XMabsEaOW5mHsWHTv 1kJgn50Fw4sgJzWrOvS5BqTKvh7152R1pb8Zv7YyCLA1elbMDdxEKtEWGcLOeMMG 1BgnhLfE3O9wf1geFtX8zyQwmRbVb5e3WpzufUyrmV4H+7YcmIU= =QxYx -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 16 10:05:19 2019 Received: (at control) by debbugs.gnu.org; 16 Mar 2019 14:05:19 +0000 Received: from localhost ([127.0.0.1]:46603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h59w7-0007Ti-6j for submit@debbugs.gnu.org; Sat, 16 Mar 2019 10:05:19 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:54677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h59w4-0007TX-4B for control@debbugs.gnu.org; Sat, 16 Mar 2019 10:05:17 -0400 X-Originating-IP: 90.92.41.33 Received: from bababa (lfbn-1-12225-33.w90-92.abo.wanadoo.fr [90.92.41.33]) (Authenticated sender: mail@ambrevar.xyz) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 697EB60006 for ; Sat, 16 Mar 2019 14:05:12 +0000 (UTC) Date: Sat, 16 Mar 2019 15:05:11 +0100 Message-Id: <87wokyud7s.fsf@ambrevar.xyz> To: control@debbugs.gnu.org From: Pierre Neidhardt Subject: control message for bug #34650 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control 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.7 (-) close 34650