Rename ghc-pandoc to pandoc

OpenSubmitted by swedebugia.
Details
7 participants
  • Efraim Flashner
  • Pierre Neidhardt
  • Tobias Geerinckx-Rice
  • Mike Gerwitz
  • Ricardo Wurmus
  • swedebugia
  • zimoun
Owner
unassigned
Severity
normal
S
S
swedebugia wrote on 23 Dec 2018 09:46
(address . bug-guix@gnu.org)
9251b0f558ee90be48420e76d7c4d326@riseup.net
Reason: it is used standalone to convert between formats.
-- Cheers Swedebugia
P
P
Pierre Neidhardt wrote on 26 Feb 11:06 +0100
(address . swedebugia@riseup.net)
878skpacih.fsf@ambrevar.xyz
swedebugia@riseup.net writes:
Toggle quote (2 lines)> Reason: it is used standalone to convert between formats.
I agree. What do other people think?
-- Pierre Neidhardthttps://ambrevar.xyz/
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5WQyYACgkQm9z0l6S7zH/jtgf+JprorQh9b1COXDW+J5TvgauJXv6tZULqxL/tqBxNs3nt9zLVUZEtTrXvPslBKNQ6b6/9MjXs2raGVaNAQOD12mDYX+GBFDYQYBaCIkbGo+7rDir2QZAf4tWTVEdi+N6mQWhUlu1VWzdjHfgZqHZCU3VVpb3rz3VTL8TRT7lPdaqiw5nERLBJBvyiMMG1H1B9gkJMr+sOKffK+C2sjUEZRLpCeKxT+VHvgJQ8bNAyHIHDl15YxeEr4Mla2kzWBnoDUzxLnE51lyqcULspIId9kEalPm3eVY3E7cXS0MuSSRci8u5Nep+mg632M0DtB3OkFK+9AnEOhCoDcJcGcSR5Uw===Qh/9-----END PGP SIGNATURE-----
T
T
Tobias Geerinckx-Rice wrote on 26 Feb 11:23 +0100
875zftk5q2.fsf@nckx
Pierre Neidhardt 写道:
Toggle quote (4 lines)>> Reason: it is used standalone to convert between formats.>> I agree. What do other people think?
[Thumbs-up emoji]
Kind regards,
T G-R
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl5WRxcACgkQ2Imw8BjFSTyl0BAAkvUyfxV22onlouSKZuA3KAuBVZMuHNuPLMQIP+gU6AhkJTTTgJzqFLV3ykb40K0hpT/U1nEt15p6XoWlJxuP9Sw2oVH+12Sfz0SjZ7HyqtYlR4t4QId38HkGmjZcKyb3eD/STu5iDu0V8s3MbCERJ5mN6H+F8wcq5BiYYFK+hOh91ZJgb0JqVSwjGX3WsdPlbbkgWVtLD1wzmCWEKUiHekUljJgTNzKnAZRxXi9DJq28tV6omHevWPUFx37YQXa3nX37d0Ffdx403c4oh4erYpWXF09X1tjDO9y18nqFZNLWEyGXJBkZSqiZSeXaaH5n/9WXlmY5gRKAszt/ZiRcLcBMHojjpSTPFWjlTUnNjk+ss2UmL0H7UMGFzpkEIW9QjYiHH4RpVtzVb4MtJqxxwkLC/U+xJucZq30mS82rsnbGUg0hVInOBsDgG4j2FSXQWhCHscrvkyBgLFQQQp3wm2LgsAcBW0kmvmpA//qcVT6oXsomnJl/mFm9Wt5EXz75sPcLvIKVdR07h03uNhbmGSa9QsfZWAzUCQ4qEMJaIbi8FuhLVhCHlBuq0tDOHU+HzM3pGue7gEmY2XYvDkMeEpNKWRwC7VA0SBn+s+QFeZ672JZQOMH+nxGFamVI424wPhiap2LDKYw2XzL5XlW0ZqbsmluM3DPsizuSN35fUME==SKBq-----END PGP SIGNATURE-----
E
E
Efraim Flashner wrote on 26 Feb 11:23 +0100
(name . Pierre Neidhardt)(address . mail@ambrevar.xyz)
20200226102314.GE12956@E5400
On Wed, Feb 26, 2020 at 11:06:30AM +0100, Pierre Neidhardt wrote:
Toggle quote (6 lines)> swedebugia@riseup.net writes:> > > Reason: it is used standalone to convert between formats.> > I agree. What do other people think?
This is language specific, but like other language-specific packagesthis is a package people would specifically search for as 'pandoc' and Iagree, it should be renamed.

