Below is a step-by-step guide for adding multiple repos via HTTPS. If you are interested in importing a single repo, check out Importing a repo via HTTPS.
Bulk importing repos via HTTPS
- Starting on your Flow home page, go to the top navigation bar and click Settings. Using the left navigation under Integrations, click Integrations.
- Select the Add Integration button in the top right hand corner of your integrations screen.
On the following page select Generic Repo from the Integration Provider list and click Next.
On the next screen, under the HTTPS tab, click Bulk Import.
Prepare a .csv file with a list of all of the HTTPS clone URLs of the repos you would like to import.Tip: If you have a private repository, add the username and password directly to the .csv. usernames, passwords, and URLS do not need to be encoded in the uploaded files, we will handle this for you. Just copy and paste your information into the file. In the example below, repos 3 and 4 are public and do not need a username or password.
Click Choose File to locate the .csv file you created.
Click Test connection.
If your connection and repos were successfully added, click Next.If your connection was not successful, you will see an error message like the one below. Download the list of failed repos to understand why they were not imported and try again.
Here are a few reason why some of your repos might fail to import:
- clone URL is incorrect
- user name and/or password are incorrect
- repo has already been imported
- two-factor authentication is enabled for your Git host. Please use a personal access token.
On the next screen you will be selecting the services you want turned on for this Integration. For HTTPs imports, repo services is your only option. Ensure the repo service is “On” and click Next.
Next, name your integration. Click Create.
You have successfully created a new integration and bulk imported your repos via HTTPS.
If you need help, please email firstname.lastname@example.org for 24/7 assistance.