Skip to content

Instantly share code, notes, and snippets.

@tsjensen
tsjensen / sq-xml-sort.md
Last active August 25, 2017 13:18
How to sort exported SonarQube profile by repository and rule key
@tsjensen
tsjensen / gitlab-move-project-with-containers.md
Last active February 16, 2024 22:20
Instructions on how to move a GitLab project with lots of container images in its registry

Move a GitLab project including container registry

This little post describes how to move ("transfer") a GitLab project to another subgroup, when that project includes a container registry with lots of container images. GitLab does not support moving projects with container images.

Prerequisites

  • Maintainer privileges on SOURCE_PROJECT and TARGET_PROJECT
@tsjensen
tsjensen / gradle-jacoco-aggregated-report.md
Last active March 29, 2024 14:32
Gradle: Create a JaCoCo Report aggregating all subprojects

Create an Aggregated JaCoCo Report

The JaCoCo results from all subprojects shall be combined.

Requirements

  • Don't make any assumptions about where files are located in the build folders.
  • Refer to the sources of truth for getting at needed information.
  • Don't make any assumptions about which source sets are being tested. It might be main, but it might not.
  • Handle subprojects that don't JaCoCo.