gitlabhq
GitLab CE Mirror | Please open new issues in our issue tracker on GitLab.com
Top Related Projects
Gogs is a painless self-hosted Git service
Git Server with CI/CD, Kanban, and Packages. Seamless integration. Unparalleled experience.
Effective June 1, 2021: Phabricator is no longer actively maintained.
Quick Overview
GitLab is an open-source web-based DevOps lifecycle tool that provides a Git repository manager providing wiki, issue-tracking and CI/CD pipeline features, using an open-source license. It's a complete DevOps platform that enables professionals to perform all the tasks in a project—from project planning and source code management to monitoring and security.
Pros
- Integrated all-in-one solution for the entire DevOps lifecycle
- Self-hosted option available, providing more control over data and customization
- Robust CI/CD capabilities built-in
- Active community and regular updates
Cons
- Can be resource-intensive, especially for larger installations
- Learning curve can be steep for new users due to the wide array of features
- Some users report performance issues with large repositories or high user counts
- Self-hosted version requires ongoing maintenance and updates
Getting Started
To get started with GitLab, you can either use the GitLab.com hosted solution or self-host GitLab:
-
For GitLab.com:
- Visit GitLab.com
- Sign up for an account
- Create a new project or group
-
For self-hosted GitLab:
- Choose your installation method (Omnibus package, Docker, etc.)
- Follow the installation guide
- Configure your GitLab instance
- Create your first admin user
Once set up, you can start creating projects, managing repositories, and utilizing GitLab's various DevOps features.
Competitor Comparisons
Gogs is a painless self-hosted Git service
Pros of Gogs
- Lightweight and resource-efficient, suitable for low-end hardware
- Easy to install and set up, with minimal dependencies
- Cross-platform support, including Windows
Cons of Gogs
- Limited advanced features compared to GitLab
- Smaller community and ecosystem
- Less frequent updates and slower development pace
Code Comparison
GitLab (Ruby on Rails):
class Project < ApplicationRecord
include Gitlab::ConfigHelper
include Gitlab::ShellAdapter
include Gitlab::VisibilityLevel
include Gitlab::CurrentSettings
include Gitlab::Cache::Memcache::Rails
Gogs (Go):
type Repository struct {
ID int64 `xorm:"pk autoincr"`
OwnerID int64 `xorm:"UNIQUE(s)"`
LowerName string `xorm:"UNIQUE(s) INDEX NOT NULL"`
Name string `xorm:"INDEX NOT NULL"`
Description string
Website string
GitLab offers a more comprehensive set of features and integrations, making it suitable for large enterprises and complex workflows. It has a larger community and more frequent updates. However, it requires more resources and can be complex to set up and maintain.
Gogs, on the other hand, is lightweight and easy to install, making it ideal for small teams or personal use. It's cross-platform compatible but lacks some advanced features found in GitLab. The development pace is slower, and the community is smaller compared to GitLab.
Git Server with CI/CD, Kanban, and Packages. Seamless integration. Unparalleled experience.
Pros of OneDev
- Lightweight and resource-efficient, making it suitable for smaller teams or projects
- Built-in CI/CD pipeline with Kubernetes integration
- Simple and intuitive user interface
Cons of OneDev
- Less extensive feature set compared to GitLab
- Smaller community and ecosystem
- Limited third-party integrations
Code Comparison
GitLab (Ruby on Rails):
class Project < ApplicationRecord
include Gitlab::ConfigHelper
include Gitlab::ShellAdapter
include Gitlab::VisibilityLevel
include Gitlab::CurrentSettings
include Gitlab::Cache::Cacheable
OneDev (Java):
public abstract class AbstractEntity implements Serializable {
private static final long serialVersionUID = 1L;
private Long id;
private transient Map<String, Object> dynamicProps = new HashMap<>();
Both projects use different programming languages and frameworks, reflecting their distinct approaches to version control and project management. GitLab's codebase is more extensive and complex, while OneDev's appears more streamlined and focused on core functionality.
Effective June 1, 2021: Phabricator is no longer actively maintained.
Pros of Phabricator
- More comprehensive suite of tools, including task management, code review, and wiki
- Highly customizable and extensible through plugins and custom applications
- Better support for non-Git version control systems like Subversion and Mercurial
Cons of Phabricator
- Steeper learning curve due to its extensive feature set
- Less integrated CI/CD capabilities compared to GitLab
- Smaller community and ecosystem compared to GitLab
Code Comparison
Phabricator (PHP):
$results = id(new PhabricatorRepositoryQuery())
->setViewer($viewer)
->withIDs($repository_ids)
->execute();
GitLab (Ruby):
projects = Project.where(id: project_ids)
.includes(:namespace)
.order_id_desc
Both examples demonstrate querying repositories/projects, but Phabricator uses a more object-oriented approach with method chaining, while GitLab utilizes ActiveRecord-style querying common in Ruby on Rails applications.
Phabricator offers a unique development workflow with its "Differential" code review system, while GitLab focuses on a more traditional Git-based merge request process. GitLab provides a more integrated DevOps platform with built-in CI/CD, while Phabricator excels in flexibility and customization for various development workflows.
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
GitLab
Canonical source
The canonical source of GitLab where all development takes place is hosted on GitLab.com.
If you wish to clone a copy of GitLab without proprietary code, you can use the read-only mirror of GitLab located at https://gitlab.com/gitlab-org/gitlab-foss/. However, please do not submit any issues and/or merge requests to that project.
Free trial
You can request a free trial of GitLab Ultimate on our website.
Open source software to collaborate on code
To see how GitLab looks please see the features page on our website.
- Manage Git repositories with fine grained access controls that keep your code secure
- Perform code reviews and enhance collaboration with merge requests
- Complete continuous integration (CI) and continuous deployment/delivery (CD) pipelines to build, test, and deploy your applications
- Each project can also have an issue tracker, issue board, and a wiki
- Used by more than 100,000 organizations, GitLab is the most popular solution to manage Git repositories on-premises
- Completely free and open source (MIT Expat license)
Editions
There are three editions of GitLab:
- GitLab Community Edition (CE) is available freely under the MIT Expat license.
- GitLab Enterprise Edition (EE) includes extra features that are more useful for organizations with more than 100 users. To use EE and get official support please become a subscriber.
- JiHu Edition (JH) tailored specifically for the Chinese market.
Licensing
See the LICENSE file for licensing information as it pertains to files in this repository.
Hiring
We are hiring developers, support people, and production engineers all the time, please see our jobs page.
Website
On about.gitlab.com you can find more information about:
- Subscriptions
- Professional Services
- Community
- Hosted GitLab.com use GitLab as a free service
- GitLab Enterprise Edition with additional features aimed at larger organizations.
- GitLab CI a continuous integration (CI) server that is easy to integrate with GitLab.
Requirements
Please see the requirements documentation for system requirements and more information about the supported operating systems.
Installation
The recommended way to install GitLab is with the Omnibus packages on our package server. Compared to an installation from source, this is faster and less error prone. Just select your operating system, download the respective package (Debian or RPM) and install it using the system's package manager.
There are various other options to install GitLab, please refer to the installation page on the GitLab website for more information.
Contributing
GitLab is an open source project and we are very happy to accept community contributions. Please refer to Contributing to GitLab page for more details.
Install a development environment
To work on GitLab itself, we recommend setting up your development environment with the GitLab Development Kit. If you do not use the GitLab Development Kit you need to install and configure all the dependencies yourself, this is a lot of work and error prone. One small thing you also have to do when installing it yourself is to copy the example development Puma configuration file:
cp config/puma.example.development.rb config/puma.rb
Instructions on how to start GitLab and how to run the tests can be found in the getting started section of the GitLab Development Kit.
Software stack
GitLab is a Ruby on Rails application that runs on the following software:
- Ubuntu/Debian/CentOS/RHEL/OpenSUSE
- Ruby (MRI) 3.1.4
- Git 2.33+
- Redis 6.0+
- PostgreSQL 14.9+
For more information please see the architecture and requirements documentation.
UX design
Please adhere to the UX Guide when creating designs and implementing code.
Third-party applications
There are a lot of third-party applications integrating with GitLab. These include GUI Git clients, mobile applications and API wrappers for various languages.
GitLab release cycle
For more information about the release process see the release documentation.
Upgrading
For upgrading information please see our update page.
Documentation
All documentation can be found on https://docs.gitlab.com.
Getting help
Please see Getting help for GitLab on our website for the many options to get help.
Why should I use GitLab?
Top Related Projects
Gogs is a painless self-hosted Git service
Git Server with CI/CD, Kanban, and Packages. Seamless integration. Unparalleled experience.
Effective June 1, 2021: Phabricator is no longer actively maintained.
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot