From unknown Mon Aug 18 22:12:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27590: artanis has a bundled and customized copy of guile-json package Resent-From: Adonay Felipe Nogueira Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 05 Jul 2017 18:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27590 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 27590@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.149927996927921 (code B ref -1); Wed, 05 Jul 2017 18:40:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Jul 2017 18:39:29 +0000 Received: from localhost ([127.0.0.1]:53694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSpCz-0007GH-KE for submit@debbugs.gnu.org; Wed, 05 Jul 2017 14:39:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSpCx-0007G3-LE for submit@debbugs.gnu.org; Wed, 05 Jul 2017 14:39:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSpCq-0003Vv-UT for submit@debbugs.gnu.org; Wed, 05 Jul 2017 14:39:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50,RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43451) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dSpCq-0003Vn-Qm for submit@debbugs.gnu.org; Wed, 05 Jul 2017 14:39:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSpCp-0007fv-Fi for bug-guix@gnu.org; Wed, 05 Jul 2017 14:39:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSpCm-0003UF-DU for bug-guix@gnu.org; Wed, 05 Jul 2017 14:39:19 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:54398 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dSpCm-0003TM-5p for bug-guix@gnu.org; Wed, 05 Jul 2017 14:39:16 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 6F0F3525FD6; Wed, 5 Jul 2017 20:39:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1499279954; bh=4pnyXWO55ck0CziM92IwXXo1dXbs0Rq83eTQKwgXB4A=; h=From:To:Subject:Date:From; b=c1LxYERHqSCaoWWm1AcAGOz99bbeF4+PcR3Mub1acMiDavH4jZFHPcqiynV18Ym3E PG+WqHomXk44x2IUcirl1sVvrW8MTfEp+e1hRimOMQpYqZ5mxDk9wVNUHVsCJFwHXS rhZjQJJSd2zJ3NxEwXwn+cjq3GB3WfQ4VPJ36qqI= From: Adonay Felipe Nogueira DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1499279953; bh=4pnyXWO55ck0CziM92IwXXo1dXbs0Rq83eTQKwgXB4A=; h=From:To:Subject:Date:From; b=KAJjYseL8xk+d6qRyzS3u9OgZQiNIa3FwddUglFMfFOQq3H55z6A9OcYdSbUibe9M a2vvmQioUVY4XmlVj4Wk/w9WEE2kC9JNmuLKV8YUq4XWqxc7xYyLtx/L+g0T2Fta28 aFU0gQFT67DacAqn0NYKKSbOcxBqLa8AgvtTsNsE= Date: Wed, 05 Jul 2017 15:39:08 -0300 Message-ID: <87mv8i4tkj.fsf@openmailbox.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.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] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.5 (---) 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.5 (---) Commit 71b0418843ef0aa8de97734851879a0479c81f69 in the Git repository of GNU Artanis introduces this issue. The affected files are at "artanis/third-party/json/upstream". There is another file at "artanis/third-party/json.scm", but I don't know if it is from guile-json. The file at "artanis/third-party/json/upstream/README" says that upstream is a Git repository in GitHub (ugh), but I found out that our guile-json package comes from a Git repository in GNU Savannah that is the same as the one in GitHub (and this one actually has download links pointing to GNU Savannah)... what a duplicated work. ;) So far I have attempted: - Comparison between GNU Artanis' "artanis/third-party/json/upstream/builder.scm" (from commit 71b0418843ef0aa8de97734851879a0479c81f69) with guile-json's "json/builder.scm". After each comparison, the local copy of guile-json repository was checked-out for a commit prior to the current. This was repeated until an exact match was found, and until `git checkout` exited with an error. - Comparison between GNU Artanis' "artanis/third-party/json/upstream/parser.scm" (id.) with guile-json's "json/parser.scm". After each comparison, the local copy of guile-json repository was checked-out for a commit prior to the current. This was repeated until an exact match was found, and until `git checkout` exited with an error. However, none of these attempts resulted in exact matches (so that the two bundled files could be compared). This seems to tell me that commit 71b0418843ef0aa8de97734851879a0479c81f69 already introduced customized bundles. For the sake of transparency, here is the GNU Bash script I used for the comparison attempts: # "${HOME}/Projetos/Software/guile-json" is my local copy of guile-json # repository. cd "${HOME}/Projetos/Software/guile-json" for each_file in "builder.scm" "parser.scm"; do until diff -qwB -I '^[[:space:]]*;' -I 'artanis[/[:space:]]{1,}third-part= y' "json/${each_file}" "../artanis/artanis/third-party/json/upstream/${each= _file}"; do git checkout HEAD~1 if [ $? -ne 0 ]; then break fi done git fetch git update-ref "remotes/origin/master" "master" git checkout "master" done --=20 - [[https://libreplanet.org/wiki/User:Adfeno]] - Palestrante e consultor sobre /software/ livre (n=C3=A3o confundir com gratis). - "WhatsApp"? Ele n=C3=A3o =C3=A9 livre, por isso n=C3=A3o uso. Iguais a el= e prefiro GNU Ring, ou Tox. Quer outras formas de contato? Adicione o vCard que est=C3=A1 no endere=C3=A7o acima aos teus contatos. - Pretende me enviar arquivos .doc, .ppt, .cdr, ou .mp3? OK, eu aceito, mas n=C3=A3o repasso. Entrego apenas em formatos favor=C3=A1veis = ao /software/ livre. Favor entrar em contato em caso de d=C3=BAvida. From unknown Mon Aug 18 22:12:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27590: artanis has a bundled and customized copy of guile-json package Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 05 Jul 2017 22:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27590 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Adonay Felipe Nogueira Cc: 27590@debbugs.gnu.org Received: via spool by 27590-submit@debbugs.gnu.org id=B27590.149929245327801 (code B ref 27590); Wed, 05 Jul 2017 22:08:02 +0000 Received: (at 27590) by debbugs.gnu.org; 5 Jul 2017 22:07:33 +0000 Received: from localhost ([127.0.0.1]:53850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSsSL-0007EL-KV for submit@debbugs.gnu.org; Wed, 05 Jul 2017 18:07:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33109) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSsSJ-0007E7-8x for 27590@debbugs.gnu.org; Wed, 05 Jul 2017 18:07:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSsSB-00015f-40 for 27590@debbugs.gnu.org; Wed, 05 Jul 2017 18:07:26 -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.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40280) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSsSA-00015X-WC; Wed, 05 Jul 2017 18:07:23 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:42230 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dSsSA-0003m8-Fw; Wed, 05 Jul 2017 18:07:22 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87mv8i4tkj.fsf@openmailbox.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 Messidor an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Thu, 06 Jul 2017 00:07:20 +0200 In-Reply-To: <87mv8i4tkj.fsf@openmailbox.org> (Adonay Felipe Nogueira's message of "Wed, 05 Jul 2017 15:39:08 -0300") Message-ID: <87h8yqr10n.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.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-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.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: -5.0 (-----) Hello, Adonay Felipe Nogueira skribis: > So far I have attempted: > > - Comparison between GNU Artanis' > "artanis/third-party/json/upstream/builder.scm" (from commit > 71b0418843ef0aa8de97734851879a0479c81f69) with guile-json's > "json/builder.scm". After each comparison, the local copy of > guile-json repository was checked-out for a commit prior to the > current. This was repeated until an exact match was found, and until > `git checkout` exited with an error. > > - Comparison between GNU Artanis' > "artanis/third-party/json/upstream/parser.scm" (id.) with guile-json's > "json/parser.scm". After each comparison, the local copy of guile-json > repository was checked-out for a commit prior to the current. This was > repeated until an exact match was found, and until `git checkout` > exited with an error. > > However, none of these attempts resulted in exact matches (so that the > two bundled files could be compared). This seems to tell me that commit > 71b0418843ef0aa8de97734851879a0479c81f69 already introduced customized > bundles. Good catch. Did you try removing the bundled Guile-JSON and adding =E2=80=9Cours=E2=80=9D as an input? Perhaps you could take it to upstream (Nala Ginrut), who I=E2=80=99m sure w= ould be happy to discuss this. Thank you, Ludo=E2=80=99. From unknown Mon Aug 18 22:12:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27590: artanis has a bundled and customized copy of guile-json package Resent-From: Adonay Felipe Nogueira Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 16 Jul 2017 15:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27590 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 27590@debbugs.gnu.org Received: via spool by 27590-submit@debbugs.gnu.org id=B27590.150021719017867 (code B ref 27590); Sun, 16 Jul 2017 15:00:02 +0000 Received: (at 27590) by debbugs.gnu.org; 16 Jul 2017 14:59:50 +0000 Received: from localhost ([127.0.0.1]:42576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWl1S-0004e7-9S for submit@debbugs.gnu.org; Sun, 16 Jul 2017 10:59:50 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:46171 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWl1Q-0004dz-Ce for 27590@debbugs.gnu.org; Sun, 16 Jul 2017 10:59:49 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 8309B4E2698; Sun, 16 Jul 2017 16:58:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1500217103; bh=47La70u3DqoCMP3DA60Xpg8uP/syim9g1DQs6sSm+as=; h=From:To:Subject:References:Date:In-Reply-To:From; b=maZYGqRVH7G5Bty/YN+m0nnOXjBygrRYxnfFOWN9wXL+xOWlYnbYhjmnD9hrZCPhS s/WqVKKuUe64wnixiQfr1dNoWn6+SwNhGjD8dMBIq63cFTIQaHofWwqlSDPvPj4Wvu Z1L/3S+B1wr5BUyFbxcL2p/GOhxRw5aOlExKfJoo= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR002 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 From: Adonay Felipe Nogueira DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1500217103; bh=47La70u3DqoCMP3DA60Xpg8uP/syim9g1DQs6sSm+as=; h=From:To:Subject:References:Date:In-Reply-To:From; b=maZYGqRVH7G5Bty/YN+m0nnOXjBygrRYxnfFOWN9wXL+xOWlYnbYhjmnD9hrZCPhS s/WqVKKuUe64wnixiQfr1dNoWn6+SwNhGjD8dMBIq63cFTIQaHofWwqlSDPvPj4Wvu Z1L/3S+B1wr5BUyFbxcL2p/GOhxRw5aOlExKfJoo= References: <87mv8i4tkj.fsf@openmailbox.org> Date: Sun, 16 Jul 2017 11:58:19 -0300 In-Reply-To: <87mv8i4tkj.fsf@openmailbox.org> (Adonay Felipe Nogueira's message of "Wed, 05 Jul 2017 15:39:08 -0300") Message-ID: <87tw2ca0ok.fsf@openmailbox.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: 0.0 (/) I have asked for more information on the artanis mailing list, see [[https://lists.gnu.org/archive/html/artanis/2017-07/msg00000.html]]. From unknown Mon Aug 18 22:12:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27590: artanis has a bundled and customized copy of guile-json package Resent-From: Adonay Felipe Nogueira Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 17 Jul 2017 03:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27590 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 27590@debbugs.gnu.org Received: via spool by 27590-submit@debbugs.gnu.org id=B27590.150026107617975 (code B ref 27590); Mon, 17 Jul 2017 03:12:02 +0000 Received: (at 27590) by debbugs.gnu.org; 17 Jul 2017 03:11:16 +0000 Received: from localhost ([127.0.0.1]:42987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWwRI-0004fr-5V for submit@debbugs.gnu.org; Sun, 16 Jul 2017 23:11:16 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:44590 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWwRF-0004fh-PE for 27590@debbugs.gnu.org; Sun, 16 Jul 2017 23:11:14 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id B865B4E436F; Mon, 17 Jul 2017 05:11:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1500261072; bh=CVEx4WvsO0iIf4Frep5y1aw3cqLGe0FZigXYtV9Hjzk=; h=From:To:Subject:References:Date:In-Reply-To:From; b=jpLCTrD17JJgbimr0H+7JGEkrSBoIX3kBwA1BrSLLHXKm2IBEIve97xUPKqFXH2yA XcvIjfICTfnxtfx6BTHePqMQCwMfXPn3r4jE753v1g3UKpnhwAnsZ9xEwTTQaODvrz 4tP9us0VPaclDHV1FvDNnPGIzJzXiGdMeb/afIEE= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR002 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 From: Adonay Felipe Nogueira DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1500261072; bh=CVEx4WvsO0iIf4Frep5y1aw3cqLGe0FZigXYtV9Hjzk=; h=From:To:Subject:References:Date:In-Reply-To:From; b=jpLCTrD17JJgbimr0H+7JGEkrSBoIX3kBwA1BrSLLHXKm2IBEIve97xUPKqFXH2yA XcvIjfICTfnxtfx6BTHePqMQCwMfXPn3r4jE753v1g3UKpnhwAnsZ9xEwTTQaODvrz 4tP9us0VPaclDHV1FvDNnPGIzJzXiGdMeb/afIEE= References: <87mv8i4tkj.fsf@openmailbox.org> Date: Mon, 17 Jul 2017 00:11:07 -0300 In-Reply-To: <87mv8i4tkj.fsf@openmailbox.org> (Adonay Felipe Nogueira's message of "Wed, 05 Jul 2017 15:39:08 -0300") Message-ID: <87inir92r8.fsf@openmailbox.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: 0.0 (/) I have compared the two. Note however that I didn't test them, I only read the diffs, so my notes might not accurately reflect nested/complex cases. Discarding the new features implemented in guile-json since the bundled customization and the deprecation of (json ...) macro, it seems that "json/builder.scm" is the file where most important changes are. Considering upstream guile-json: - (json-build-object ...) considers the given Scheme "native" directly as a list of pairs (that is: no conversion is done inside the procedure itself). - (json-build ...) has conditionals for checking if a given Scheme "native" is a symbol, and also for checking if it's an association list. - Inside (json-build ...), the conditional that checks if the givem Scheme object is a hash table also builds JSON documents for those cases, but instead of taking the Scheme "native" as it is, it will receive such converted to a list of pairs. Considering the bundled and customized guile-json: - (json-build-object ...) calls procedures to convert the given Scheme "native" to a list of pairs (that is: there is always a conversion made inside the procedure). - (json-build ...) has no conditionals to check for symbols and association lists specially. - Inside (json-build ...), the conditional that checks if the givem Scheme object is a hash table takes the Scheme "native" as it is. This indicates that upstream guile-json seems to have more control on what to do with each thing. However, I don't know if this really impacts GNU Artanis such that there is an unexpected behavior. From the looks of it, there might be no problem on removing the bundle. Of course, a test is preferable. From unknown Mon Aug 18 22:12:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27590: artanis has a bundled and customized copy of guile-json package Resent-From: Adonay Felipe Nogueira Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 28 Jul 2017 14:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27590 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 27590@debbugs.gnu.org Received: via spool by 27590-submit@debbugs.gnu.org id=B27590.150125234426255 (code B ref 27590); Fri, 28 Jul 2017 14:33:01 +0000 Received: (at 27590) by debbugs.gnu.org; 28 Jul 2017 14:32:24 +0000 Received: from localhost ([127.0.0.1]:60169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1db6JQ-0006pL-AM for submit@debbugs.gnu.org; Fri, 28 Jul 2017 10:32:24 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:37985 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1db6JO-0006pC-Ip for 27590@debbugs.gnu.org; Fri, 28 Jul 2017 10:32:19 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 38F5A4E5E6A; Fri, 28 Jul 2017 16:28:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1501252106; bh=zTN2XMw4KBY8DJVVV9ST37RA4Xuba3mOh4uMrP7V9tM=; h=From:To:Subject:References:Date:In-Reply-To:From; b=vi4ys90DrUBoJo8lbl5v8Sus/wI/ga2x4He/qggTZt3RZ8IG+KIOt2zayANoaZdwW 4oI11AY0eax2IN7EvD16Dx5qpx0mra73q4r60slVWSQ4k0p7fspZghxjRupyECUPxT dr1vOC9jvZkKCd1F/j7T8h4Ny1sqlIBqmPXdCJ4E= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR003 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 From: Adonay Felipe Nogueira DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1501252105; bh=zTN2XMw4KBY8DJVVV9ST37RA4Xuba3mOh4uMrP7V9tM=; h=From:To:Subject:References:Date:In-Reply-To:From; b=QP1JXyng2ExF0vWaJU32YAjoPy08MkWC/LZK2cuFIa/bIdkuaw8Xwylliz8swqbJF L5GRVY+Y1mKubciShoUnzV/YjtlfRcQey8WaVrTJFF7m5zGM9rPPg9eLLHdPWjFM/0 EQT+kmofUrPC8/m4AvM4y2gOKpuETa4wpCOgA998= References: <87mv8i4tkj.fsf@openmailbox.org> Date: Fri, 28 Jul 2017 11:28:21 -0300 In-Reply-To: <87mv8i4tkj.fsf@openmailbox.org> (Adonay Felipe Nogueira's message of "Wed, 05 Jul 2017 15:39:08 -0300") Message-ID: <87a83oiqka.fsf@openmailbox.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: 0.0 (/) --=-=-= Content-Type: text/plain The following patch is an attempt to fix this. I noticed that the '->json-string procedure doesn't exist in the official guile-json. I tried checking for it also in multiple revisions, but couldn't find it. Due to my lack of understanding on how both GNU Artanis and guile-json work internally, I assume however that '->json-string was similar to 'scm->json-string. --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: inline; filename="gnu packages guile (artanis).patch" Content-Transfer-Encoding: quoted-printable >From 8ec0eaaa0e552e7d99be369a4251b2577ac927ac Mon Sep 17 00:00:00 2001 From: Adonay Felipe Nogueira Date: Fri, 28 Jul 2017 11:18:03 -0300 Subject: [PATCH] gnu: artanis: Unbundled guile-json and version according to documentation. * gnu/packages/guile.scm (artanis): Unbundled guile-json and version according to documentation. --- gnu/packages/guile.scm | 129 +++++++++++++++++++++++++++++----------------= ---- 1 file changed, 77 insertions(+), 52 deletions(-) diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index f1ffc0e..3bcfbc0 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -7,7 +7,7 @@ ;;; Copyright =C2=A9 2016 Erik Edrosa ;;; Copyright =C2=A9 2016 Eraim Flashner ;;; Copyright =C2=A9 2016, 2017 Alex Kost -;;; Copyright =C2=A9 2016 Adonay "adfeno" Felipe Nogueira +;;; Copyright =C2=A9 2016, 2017 Adonay "adfeno" Felipe Nogueira ;;; Copyright =C2=A9 2016 Amirouche ;;; Copyright =C2=A9 2016 Jan Nieuwenhuizen ;;; Copyright =C2=A9 2017 Andy Wingo @@ -67,6 +67,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix build utils) #:use-module (guix build-system gnu) #:use-module (guix build-system trivial) #:use-module (guix utils) @@ -384,55 +385,79 @@ program can be installed in one go.") ;;; =20 (define-public artanis - (package - (name "artanis") - (version "0.2.1") - (source (origin - (method url-fetch) - (uri (string-append "mirror://gnu/artanis/artanis-" - version ".tar.gz")) - (sha256 - (base32 - "041ajcg2pz918kd9iqcj4inpzddc3impvz3r2nhlpbv8zrz011hn")))) - (build-system gnu-build-system) - ;; TODO: Add guile-dbi and guile-dbd optional dependencies. - (inputs `(("guile" ,guile-2.2))) - (native-inputs `(("bash" ,bash) ;for the `source' builtin - ("pkgconfig" ,pkg-config) - ("util-linux" ,util-linux))) ;for the `script' command - (arguments - '(#:make-flags - ;; TODO: The documentation must be built with the `docs' target. - (let* ((out (assoc-ref %outputs "out")) - (scm (string-append out "/share/guile/site/2.2")) - (go (string-append out "/lib/guile/2.2/site-ccache"))) - ;; Don't use (%site-dir) for site paths. - (list (string-append "MOD_PATH=3D" scm) - (string-append "MOD_COMPILED_PATH=3D" go))) - #:test-target "test" - #:phases - (modify-phases %standard-phases - (add-before 'install 'substitute-root-dir - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (substitute* "Makefile" ;ignore the execution of bash.bash= rc - ((" /etc/bash.bashrc") " /dev/null")) - (substitute* "Makefile" ;set the root of config files to O= UT - ((" /etc") (string-append " " out "/etc"))) - (mkdir-p (string-append out "/bin")) ;for the `art' executab= le - #t))) - (add-after 'install 'wrap-art - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin")) - (scm (string-append out "/share/guile/site/2.2")) - (go (string-append out "/lib/guile/2.2/site-ccache"))) - (wrap-program (string-append bin "/art") - `("GUILE_LOAD_PATH" ":" prefix (,scm)) - `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,go))) - #t)))))) - (synopsis "Web application framework written in Guile") - (description "GNU Artanis is a web application framework written in Gu= ile + (let ((release "0.2.1") + (revision 3)) + (package + (name "artanis") + (version (if (zero? revision) + release + (string-append release "-" + (number->string revision)))) + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/artanis/artanis-" + release ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "041ajcg2pz918kd9iqcj4inpzddc3impvz3r2nhlpbv8zrz011hn")) + (modules '((guix build utils))) + (snippet + '(begin + (delete-file-recursively "artanis/third-party/json.scm= ") + (delete-file-recursively "artanis/third-party/json") + (substitute* '("artanis/artanis.scm" + "artanis/oht.scm") + (("(#:use-module \\()artanis third-party (json\\))" = _ use-module json) + (string-append use-module json))) + (substitute* "artanis/oht.scm" + (("([[:punct:][:space:]]+)(->json-string)([[:punct:]= [:space:]]+)" _ pre json-string post) + (string-append pre + "scm" json-string + post))) + (substitute* "artanis/artanis.scm" + (("[[:punct:][:space:]]+->json-string[[:punct:][:spa= ce:]]+") + "")))))) + (build-system gnu-build-system) + ;; TODO: Add guile-dbi and guile-dbd optional dependencies. + (inputs `(("guile" ,guile-2.2) + ("guile-json" ,guile-json))) + (native-inputs `(("bash" ,bash) ;for the `source' buil= tin + ("pkgconfig" ,pkg-config) + ("util-linux" ,util-linux))) ;for the `script' comm= and + (arguments + '(#:make-flags + ;; TODO: The documentation must be built with the `docs' target. + (let* ((out (assoc-ref %outputs "out")) + (scm (string-append out "/share/guile/site/2.2")) + (go (string-append out "/lib/guile/2.2/site-ccache"))) + ;; Don't use (%site-dir) for site paths. + (list (string-append "MOD_PATH=3D" scm) + (string-append "MOD_COMPILED_PATH=3D" go))) + #:test-target "test" + #:phases + (modify-phases %standard-phases + (add-before 'install 'substitute-root-dir + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* "Makefile" ;ignore the execution of bash.b= ashrc + ((" /etc/bash.bashrc") " /dev/null")) + (substitute* "Makefile" ;set the root of config files t= o OUT + ((" /etc") (string-append " " out "/etc"))) + (mkdir-p (string-append out "/bin")) ;for the `art' execu= table + #t))) + (add-after 'install 'wrap-art + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (scm (string-append out "/share/guile/site/2.2")) + (go (string-append out "/lib/guile/2.2/site-ccache"= ))) + (wrap-program (string-append bin "/art") + `("GUILE_LOAD_PATH" ":" prefix (,scm)) + `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,go))) + #t)))))) + (synopsis "Web application framework written in Guile") + (description "GNU Artanis is a web application framework written in = Guile Scheme. A web application framework (WAF) is a software framework that is designed to support the development of dynamic websites, web applications,= web services and web resources. The framework aims to alleviate the overhead @@ -440,8 +465,8 @@ associated with common activities performed in web deve= lopment. Artanis provides several tools for web development: database access, templating frameworks, session management, URL-remapping for RESTful, page caching, a= nd more.") - (home-page "https://www.gnu.org/software/artanis/") - (license (list license:gpl3+ license:lgpl3+)))) ;dual license + (home-page "https://www.gnu.org/software/artanis/") + (license (list license:gpl3+ license:lgpl3+))))) ;dual license =20 (define-public guile-reader (package --=20 1.9.1 --=-=-=-- From unknown Mon Aug 18 22:12:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27590: artanis has a bundled and customized copy of guile-json package Resent-From: Adonay Felipe Nogueira Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 28 Jul 2017 14:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27590 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 27590@debbugs.gnu.org Received: via spool by 27590-submit@debbugs.gnu.org id=B27590.150125234926273 (code B ref 27590); Fri, 28 Jul 2017 14:33:02 +0000 Received: (at 27590) by debbugs.gnu.org; 28 Jul 2017 14:32:29 +0000 Received: from localhost ([127.0.0.1]:60172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1db6JY-0006pg-QL for submit@debbugs.gnu.org; Fri, 28 Jul 2017 10:32:29 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:48671 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1db6JW-0006pY-Iw for 27590@debbugs.gnu.org; Fri, 28 Jul 2017 10:32:26 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 27F2B4E68D0; Fri, 28 Jul 2017 16:29:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1501252188; bh=pUuqOQnibQptR1gi8n00Q4o+Qt6R7CxmwemC9AdGzws=; h=From:To:Subject:References:Date:In-Reply-To:From; b=fhl/XZRL9GLNEzhgXyikagdIlA8PRNwt8+uWVODGvd/w1rxsocUXeEOEdf+AC+5NL Ba/epfo7B3OSIFfEcpIgh+5d15r6tNL1iWpLEE1AuFY2Y3yMImrYRTJK2nQ6+wTCc0 YoSQfDonn7VrRD+I+cp4T0dgf/axWvglE+ExdeLs= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR003 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 From: Adonay Felipe Nogueira DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1501252186; bh=pUuqOQnibQptR1gi8n00Q4o+Qt6R7CxmwemC9AdGzws=; h=From:To:Subject:References:Date:In-Reply-To:From; b=R+Z0HZx9qHdqBH3yxjVZyNuhxwFXxeNHihb+dXUQOwMyUVXs4kl4j5YasYN1uhhKP dESGomIxo5GLr/HTvSxtxMEusvfmOUMWOHfNSPwYNB4Rw/HSXheYN+O/mod85GE0B8 qDDXUc9gprxQutC5cn7a9AFoMlp5Y3UX257KLUlE= References: <87mv8i4tkj.fsf@openmailbox.org> Date: Fri, 28 Jul 2017 11:29:43 -0300 In-Reply-To: <87mv8i4tkj.fsf@openmailbox.org> (Adonay Felipe Nogueira's message of "Wed, 05 Jul 2017 15:39:08 -0300") Message-ID: <8760eciqi0.fsf@openmailbox.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: 0.0 (/) Also see the reply given by Mx. Ginrut: [[https://lists.gnu.org/archive/html/artanis/2017-07/msg00001.html]]. From unknown Mon Aug 18 22:12:00 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: Adonay Felipe Nogueira Subject: bug#27590: closed (Re: bug#27590: artanis has a bundled and customized copy of guile-json package) Message-ID: References: <871sovpitr.fsf@gnu.org> <87mv8i4tkj.fsf@openmailbox.org> X-Gnu-PR-Message: they-closed 27590 X-Gnu-PR-Package: guix Reply-To: 27590@debbugs.gnu.org Date: Tue, 01 Aug 2017 12:36:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1501590962-16543-1" This is a multi-part message in MIME format... ------------=_1501590962-16543-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #27590: artanis has a bundled and customized copy of guile-json package which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 27590@debbugs.gnu.org. --=20 27590: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27590 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1501590962-16543-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 27590-done) by debbugs.gnu.org; 1 Aug 2017 12:35:14 +0000 Received: from localhost ([127.0.0.1]:36234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcWOH-0004Hs-Rq for submit@debbugs.gnu.org; Tue, 01 Aug 2017 08:35:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43789) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcWOG-0004He-9o for 27590-done@debbugs.gnu.org; Tue, 01 Aug 2017 08:35:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcWO6-0002iZ-KY for 27590-done@debbugs.gnu.org; Tue, 01 Aug 2017 08:35:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcWO6-0002gS-He; Tue, 01 Aug 2017 08:35:02 -0400 Received: from [193.50.110.251] (port=38396 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dcWO1-0006bn-Rm; Tue, 01 Aug 2017 08:34:58 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Adonay Felipe Nogueira Subject: Re: bug#27590: artanis has a bundled and customized copy of guile-json package References: <87mv8i4tkj.fsf@openmailbox.org> <87a83oiqka.fsf@openmailbox.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 Thermidor an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Tue, 01 Aug 2017 14:34:56 +0200 In-Reply-To: <87a83oiqka.fsf@openmailbox.org> (Adonay Felipe Nogueira's message of "Fri, 28 Jul 2017 11:28:21 -0300") Message-ID: <871sovpitr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.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-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27590-done Cc: 27590-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: -5.0 (-----) Hi, Adonay Felipe Nogueira skribis: > The following patch is an attempt to fix this. > > I noticed that the '->json-string procedure doesn't exist in the > official guile-json. I tried checking for it also in multiple revisions, > but couldn't find it. Due to my lack of understanding on how both GNU > Artanis and guile-json work internally, I assume however that > '->json-string was similar to 'scm->json-string. It seems to be the case. > From 8ec0eaaa0e552e7d99be369a4251b2577ac927ac Mon Sep 17 00:00:00 2001 > From: Adonay Felipe Nogueira > Date: Fri, 28 Jul 2017 11:18:03 -0300 > Subject: [PATCH] gnu: artanis: Unbundled guile-json and version according= to > documentation. > > * gnu/packages/guile.scm (artanis): Unbundled guile-json and version > according to documentation. Awesome. Applied, thank you! Ludo=E2=80=99. ------------=_1501590962-16543-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 5 Jul 2017 18:39:29 +0000 Received: from localhost ([127.0.0.1]:53694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSpCz-0007GH-KE for submit@debbugs.gnu.org; Wed, 05 Jul 2017 14:39:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSpCx-0007G3-LE for submit@debbugs.gnu.org; Wed, 05 Jul 2017 14:39:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSpCq-0003Vv-UT for submit@debbugs.gnu.org; Wed, 05 Jul 2017 14:39:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50,RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43451) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dSpCq-0003Vn-Qm for submit@debbugs.gnu.org; Wed, 05 Jul 2017 14:39:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSpCp-0007fv-Fi for bug-guix@gnu.org; Wed, 05 Jul 2017 14:39:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSpCm-0003UF-DU for bug-guix@gnu.org; Wed, 05 Jul 2017 14:39:19 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:54398 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dSpCm-0003TM-5p for bug-guix@gnu.org; Wed, 05 Jul 2017 14:39:16 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 6F0F3525FD6; Wed, 5 Jul 2017 20:39:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1499279954; bh=4pnyXWO55ck0CziM92IwXXo1dXbs0Rq83eTQKwgXB4A=; h=From:To:Subject:Date:From; b=c1LxYERHqSCaoWWm1AcAGOz99bbeF4+PcR3Mub1acMiDavH4jZFHPcqiynV18Ym3E PG+WqHomXk44x2IUcirl1sVvrW8MTfEp+e1hRimOMQpYqZ5mxDk9wVNUHVsCJFwHXS rhZjQJJSd2zJ3NxEwXwn+cjq3GB3WfQ4VPJ36qqI= From: Adonay Felipe Nogueira DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1499279953; bh=4pnyXWO55ck0CziM92IwXXo1dXbs0Rq83eTQKwgXB4A=; h=From:To:Subject:Date:From; b=KAJjYseL8xk+d6qRyzS3u9OgZQiNIa3FwddUglFMfFOQq3H55z6A9OcYdSbUibe9M a2vvmQioUVY4XmlVj4Wk/w9WEE2kC9JNmuLKV8YUq4XWqxc7xYyLtx/L+g0T2Fta28 aFU0gQFT67DacAqn0NYKKSbOcxBqLa8AgvtTsNsE= To: bug-guix@gnu.org Subject: artanis has a bundled and customized copy of guile-json package Date: Wed, 05 Jul 2017 15:39:08 -0300 Message-ID: <87mv8i4tkj.fsf@openmailbox.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.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] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.5 (---) 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: -3.5 (---) Commit 71b0418843ef0aa8de97734851879a0479c81f69 in the Git repository of GNU Artanis introduces this issue. The affected files are at "artanis/third-party/json/upstream". There is another file at "artanis/third-party/json.scm", but I don't know if it is from guile-json. The file at "artanis/third-party/json/upstream/README" says that upstream is a Git repository in GitHub (ugh), but I found out that our guile-json package comes from a Git repository in GNU Savannah that is the same as the one in GitHub (and this one actually has download links pointing to GNU Savannah)... what a duplicated work. ;) So far I have attempted: - Comparison between GNU Artanis' "artanis/third-party/json/upstream/builder.scm" (from commit 71b0418843ef0aa8de97734851879a0479c81f69) with guile-json's "json/builder.scm". After each comparison, the local copy of guile-json repository was checked-out for a commit prior to the current. This was repeated until an exact match was found, and until `git checkout` exited with an error. - Comparison between GNU Artanis' "artanis/third-party/json/upstream/parser.scm" (id.) with guile-json's "json/parser.scm". After each comparison, the local copy of guile-json repository was checked-out for a commit prior to the current. This was repeated until an exact match was found, and until `git checkout` exited with an error. However, none of these attempts resulted in exact matches (so that the two bundled files could be compared). This seems to tell me that commit 71b0418843ef0aa8de97734851879a0479c81f69 already introduced customized bundles. For the sake of transparency, here is the GNU Bash script I used for the comparison attempts: # "${HOME}/Projetos/Software/guile-json" is my local copy of guile-json # repository. cd "${HOME}/Projetos/Software/guile-json" for each_file in "builder.scm" "parser.scm"; do until diff -qwB -I '^[[:space:]]*;' -I 'artanis[/[:space:]]{1,}third-part= y' "json/${each_file}" "../artanis/artanis/third-party/json/upstream/${each= _file}"; do git checkout HEAD~1 if [ $? -ne 0 ]; then break fi done git fetch git update-ref "remotes/origin/master" "master" git checkout "master" done --=20 - [[https://libreplanet.org/wiki/User:Adfeno]] - Palestrante e consultor sobre /software/ livre (n=C3=A3o confundir com gratis). - "WhatsApp"? Ele n=C3=A3o =C3=A9 livre, por isso n=C3=A3o uso. Iguais a el= e prefiro GNU Ring, ou Tox. Quer outras formas de contato? Adicione o vCard que est=C3=A1 no endere=C3=A7o acima aos teus contatos. - Pretende me enviar arquivos .doc, .ppt, .cdr, ou .mp3? OK, eu aceito, mas n=C3=A3o repasso. Entrego apenas em formatos favor=C3=A1veis = ao /software/ livre. Favor entrar em contato em caso de d=C3=BAvida. ------------=_1501590962-16543-1-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 09 08:42:02 2018 Received: (at control) by debbugs.gnu.org; 9 Jan 2018 13:42:02 +0000 Received: from localhost ([127.0.0.1]:42233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eYuAE-0001QS-6d for submit@debbugs.gnu.org; Tue, 09 Jan 2018 08:42:02 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:53378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eYuAC-0001Q2-Lh for control@debbugs.gnu.org; Tue, 09 Jan 2018 08:42:01 -0500 X-Originating-IP: 181.221.151.169 Received: from adfeno-pc1 (unknown [181.221.151.169]) (Authenticated sender: adfeno@hyperbola.info) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id E14BAC5A55 for ; Tue, 9 Jan 2018 14:41:57 +0100 (CET) From: Adonay Felipe Nogueira To: control@debbugs.gnu.org Subject: Replace old submitters, make #27475 block #30041 and ask for help Date: Tue, 09 Jan 2018 11:41:55 -0200 Message-ID: <87r2qzcfoc.fsf@hyperbola.info> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: -0.7 (/) submitter 24550 adfeno@hyperbola.info submitter 24834 adfeno@hyperbola.info submitter 25034 adfeno@hyperbola.info submitter 25035 adfeno@hyperbola.info submitter 25037 adfeno@hyperbola.info submitter 26202 adfeno@hyperbola.info submitter 27475 adfeno@hyperbola.info submitter 27582 adfeno@hyperbola.info submitter 27590 adfeno@hyperbola.info submitter 27686 adfeno@hyperbola.info submitter 27711 adfeno@hyperbola.info tags 27475 +help tags 30041 +help block 30041 27475 quit