New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #10706 (closed enhancement: fixed)

Opened 7 years ago

Last modified 6 years ago

NEW: duckytool-0.9.6

Reported by: ecronin@… Owned by: pmq@…
Priority: Low Milestone:
Component: ports Version: 1.3.2
Keywords: Cc:
Port:

Description

name duckytool version 0.9.6 description ducky is ... well, the web's command line. long_description ducky marries a bunch of web service APIs into \

one tool, conventiently callable from the command \ line. search the web without using a browser.

homepage http://monkey.org/~jose/wiki/doku.php?id=duckytool

Attachments

Portfile (1.8 KB) - added by ecronin@… 7 years ago.

Change History

Changed 7 years ago by ecronin@…

comment:1 Changed 7 years ago by pmq@…

  • Owner changed from yeled@… to pmq@…
  • Priority changed from Not set to Nice to have
  • Summary changed from [New] www/duckytool to NEW: duckytool-0.9.6

comment:2 Changed 7 years ago by pmq@…

Committed. Thanks a lot! I have some problems with the way upstream names its executables. I committed because it seems (so far) to be a great tool, and I don't like messing/mangling with the upstream decisions (huge destroot scripts and so on). Nevertheless IMHO we should add a prefix (like 'ducky-') to these scripts (well, symbolic links). If you don't agree, I'd point out /opt/local/bin/deluser as a terrible naming mistake...

-- Pierre

comment:3 Changed 7 years ago by ecronin@…

I debated adding ducky- to the symlinks as well, and decided to go with the minimal set of changes for the initial portfile. Because of the way the upstream makefile is constructed, adding a prefix just requires modifying the existing reinplace command in the Portfile that adds ${destroot}${prefix}/bin to the symlinks already.

comment:4 Changed 7 years ago by ecronin@…

Of course, the other alternative is to not install the symlinks by default, since for example 'noaa kphl' and 'ducky.py noaa kphl' do the exact same thing. We don't do that with a lot of similar tools (openssl comes to mind immediately) already.

comment:5 Changed 7 years ago by pmq@…

Hmm. I have no clear preference, even though using a prefix seems easier on the user because you can see all the available commands quickier. Listing all commands is 'ducky.py commands', so that's another step to go through if you don't remember the one you're looking for. But that's pretty minor. Anyway, I leave the last word to you =)

comment:6 Changed 7 years ago by pmq@…

  • Status changed from new to assigned

comment:7 Changed 6 years ago by pmq@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Committed a variant providing the links. The default is not to.

Note: See TracTickets for help on using tickets.