Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid clone same repo for Git gems #109

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Commits on Mar 25, 2020

  1. Avoid clone same repo for Git gems

    When a Gemfile installs rails master, it clones rails for
    12 times. By storing Rails‘s subgems in the pending queue under the same name "rails". We can avoid clone rails gems
    multiple times.
    JuanitoFatas committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    5f48306 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2020

  1. Better way to avoid cloning multi-gem repo

    Use a hash to keep track of whether we've already checked out a repo by remote+revision.
    JuanitoFatas committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    cfa4857 View commit details
    Browse the repository at this point in the history
  2. Track all gems as pending for a git repo

    .. and then show them all in the "Using" message, too.
    matthewd committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    f8b9e89 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2020

  1. Configuration menu
    Copy the full SHA
    7e26027 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2020

  1. Ensure git gem messages always appear

    When there is no lockfile, we've already cloned the repository earlier to resolve the lockfile. So the check here will return false and some git gems message will not appear.
    JuanitoFatas committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    00ca7aa View commit details
    Browse the repository at this point in the history