Skip Menu |

This queue is for tickets about the Net-Hiveminder CPAN distribution.

Report information
The Basics
Id: 32782
Status: resolved
Priority: 0/
Queue: Net-Hiveminder

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Does not install programs
Net::Hiveminder does not install its programs (braindump, etc...). I don't know if this is intentional, but they sure look handy. Something like this would fix it but Net::HM's Module::Install appears to be incomplete. --- Makefile.PL (revision 54261) +++ Makefile.PL (local) @@ -15,6 +15,10 @@ build_requires 'Test::More'; +install_script 'bin/braindump'; +install_script 'bin/hm'; +install_script 'bin/sync_tasks'; + auto_install; WriteAll;
Hiya Michael, On Tue Jan 29 13:21:15 2008, MSCHWERN wrote: Show quoted text
> Net::Hiveminder does not install its programs (braindump, etc...). I > don't know if this is intentional, but they sure look handy.
It is intentional. Most of these (especially the new ones I added: todo, create, done) are very generically named. On one hand, I do want people to use these scripts. But I don't want to thrash anyone's existing programs. Prefixing "hm-" to everything would do it, but then people who want to run just "todo" would have to type extra stuff. Maybe that'd be okay, since git does it. So as a compromise: for now I install nothing. I've renamed bin/ to examples/ so that's clearer. Show quoted text
> > Something like this would fix it but Net::HM's Module::Install appears > to be incomplete.
Weird, adding these lines does seem to install the programs correctly. Shawn
Subject: Re: [rt.cpan.org #32782] Does not install programs
Date: Thu, 31 Jan 2008 09:14:50 -0800
To: bug-Net-Hiveminder [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
Shawn M Moore via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=32782 > > > Hiya Michael, > > On Tue Jan 29 13:21:15 2008, MSCHWERN wrote:
>> Net::Hiveminder does not install its programs (braindump, etc...). I >> don't know if this is intentional, but they sure look handy.
> > It is intentional. Most of these (especially the new ones I added: > todo, create, done) are very generically named.
braindump and hm seem fine. Maybe change sync_tasks to "hmsync"? Show quoted text
> On one hand, I do want people to use these scripts. But I don't want to > thrash anyone's existing programs. Prefixing "hm-" to everything would > do it, but then people who want to run just "todo" would have to type > extra stuff. Maybe that'd be okay, since git does it.
Look at it this way. If you don't install them most folks are never even going to know they exist. If you do install them folks can alias or symlink them if they don't like the name. Or just ask the user. Show quoted text
> So as a compromise: for now I install nothing. I've renamed bin/ to > examples/ so that's clearer.
If installed from a CPAN shell people never even see the examples directory. Show quoted text
>> Something like this would fix it but Net::HM's Module::Install appears >> to be incomplete.
> > Weird, adding these lines does seem to install the programs correctly.
Maybe there's some magic "rebuild Module::Install" environment flag that I don't have. -- 39. Not allowed to ask for the day off due to religious purposes, on the basis that the world is going to end, more than once. -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army http://skippyslist.com/list/
On Thu Jan 31 13:22:00 2008, schwern@pobox.com wrote: Show quoted text
> Shawn M Moore via RT wrote:
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=32782 > > > > > Hiya Michael, > > > > On Tue Jan 29 13:21:15 2008, MSCHWERN wrote:
> >> Net::Hiveminder does not install its programs (braindump, etc...).
> I
> >> don't know if this is intentional, but they sure look handy.
> > > > It is intentional. Most of these (especially the new ones I added: > > todo, create, done) are very generically named.
> > braindump and hm seem fine. Maybe change sync_tasks to "hmsync"?
I decided to be like git and prefix everything with hm-. That way new commands are discoverable with tab completion, and I'm very unlikely to stomp on existing programs. Show quoted text
> >> Something like this would fix it but Net::HM's Module::Install
> appears
> >> to be incomplete.
> > > > Weird, adding these lines does seem to install the programs
> correctly. > > Maybe there's some magic "rebuild Module::Install" environment flag > that I > don't have.
Hm. I think when I added install_script, Module::Install pulled Module::Install::Scripts into inc. Resolving this one. Thanks for being steadfast, installing the scripts was the way to go. :) Shawn