Default: no prompt, no install
-Y: no prompt, install
–optional-dependencies: prompt
A way to install the optional dependencies for an already-installed
gem would be great, too. I’m not thinking of a great syntax off the
top of my head, though.
So if I were to spend this weekend getting optional/developer-time
dependencies into RubyGems, would people want optional dependencies to
always be prompted, only prompted when a flag is given, or never
prompted?
Default: no prompt, no install
-Y: no prompt, install
–optional-dependencies: prompt
A way to install the optional dependencies for an already-installed
gem would be great, too. I’m not thinking of a great syntax off the
top of my head, though.
does this need an option?
wouldn’t gem install ruport -v 0.6.0 -Y do the trick?
But the question is would the hoe developers use this? They seem
fairly stuck on this whole idempotentence kick.
As far as I’m concerned, optional dependencies preserve idempotency,
and based on Eric’s earlier statements on this thread, he seems to
agree. If we get optional dependencies in Rubygems and hoe doesn’t
become optional, then I’ll start clamoring, too
On Sat, Jan 13, 2007 at 09:30:34AM +0900, Chris C. wrote:
You may not realize it, but you want idempotence, too. One of the
-austin
[…]
So if I were to spend this weekend getting optional/developer-time
dependencies into RubyGems, would people want optional dependencies to
always be prompted, only prompted when a flag is given, or never
prompted?
Default: no prompt, no install
-Y: no prompt, install
–optional-dependencies: prompt
But the question is would the hoe developers use this? They seem
fairly stuck on this whole idempotentence kick.
Does that really matter? On more than one occasion, Eric and Ryan
have made it clear they simply do not care whether the users of their
software are happy with their decisions in this and other projects.
They’re lucky to be talented enough where this kind of stubbornness
doesn’t seem to effect them much. It’s their code, so it’s their
decision how they package things.
I’ll be honest, I’d like to give hoe a try, but I won’t use it if it
continues to inject itself as it is. Not because I think that Ryan
and Eric are evil or even necessarily wrong about this, but because
I personally don’t want to be dragging around meta dependencies with
my code.
So if I do try it out, it’ll likely be via Evan’s forked echoe
project. Sucks to have to do that, but eh, that’s the nature of the
beast.
Default: no prompt, no install
-Y: no prompt, install
–optional-dependencies: prompt
Might be nice if the default at list listed them for a second before
continuing. I know some of the FreeBSD ports will spit out a message
saying “you can optionally set such and such to build such and such,
press
ctrl-c now” and gives you about 5 seconds before it keeps on going.
That way at least you’d see the optional dependencies and could bail out
if you decide you want them, but not be annoyed (too much) if you don’t.
Bil K. Ruby Wish List
Yeah … I would have no problem with what tattle sent to the web site
on any of my three machines either. But it’s better to check than run
the risk of getting written up in a corporate setting. Most folks work
in places that “tolerate” Internet use among employees but if you read
the corporate policy, you’ll find that there are a lot of things you
can’t do. Sending even that minuscule amount of system configuration
info somewhere is most likely a no-no in a lot of companies.