`gem install` system needs to work without interactivity, it's often
done as part of a batch process that needs to work without human
intervention (eg capistrano -> bundle install).
Jonathan
On 5/15/14 9:09 PM, Samuel Williams wrote:
> What I imagined is that if there are a single gem from a single user, e.g.
>
> swilliams-build
>
> then when you run
>
> gem install build
>
> it would install that one.
>
> If there was ambiguity, it would ask you to resolve this by explicitly
> choosing, e.g.
>
> $ gem install build
>
> 1) swilliams-build
> 2) foobar-build
>
> Please choose the one you wanted:
>
> I guess no solution is going to be ideal but even simple and good github
> usernames are hard to come by now too.
>
>
> On 16 May 2014 10:41, Jonathan Rochkind <
roch...@jhu.edu
> <mailto:
roch...@jhu.edu>> wrote:
>
> > Could uses set up some kind of forwarding, e.g. 3xx redirect for
> gems which they've passed to other users?
>
> In the current system, an owner just needs to assign ownership of
> the gem in
rubygems.org <
http://rubygems.org> to a new owner. If
> it's moved to a new repo, the owner can update the homepage and/or
> repo fields in the gemspec/rubygems (with or without an owner change).
>
> Either way, no disruption to actual users of the gem, who just keep
> expressing their dependency on 'widget', with no need for some 3xx
> forwarding system.
>
> So, sure, all kinds of things are possible, but it doens't seem to
> clear to me what some kind of official 'user namespacing' system
> gets you. To the extent that it gets you jrochkind/widget not
> conflicting with swilliams/widget, you can already choose to name
> your gem 'swilliams-widget' if you want, although it'll look funny.
>
> Users of bundler can already choose to load directly from
>
github.com/swilliams/widget <
http://github.com/swilliams/widget> if
> they want to (mirroring what perhaps is common in Go, Philip says?),
> and github even has a 3xx forwarding system in place where you can
> transfer repos to other owners/teams.
>
> I'm pretty sure regardless of our arguments, the actual people doing
> the rubygems development work don't see any significant advantage to
> the complexity introduced by an official (mandatory?) owner-name
> namespacing system and won't be implementing it, but at any rate
> that's my (non-rubygems-developer) analysis! In general, I'd agree
> that the previous github-hosted system of owner-name namespacing of
> gems was a mess, and sometimes broke my dependency tree in ways that
> required me to hunt down and figure out, and I was glad to see it go.
>
> Jonathan
> ------------------------------------------------------------------------
> *From:*
rubyge...@googlegroups.com
> <mailto:
rubyge...@googlegroups.com>
> [
rubyge...@googlegroups.com
> <mailto:
rubyge...@googlegroups.com>] on behalf of Samuel Williams
> [
space.ship...@gmail.com <mailto:
space.ship...@gmail.com>]
> *Sent:* Thursday, May 15, 2014 4:57 PM
> *To:*
rubyge...@googlegroups.com
> <mailto:
rubyge...@googlegroups.com>
> *Subject:* Re: [
rubygems.org <
http://rubygems.org>] Good gem names
> are becoming increasingly rare.
>
> Could uses set up some kind of forwarding, e.g. 3xx redirect for
> gems which they've passed to other users?
>
>
> On 16 May 2014 02:15, Philippe Lafoucrière
> <
philippe.l...@tech-angels.com
> <
http://github.com/fsouza/go-dockerclient>"). Bower has also
> something similar.
> The only drawback, is when a user delegates the gem maintenance
> to someone else, the gem name would change in this change (ie:
> defunkt-resque would become resque-resque :)).
>
>
> --
> Philippe Lafoucrière - CEO
>
http://www.tech-angels.com
> main : +33 (0) 970 444 643 <tel:%2B33%20%280%29%20970%20444%20643>
> <tel:%2B33%20%280%29%206%2072%2063%2075%2040>
> <tel:%2B33%20%280%29%209%2072%2012%2078%2075>
>
>
>
> On Thu, May 15, 2014 at 4:12 PM, Jonathan Rochkind
> <
roch...@jhu.edu <mailto:
roch...@jhu.edu>> wrote:
>
> What would be the benefits of a 'username prefixing' system
> of some kind, over just informal username prefixing, like:
>
> swilliams-build
>
> It is, agreed. definitely not as desirable to have a gem
> named 'swilliams-build' compared to just 'build'; it's
> harder for users to remember and more confusing to deal with.
>
> But I think these downsides might apply just the same to any
> username prefixing 'feature' implemented; and just naming
> your gem 'swilliams-build' is something you can do now,
> without the need for development of a rubygems feature for
> username prefixing.
>
> I may be wrong, this is partly just playing devil's advocate
> to draw out any actual advantages there might be to an
> actual username prefixing feature. (Although to be clear, I
> am not a
rubygems.org <
http://rubygems.org> developer, even
> <mailto:
ni...@quaran.to <mailto:
ni...@quaran.to>>> wrote:
>
> Is there a specific name you had trouble getting?
> And yes, this is
> the problem with one namespace, but it's been the
> same problem for
> as long as RubyGems has existed. I think we should
> talk about this
> going forward though. It's going to be an ongoing
> issue.
>
> Something I strongly believe in: it doesn't matter
> what the name is,
> if the code is great, people will use it. I mean
> seriously, most
> Rails apps out there run on Unicorns and Rainbows. :)
>
> Nick
>
>
> On Tue, Apr 29, 2014 at 9:16 PM, Tyler Knappe
> <
Tyler....@colorado.edu
> <mailto:
Tyler....@colorado.edu>
> <mailto:
Tyler.Knappe@colorado.__edu
> <mailto:
Tyler....@colorado.edu>>> wrote:
>
> There has been quite a bit of discussion about
> prefixing gems in
> some unique way. However, I don't think
> username prefixing is
> encouraged:
>
>
https://groups.google.com/d/__msg/rubygems-org/Z7V63f_KUXU/__p248WmNFa3MJ
> <
https://groups.google.com/d/msg/rubygems-org/Z7V63f_KUXU/p248WmNFa3MJ>
>
> What is the driver? What gem name were you
> looking for but
> found was taken? There are known spam
> accounts, some holding
> hundreds of names. It is possible that one of
> the gem names
> you're looking to use is owned by one of these
> accounts. If
> that is the case, I'm sure that the name can be
> freed up.
>
>
>
>
> On Tue, Apr 29, 2014 at 6:33 PM, Samuel Williams
> <space.ship.traveller@gmail.__com
> <mailto:
space.ship...@gmail.com>
> <mailto:
space.ship.traveller@__
gmail.com
> <mailto:
space.ship...@gmail.com>>> wrote:
>
> Good names for gems on RubyGems.org are
> becoming
> increasingly hard to figure out.
>
> Hosting a private gem server is one option,
> but has anyone
> considered whether per-user prefixing is
> still a good idea?
>
> e.g.
>
> gem "username/gemname"
> gem "username-gemname"
>
> or
>
> gem "
https://gemserver/gemname"
>
> Rather than proposing a solution to this
> problem, I'm just
> wondering if anyone else is thinking about
> these issues and
> had any ideas.
>
> Kind regards
> Samuel
>
> --
> You received this message because you are
> subscribed to the
> Google Groups "
rubygems.org
> <
http://rubygems.org> <
http://rubygems.org>" group.
> To unsubscribe from this group and stop
> receiving emails
> from it, send an email to
> rubygems-org+unsubscribe@__
googlegroups.com
> <mailto:
rubygems-org%2Bunsu...@googlegroups.com>
>
> <mailto:
rubygems-org+...@googlegroups.com
> <mailto:
rubygems-org%2Bunsu...@googlegroups.com>>.
> For more options, visit
>
https://groups.google.com/d/__optout
> <
https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are
> subscribed to the
> Google Groups "
rubygems.org
> <
http://rubygems.org> <
http://rubygems.org>" group.
> To unsubscribe from this group and stop
> receiving emails from
> it, send an email to
> rubygems-org+unsubscribe@__
googlegroups.com
> <mailto:
rubygems-org%2Bunsu...@googlegroups.com>
>
> <mailto:
rubygems-org+...@googlegroups.com
> <mailto:
rubygems-org%2Bunsu...@googlegroups.com>>.
> For more options, visit
>
https://groups.google.com/d/__optout
> <
https://groups.google.com/d/optout>.
> rubygems-org+unsubscribe@__
googlegroups.com
> <mailto:
rubygems-org%2Bunsu...@googlegroups.com>
> <mailto:
rubygems-org+...@googlegroups.com
> <mailto:
rubygems-org%2Bunsu...@googlegroups.com>>.
> For more options, visit
>
https://groups.google.com/d/__optout
> <
https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to
> the Google
> Groups "
rubygems.org <
http://rubygems.org>" group.
> To unsubscribe from this group and stop receiving emails
> from it, send
> an email to rubygems-org+unsubscribe@__
googlegroups.com
> <mailto:
rubygems-org%2Bunsu...@googlegroups.com>
> <mailto:
rubygems-org+...@googlegroups.com
> <mailto:
rubygems-org%2Bunsu...@googlegroups.com>>.
> For more options, visit
>
https://groups.google.com/d/__optout
> <
https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the
> Google Groups "
rubygems.org <
http://rubygems.org>" group.
> To unsubscribe from this group and stop receiving emails
> from it, send an email to
> rubygems-org+unsubscribe@__
googlegroups.com
> <mailto:
rubygems-org%2Bunsu...@googlegroups.com>.
> For more options, visit
https://groups.google.com/d/__optout
> <
https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the
> Google Groups "
rubygems.org <
http://rubygems.org>" group.
> To unsubscribe from this group and stop receiving emails from
> it, send an email to
rubygems-org...@googlegroups.com
> <mailto:
rubygems-org...@googlegroups.com>.
> send an email to
rubygems-org...@googlegroups.com
> <mailto:
rubygems-org...@googlegroups.com>.
> send an email to
rubygems-org...@googlegroups.com
> <mailto:
rubygems-org...@googlegroups.com>.
> For more options, visit
https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "
rubygems.org" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
rubygems-org...@googlegroups.com
> <mailto:
rubygems-org...@googlegroups.com>.