From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJd5J-0003jc-W6 for guix-patches@gnu.org; Fri, 18 May 2018 06:58:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJd5G-0000d1-S7 for guix-patches@gnu.org; Fri, 18 May 2018 06:58:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59539) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJd5G-0000ct-OD for guix-patches@gnu.org; Fri, 18 May 2018 06:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fJd5G-0005Bs-Hm for guix-patches@gnu.org; Fri, 18 May 2018 06:58:02 -0400 Subject: [bug#31277] [PATCH 3/3] services: cgit: Make project-list permit a string. Resent-Message-ID: References: <20180426212309.10809-1-mail@cbaines.net> <20180426212309.10809-3-mail@cbaines.net> <8736zfd2er.fsf@lassieur.org> From: Christopher Baines In-reply-to: <8736zfd2er.fsf@lassieur.org> Date: Fri, 18 May 2018 11:57:06 +0100 Message-ID: <87in7l44fx.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Cc: 31277@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cl=C3=A9ment Lassieur writes: > Christopher Baines writes: > >> Instead of having the service manage the list, it's useful to be able to= point >> this at an existing file, for example, when using cgit together with git= olite. >> >> * gnu/services/cgit.scm (project-list?): New procedure. >> (serialize-project-list): Handle string values. >> (): Change the predicate for project-list to allow l= ists >> and strings. > > Hi Christopher, > > Good idea! But could you replace 'string?' with 'file-object?', so that > the file can be in the store? > > And could you update the documentation? There is a helper > (generate-cgit-documentation) that might help you do it. Both should be done now :) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlr+sYJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9Xcacw//dP/rUJZDQQZnv3g3mEgEY0xJMK8CWat04UWiOAGC20p5xzUrzsihUVDA 8Zru4p+L+LRKFpxlyM9uBQ2F7/M9dt+Dg8ocewQy2TZopdRBdPHyxypDE4SBY91a 8DZN1U3d/ifbvc2S29A6Emkcjw8g2SwBFsSWpyztkLRooNOcfEnkGEw3YIYX2j3f Llc6FSuDJ4CQJXxe6oKcP/4GSxkUffb32fz41qfJIOOz2O8d32mzOkyFYl9mxcS4 DonAYXulr+t7zw3OJWh9wKuUorp7EkQFThxFPHcBNamf99QXo57f9cKw8Qn1vqHC NokIgACEepaKsl7ZylFYrkBJMTXCz2JRvKu0a7Nyzfg3appQ+fRXYWHCz9RlGqf9 rvo3HDAM8S7DDOf4Wz49bwAlSdbnxqK7qMLHdOHDAc1gbzTW6TcBuQqT7arz4ayv mACVZHYgQ85C1+FN/E/ZrLYgptKpoMmJrR9zNnnaniKCGkeGGBntToSHDnnL3l+j rEeVDe3tDCoLhtDo6t/npyuM1v4DDXcFCGFehLJyGtgyVra9NpedMIDubr+1fDXk Rgy8Kg3SYWkEAt6alI8T3oCYgFFSWjgNGNeW7tl3+JN2xRkcf61wFRyFiUwkQcZM I4/GqNr0B+GZ1I6146oqh+v1OiuWhrum3BvYod0MP52GN0WuYFs= =7YNO -----END PGP SIGNATURE----- --=-=-=--