From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adonay Felipe Nogueira Subject: bug#27590: 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSpDZ-0007gd-EO for bug-guix@gnu.org; Wed, 05 Jul 2017 14:40:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSpDW-0003n9-6i for bug-guix@gnu.org; Wed, 05 Jul 2017 14:40:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51017) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dSpDW-0003n0-3L for bug-guix@gnu.org; Wed, 05 Jul 2017 14:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dSpDV-0007H5-NQ for bug-guix@gnu.org; Wed, 05 Jul 2017 14:40:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: 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 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 27590@debbugs.gnu.org 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.