-- Efraim Flashner <efraim@flashner.co.il> אפרים פלשנרGPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl5WRw8ACgkQQarn3Mo9g1HXTBAAqwMY8iVqOBut84i3co6oZJIDBxhpmf5LaF74igqNEhyPXezi/S8sL0EJ4ZLELIqgcUYqS9nIN9c46kuXtXZFZgYUrQj9pxJdVALWJtJKrJuLRbwj4ZXpgFQJ8fjx+x58vbUAgAxB3mbK1FIuVcvuosAFOcLMnYMWUlS02NHPKwnrrke0VbiaMG3aAYQ3zNkZiuVIYrdxyNJNHA8r27lN/yMvypQjGrOdboi0Qg8OS6Myb1p6rWUTHe0WvHibaXgmlCOW72YqSHx+Ygst3MMxWI7qbHIdsJ9y6M18V9T/Aq11n/pFyNfBgwSlnSNBQ/a9kOHKHfoJJa1w4obDLTMtRW5sVI3GcAcJlf3/idTfxhhETNnwLwvI1fB9i9GegMylTwVpx6JUQWNViyRJ0sUNKVYC/V4NvxO4SHcYJhWlxzAdt3YdnJOT8p9Fa/yzGW37uzWU+TTzVr9wNw0UA9DLJofvcVVwe/qjKr2CRtQngjBkOd7C/slaHuTwedWDyxdrq74oFjV7RJOHiRNEcHI/WEMvElM1Z3aPcw+ddU8RF3rTVnyiJGJw7A0SjCBNtAzs1bIBH3H7rXmu25BMON2pzBNdHMRAqyKeXmRF4DkvoWk3v8V/OXxzIrTWWxpI3UsqE5f6iMuXY+5bLSv4X19NucyIZpT3qDIwVkBY/zmme0E==1G+t-----END PGP SIGNATURE-----

