Questions tagged [gitlab]
GitLab offers git repository management, code reviews, issue tracking, activity feeds and wikis.
35
questions
0
votes
0
answers
70
views
GitLab repo architecture checks: on server or in CI?
I am currently seeking a solution to run sanity tests on my GitLab repos architecture. There are more than 20 repos in a GitLab group.
My idea is to create a "Health Check Repo" (HCR) that ...
0
votes
1
answer
211
views
Branch management when you cannot merge due to holidays
I’m working on a small project with two other developers. Our work is on Gitlab. Our general workflow is that we create feature branches by branching off development which get merged back into ...
1
vote
1
answer
76
views
Possible to create a git repo that will comprised of files residing in NFS and files in a system directory?
I want to create a git repo that will include scripts in /nfsdrive/sbin/ and the services that activate these scripts—which reside in /etc/init.d/.
I've searched the documentation and the relevant ...
-1
votes
1
answer
192
views
Git Workflow for Code without any regression test
So I have a project which does not have any regression test or automated unit tests. We release every week. We use forking git flow which is basically everyone forks repo and pushes their changes in ...
0
votes
1
answer
76
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 ...
0
votes
2
answers
178
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 ...
-1
votes
1
answer
55
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. ...
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 ...
3
votes
2
answers
2k
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 ...
-4
votes
1
answer
51
views
GitLab pipeline set to public but behaves private
I'm using GitLab for open-source projects, they are all configured with the same visibility settings.
However, one of the projects is behaving differently from the rest.
The Project visibility is ...
4
votes
2
answers
2k
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 ...
1
vote
1
answer
685
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 ...
-5
votes
2
answers
139
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 ...
1
vote
2
answers
352
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....
1
vote
1
answer
1k
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 ...
3
votes
1
answer
223
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 <- ...
2
votes
3
answers
222
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 ...
1
vote
0
answers
88
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 ...
-2
votes
1
answer
605
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 ...
1
vote
1
answer
6k
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 ...
2
votes
1
answer
95
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 ...
1
vote
1
answer
539
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 ...
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 ...
1
vote
1
answer
956
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 ...
8
votes
1
answer
10k
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, ...
23
votes
1
answer
687
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 ...
1
vote
3
answers
959
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 ...
2
votes
2
answers
120
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)...
2
votes
2
answers
1k
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>...
3
votes
2
answers
231
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 ...
0
votes
1
answer
718
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 ...
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 ...
4
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 ...
20
votes
1
answer
30k
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 ...
16
votes
2
answers
14k
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 ...