From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Denhardt Subject: Re: [PATCH 2/4] emacs: Add 'guix-devel-download-package-source'. Date: Wed, 07 Oct 2015 15:15:47 -0400 Message-ID: <20151007191546.747.21224@rook> References: <1443791046-1015-1-git-send-email-alezost@gmail.com> <1443791046-1015-3-git-send-email-alezost@gmail.com> <87d1wvadw2.fsf@gnu.org> <87bnceah2e.fsf@gmail.com> <87r3la6077.fsf@gnu.org> <87eghalc7s.fsf@gmail.com> <87wpv1tils.fsf@gnu.org> <87a8rwf2vl.fsf@gmail.com> <87mvvu6f5y.fsf@gnu.org> <87si5mbnfr.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha256"; boundary="===============5654157020095532653==" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjuA0-0007hz-8L for guix-devel@gnu.org; Wed, 07 Oct 2015 15:13:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zju9z-00016e-Bn for guix-devel@gnu.org; Wed, 07 Oct 2015 15:13:56 -0400 Content-Disposition: inline In-Reply-To: <87si5mbnfr.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alex Kost , =?utf-8?q?Ludovic_Court=C3=A8s?= Cc: guix-devel@gnu.org --===============5654157020095532653== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Quoting Alex Kost (2015-10-07 13:25:44) > > What about, instead, providing an interactive function that would > > prompt > > for a URL, run =E2=80=98guix download=E2=80=99 on that, and emit an =E2= =80=98origin=E2=80=99 template at > > point with all the info? > > I see several problems here, but the main is: this sounds like it should > be synchronous: you give an URL, wait until the source is downloaded and > finally get the template at point. But downloading can take a VERY long > time, so I don't think it will be a usable command. What about just having command line (non-emacs) tool? I'm thinking something inspired by Archlinux's `makepkg -g`, which downloads the sources based on the current build script and outputs something that can just be copied into it. I don't feel I have the full picture re: how that interacts with the macro's checking, but we could fall back on the user supplying URLs. -Ian --===============5654157020095532653== MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Description: signature Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJWFW9cAAoJEPZUuMfUyjy4PFkQAIu4YvKpVc5OxuMDs+sYE1MX 4txIYruruLT0xmTNthIiz3LaBsf93EFHukTeUiXcXm9F/7nrdfhzybrp/IUKuY57 9QWMC0K8YMTSsNP+Eob7lTxlWrWrfCPdaBRYyX1QdSuVSidKAOSZbFKoRrKcz2Jj XTFIuRAwK9FgBSKla8oluhlw4Ew9aCUF+jWAhTwPmu70Ce6akmgfzFARggvwSz2e P1hdbtyDqdRMBZEMtFbyCrYPBi93A/9PBdcK+yk59l1Z4/Vg+U4J1mKdEW6VjET+ DBnGLUK9HB3n7X4DWJaLiTKF5ZbbJADe+ETv8gh3I44XQfQvyMcBujYIPfeyPCac oQe6MMuWCuCqFn6PwVbL13PQdg1X50gg88rYronIFoN6bMZbRSxCXZcjRilchRze rGu/bM8Xjx8spSZy59xisYsjBBsFVm7YxofK1qlmARW1dc2bBx531ZEZtH7wTyG2 5r0PckGmtcfSoJ+7J2ry+Fi7QIkHE9+83XCLrS4ZdNagyOaEZ65PAkNXOmlO+GJZ ECCZPGWtImenGlqnadDQIyHWSTVpate4vf0noG+YYrsiOZY4kui9IgPInXSgB0am TRm9h2PR1smLyGER5Rwjo3aTDpZG1J3nT270MqOLQNblHhXTbinh0BLLQFnvI9VT NHeFOTdbJ/p+LUnS81Iq =+uMB -----END PGP SIGNATURE----- --===============5654157020095532653==--