R
R
Ricardo Wurmus wrote on 26 Feb 12:57 +0100
(name . Pierre Neidhardt)(address . mail@ambrevar.xyz)
87wo89imsx.fsf@elephly.net
Pierre Neidhardt <mail@ambrevar.xyz> writes:
Toggle quote (6 lines)> swedebugia@riseup.net writes:>>> Reason: it is used standalone to convert between formats.>> I agree. What do other people think?
I agree.
We should also rename all uses of ghc-pandoc in the same patch.
--Ricardo
P
P
Pierre Neidhardt wrote on 26 Feb 13:17 +0100
(name . Ricardo Wurmus)(address . rekado@elephly.net)
87wo898rv3.fsf@ambrevar.xyz
Ricardo Wurmus <rekado@elephly.net> writes:
Toggle quote (2 lines)> We should also rename all uses of ghc-pandoc in the same patch.
Oops! I'll resend patch 39798.
-- Pierre Neidhardthttps://ambrevar.xyz/
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5WYfAACgkQm9z0l6S7zH8CcQf/f8ufge0/kPXlhJSuGJi2EKkTRsxlevBsUjFeXzj7ejTngk7VPTkjxB/sHB6qrF16ufNOk0M3hGrbwwI6JU5U9tVbKXPOC0nPGQdYrLFiso7mGd5VfWRa98TeFZL/bjG6c74wEKjAnTBv0kNyzEz1VkL/UPfkvASv0FnsTrG3j6ytidjG9CcKmFt3yY9twLDzXNKQItZpA3z4GJ4LK6ZOYW29cVRSJdxW7XHV9Uaz6tgb2xdNjmR/9yTapppzmIm0qs5I9DrMGbuWb8HwDjpAr2cAvIlLh51Drv7C2TKqvdOALYYkEvL1eam2TEITje4Iw884byNp70P+LsSIdBGBhg===bOPh-----END PGP SIGNATURE-----
P
P
Pierre Neidhardt wrote on 26 Feb 13:52 +0100
(name . Ricardo Wurmus)(address . rekado@elephly.net)
87tv3d8q9m.fsf@ambrevar.xyz
Done.See patch patch 39798.
-- Pierre Neidhardthttps://ambrevar.xyz/
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5WagUACgkQm9z0l6S7zH/xdggAnUPuLLMeHS+7YbRskMNusWIn714FB90jicp6bBMjddpbMKnx6wynhfQtkPIt3oDgsRfIfcOWv2CwEVAyE7DUvqVcN5U1OxcTfyjofVGDnrOHFPAOtUteBVA2yQJ5Ei2HLC03PIwjerZcdHIo/eP9QCpbQn3b1v8Ue8ZUsJRE8etkKEEmezV1baeXT4JpDnDZfEv2DT5L4dgDkecQ0OHQPxEQ3U8LMQdP5v9TUikAiaPWNGulY3Rqpp96j5bxexPoVdPZvsmx5cwtPv6uLT4pdE0vqgBM9oQnGMUjY6io82tKElBdTH1FtElHPe3cmSFPiMtHxuKJoMYB/syki+UENw===b4Xu-----END PGP SIGNATURE-----
M
M
Mike Gerwitz wrote on 27 Feb 02:23 +0100
(name . Efraim Flashner)(address . efraim@flashner.co.il)
87pne0q0wb.fsf@gnu.org
On Wed, Feb 26, 2020 at 12:23:14 +0200, Efraim Flashner wrote:
Toggle quote (11 lines)> On Wed, Feb 26, 2020 at 11:06:30AM +0100, Pierre Neidhardt wrote:>> swedebugia@riseup.net writes:>> >> > Reason: it is used standalone to convert between formats.>> >> I agree. What do other people think?>> This is language specific, but like other language-specific packages> this is a package people would specifically search for as 'pandoc' and I> agree, it should be renamed.
Ah, for the record, I had searched for pandoc using `guix package -spandoc` in the past and didn't find what I was looking for, and so fellback to a Debian system. It turns out what I wanted was ghc-pandocafter all.
But if I would have put a little bit more effort into looking, perhaps Iwould have figured that out; I was in a hurry.
Thanks for making this change!
-- Mike GerwitzFree Software Hacker+Activist | GNU Maintainer & VolunteerGPG: D6E9 B930 028A 6C38 F43B 2388 FEF6 3574 5E6F 6D05
-----BEGIN PGP SIGNATURE-----Version: GnuPG v2
iQIcBAEBCgAGBQJeVxoIAAoJEIyRe39dxRuid10QAIE0j4vhLt7B1/mKgfvJj4OI/5eOFAeEdX2uFW1excxQczOa7H5cKmimH/Xb9+i3b/v2pnlNpk83tHDd0zvzOziibPWm3M9rvjxJCxBS0qxU26gQjszWnxFgRhpCjc76yT+KnkNGD60s4h/VK8UVZsCWkaUurQkRxdX5UrqH0YDxfv9kAUsYrqdnrayaB3PQcnmSbzVpP/+3OxN6WCRlCKYuf/OYtFz9t1366joOnIoViRsAb+7vD2UlTWUkwlyznrqHw400D2sWL9J9Mc9pBduJzUs2DZe/7/46dIIcMsj/vzJOcHZRFbE3uwDB4sVZayWbqegwAndUkivzVdRRBNOV+MGRrnog/1BpGfEev9jDKaEE9SEvMHFrrMXf8SfZkHwbtaalmEVSdwTE+un2IF5hxTWEvUiPKS9URT3GBa4NBd4YU3VzkMBlUkcnTx0w9Ed5oky8H/z6wraTwNSKyjlFhpVXqSdgAbyVn3ECpScxifux9uac+u0ZJr0bdJrRaxzhzCEj7mGD3HYJArPdhCkWkCgDFYpUMRM/Q0PoX1RGh1H0ItCpoQAIm0TxehSwSU2v8UXiVUCQ19P57phSWhVbWCuM05oohDyujBMbLn1YYi5n9UXmAvD4+4sKP+w0k7Aduc+FBSAxBc5fVptyXeaI3SyMZr02xKkBTrINOF3p=LBpP-----END PGP SIGNATURE-----
Z
Z
zimoun wrote on 27 Feb 14:10 +0100
(name . Mike Gerwitz)(address . mtg@gnu.org)
CAJ3okZ2-Mz=Bh6dbg7BEcH54Vc0RMRDfCOkqTJzP=cW4S2wAJg@mail.gmail.com
Hi Mike,
On Thu, 27 Feb 2020 at 02:23, Mike Gerwitz <mtg@gnu.org> wrote:
Toggle quote (5 lines)> Ah, for the record, I had searched for pandoc using `guix package -s> pandoc` in the past and didn't find what I was looking for, and so fell> back to a Debian system. It turns out what I wanted was ghc-pandoc> after all.
Thank you for pointing the issue.
My remark is *not* about the rename which seems fine. For the verysame reason than the "git-annex" software is named 'git-annex' and not'ghc-git-annex'.

