codetriage / CodeTriage

Discover the best way to get started contributing to Open Source projects
https://www.codetriage.com
MIT License
1.4k stars 360 forks source link

Suggestion: Import Gemfile.lock #383

Open monkbroc opened 9 years ago

monkbroc commented 9 years ago

As an application developer I'd like to help projects I use in my application Because improving and keeping those projects alive helps my application in the long run

This could by done by adding a "Repos in my app" tab. In there, allow uploading a Gemfile.lock, package.json, etc. Parse it and use it to filter the "Repos" tab to only the repos used in my app.

itpwang commented 5 years ago

Hi, I'm new to open source and had a few questions: Is this feature still relevant? What are best practices to address when to start development on a new feature like this?

schneems commented 5 years ago

Hi, I'm new to open source and had a few questions:

Hello!!!

Is this feature still relevant?

I think it's still relevant.

What are best practices to address when to start development on a new feature like this?

I would say we'll need a few things, a view/route/controller to allow people to upload their Gemfile.lock. Once we get that we can extract dependencies using bundler internals something like this https://github.com/heroku/heroku-buildpack-ruby/blob/4ca71a9d65d3a976211a1d11ea93d2b1bb6c4d23/lib/language_pack/helpers/bundler_wrapper.rb#L178-L179. Then we'll have to correlate that with github URLs somehow, I think that will be the hard part.

This is somewhat of a larger project, I would never discourage anyone from working on a thing that they are truly interested in, however, it's usually better to become acquainted with the project with a few easier tasks before jumping into a feature this large.