From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alex Sassmannshausen Newsgroups: gmane.lisp.guile.user Subject: Re: guile-hall issues converting my project to a hall project Date: Sun, 21 Feb 2021 14:42:31 +0100 Message-ID: <87ft1pfsfs.fsf@gmail.com> References: <11206998.46ALo4VoAQ@terra> <02902ff9-1585-a453-4e36-c9a731eee6fe@posteo.de> <6330005.mNMjihpRT5@terra> <87wnv6xulu.fsf@gmail.com> Reply-To: alex.sassmannshausen@gmail.com Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30438"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.13; emacs 27.1 Cc: guile-user@gnu.org To: Zelphir Kaltstahl Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Feb 21 14:43:04 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lDp0q-0007og-7W for guile-user@m.gmane-mx.org; Sun, 21 Feb 2021 14:43:04 +0100 Original-Received: from localhost ([::1]:56630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDp0p-0000Sh-8j for guile-user@m.gmane-mx.org; Sun, 21 Feb 2021 08:43:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52544) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDp0T-0000B6-30 for guile-user@gnu.org; Sun, 21 Feb 2021 08:42:41 -0500 Original-Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]:33917) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDp0N-00054y-Sh for guile-user@gnu.org; Sun, 21 Feb 2021 08:42:40 -0500 Original-Received: by mail-ed1-x52a.google.com with SMTP id j9so18592231edp.1 for ; Sun, 21 Feb 2021 05:42:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:reply-to:in-reply-to:date :message-id:mime-version; bh=orYzQJmxT3JOVMRFljRKA1/YYvKlPBmnyD7W2oX15bY=; b=oXrRMysCbq+mMs6qrh2ORYSpG4iTEzPL2iUHS0aleSaBMZMkAW+XmrKt9q1eQ4cXHH rCCSyOZ1goN3ymVe1C1UtzGDGV2xWpf+7/QnGhaCnyt9Sr14aBBGFJVcRgUWKL6UolaT cUggEX31By+5l8260aVg6mQtR4SbBhFbyN6XwIrm8DgatwiwwEEbELIjpqIyKxCCzFSU fTazInoUiNR+PDa4/C7jTNtsZmZhCRV5JkPE88kDxbvNRK0MDQ+UogpcVckagdiNTiGG kT9K549FeHLudWCSZTNSAkCAolp7C9L0Hw5g0g/OqhZlLx/zSs/bMNbLepDMeoigTMMD Aa9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :reply-to:in-reply-to:date:message-id:mime-version; bh=orYzQJmxT3JOVMRFljRKA1/YYvKlPBmnyD7W2oX15bY=; b=umWJ+A23i5TLsOgTsgoVbsgtrH5tn7/9WfS9SrVaLNDkL0rDko0vLhCGrcUWDq++pv dAO3U4dukiZSWMQLq1NK+l4vBoMBfCxWpx8YVBtoPqEaRUn9vpm6ciBh1P+u4LD3wt0y EacSOZBI0Br25OpWQpCVcHVg1zS1hHEhpG0KVyvyT4eL1OXmcfmEn6bwrkNNLuMTwvcb a4VJhBsx+6StVIeGjscN/P3sXmUdBNnMRTrIzhIPNkrvE8u7EXEVFthPCfVyVhRgzNnE V3s/pQTtUfyjh32/Cxc7IgvtWWwsE/qbfzaxEjZzQ6HH8lbT2pbcWYqOcaNVkdnD3ssC vNCQ== X-Gm-Message-State: AOAM5324VBoyG9m+VkWFxu1MBa9l/0F7H1+hnAXQYmq0UgYxyZ7/epPe f9yhPbzDnI++i8CYhHmDu0mg1cV8tC8= X-Google-Smtp-Source: ABdhPJz9gFXqMXYUGigNPKot6QqkhhOnHw4aLlrwD2DJEn2FuaF3ItLePnWPJGnyi43RIkjzFe7umw== X-Received: by 2002:a05:6402:d05:: with SMTP id eb5mr17866695edb.143.1613914953803; Sun, 21 Feb 2021 05:42:33 -0800 (PST) Original-Received: from watership ([91.178.162.244]) by smtp.gmail.com with ESMTPSA id q20sm8394042ejs.17.2021.02.21.05.42.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Feb 2021 05:42:32 -0800 (PST) In-reply-to: Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=alex.sassmannshausen@gmail.com; helo=mail-ed1-x52a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17291 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Zelphir, Some notes inline: Zelphir Kaltstahl writes: > I am willing to test/try some more. Great, that's really good to hear! > When you say "since commit xyz", do you mean commit of guile-hall > itself, or a commit of Guix, where an updated version of guile-hall is > available? I mean in the guile-hall repository. But you should be able to do: guix install guile-hall --with-commit=3D"guile-hall=3DHASH" to get the right version. I *think* it should just build and work. > How would I test the master branch version? I would guess install it in > a guix environment and then use that environment to try and convert a > project. Yeah, that would work too. You should even be able to combine the two and go with: guix environment --ad-hoc guile guile-hall --with-commit=3D"guile-hall=3DHA= SH" > What would you suggest testing? I think it would be best if you tried using the convert command and see whether it gets you better results this time around. Outside of that, probably playing with the new --skip option and `scan' arguments might be useful and interesting for you. > It was quite OK to edit hall.scm in an editor. Perhaps, if a project is > significantly bigger than my project, it would become cumbersome, but > for me personally it is fine, now that I know what goes in there and how > it needs to look. Good to hear. The spec was always meant to be human readable. Still, the new scan options might make it easier to add additional files gradually. > I have not yet begun writing a guide for converting a project. Hopefully > I'll be able to do so soon. That would be very interesting to see! Best wishes, Alex > > Best regards, > Zelphir > > On 2/17/21 10:17 PM, Alex Sassmannshausen wrote: >> Hi Zelphir and Tim, >> >> I am the author of guile hall =E2=80=94 apologies for only now getting i= nto this >> thread. I'm afraid I have been somewhat distracted with other things. >> >> First of all I want to echo what others have said =E2=80=94 thank you ve= ry much >> for your detailed descriptions of what exactly happened when you tried >> to migrate the project to guile hall. >> >> The aim of the project is to massively reduce the barrier of entry to >> creating new, portable, high quality guile projects =E2=80=94 and to con= tribute >> them to Guix. Your descriptions suggest it's not there yet! >> >> In any case, some comments inline: >> >> Zelphir Kaltstahl writes: >> >>> Hello Tim! >>> >>> Thank you, it works now! >>> >>> Removing the duplicate entry of `fslib` in hall.scm fixed it. >> Fwiw, since commit ac76541a this issue can be automatically resolved by >> running scan once more: it should remove duplicate entries in hall.scm. >> >>> Regarding the license: OK, I have no problem moving my license to >>> `COPYING`. However, I still think, that it should not put GPL there, >>> when I specified AGPL in `hall.scm`. This looks like a hardcoded >>> fallback, which does not take the license specification into account. >>> Something like: "If there is no `COPYING` file just put GPL into a file >>> `COPYING`." instead of "If there is no `COPYING` file just put >>> into a file `COPYING`.". I could be >>> wrong though, as I do not know anything about guile-hall's internals. >> This is odd =E2=80=94 Hall should respect your license choice. It should= , for >> (A)GPL licenses automatically download those from the internet and >> install them in COPYING. There was an issue with those licenses hiding >> behind a 302 status code, which resulted in fallback text being loaded >> in COPYING. But even that fallback text should respect your license. >> >> I just tried changing my license to AGPLv3+ in one of my projects, >> running hall from Master (the most recent commit fixes the 302 license >> issue), and it's fetching the license correctly. >> >> I'd be interested in seeing what your experience is if you are willing >> to try? >> >> In any case, Hall is undergoing active development, and I'm hoping to >> have a fresh release end of this month, with a whole bunch of >> improvements and bug fixes. Definitely feel free to drop issues to me >> directly by email or on gitlab (though some of the ones you raised have >> been fixed, like the unknown filetype issue). >> >> Best wishes, >> >> Alex >> >>> Follow up question would be, how to bring the package into the guix >>> repository, but I am guessing, that it will be answered at >>> https://guix.gnu.org/cookbook/en/html_node/Direct-checkout-hacking.html, >>> which I have not read yet. >>> >>> Another question is, whether I should put you into the authors file and >>> write something like "help with packaging" there. What is the common >>> practice? >>> >>> Best regards, >>> Zelphir >>> >>> On 2/16/21 5:48 PM, Tim Van den Langenbergh wrote: >>>> Err, looking at your hall.scm file, you have the fslib file added to y= our >>>> libraries twice. >>>> >>>> Guix environment is not needed if you have all the requirements for bu= ilding >>>> the package installed locally, but if you want to distribute your pack= age it's >>>> good practise to ensure it builds in a clean environment (see also htt= ps:// >>>> guix.gnu.org/manual/en/html_node/Invoking-guix-environment.html for mo= re >>>> information about Guix environments). >>>> >>>> The "COPYING" file is hardcoded as license file in Hall, to ensure com= patibility >>>> with GNU standards: https://www.gnu.org/licenses/gpl-howto.en.html >>>> >>>> Hope this helps, >>>> >>>> Vale >>>> >>>> -Tim >>>> >>>> --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iJUEAREIAD0WIQSaK0Ae0AEGUBWEuqyLxPRHboqOAAUCYDJjRx8cYWxleC5zYXNz bWFubnNoYXVzZW5AZ21haWwuY29tAAoJEIvE9Eduio4ATOMA+wWGXMAFJSWKRSnr FDv+SPeR4HunB0LbWZ7i1ylmRPncAQDMcNWaZCRUSInUdlY137DWDpRQ2x7RAJ3T L4EUgO5GVA== =OSVs -----END PGP SIGNATURE----- --=-=-=--