Community
The GitLab Community is a vibrant and active group of users, developers, and contributors who are passionate about GitLab.
Community Websites for Discussions and Meetings
- GitHub Discussions: discussions - A platform for discussing GitLab features, asking questions, and collaborating with other members of the community.
How to Get Involved
There are many ways to get involved in the GitLab Community:
- Contribute to the codebase: GitLab is open-source and welcomes contributions from the community. You can find a list of issues that are open for contributions on the GitHub Issues page.
- Report bugs and suggest features: If you encounter a bug or have an idea for a new feature, you can report it on the GitHub Issues page.
- Participate in discussions: Engage with the community on the GitHub Discussions page.
- Join the GitLab Slack channel: You can connect with other GitLab users and developers on the GitLab Slack channel.
- Attend GitLab events: GitLab hosts a variety of events, including conferences, meetups, and hackathons. These events are a great way to learn about GitLab and meet other members of the community.
Code Examples
Contributing to the codebase:
# Example of a code contribution to GitLab CE
# In this example, we are adding a new feature to the GitLab API
# that allows users to create a new project from a GitLab template.
# /app/models/project.rb
class Project < ApplicationRecord
# ... other code
def self.create_from_template(template_name, user)
# ... logic for creating a new project from a template
return new_project
end
end
# Example of a test for the new feature
# /spec/models/project_spec.rb
describe Project do
context "when creating a project from a template" do
it "creates a new project with the template's settings" do
# ... create a test template
# ... create a new project from the template
# ... assert that the new project has the correct settings
end
end
end
Reporting bugs and suggesting features:
# Example of a bug report on GitHub Issues
## Bug report
**Title:** Issue with merging branches
**Description:** When I try to merge branch `feature-branch` into `main` I get an error.
**Steps to reproduce:**
1. Create a new branch called `feature-branch`
2. Make some changes to the code
3. Push the changes to the remote repository
4. Try to merge `feature-branch` into `main`
**Expected result:** The merge should be successful.
**Actual result:** I get an error message.
**Screenshots:** (Include any relevant screenshots)
**GitLab version:** (Include the version of GitLab you are using)
**Operating system:** (Include the operating system you are using)
# Example of a feature suggestion on GitHub Issues
## Feature request
**Title:** Add support for new programming language
**Description:** I would like to see support added for the new programming language `MyLanguage` in GitLab.
**Benefits:** This would allow GitLab users to work with `MyLanguage` projects more easily.
**Alternatives:** (If there are any alternative solutions, list them here)