Questions tagged [gitlab]

GitLab offers git repository management, code reviews, issue tracking, activity feeds and wikis.

Filter by
Sorted by
Tagged with
0 votes
0 answers
38 views

i18n extraction and redeployment using Gitlab CI/CD

I'm getting into Gitlab Auto-DevOps to deploy code into K8s and I'm struggling to figure out a flow to extract translations from my application using CI/CD and update my deployment when new ...
user avatar
0 votes
1 answer
68 views

Modernizing a legacy source control / deployment infrastructure

I've got a large, old application with a clunky, extremely manual deployment process (essentially, tribal knowledge combined with random scripts / build jobs scattered across servers). The application ...
user avatar
0 votes
2 answers
164 views

Is editing a Github/GitLab issue a good idea?

I'm starting to define how issues should be handled in GitLab. Most specifically whether the author should be editing the original issue to keep it up to date or use only comments. Let's say that you ...
user avatar
  • 119
-1 votes
1 answer
40 views

Gitflow - Share release branch executable with tester before tagging it

I use GitFlow as a workflow for versionning for less than 1 month. I've just finished to develop a feature branch which has been merged to develop/. Now, I'm starting a release branch from develop. ...
user avatar
  • 107
1 vote
1 answer
2k views

What's the best practice to use semantic-release to update version number in a node.js or frontend project

I'm using semantic-release to auto find out the next version based on the git commit. It's working fine with creating new version, upload to npm and create new git tag. And semantic-release is ...
user avatar
  • 129
3 votes
2 answers
1k views

What's the best way to get GitLab Docker runners and Python tox to work together?

I'm trying to get a better understanding of how tox and GitLab CI (with docker runners) would work together, as they seem to have a bit of overlap in what each does. I think I may be missing something ...
user avatar
-4 votes
1 answer
39 views

GitLab pipeline set to public but behaves private

I'm using GitLab for open-source projects, they are all configured with the same privacy settings. One of my projects however is acting as if I have Pipelines set to Only Project Members, even though ...
user avatar
4 votes
2 answers
1k views

Git commit hashes and Git merging between branches

We have a scenario where we'd like to use two branches in our git workflow, otherwise known as develop and master. The current flow is as follows: Create feat-branch - this branch will be based off ...
user avatar
  • 41
2 votes
1 answer
396 views

In what file do I put the installation steps in my git repository?

I have a git repository and I would like to add the installation steps required to make the project work locally. The project is a company and private project and users will also be contributors. I'm ...
user avatar
  • 131
-5 votes
2 answers
128 views

How to make my team of developers follow our Git workflow [closed]

We have a team of 6 developers working in multiple technology stack. Most of these developers have little experience 1 - 2 years to be precise. We are very successful on enforcing coding standards ...
user avatar
  • 107
1 vote
2 answers
126 views

How do I maintain post deployment older versions of my code on GitLab?

My project is moving from TFS version controlling to GitLab. This is how we used to go about TFS: Each production release will be a version branch. For example, 2.0 for release 1, 2.1 for next and 2....
user avatar
0 votes
1 answer
726 views

How to organize a repository for multi-release multi-client

In our current project we are versioning software using gitflow as process and git/gitlab. We had some trouble managing multiple release at the same time, but nothing we couldn't survive. Until now ...
user avatar
  • 217
3 votes
1 answer
202 views

Git structure for multi platform projects

Currently I use SVN for my project and the structure looks like this: trunk/SharedLibrary/ trunk/platform/wordpress/ <- platform base directory trunk/platform/wordpress/SharedLibrary <- ...
user avatar
2 votes
3 answers
215 views

Git project organization

My company currently has SVN as main version control and we are in process of migrating to Git. Doing that is a perfect chance to do a structure reorganization. Before I get to that let me describe ...
user avatar
  • 149
1 vote
0 answers
84 views

How to differentiate between done and closed-for-other-reaons issues in GitLab?

In GitLab, an issue is usually closed once a Merge Request is approved and merged into master. However, what should happen with issues that are closed because of other reasons? There could be ...
user avatar
-2 votes
1 answer
395 views

Fork 3 repo's into 1 main one

I have a specific problem in git which I havent found an answer to yet. In gitlab I have 3 seperate repos. For my school project the teacher wants me to copy everything into a repo of his and wants to ...
user avatar
1 vote
1 answer
5k views