Well, your comment is pointing: a) that the description is badlywritten and b) the 'relevance' score is too rough.
The command "guix search pandoc" returns as the highest rankedpackage: ghc-pandoc-citeproc with the relevance score of 17. Thepackage of interest 'ghc-pandoc' appears at the 6th position with arelevance score of 8. (And after emacs-pandoc-mode, ghc-pandoc-types,emacs-ox-pandoc and python-pandocfilters; well less relevant packages,IMO.)Why? Because the number of occurrences of the term 'pandoc' insynopsis+description+name.ghc-pandoc-citeproc: 1+5+1ghc-pandoc: 0+2+1
To be precise, the score uses weights and so it reads:
ghc-pandoc-citeproc: 3*1 + 2*5 + 4*1 = 17ghc-pandoc: 3*0 + 2*2 + 4*1 = 8
And the rename bumps the score because there is an additional weight(5) for exact match (which normally happens only for the 'name'field).
ghc-pandoc-citeproc: 3*1 + 2*5 + 4*1 = 17pandoc: 3*0 + 2*2 + 4*1*5 = 24
It apparently fixes the issue and now the package named 'pandoc' willshow up first. But it is an artefact because it is easy* to find otherweights that invalidate this expected ranking; and the current weightsare a working rule of thumbs but not deeply thought, AFAIK.

*For example instead of 5, let choose 2, then the score becomes:3*0+2*2+4*1*2=12 which is less than 17. Well, not so easy because 2 isthe same as 'description' and it seems less natural; i.e., it appearsmore natural to have a high weight for an exact match. But the pointis: it is possible to find another working rule of thumb which willnot return the expected result for all the packages.

The real problem is not the non-obvious name (ghc-pandoc instead ofsimply pandoc) but it is: a) some descriptions are badly written andb) the 'relevance' scoring function is not enough "smart" to detectthem.


All the best,simon
M
M
Mike Gerwitz wrote on 28 Feb 06:03 +0100
(name . zimoun)(address . zimon.toutoune@gmail.com)
87wo87e22d.fsf@gnu.org
On Thu, Feb 27, 2020 at 14:10:15 +0100, zimoun wrote:
Toggle quote (3 lines)> Well, your comment is pointing: a) that the description is badly> written and b) the 'relevance' score is too rough.
[...]
Toggle quote (5 lines)> The real problem is not the non-obvious name (ghc-pandoc instead of> simply pandoc) but it is: a) some descriptions are badly written and> b) the 'relevance' scoring function is not enough "smart" to detect> them.
Thank you for taking the time to explain this.
-- Mike Gerwitz
-----BEGIN PGP SIGNATURE-----Version: GnuPG v2
iQIcBAEBCgAGBQJeWJ8KAAoJEIyRe39dxRuilUYP/02KD5oQ7q5/fdh2cffwIPzUwBxvrHvF8Jc3Z0oRhlD+E4rKtzicTjxU3Uc6dG3v+TFH4GMu9+gXhXj5Qtyhkdcf4oDZBoQYAnZ/9rQkJg5NvHDLa8meaSOTYo2UQ+EtKheBXLumNFOI2NgQOlsPPqdqDxUegeW89qjBw6Q39l1/cCeOemIyHFmr0YjBf046SmBbYeYwYqmeaidpBGtkyHJ7AsXZBggZghbn7KCB8jEWVp4V9Xy2la3zMNNI/3cgTal492NqPDQI9v706lGoeoFRkSPvMoD0JijDZ1N2sl0VenOZnaJPyCh0NsP3nXx5j/oY2De653bmdvATp6oXK2w5U//Q/EgrKJaOgc5kc2KYCsjlM1CGrZRajo7sEFoW4zcMFZbRZ34NV0nNqWOqEtWNGNLIjljMehWmsZnlBJqAsAjMz1CIENkv7o0zF4a8RuA4t0lvGqvEpnohHIgNq6gBHpvBcZX8oVqjmCBK4URFXsUwf2tJlPoop5u7PIlnqoAg6CUQ3CcRoVSV2+/fvxlfu9ZEhdwa3xXi2METFlSxNKWwij6WWljCDhup1bpofleN/8B0ZkncWEIJX2ogj6WGctWx+k9EdgmAgnos+gci7upH4nGLoQrpXMtbZuRWv6l6bl64damYKaT1kcNeYxVaHEf1Z4fx79RL6E0UrRyq=AcLV-----END PGP SIGNATURE-----
Z
Z
zimoun wrote on 9 Sep 18:08 +0200
(name . Ricardo Wurmus)(address . rekado@elephly.net)
871rjbue4k.fsf@gmail.com
Hi,
On Wed, 26 Feb 2020 at 12:57, Ricardo Wurmus <rekado@elephly.net> wrote:
Toggle quote (2 lines)> We should also rename all uses of ghc-pandoc in the same patch.
Commit d4e4a3824d380e576b56a74aa714db205fcc59a4 adds pandoc.
The packages:
- ruby-pandoc-ruby - rapicorn - ganeti - manuskript - emacs-org-web-tools - emacs-ox-pandoc
do not use pandoc instead of ghc-pandoc; I do not know if it matters orif they need to also switch. More all Haskell packages inhaskell-xyz.scm.

