Skip to content

Fallback to cloning/downloading entire repo for examples #14

Open

Description

@seancdavis

This is the safe choice when the user doesn't have an upgraded version of Git.

Ensure we're providing proper feedback.

Activity

  1. seancdavis commented on May 23, 2022

    @seancdavis
    ContributorAuthor

    @eladroz Was chatting with @davbree who suggested a fallback to cloning the entire repo when a dev doesn't have the necessary Git version. You mentioned an alternative approach about downloading a zip rather than cloning. Can you share more about your suggested approach here?

  2. eladroz commented on May 24, 2022

    @eladroz
    Contributor

    I'm suggesting to use the zip file that GitHub provides for any branch in a repo, e.g.
    https://github.com/stackbit-themes/stackbit-examples/archive/refs/heads/main.zip
    This is much faster to download anyway, and doesn't come with any git history.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions