You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inside Ruby's Gemfile we can declare a git source with the git_source block. This will give us a git URL were bundler should fetch the package from. Example:
git_source(:acme) do |repo_name|
"https://x-oauth-basic:[email protected]/acme/#{repo_name}.git"
end
We should mark these dependencies as "internal", and not process them.
To make this detection organization-agnostic, we can match the GitHub url that was given as input to license-cop with the url declared inside the git_source block.
The text was updated successfully, but these errors were encountered:
felipead
changed the title
[AG-30] Parse git_source section from Gemfile and mark as "internal" Ruby dependencies with Toptal URLs
[AG-30] Parse git_source section from Gemfile and mark as "internal" Ruby dependencies with organization URLs
Jan 11, 2018
Inside Ruby's
Gemfile
we can declare a git source with thegit_source
block. This will give us a git URL were bundler should fetch the package from. Example:Then we can declare packages like:
We should mark these dependencies as "internal", and not process them.
To make this detection organization-agnostic, we can match the GitHub url that was given as input to license-cop with the url declared inside the
git_source
block.The text was updated successfully, but these errors were encountered: