Opened 18 years ago

Closed 17 years ago

#10706 closed enhancement (fixed)

NEW: duckytool-0.9.6

Reported by: ecronin (Eric Cronin) 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 (1)

Portfile (1.8 KB) - added by ecronin (Eric Cronin) 18 years ago.

Download all attachments as: .zip

Change History (8)

Changed 18 years ago by ecronin (Eric Cronin)

Attachment: Portfile added

comment:1 Changed 18 years ago by pmq@…

Owner: changed from yeled@… to pmq@…
Priority: Not setNice to have
Summary: [New] www/duckytoolNEW: duckytool-0.9.6

comment:2 Changed 18 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 18 years ago by ecronin (Eric Cronin)

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 18 years ago by ecronin (Eric Cronin)

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 18 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 18 years ago by pmq@…

Status: newassigned

comment:7 Changed 17 years ago by pmq@…

Resolution: fixed
Status: assignedclosed

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

Note: See TracTickets for help on using tickets.