qrush / gemcutter
- Source
- Commits
- Network (95)
- Issues (29)
- Wiki (9)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
-
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: http://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 http://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 4 months ago by qrushsubdomainsxHostess and vault need to be subdomain-aware@ddollarx -
1 comment Created 4 months ago by qrushsubdomainsxOwnership like structure for subdomains@ddollarxUsers should be able to give permission to others to push to their subdomain.
Comments
Please log in to comment.What if it's more granular.
gem owner foo.gem --host ddollar --add qrush@example.org
-
4 comments Created 4 months ago by qrushsubdomainsxAdd subdomain push support to the gem@ddollarxSomething 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.Please log in to comment.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. -
5 comments Created 4 months ago by qrushfeaturexUser profile/settings editingneeds-more-mergingxThese 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
jeffkreeftmeijer
Sat Dec 05 08:18:37 -0800 2009
| link
I cherry-picked lukeredpath/gemcutter@ba5c02b and lukeredpath/gemcutter@6fc81de and started working on the email_reset feature in jkreeftmeijer/email_reset. :)
Please log in to comment.
jeffkreeftmeijer
Mon Dec 07 14:59:12 -0800 2009
| link
I got the email reset feature working and it's ready for reviewal (in jkreeftmeijer/email_reset)
Thanks, keep up the great work! :)
-
5 comments Created 4 months ago by qrushfeaturexneeds-more-mergingxDestroy GemshealthxMake sure they're blown out of S3 too. Add an entry to the FAQ as well.
Comments
wvanbergen
Sat Oct 17 04:38:15 -0700 2009
| link
Would this result in removing the entire gem completely from gemcutter, or only a specific release?
I think just one version. So something like
gem yank whatever -v 0.0.1. Perhaps we can have agem yank --alltoo.
wvanbergen
Sat Oct 17 08:10:04 -0700 2009
| link
I am all for it! I still need to remove a faulty gem version from gemcutter :-)
If you need to remove a version now, please open up a support request at http://help.rubygems.org and we'll get it taken care of.
Please log in to comment.fyi, this is currently being worked on in my fork: http://github.com/jtrupiano/gemcutter/commits/yank
There are still some outstanding concerns that need to be addressed. Feedback and opinions are appreciated: http://groups.google.com/group/gemcutter/browse_thread/thread/d613006294cbf3f7
-
1 comment Created 4 months ago by wesbillmanView 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
-
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
Please log in to comment. -
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
Please log in to comment. -
5 comments Created 4 months 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.
Ooh, good concern. I have no intentions of ever making this a pay service. I can barely manage my own wallet at that. Perhaps we should instead encourage orgs to fork the project and run it within their firewall.
thoughtless
Fri Nov 27 11:42:43 -0800 2009
| link
To add my 2 cents...
I would be interested in private gem hosting too. It would definitely be a paid service. I understand mbleigh's concern. However, there are legitimate reasons for packaging private code as gems. For example, we have a number of web apps which use ActiveResource to talk to each other. In development and test environments, these are replaced with little sinatra apps that fake responses. At the moment, this is just copy and paste from one repo to the other. A gem would be great. However, I can't open source these "fake" apps without exposing core business rules. It would also be a potential security risk.+1 for private gem hosting, with a fee that goes to support Gemcutter.
Please log in to comment.I plan to spin jrun/rubygems-proxy_server into a intranet gem server. The goal is to make it api compatible with gemcutter so "gem push" (and therefor tools like Jeweler) just work.
-
1 comment Created 4 months ago by postmodernThe publishing and downloading of certificates used to verify signed-gemsbacklogxGemcutter 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
-
3 comments Created 4 months ago by jm3featurexadd JSON API call to return list of all versioned gems, sorted by popularity (# downloads)needs-more-mergingxdone, forked branch is here: http://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?
Please log in to comment.Wow, this totally fell off my radar. Adding it to list of stuff to look into merging.
-
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 http://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 http://localhost:3001/stats or something.
Comments
Please log in to comment. -
Add a command to get a list of the gems of which you are the owner, e.g.
gem owner --me, using the credentials in the~/.gemrcfile.The output of this command can be really helpful for shell scripts to determine whether the current user is able to release a gem.
Comments
-
1 comment Created 3 months ago by halorgiumbugxPushing a gemspec raises a backtrace instead of a nice messagehealthxComments
-
8 comments Created 3 months ago by brynarybugxGemcutter throwing 500 errors instead of 404'shealthxWhen I try to use bundler for Rails itself on Ruby 1.9.2 (trunk as of yesterday), it takes a long time and then I get this:
[01:07:09] $ /opt/ruby-1.9.2.pre/bin/gem bundle The :vendored_at option is deprecated. Use :path instead. From /Users/bhelmkamp/p/active/rails/Gemfile:4:in `evaluate' [...snip...] Calculating dependencies... Updating source: http://gemcutter.org ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) bad response Internal Server Error 500 (http://gemcutter.org/quick/Marshal.4.8/cucumber-screenshot-0.1.0.gemspec.rz)Gem env is:
RubyGems Environment: - RUBYGEMS VERSION: 1.3.5 - RUBY VERSION: 1.9.2 (2009-11-09 patchlevel -1) [x86_64-darwin10.0.0] - INSTALLATION DIRECTORY: /opt/ruby-1.9.2.pre/lib/ruby/gems/1.9.1 - RUBY EXECUTABLE: /opt/ruby-1.9.2.pre/bin/ruby - EXECUTABLE DIRECTORY: /opt/ruby-1.9.2.pre/bin - RUBYGEMS PLATFORMS: - ruby - x86_64-darwin-10 - GEM PATHS: - /opt/ruby-1.9.2.pre/lib/ruby/gems/1.9.1 - /Users/bhelmkamp/.gem/ruby/1.9.1 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 - "gem" => "--no-ri --no-rdoc" - :sources => ["http://gemcutter.org", "http://gems.rubyforge.org/", "http://gems.github.com/"] - "gemcutter_key" => "[REDACTED]" - REMOTE SOURCES: - http://gemcutter.org - http://gems.rubyforge.org/ - http://gems.github.com/If I run the same command on Ruby 1.8.7, it works as expected.
Comments
This is working for me...maybe do a --debug? Also, maybe it's something strange with your platform?
/tmp % gem fetch -V cucumber-screenshot --platform universal-darwin GET 200 OK: http://gemcutter.org/specs.4.8.gz GET 200 OK: http://gemcutter.org/quick/Marshal.4.8/cucumber-screenshot-0.1.0-universal-darwin.gemspec.rz GET 200 OK: http://gemcutter.org/quick/Marshal.4.8/cucumber-screenshot-0.2.0-universal-darwin.gemspec.rz GET 200 OK: http://gemcutter.org/quick/Marshal.4.8/cucumber-screenshot-0.2.1-universal-darwin.gemspec.rz Downloading gem cucumber-screenshot-0.2.1-universal-darwin.gem GET 302 Moved Temporarily: http://gemcutter.org/gems/cucumber-screenshot-0.2.1-universal-darwin.gem GET 200 OK: http://s3.amazonaws.com/gemcutter_production/gems/cucumber-screenshot-0.2.1-universal-darwin.gem Downloaded cucumber-screenshot-0.2.1-universal-darwin /tmp % rm cucumber-screenshot-0.2.1-universal-darwin.gem /tmp % gem1.9 fetch -V cucumber-screenshot --platform universal-darwin GET 200 OK: http://gemcutter.org/specs.4.8.gz Downloading gem cucumber-screenshot-0.2.1-universal-darwin.gem GET 302 Moved Temporarily: http://gemcutter.org/gems/cucumber-screenshot-0.2.1-universal-darwin.gem GET 200 OK: http://s3.amazonaws.com/gemcutter_production/gems/cucumber-screenshot-0.2.1-universal-darwin.gem Downloaded cucumber-screenshot-0.2.1-universal-darwin
The URL listed in the original error output seems to always be throwing 500s (verified in Safari and with curl, below):
[11:08:38] $ curl -i http://gemcutter.org/quick/Marshal.4.8/cucumber-screenshot-0.1.0.gemspec.rz HTTP/1.1 500 Internal Server Error Server: nginx/0.6.38 Date: Tue, 10 Nov 2009 16:09:52 GMT Content-Type: text/html Connection: keep-alive X-Rack-Cache: miss Cache-Control: public, max-age=3 Content-Length: 30 X-Varnish: 848460337 Age: 0 Via: 1.1 varnish <h1>Internal Server Error</h1>So it seems the problem is either that the URL is not valid and should not be accessed, or that there is an issue on the server preventing it from responding with a 200 (or 302).
Yeah, Gemcutter should be returning a 404 instead of a 500. The 'ruby' platform gem simply doesn't exist.
Makes sense. Anything I can do to help get this fixed and deployed ASAP? It's blocking me from work on Rails for Ruby 1.9 I was planning on doing this afternoon.
Not sure of how to workaround it in the meantime. The 500 halts the "gem bundle" process.
Thanks.
Why is a cucumber gem even being fetched for Rails? It's also grabbing the completely wrong platform...feel free to into #gemcutter to discuss this, it'll be easier.
See line 80 /bundler-0.7.0/lib/bundler/resolver.rb; It looks like this
[specs].flatten.compact.each do |spec|flatten calls to_ary on specs, which triggers method_missing on RemoteSpecification, this causes bundler to fetch the gemspec for every gem in the source. I am not sure what the fix would be.
Fixed by http://github.com/jeremy/bundler/commit/2c21e17a76f799f688e6a427099fc8704293ebec
So it's bundler's issue not gemcutter's.
Please log in to comment.@jeremy, you rock. We should still be returning 404's instead of 500s though. Keeping this open until that's fixed.
-
5 comments Created 2 months ago by dmathieufeaturexDownload graphneeds-more-mergingxHello,
It'd be quite cool to have a graph displaying the number of downloads every week.
I've already started to look into the code for that. But before to start implementing it on a fork, I'd like your opinion on the library to use for generating the graph.I have a preference for flot and flotilla libraries.
But I'd like your opinions on this library or any other one to use.Comments
Or maybe "just" using what's already being used for the global statistics, Google Chart.
I'm working on aggregating the downloads per day right now, so once that's in this should be good to go.
That library looks sweet, I've heard good things about http://raphaeljs.org too.
I've gotten this pretty far along just using Google Chart.
I'll have something ready to show after I get the current SQL dump @qrush promised me.
Okay here's what I have:
http://github.com/sprsquish/gemcutter/commit/5dfb641fd152c915f1fd7f83f86c72a7641eec04Screen grabs:
ActiveSupport - http://skitch.com/sprsquish/nx5sc/activesupport-with-graphs
Gemcutter - http://skitch.com/sprsquish/nx5sx/gemcutter-with-graphs
Blather - http://skitch.com/sprsquish/nx5sp/blather-with-graphsI think the grid needs to be polished a bit, but otherwise it looks pretty good.
The biggest issue is getting the numbers. On my local machine the activesupport query takes 15s to run. @Qrush mentioned something about downloads/day aggregation which would make these graphs trivial. Maybe this should wait until that branch is ready.
Please log in to comment.These look great. I want to move the stats page to /stats though...so something like gemcutter.org/gems/rails/stats. This will have to wait until the daily_downloads branch is wrapped up if it takes that long to aggregate the records for the graph.
-
Hello,
This is not really an application bug, but I don't know where else to report it.
Gemcutter is available in several places.
http://gems.rubyforge.org/
http://gemcutter.orgAnd maybe some others.
That's duplicate content. And it's particularly bad for search engines optimization.
The most appropriate way of doing the thing would be to decide which url will be the definitive one (I guess gemcutter.org) and to do 301 redirects between all the mirror domains to the appropriate one.Comments
-
5 comments Created 2 months ago by brynarybugxGemcutter returning 403s instead of 404shealthxExample:
[ree-1.8.7] [11:33:14] $ curl -i http://gems.rubyforge.org/quick/Marshal.4.8/json-jruby-1.2.0.gemspec.rz HTTP/1.1 403 Forbidden Date: Wed, 09 Dec 2009 16:33:21 GMT Server: Apache/2.2.3 (Red Hat) mod_ssl/2.2.3 OpenSSL/0.9.8e-fips-rhel5 Phusion_Passenger/2.2.5 X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.5 X-Rack-Cache: miss Content-Length: 32 Status: 403 Content-Type: application/x-deflate This gemspec could not be found.Seems like this is more correctly served as a 404. If RubyGems makes a request for this I believe it will blow up either way, but this would avoid some developer confusion I ran into this morning.
Ran into this because of a Bundler bug: http://github.com/wycats/bundler/issues#issue/132
Comments
I think this change was intentional.
http://github.com/qrush/gemcutter/commit/89fda3758742769d1679eb03f2de1fcd3ece3ff8
I'd suggest letting AWS::S3::NoSuchKey bubble up above the cascade and have a middleware catch and convert them to proper 404s.
(BTW, i hate rack cascade now)
patches are welcome for this, i'm honestly not sure how to make it intentionally return 404's and my time is pegged on other site issues this week and next. thanks.
So I'm still stumped about this, since it's impossible to return a 404 with Rails Metal/Middleware, and if we check that the gem for this gemspec exists in the DB at this point that might just be too much. Any thoughts on how this could be resolved?
I have a solution but I haven't backported to 2.3 yet. But you can steal the middleware from rails/master.
The fix is to look for a "X-Cascade" header instead of checking status codes. That way you can return a 404 with a magic header and have to cascade or return an explicit 404.
New Cascade:
http://github.com/rails/rails/blob/master/actionpack/lib/action_dispatch/middleware/cascade.rb
This will likely be part of Rack core eventually.You'll also need edge Sinatra for this commit http://github.com/sinatra/sinatra/commit/f9a792396ca6172e983b7eb4d7fa2b30b3e3ccef
Please log in to comment.Just curious, if we move to Rails 3 (in the works already on the rails3 branch) would this not be an issue?
-
2 comments Created about 1 month ago by brynaryfeaturexGemcutter doesn't use SSLhealthxGemcutter should require SSL for sign up, sign in, and logged in traffic.
Sign up and sign in are obvious, but all logged in traffic is important because each of those requests carries the session ID which could be sniffed and then used to retrieve the API key. At that point, it's as good as having the password. Alternatively, re-authentication could be required for sensitive operations like getting the API key.
Comments
Looks like the API key is included in the dashboard RSS feed URL as well. As the API key (like passwords) should never be sent over a non-SSL channel, this is a problem.
Please log in to comment.Agreed, I'm pretty sure we have a cert for rubygems.org ready to go, and I'd love to get the transition over done asap.
-
Hello.
I think it would be great if you provided a publicly viewable profile page for each account you have on gemcutter with a list of the gems published. I'd love to have a single URL I can point to someone when I want to say "I've published these gems".
Thanks.
Comments
Please log in to comment.Hey qrush,
Here's my attempt.
http://github.com/andhapp/gemcutter/tree/feature-145
Please give your comments.I am not sure about the following:
How will an existing user be assigned a username(handle)? (Suggestion: It could be filled in with some random value changeable via profile page)
Similarly, sign up page will have to be changed to accept a username or will it be similar to above where a user gets allocated a random one changeable via profile page?
I can implement them once I know the usecase.
-
As a developer for Mocra and an open source guy, sometimes I publish gems under the dev@mocra account and other times at my own personal account. In order to do this however I need to edit the ~/.gem/credentials file every time I need to switch. Whilst it would be easy for me to make a script to just mv the file elsewhere and copy over the new one, I think there would also be other people in this situation.
Comments
Agreed, this is why
~/.gem/credentialsis a YAML file...so this could be implemented something like...gem push whatever.gem -k mocraand in the credentials file:
--- :rubygems_api_key: 1337 :mocra_api_key: 42
Makes me think of something related... we want to run a gemcutter instance to host our internal gems. Currently we have a company-specific gem which is exactly like the gemcutter one except it only provides the push command and point to our server. What if gemcutter supported something like:
gem push foo.gem -h foo
with h standing for host and defaulting to gemcutter. And the YAML file:
--- gemcutter: api_key: foo url: http://gemcutter.org foo: api_key: bar url: http://gems.example.org
I'd be happy to submit a patch if you are ok with this.
Please log in to comment.I like that approach better, sr...however we'll have to continue to support
:rubygems_api_keysince the gemcutter gem looks at that too. So perhaps the default could be--- rubygems: api_key: foo address: http://rubygems.org
Thankfully since it's parsed as a YAML file we should be able to drop this in.
-
0 comments Created about 1 month ago by qrushbugxValidate dependencies on pushhealthxSo we don't get people pushing dependencies that don't actually exist.
Comments
Please log in to comment. -
0 comments Created about 1 month ago by qrushbugxSubscriptions should be dependent => destroy on rubygemshealthx -
An extension of the current subscriptions. Instead of just one list of subscribed gems, you could have many watchlists each with an RSS stream. Gems can be added to wishlists along with a comment and tags (non public).
Why? To keep an eye on gems you stumble upon and might use in future projects.
Comments
-
I made a small patch to add a selection to show 5, 10, 25 or 100 entries on the leaderboard.
Ultimately something a bit more sophisticated will probably be in order, but for now it's a good starting point.
Comments
Neat, but definitely needs some tests. I'm also not sure if that's the best location for those numbers...perhaps we need a redesign of the lower pane of the homepage.
Yea, I'm not sure how much it's worth testing, it's pretty basic and I don't think it the ultimate solution, just a working transition to a better redesign, as you say. However I had given it some thought but had no idea what that redesign should look like, which is why I only went as far as adding counts.
Maybe it should be a separate page, with pretty graphs and whatnot? Hmm... I could do that if you want.
I definitely think every change is worth testing, and the policy has been since the beginning to not accept contributions without tests.
Another issue with this patch is that the top 5-20 is not really going to change often. Perhaps this should be a dupe of #93.
I didn't mean not to test, only that it wouldn't be worth testing this if it were just going to be changed for something better prior to the next release.
#93. Yes, I like that idea. So on the front page it could show rolling list of the latest new gems, latest updated gems and the latest downloaded gems. Then a separate page that can give a much broader set of statistics.
Please log in to comment.I'd rather see the lower half of the homepage reorganized first before this would get integrated. As for #93, I definitely would like a larger view for all of the 3 categories available on the homepage, so feel free to pursue that issue.
-
I started working on internationalization (and a German translation) of Gemcutter's rails app over at http://github.com/koraktor/gemcutter/tree/i18n. Please let me know what you think of my progress so far.
I'm not done right now and it needs some work on externalizing strings, translation and especially more options for selecting a language. At the moment this is done via the HTTP headers sent by the browser, but I'd also like to add manual selection and an account based setting.Comments
So are you thinking that this would live at something like de.rubygems.org ? I need to make sure that's cool with drbrain, but I think in general this will be useful for those wanting to stand up their own gemcutter.
It’s a good practice to have separate URLs for each locale. One thing to consider is that using subdomains for each locale can be tedious if you plan to add SSL to some pages (as suggested in ticket #144), because then you will need to buy SSL for all subdomains (de.gemcutter, etc) or a wildcard SSL.
Maybe using namespaces would be good enough? gemcutter.org could redirect to gemcutter.org/en or gemcutter.org/fr according to the headers sent by the browser or by the language selected manually on the site.
Also, if many people contribute translations, you could find useful to manage the translations with Web Translate It (this is my company’s product). Contributors translate directly on WTI, and you don’t have to cherry-pick/merge every single translation changes.
Please log in to comment.Good point with the subdomains and SSL, but do you really need to serve those subdomains secure? The only thing that really needs to be encrypted, is the action URL for the login form, not even the login form itself. So I don't think that you really need to provide a SSL certificate for every single language.
The path-based on the other hand would clash with user forks (#84). As this is a pretty popular demand, there's probably no way to get around this.
-
3 comments Created about 13 hours ago by darkhelmetInclude old versions with date/time in gem GET API responsefeaturexHaving the old version numbers with their date/time in the API return would be nice. To go along with that, specifying a version when retrieving gem information would be beneficial too.
My use case is that I want to go back to a point in time in my app, which includes gem versions. Yes, I could have specified the explicit version in my Gemfile, but I was silly and didn't. If the API included this information, I could write a little script to get all the versions I need to be 'up-to-date' at a specific point in time, and put those versions in my Gemfile.
Comments
I think I'd rather have an api method to grab the rubygem payload for older versions, and even an API call to get a list of all versions. There's an API branch with some of this in it but I haven't had a chance to look at it in a while.
darkhelmet
Tue Feb 09 19:20:57 -0800 2010
| link
Makes sense. I forked, and will poke around a bit.
Please log in to comment.
darkhelmet
Tue Feb 09 21:29:32 -0800 2010
| link
I messed around and added some stuff in my fork in the version-api branch, but I didn't add any tests yet, because I really have no idea WTF is going on with shoulda. It makes absolutely no sense to me.
- @ddollar▾
- @qrush▾
- backlog▾
- bug▾
- design▾
- feature▾
- health▾
- needs-more-merging▾
- patch▾
- subdomains▾
- Apply to Selection
-
Change Color…
Previewpreview
- 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: http://wiki.github.com/qrush/gemcutter/fork-support
Personally I'd rather see
http://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!