Re: Accuracy of importers?

2021-11-09 Thread zimoun
Hi, On Tue, 09 Nov 2021 at 17:48, Ludovic Courtès wrote: > What I think those figures show is the amount of manual tweaks necessary > to get a proper package “à la Guix”, with tests running etc. For PyPI > we often need to add things under ‘native-inputs’, hence the 71% > “different inputs” lin

Re: Accuracy of importers?

2021-11-09 Thread Ludovic Courtès
Hi, zimoun skribis: > On Fri, 29 Oct 2021 at 23:57, Ludovic Courtès wrote: [...] >> --8<---cut here---start->8--- >> $ SAMPLE_SIZE=200 ./pre-inst-env guile >> ~/src/guix-debugging/importer-accuracy.scm >> […] >> Accuracy for 'pypi' (200 packages): >> acc

Re: Accuracy of importers?

2021-10-30 Thread zimoun
Hi Ludo, On Fri, 29 Oct 2021 at 23:57, Ludovic Courtès wrote: > (It’s quite expensive to run because it downloads a whole bunch of > things and tries many 404 URLs in the case of CRAN before finding the > right one.) Ah… it requires investigation thus. > --8<---cut here---

Re: Accuracy of importers?

2021-10-30 Thread Xinglu Chen
On Thu, Oct 28 2021, Ludovic Courtès wrote: > Hello Guix! > > As I’m preparing my PackagingCon talk and wondering how language package > managers could make our lives easier, I thought it’d be interesting to > know how well our importers are doing. > > My understanding is that most of them require

Re: Accuracy of importers?

2021-10-29 Thread Carlo Zancanaro
Hi Nicolas/Ludo, On Fri, Oct 29 2021, Nicolas Goaziou wrote: Among those, which importers provide source that differs from what you’d get from upstream’s checkout or release tarballs? My guess: elpa (gives hosted tarballs that can differ from upstream repo) Indeed. For MELPA specif

Re: Accuracy of importers?

2021-10-29 Thread Ludovic Courtès
Hello! Thanks everyone for your feedback! Lars-Dominik Braun skribis: > Would it be possible to just run the importer again for existing packages > and compare the result (minus synopsis/description) with what’s > available in Guix? That should give you much more accurate numbers than > our gue

Re: Accuracy of importers?

2021-10-29 Thread Nicolas Goaziou
Hello, Ludovic Courtès writes: > My understanding is that most of them require manual intervention—i.e., > one has to tweak what ‘guix import’ produces, even if we ignore > synopsis/description/license, to set the right inputs, etc. If we were > to estimate the fraction of imported packages for

Re: Accuracy of importers?

2021-10-28 Thread Katherine Cox-Buday
Ludovic Courtès writes: >go (Sarah? Leo? Raghav?) I have only used this a few times so far, but the quality seems to have gotten a lot better. My impression, though, due to the nature of how we have to generate packages so as to not be reliant on a centralized GOPROXY server (na

Re: Accuracy of importers?

2021-10-28 Thread Ricardo Wurmus
Ludovic Courtès writes: Hello Guix! As I’m preparing my PackagingCon talk and wondering how language package managers could make our lives easier, I thought it’d be interesting to know how well our importers are doing. My understanding is that most of them require manual intervention—i.e

Re: Accuracy of importers?

2021-10-28 Thread Julien Lepiller
Le 28 octobre 2021 03:02:27 GMT-04:00, "Ludovic Courtès" a écrit : >Hello Guix! > >As I’m preparing my PackagingCon talk and wondering how language package >managers could make our lives easier, I thought it’d be interesting to >know how well our importers are doing. > >My understanding is that m

Re: Accuracy of importers?

2021-10-28 Thread Lars-Dominik Braun
Hi Ludo’, > Right. PyPI/setup.py/.whl doesn’t contain info as to how to run tests, > right? technically setup.py has a standard test target, but it’s been deprecated for years and it must be enabled manually by the project. I’m not aware of any standard pyproject.toml approach to this. It might b

Re: Accuracy of importers?

2021-10-28 Thread zimoun
s not the default one. This should get an estimation on the accuracy of importers, IMHO. Cheers, simon

Re: Accuracy of importers?

2021-10-28 Thread zimoun
Hi, On Thu, 28 Oct 2021 at 09:02, Ludovic Courtès wrote: > My understanding is that most of them require manual intervention—i.e., > one has to tweak what ‘guix import’ produces, even if we ignore > synopsis/description/license, to set the right inputs, etc. If we were > to estimate the fractio

Re: Accuracy of importers?

2021-10-28 Thread Ludovic Courtès
Hi! Lars-Dominik Braun skribis: >> My understanding is that most of them require manual intervention—i.e., >> one has to tweak what ‘guix import’ produces, even if we ignore >> synopsis/description/license, to set the right inputs, etc. If we were >> to estimate the fraction of imported package

Re: Accuracy of importers?

2021-10-28 Thread Lars-Dominik Braun
Hi Ludo’, > My understanding is that most of them require manual intervention—i.e., > one has to tweak what ‘guix import’ produces, even if we ignore > synopsis/description/license, to set the right inputs, etc. If we were > to estimate the fraction of imported packages for which manual changes >

Accuracy of importers?

2021-10-28 Thread Ludovic Courtès
Hello Guix! As I’m preparing my PackagingCon talk and wondering how language package managers could make our lives easier, I thought it’d be interesting to know how well our importers are doing. My understanding is that most of them require manual intervention—i.e., one has to tweak what ‘guix im