| CARVIEW |
Every repository with this icon (
Every repository with this icon (
| Description: | awesome gem hosting. edit |
-
With Github's gem building down, I've realized how much I depend on non-official forks of projects. Some of them are projects where the original maintainer dropped off the face of the earth, and some of them the maintainer just hasn't pulled in the changes.
It would be wonderful if gemcutter had support for these forks. Github gems suffered from the pain of needing to include the user name in the name of the gem, but adamsalter has a great suggestion in the comments on this post: https://github.com/blog/508-state-of-the-hub-rackspace-day-3
Keep the gem name the same, but give each user their own source URL.
$ gem install gemname --source https://gemcutter.org/usernamePushing new gems could still be the same, but if you're not the definitive owner of a gem, you have to use your custom source URL to access it.
I think this is a great solution. What does everyone else think? I'd be happy to contribute this change.
Comments
-
0 comments Created 5 days ago by qrushHostess and vault need to be subdomain-awaresubdomainsxWill definitely require some sort of refactoring/reconfiguring.
Comments
-
1 comment Created 5 days ago by qrushOwnership like structure for subdomainssubdomainsxUsers should be able to give permission to others to push to their subdomain.
Comments
What if it's more granular.
gem owner foo.gem --host ddollar --add qrush@example.org
-
4 comments Created 5 days ago by qrushAdd subdomain push support to the gemsubdomainsxSomething like this:
gem push foo-0.0.0.gem --host qrushIf you have better suggestions on syntax, pipe up.
Comments
lukeredpath
Thu Oct 08 19:36:02 -0700 2009
| link
Not suggesting this is better, just throwing this out there:
gem push foo-0.0.0.gem qrushJust an optional second argument, a bit like how git and the github gem work for remotes.
A bit more esoteric:
gem push foo-0.0.0.gem @qrushMaybe something completely different:
gem fork foo-0.0.0.gemThe subdomain would be determined by the user who's pushing.
@koraktor: But how would one person push to multiple subdomains? i.e., you have a personal subdomain and your company's. I think overloading
gem pushwill be fine.I already had that in mind, but forgot to mention it here:
gem fork foo-0.0.0.gem # Would fork to koraktor.gemcutter.org for me gem fork foo-0.0.0.gem koraktor # Would do the same gem fork foo-0.0.0.gem mycom # Would fork to mycom.gemcutter.orgI think using another command than
pushwould be better because when someone usespushhe should always be aware that he's now updating a live production gem. -
These both could be done from one profile page, /profile perhaps.
Comments
lukeredpath
Thu Oct 08 19:24:12 -0700 2009
| link
I fancied contributing to gemcutter and this seemed like a nice simple place to start. Just API key resets for now but I might get a chance to look at edit email too.
You'll find my work in my fork under the innovatively named 'reset_api_key' branch.
Keep up the good work!
Awesome, just merged the api key stuff, great work! I think the following should be done going forward:
- Move the page to /profile/edit so we can someday have a legitimate user profile page.
- Let users reset their password
- Let users change their email
lukeredpath
Fri Oct 09 04:44:40 -0700 2009
| link
Check the first one off your list: lukeredpath/gemcutter@ba5c02b
Managed to put together some failing scenarios for email reset. lukeredpath/gemcutter@6fc81de
-
This seriously needs to be done.
Comments
-
stty definitely won't work on Windows. The Heroku gem has this implemented, look at porting that over to the Gemcutter gem and testing it on a Windows machine.
Comments
-
I think it would be neat to show the logged in users' gravatar. Perhaps gravatar for gem owners could be shown somewhere on gems/show too.
Comments
-
Make sure they're blown out of S3 too. Add an entry to the FAQ as well.
Comments
-
Something like: https://contributors.rubyonrails.org/
But nowhere near as complex. It could be as simple as
git shortlog -s -nthat's pushed into a pages view when deployed.Comments
-
Flesh out version one of the API, and make sure it's somewhat extensible so it can be upgraded.
Comments
For v1:
Supported formats: yaml, json, xml
Methods:
/gems.{yaml,json,xml}list of all gems/gems/<gem>.{yaml,json,xml}data about the latest gem/gems/<gem>/versionlatest version string/gems/<gem>/versions.{yaml,json,xml}list all versions/gems/<gem>-<version>.{yaml,json,xml}data about this gem version
Other ideas:
- API calls for each of the links (homepage, source code, etc) that could hook into a gem plugin.
- Access the # downloads and latest update date through the API
- Definitely have this in a namespaced controller since there will be more than one version of the api
-
1 comment Created 3 days ago by wesbillman@tristandunnxView All link for New Gems, Most Downloaded and Just UpdatedfeaturexMaybe I'm missing something but it would be great to be able to click on the Most Downloaded title and view all gems sorted by number of downloads. The same would be true for the New Gems and Just Updated titles.
Comments
-
It's an ugly mess, split it up, break it up into separate tasks.
Comments
-
Warn the user when they're overwriting a version, add a -f flag to push to allow it.
Comments
-
And eventually use full text search on them. This is pretty massive since it will involve downloading all 24k+ gems, which luckily is free since Gemcutter runs on Heroku, which is on EC2.
Comments
-
Clippy is hidden on IE7, should probably fix that. IIRC, we have to use JS to embed it or something so it's happy.
Comments
-
0 comments Created 19 days ago by epitronChrome has problems selecting the "gem install ..." linebacklogxWhen you're on a gem's homepage, and you try to select the "gem install..." line by hand, selecting the edge of the word "gem" will select all of the rest of the page.
It appears that the " > " element is overlapping the "gem install..." element.
The " > " image definitely has a lot of extra space on the right hand side... perhaps it could be trimmed?
Comments
-
Let's keep all client interaction there instead of the website.
Comments
-
2 comments Created 8 days ago by copiousfreetimeReview 'push' rake task contributionbacklogxSorry about the noise, I sent a pull request before reading the contributions section of the readme.
Its commit copiousfreetime/gemcutter@af083d0 and a follow up commit copiousfreetime/gemcutter@f5a02d1 to fix the documentation
Comments
I think I'd rather leave this up to package management solutions like Jeweler. I'd like to hear your argument why gem owners shouldn't use one of the accepted solutions that already exist like that or Hoe.
copiousfreetime
Sun Oct 04 18:28:06 -0700 2009
| link
I'm all for using package management solutions. I was thinking this would be for them to use. I made the task because it appears Jeweler may be the only one that has a gemcutter task right now and I do not use Jeweler.
I think its appropriate to have something that would potentially be used quite a bit via a rake task to provide either a sample, or a common rake task to do the job. rcov, rspec and rubygems all provide rake tasks.
Also, part of it is allowing PushCommand#send_gem to have a parameter. Otherwise, it appears the only way to use the push command is to shell out to execute it.
I'm not set on having this accepted, I just thought it would be appropriate to offer it.
-
0 comments Created 12 days ago by qrushBetter feedback when Linkset or Version is invalid.bugxBasically, a gem push with an invalid homepage url, or something back in the version can end up with absolutely zero feedback. This shouldn't be the case.
Comments
-
A "%" in the search parameter leads to an "Heroku Error" ("Oops, we seem to have a glitch in our system.")
Comments
-
https://gemcutter.org/gems/npd-activerecord-jdbcmysql-adapter
I knew this was going to happen.
Comments
-
2 comments Created 4 days ago by jasonmgemcutter_key inserted into .gemrc without proper formatbugxAfter gem tumble, I see this:
$ cat ~/.gemrc
:benchmark: false gemcutter_key: OH-NOES-SECRETS
:backtrace: false :update_sources: true :verbose: true :bulk_threshold: 1000 :sources: - https://gemcutter.org - https://gems.rubyforge.org/ - https://gems.github.comShouldn't there be a colon before gemcutter_key?
Comments
lukeredpath
Fri Oct 09 09:20:44 -0700 2009
| link
For consistency, perhaps, but it just means the API key is keyed on a string rather than a symbol so techniaclly speaking I couldn't call this a bug, its not that big a deal.
I originally tried to make this work as a symbol, but it requires some hacking onto Gem::ConfigFile. If you can make it work in the symbol syntax I'd be willing to switch to it.
https://github.com/jbarnette/rubygems/blob/master/lib/rubygems/config_file.rb
-
3 comments Created 4 days ago by technoweeniebacklogxprivate gem subdomains?subdomainsxAccording to this, you guys are planning on using subdomains for namespaced gems. One thing I've wanted to do is store private gems in a central location. I don't really know how the rubygems protocol works, but I imagine private gems could be installed like this:
gem install secret-sauce --source=https://technoweenie:monkey@entp.gemcutter.orgJust a thought...
Comments
Awesome idea. Backlogging this until subdomains are ready.
Unless there's going to be a fee associated with private subdomains that will go to some kind of common pot to improve Gemcutter I'm against this idea. Gems are made to be open source, and supporting this kind of private domain in what is becoming the de facto standard of gem hosting will only encourage companies to go closed source on more gems.
-
1 comment Created 2 days ago by djberg96Gem name displayed shows platform specific gembugxIf you take a look at https://gemcutter.org/gems/ptools you'll see that it displays "1.1.8-x86-mswin32-60", because the Windows specific gem happened to be the last one uploaded I guess.
But I just want it to display "1.1.8". Shouldn't it just use Gem::Specification#version ?
Comments
-
1 comment Created 2 days ago by postmodernThe publishing and downloading of certificates used to verify signed-gemsfeaturexGemcutter needs a convenient interface for the publishing and downloading of the Certificates used to verify signed-gems. It would be nice to be able to quickly download the .pem files used by a user for all projects or perhaps a specific gem. Also an icon on the gem page, denoting if the gem is signed or not, would also be helpful.
Gemcutter could help promote the signing of gems, and thus improve the overall security of installing gems over untrusted networks (aka any unencrypted wireless AP).
Comments
-
1 comment Created 1 day ago by levinalexsearch should priorize exact match on gem namefeaturexsearching for a gem that has a common name (like ahowards
main) shows many unrelated results and pushes the correct result to the second page. (example)If there is an exact match in the gem name this gem should appear at the very top of the result list
Comments
-
2 comments Created 1 day ago by jm3add JSON API call to return list of all versioned gems, sorted by popularity (# downloads)featurexdone, forked branch is here: https://github.com/jm3/gemcutter/tree/list-gems
route is /gems.json (didn't use /gems/all.json because that would have been a name collision if there were a gem named "all")
Comments
No tests for this makes me sad :/ Maybe it would be useful to stick this in Rails.cache for every ~60 seconds or so since it is a pretty large list.
Sorry about that, just added 2 cucumber tests for you: 39 scenarios (39 passed), 293 steps (293 passed). Also added a Rails.cache around the render so that it will be cached for 5 minutes.
What makes me sad is that adding the Rails.cache'ing makes the cucumber tests fail (they pass if you don't cache the result). Any ideas on how I can fix that?
-
qrush asked me about using rack-sparklines for the stats page. I've added it to my sparklines_with_rack branch. I have a screenshot of it in action.
A few things:
- The sparklines themselves are not cached. Since gemcutter is on heroku, I just send an http caching header to expire it after 5 minutes.
- I tweaked the CSS a bit, rather than figure out how to change the colors in the spark lib. Rack-Sparklines uses a pure ruby sparkline implementation that only relies on zlib.
- The sparkline code has a configurable URL. You have to set an equivalent URL to https://gemcutter.org/stats in a :sparklines in database.yml. See the sample.
- Since the sparkline code basically calls itself to get the sparkline data, you need a multithreaded rails env. Mongrel still has a hard mutex around Rails, and will hang when trying to render a sparkline. You can get around this by using something like Passenger, or running a separate mongrel on a different port. Set the :sparklines key to https://localhost:3001/stats or something.
Comments
-
Comments
-
Ruby 1.8.7, Snow Leopard, rubygems 1.3.5:
This error crops up from time to time. It seems to be intermittent:
dberger@globe-madison ~>gem migrate win32-nio --debug Exception `LoadError' at /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:31 - no such file to load -- json/pure Using pure library for JSON. Starting migration of win32-nio from RubyForge... A migration token has been created. Exception `LoadError' at /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:31 - no such file to load -- Win32API Exception `LoadError' at /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:38 - no such file to load -- Win32API Exception `LoadError' at /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:31 - no such file to load -- net/scp Exception `LoadError' at /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:31 - no such file to load -- highline Exception `LoadError' at /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:31 - no such file to load -- Win32API Exception `LoadError' at /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:38 - no such file to load -- Win32API Exception `LoadError' at /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:31 - no such file to load -- termios Exception `LoadError' at /usr/local/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:38 - no such file to load -- termios Uploading the migration token to Win32Utils.rubyforge.org. Please enter your RubyForge login: Login: djberg96 Password: Exception `Net::SSH::Exception' at /usr/local/lib/ruby/gems/1.8/gems/ net-ssh-2.0.15/lib/net/ssh/transport/algorithms.rb:296 - could not settle on language_client algorithm Exception `Net::SSH::Exception' at /usr/local/lib/ruby/gems/1.8/gems/ net-ssh-2.0.15/lib/net/ssh/transport/algorithms.rb:296 - could not settle on language_server algorithm Exception `RuntimeError' at /usr/local/lib/ruby/gems/1.8/gems/net- scp-1.0.2/lib/net/scp.rb:384 - scp: /var/www/gforge-projects/ Win32Utils/migrate-win32-nio.html: No such file or directory Exception `Net::SCP::Error' at /usr/local/lib/ruby/gems/1.8/gems/net- scp-1.0.2/lib/net/scp.rb:351 - SCP did not finish successfully (1) There was a problem uploading your token: SCP did not finish successfully (1) Asking Gemcutter to verify the upload... Gemcutter is still looking for your migration token. removing /var/folders/wF/wFJ3R9sfFgCrHQbWYrM+G++++TM/-Tmp-/ token20091012-33187-hqdcan-0...done
Comments
- @ddollar▾
- @qrush▾
- @tristandunn▾
- backlog▾
- bug▾
- design▾
- docs▾
- feature▾
- patch▾
- subdomains▾
- Apply to Selection
-
Change Color…
Preview:preview
- Rename…
- Delete












I like it.
me too. great idea brandon.
Brilliant idea (even if you are a Vikings fan).
++1
We've been trying to figure this problem out here: https://wiki.github.com/qrush/gemcutter/fork-support
Personally I'd rather see
https://username.gemcutter.orgstyle forks.Genius! But I'm with qrush. Subdomains are pretty.
+1
Subdomains would be awesome too.
ditto
Alright folks, we're on it. Hop into #gemcutter on freenode if you have questions.
Awesome!