문제

I'm trying to use the gdata gem in a Rails project. The main development branch of the gem doesn't support Ruby 1.9 (it requires 'jcode', which isn't needed and doesn't exist for Ruby 1.9.x). There are forks which do, of course; it's a simple fix. However, to use the gem in a Rails project, I need a version which Bundler can find when I deploy, which means forks of a project using hg won't work (unless Bundler has Mercurial support to match its Git support now?).

The "obvious" solution to me is to clone the main Mercurial repository, make the fixes I need, and push this new branch to Github where my deploys can clone it. However, this seems somehow undiplomatic, because a side effect would be the establishment of an unofficial public Github repo of the gem. Is this kind of thing OK?

도움이 되었습니까?

해결책

It's absolutely fine, as long as the license allows it. Don't forget to link back to the original repos, and clearly state what you are doing in the readme.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top