* bug#33844: Rename ghc-pandoc to pandoc @ 2018-12-23 8:46 swedebugia 2020-02-26 10:06 ` Pierre Neidhardt [not found] ` <878skpacih.fsf@ambrevar.xyz> 0 siblings, 2 replies; 14+ messages in thread From: swedebugia @ 2018-12-23 8:46 UTC (permalink / raw) To: 33844 Reason: it is used standalone to convert between formats. -- Cheers Swedebugia ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#33844: Rename ghc-pandoc to pandoc 2018-12-23 8:46 bug#33844: Rename ghc-pandoc to pandoc swedebugia @ 2020-02-26 10:06 ` Pierre Neidhardt [not found] ` <878skpacih.fsf@ambrevar.xyz> 1 sibling, 0 replies; 14+ messages in thread From: Pierre Neidhardt @ 2020-02-26 10:06 UTC (permalink / raw) To: swedebugia; +Cc: guix-devel, 33844 [-- Attachment #1: Type: text/plain, Size: 183 bytes --] swedebugia@riseup.net writes: > Reason: it is used standalone to convert between formats. I agree. What do other people think? -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <878skpacih.fsf@ambrevar.xyz>]
* bug#33844: Rename ghc-pandoc to pandoc [not found] ` <878skpacih.fsf@ambrevar.xyz> @ 2020-02-26 10:23 ` Efraim Flashner 2020-02-26 10:23 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix ` (3 subsequent siblings) 4 siblings, 0 replies; 14+ messages in thread From: Efraim Flashner @ 2020-02-26 10:23 UTC (permalink / raw) To: Pierre Neidhardt; +Cc: guix-devel, 33844 [-- Attachment #1: Type: text/plain, Size: 603 bytes --] 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. -- Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#33844: Rename ghc-pandoc to pandoc [not found] ` <878skpacih.fsf@ambrevar.xyz> 2020-02-26 10:23 ` Efraim Flashner @ 2020-02-26 10:23 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix 2020-02-26 11:57 ` Ricardo Wurmus ` (2 subsequent siblings) 4 siblings, 0 replies; 14+ messages in thread From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2020-02-26 10:23 UTC (permalink / raw) Cc: swedebugia, 33844 [-- Attachment #1: Type: text/plain, Size: 181 bytes --] Pierre Neidhardt 写道: >> Reason: it is used standalone to convert between formats. > > I agree. What do other people think? [Thumbs-up emoji] Kind regards, T G-R [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 832 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#33844: Rename ghc-pandoc to pandoc [not found] ` <878skpacih.fsf@ambrevar.xyz> 2020-02-26 10:23 ` Efraim Flashner 2020-02-26 10:23 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2020-02-26 11:57 ` Ricardo Wurmus [not found] ` <20200226102314.GE12956@E5400> [not found] ` <87wo89imsx.fsf@elephly.net> 4 siblings, 0 replies; 14+ messages in thread From: Ricardo Wurmus @ 2020-02-26 11:57 UTC (permalink / raw) To: Pierre Neidhardt; +Cc: 33844, guix-devel Pierre Neidhardt <mail@ambrevar.xyz> writes: > 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 ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <20200226102314.GE12956@E5400>]
* bug#33844: Rename ghc-pandoc to pandoc [not found] ` <20200226102314.GE12956@E5400> @ 2020-02-27 1:23 ` Mike Gerwitz [not found] ` <87pne0q0wb.fsf@gnu.org> 1 sibling, 0 replies; 14+ messages in thread From: Mike Gerwitz @ 2020-02-27 1:23 UTC (permalink / raw) To: Efraim Flashner; +Cc: guix-devel, 33844, Pierre Neidhardt [-- Attachment #1: Type: text/plain, Size: 988 bytes --] On Wed, Feb 26, 2020 at 12:23:14 +0200, Efraim Flashner wrote: > 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 -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. But if I would have put a little bit more effort into looking, perhaps I would have figured that out; I was in a hurry. Thanks for making this change! -- Mike Gerwitz Free Software Hacker+Activist | GNU Maintainer & Volunteer GPG: D6E9 B930 028A 6C38 F43B 2388 FEF6 3574 5E6F 6D05 [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 818 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <87pne0q0wb.fsf@gnu.org>]
* bug#33844: Rename ghc-pandoc to pandoc [not found] ` <87pne0q0wb.fsf@gnu.org> @ 2020-02-27 13:10 ` zimoun [not found] ` <CAJ3okZ2-Mz=Bh6dbg7BEcH54Vc0RMRDfCOkqTJzP=cW4S2wAJg@mail.gmail.com> 1 sibling, 0 replies; 14+ messages in thread From: zimoun @ 2020-02-27 13:10 UTC (permalink / raw) To: Mike Gerwitz; +Cc: Guix Devel, 33844 Hi Mike, On Thu, 27 Feb 2020 at 02:23, Mike Gerwitz <mtg@gnu.org> wrote: > 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 very same 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 badly written and b) the 'relevance' score is too rough. The command "guix search pandoc" returns as the highest ranked package: ghc-pandoc-citeproc with the relevance score of 17. The package of interest 'ghc-pandoc' appears at the 6th position with a relevance 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' in synopsis+description+name. ghc-pandoc-citeproc: 1+5+1 ghc-pandoc: 0+2+1 To be precise, the score uses weights and so it reads: ghc-pandoc-citeproc: 3*1 + 2*5 + 4*1 = 17 ghc-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 = 17 pandoc: 3*0 + 2*2 + 4*1*5 = 24 It apparently fixes the issue and now the package named 'pandoc' will show up first. But it is an artefact because it is easy* to find other weights that invalidate this expected ranking; and the current weights are 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 is the same as 'description' and it seems less natural; i.e., it appears more natural to have a high weight for an exact match. But the point is: it is possible to find another working rule of thumb which will not return the expected result for all the packages. 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. All the best, simon ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <CAJ3okZ2-Mz=Bh6dbg7BEcH54Vc0RMRDfCOkqTJzP=cW4S2wAJg@mail.gmail.com>]
* bug#33844: Rename ghc-pandoc to pandoc [not found] ` <CAJ3okZ2-Mz=Bh6dbg7BEcH54Vc0RMRDfCOkqTJzP=cW4S2wAJg@mail.gmail.com> @ 2020-02-28 5:03 ` Mike Gerwitz 0 siblings, 0 replies; 14+ messages in thread From: Mike Gerwitz @ 2020-02-28 5:03 UTC (permalink / raw) To: zimoun; +Cc: Guix Devel, 33844 [-- Attachment #1: Type: text/plain, Size: 482 bytes --] On Thu, Feb 27, 2020 at 14:10:15 +0100, zimoun wrote: > Well, your comment is pointing: a) that the description is badly > written and b) the 'relevance' score is too rough. [...] > 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 [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 818 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <87wo89imsx.fsf@elephly.net>]
* bug#33844: Rename ghc-pandoc to pandoc [not found] ` <87wo89imsx.fsf@elephly.net> @ 2020-02-26 12:17 ` Pierre Neidhardt [not found] ` <87wo898rv3.fsf@ambrevar.xyz> 2020-09-09 16:08 ` zimoun 2 siblings, 0 replies; 14+ messages in thread From: Pierre Neidhardt @ 2020-02-26 12:17 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: 33844, guix-devel [-- Attachment #1: Type: text/plain, Size: 197 bytes --] Ricardo Wurmus <rekado@elephly.net> writes: > We should also rename all uses of ghc-pandoc in the same patch. Oops! I'll resend patch 39798. -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <87wo898rv3.fsf@ambrevar.xyz>]
* bug#33844: Rename ghc-pandoc to pandoc [not found] ` <87wo898rv3.fsf@ambrevar.xyz> @ 2020-02-26 12:52 ` Pierre Neidhardt 0 siblings, 0 replies; 14+ messages in thread From: Pierre Neidhardt @ 2020-02-26 12:52 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: 33844, guix-devel [-- Attachment #1: Type: text/plain, Size: 79 bytes --] Done. See patch patch 39798. -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#33844: Rename ghc-pandoc to pandoc [not found] ` <87wo89imsx.fsf@elephly.net> 2020-02-26 12:17 ` Pierre Neidhardt [not found] ` <87wo898rv3.fsf@ambrevar.xyz> @ 2020-09-09 16:08 ` zimoun 2020-09-09 16:11 ` Ricardo Wurmus 2 siblings, 1 reply; 14+ messages in thread From: zimoun @ 2020-09-09 16:08 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: swedebugia, 33844, Pierre Neidhardt 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. Since ghc-pandoc is still here and even pandoc inherits from it, I propose to close. All the best, simon ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#33844: Rename ghc-pandoc to pandoc 2020-09-09 16:08 ` zimoun @ 2020-09-09 16:11 ` Ricardo Wurmus 2020-10-07 15:27 ` zimoun 0 siblings, 1 reply; 14+ messages in thread From: Ricardo Wurmus @ 2020-09-09 16:11 UTC (permalink / raw) To: zimoun; +Cc: swedebugia, 33844, Pierre Neidhardt zimoun <zimon.toutoune@gmail.com> writes: > 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 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”. -- Ricardo ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#33844: Rename ghc-pandoc to pandoc 2020-09-09 16:11 ` Ricardo Wurmus @ 2020-10-07 15:27 ` zimoun 2020-12-19 0:03 ` zimoun 0 siblings, 1 reply; 14+ messages in thread From: zimoun @ 2020-10-07 15:27 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: swedebugia, 33844, Pierre Neidhardt Dear, On Wed, 09 Sep 2020 at 18:11, Ricardo Wurmus <rekado@elephly.net> wrote: > zimoun <zimon.toutoune@gmail.com> writes: >>> We should also rename all uses of ghc-pandoc in the same patch. The packages: … >> - 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. > 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 be able to close this bug, I guess. [1] <http://issues.guix.gnu.org/issue/43848> All the best, simon ^ permalink raw reply [flat|nested] 14+ messages in thread
* bug#33844: Rename ghc-pandoc to pandoc 2020-10-07 15:27 ` zimoun @ 2020-12-19 0:03 ` zimoun 0 siblings, 0 replies; 14+ messages in thread From: zimoun @ 2020-12-19 0:03 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: swedebugia, 33844-done, Pierre Neidhardt On Wed, 07 Oct 2020 at 17:27, zimoun <zimon.toutoune@gmail.com> wrote: > Dear, > > On Wed, 09 Sep 2020 at 18:11, Ricardo Wurmus <rekado@elephly.net> wrote: >> zimoun <zimon.toutoune@gmail.com> writes: > >>>> We should also rename all uses of ghc-pandoc in the same patch. > > The packages: … > >>> - 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. > > >> 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 be > able to close this bug, I guess. Done by <http://issues.guix.gnu.org/issue/43848#1>, see 8514dfdee6. Closing. Thanks, simon ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2020-12-19 0:05 UTC | newest] Thread overview: 14+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-12-23 8:46 bug#33844: Rename ghc-pandoc to pandoc swedebugia 2020-02-26 10:06 ` Pierre Neidhardt [not found] ` <878skpacih.fsf@ambrevar.xyz> 2020-02-26 10:23 ` Efraim Flashner 2020-02-26 10:23 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix 2020-02-26 11:57 ` Ricardo Wurmus [not found] ` <20200226102314.GE12956@E5400> 2020-02-27 1:23 ` Mike Gerwitz [not found] ` <87pne0q0wb.fsf@gnu.org> 2020-02-27 13:10 ` zimoun [not found] ` <CAJ3okZ2-Mz=Bh6dbg7BEcH54Vc0RMRDfCOkqTJzP=cW4S2wAJg@mail.gmail.com> 2020-02-28 5:03 ` Mike Gerwitz [not found] ` <87wo89imsx.fsf@elephly.net> 2020-02-26 12:17 ` Pierre Neidhardt [not found] ` <87wo898rv3.fsf@ambrevar.xyz> 2020-02-26 12:52 ` Pierre Neidhardt 2020-09-09 16:08 ` zimoun 2020-09-09 16:11 ` Ricardo Wurmus 2020-10-07 15:27 ` zimoun 2020-12-19 0:03 ` zimoun
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/guix.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).