- What is the minimum setup before I start using GitLab?
- How to generate and upload GitLab ssh-key?
- How do I get help?
- Why do I get "422 Error" when sign-in?
- What is a GitLab project?
- What is the username space?
- How many personal GitLab projects I can create?
- What is the default project visibility?
- What is a GitLab group?
- Why my search turnout nothing?
- Can I safeguard secrets in private repo?
- What are GitLab usage limits?
- Is GitLab intergated with Stanford's workgroup?
- Can I use GitLab for PHI data?
GitLab FAQs
- What is the minimum setup before I start using GitLab?
- How do I get help?
- How to generate and upload GitLab ssh-key?
- Why do I get "422 Error" when sign-in?
- What is a GitLab project?
- What is the username space?
- How many personal GitLab projects I can create?
- What is the default project visibility?
- What is a GitLab group?
- Why my search turnout nothing?
- Can I safeguard secrets in a private repo?
- What are GitLab usage limits?
- Is GitLab intergated with Stanford workgroup?
- Can I use GitLab for PHI data?
What is the minimum setup before I start using GitLab?
Most of your profile settings are already populated from Stanford directory when you sign up with GitLab, such as your account id (sunetid), name, email. You should not change these.
You can click Profile Settings button on the left panel to change default appearance for your GitLab web interface. You definitely want to look into the "SSH Keys" tab. In this tab, click the "Add SSH Key" button to add SSH keys so you can communicate with GitLab through git command.
How to generate and upload GitLab ssh-key?
How do I get help?
For general usage questions, Use Gitlab's help documetation. For backend server gitlab.med.stanford.edu related questions, please submit a HelpSU ticket.
You can also join git slack channel on [SoM IRT Slack channel #svn_git_discussion] (https://som-irt.slack.com/messages/C1THB6X1C).
Why do I get "422 Error" when sign-in?
If you get this error the first time your sign-in, most likely, your email contact information in StanfordYou is either private or doesn't exist. It can be caused by sponsorship changes.
gitlab.med.stanford.edu service requires your email address to log you in, and the email must be in stanford.edu domain and fully sponsored. You should be able to go to stanfordyou.stanford.edu and add your email address - click on 'Maintain your directory and AlertSU emergency contact information', then click 'change...' next to 'SU Contact Info'. You need at least Stanford visibility for your email address.
What is a GitLab project?
A GitLab project is all things about a project: a git repository, wiki, issues, documentations, etc.
What is the username space?
When you create a new project in GitLab, the default namespace for the project is the personal namespace associated with your GitLab userid. The git repositories created in your personal namespace looks like this:
git@gitlab.med.stanford.edu:<sunetid>/<project>.git
How many personal GitLab projects I can create?
The default personal project limit is 30.
What is the default project visibility?
Project visibility level in GitLab can be either private, internal or public. The default is private. As a project owner, you can change your project visibility by using your projetct's "Settings" function.
What is a GitLab group?
Gitlab group allows you group projects together into one namespace (directory), so you can give other users permission to all projects in one place. You are allowed to create groups or transfer personal projects to a group that you own. Here is more information about GitLab groups.
Why my search turnout nothing?
Gitlab search scopes for CE version are limited to projects, issues, merge request. Code search is not supported. See Search through GitLab
Can I safeguard secrets in private repo?
Private repos will limit the visibility to it's members but it IS NOT a place to keep your secrets.
All git repo contents are stored UNENCRYPTED on the storage backend and accessiable by whoever has the access privileges to the backend.
Clone a repo will also distribute all secrets it contains and it is impossible to control the usage of the secrets after they are cloned.
WARNING: Do not store any secrets or config files that may contain secrets to a GitLab project regardless of its visibility.
You should use a secret/key management system for all secrets, e.g. SoM Vault, LastPass, etc.
If you do want to use GitLab repo for secrets:
- Use git-crypt to protect the secrets.
- You are on your own.
What are GitLab usage limits?
- Gitlab is NOT for PHI data
- Personal projects limit: 30
- Group projects limit: unlimited
- Maximum attachment size: 10MB
WARNING: Please don't use GitLab to store large binary data file, e.g. compiled code, images, and vedios, etc.. Use a cloud storage bucket, i.e. S3, Box, or GCS.
Is GitLab intergated with Stanford's workgroup?
No. You can freely assemble your project team from members in different groups.
Can I use GitLab for PHI data?
NO, you can not.
WARNING Do not store PHI data in any GitLab projects!