Gitlab-ci and Maven: how to deal with project version?

How exactly should gitlab-ci behave to version my project ? A simple git flow on gitlab could be: commit on master -> build, test and deploy to staging tag on master -> build, test and deploy to ...
user avatar
  • 115
2 votes
1 answer
84 views

continuous deployment of web application built with multiple packages

Our react web application is broken down to multiple components. Some of these components are part of the same git mono repo and some live in a different repo. Now, to implement a bug fix we have to ...
user avatar
  • 29
2 votes
1 answer
404 views

How to review hundreds of commits and formalize merge request(s)

At my work every line of code must be reviewed and this review is formalized in a merge request. Now we are a facing a situation were one developer developed a prototype for a new product which is ...
user avatar
  • 769
0 votes
2 answers
2k views

How to split a monorepo accross multiple teams so that each has access to only a slice of the repo?

There are lots of advantages to a monorepo. We also read that large companies like Google and Facebook use this tech to keep all source code in a single repo. But how do you manage to limit access of ...
user avatar
  • 411
1 vote
1 answer
923 views

Building docker images in Gitlab CI and pushing to AWS ECR.

I want to do something fairly simply in my Gitlab CI pipeline - I want to build the docker image and push it to an AWS ECR repo. I've looked at this Gitlab CI guide and one of the suggestions it ...
user avatar
  • 2,402
8 votes
1 answer
7k views

Git branch model with QA and branches

We would like to use Driessen's git branch model but we also have QA side. I think I understand how this git flow works but I'm still not sure about testing. For example, I have five new features, ...
user avatar
23 votes
1 answer
652 views

What is best practice for handling PRs addressing security vulnerabilities in public repo?

How should an open source project with a public repository best handle pull requests (PRs) that address securely reported but not yet publicly disclosed security vulnerabilities? I'm involved in an ...
user avatar
1 vote
3 answers
888 views

How to improve our branching model?

I work as a release manager in a company with 15 internal developers and 10 external developers. Setup Code base is a heavily modified Magento (PHP) Test suite is almost non-existent but is ...
user avatar
  • 113
2 votes
2 answers
116 views

is there a way to know the type of web based version control application from a git url?

Background I'm researching the ability to add some services on top of git web hosts (ie github, gitlab, bitbucket etc, I'm not even sure what they're called, I borrowed that term from the github wiki)...
user avatar
  • 259
2 votes
2 answers
979 views

How to keep track of maven dependency updates in projects?

How do you keep track of maven dependency versions? Let's say you are using version 1.0.5 of an library. <dependency> <groupId>groupIdName</groupId> <artifactId>...
user avatar
  • 163
3 votes
2 answers
228 views

how to handle small change requests in the automated deployment process

I've setup a Gitlab server to manage several different Laravel Apps. I'm also able to configure the Gitlab CI to deploy the code to the development and production sites. Everything is kind of ...
user avatar
1 vote
1 answer
643 views

What is the purpose of keeping "open" a merged MR in Gitlab?

In gitlab, there is Merge Requests (MR) like in github there is Pull Requests (PR). If the MR is rejected, sure, we close it. But what if the MR is merged ? In that case the button to close the MR ...
user avatar
7 votes
1 answer
1k views

Visual Studio, Git, and common code

I'm looking for some advice on how I should arrange a large new project I'm working on to allow it be more easily managed in Git (using GitLab), and developed in Visual Studio. To give an idea of ...
user avatar
  • 171
3 votes
1 answer
1k views

forking boilerplates? or simply cloning them?

Using gitlab/github. I created boilerplates for all my projects so I've: wordpress-boilerplate html5-boilerplate laravel-boilerplate ror-boilerplate I'm debating myself if/when starting a new ...
user avatar
20 votes
1 answer
29k views

Gitlab workflow, forcing code review or merge request on branch

I'm working towards implementing Gitlab at my company with a workflow strategy. My idea is that developers will be given access to repositories but, anytime they try to commit, their code must be ...
user avatar
  • 483
16 votes
2 answers
13k views

CI runner on same server of GitLab?

I'm setting up a GitLab server in my company and now I'm adding GitLab CI to it. Before start this task I'd like to understand if there are any disadvantages running my runners on the same server ...
user avatar