Since ghc-pandoc is still here and even pandoc inherits from it, Ipropose to close.
All the best,simon
R
R
Ricardo Wurmus wrote on 9 Sep 18:11 +0200
(name . zimoun)(address . zimon.toutoune@gmail.com)
87y2lj53r9.fsf@elephly.net
zimoun <zimon.toutoune@gmail.com> writes:
Toggle quote (21 lines)> Hi,>> On Wed, 26 Feb 2020 at 12:57, Ricardo Wurmus <rekado@elephly.net> wrote:>>> We should also rename all uses of ghc-pandoc in the same patch.>> Commit d4e4a3824d380e576b56a74aa714db205fcc59a4 adds pandoc.>> The packages:>> - ruby-pandoc-ruby> - rapicorn> - ganeti> - manuskript> - emacs-org-web-tools> - emacs-ox-pandoc>> do not use pandoc instead of ghc-pandoc; I do not know if it matters or> if they need to also switch. More all Haskell packages in> haskell-xyz.scm.
If these packages only use the “pandoc” executable they should use the“pandoc” package instead of “ghc-pandoc”. “ghc-pandoc” is only meantfor Haskell packages that use Pandoc as a library. This is a much rarercase, so we can assume that most packages should use “pandoc” instead of“ghc-pandoc”.
-- Ricardo
Z
Z
zimoun wrote on 7 Oct 17:27 +0200
(name . Ricardo Wurmus)(address . rekado@elephly.net)
87o8le83a3.fsf@gmail.com
Dear,
On Wed, 09 Sep 2020 at 18:11, Ricardo Wurmus <rekado@elephly.net> wrote:
Toggle quote (4 lines)> zimoun <zimon.toutoune@gmail.com> writes:
>>> We should also rename all uses of ghc-pandoc in the same patch.
The packages: …
Toggle quote (7 lines)>> - rapicorn>> - ganeti>> - manuskript>> - emacs-org-web-tools>> - emacs-ox-pandoc>> - ruby-pandoc-ruby
… now uses ’pandoc’ instead of ’ghc-pandoc’, see:
c22c6de453 gnu: rapicorn: Use pandoc instead of ghc-pandoc.885332832c gnu: ganeti: Use pandoc instead of ghc-pandoc.5dc5a3116b gnu: manuskript: Use pandoc instead of ghc-pandoc.991c61678b gnu: emacs-org-web-tools: Use pandoc instead of ghc-pandoc.d37279ee1e gnu: emacs-ox-pandoc: Use pandoc instead of ghc-pandoc.8cc8e584ab gnu: ruby-pandoc-ruby: Use pandoc instead of ghc-pandoc.

Toggle quote (6 lines)> If these packages only use the “pandoc” executable they should use the> “pandoc” package instead of “ghc-pandoc”. “ghc-pandoc” is only meant> for Haskell packages that use Pandoc as a library. This is a much rarer> case, so we can assume that most packages should use “pandoc” instead of> “ghc-pandoc”.
The only non-Haskell package remaining is ’gnu/packages/mail.scm(muchsync)’. Once this package is done (see #43848 [1]), we should beable to close this bug, I guess.

[1] http://issues.guix.gnu.org/issue/43848
All the best,simon
?