[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Plink2 (Was: Bug#771154: plink: New major upstream version of plink)



Hi all,

2015-01-09 10:17 GMT+01:00 L.C. Karssen <lennart@karssen.org>:
Dear all,

On 09-01-15 09:18, Andreas Tille wrote:
> Hi Dylan,
>
> the reason why I did not answered is that I'm finally no plink user and
> thus feel incompetent for a sensible hint here.

I am a plink user, so I'll give my two cents below.

>   In any case I have put
> the item "name space pollution" on my agenda for the upcoming Debian Med
> sprint[2].  (BTW, are there any more people interested in joining the
> sprint?  This is a really good oportunity to learn to know each other
> and strengthen cooperation.)

I'd love to come, but unfortunately I have other obligations during
those days.


The same for me, I would like to come but I can not for this time.

Although discussions are not finished, I updated plink1 package with some refresh and with the new binary name plink1.

To summarize, I propose for this moment:

  1. The plink1 executable
        /usr/bin/plink1
  2. A symbolic link to the plink1 executable
        /usr/bin/p-link
  3. The plink1.9 executable
        /usr/bin/plink1.9
  4. The plink2 executable (when will be released)
        /usr/bin/plink2
  5. The plink executable (from putty)
        /usr/bin/plink


>> 3. Create a specific package ("plink1.9") for plink 1.9 to permit to have
>> the three versions in cohabitation during the transition. Which could
>> permit to replicate results obtained with all versions.
>
> I'd probably choose this option.

Me too. Ideally with the option to use dpkg-reconfigure to allow the
sysadmin to set symlink that points p-link (or ideally plink) to one of
the three versions (like you can do with e.g. gcc versions).

Regarding the p-link vs plink vs plink1 vs plink19 vs plink2 naming of
the executable: I understand that the plink name is taken by the Putty
package, but I was wondering if the Debian guidelines allow to use a
mechanism like dpkg-reconfigure to allow the user to choose which of
these applications is actually pointed to when the user types plink.

My main argument for using plink (in fact as a sysadmin I always
manually create a plink symlink in /usr/local/bin that points to either
/usr/bin/p-link or the /usr/lib/plink/plink binary directly) is that all
tutorials and courses in genetic epidemiology that I know (including my
own) use the plink name. It is (obviously) what is used in the plink
documentation and since many people (in my experience) that are using
plink are not very experienced with the Linux command line I'd like to
keep things as simple and straight forward as possible.
Alternatively, would it be possible for the installer to ask a question
about whether to set this symlink or not (unless the variable
DEBIAN_FRONTEND is set to non-interactive), similar to e.g. the password
question when installing MySQL. Maybe such a question should only be
asked if the putty package is not installed.

I will learn about dpkg-reconfigure to propose this.

Best regards,
Dylan

Reply to: