gitlabform icon indicating copy to clipboard operation
gitlabform copied to clipboard

Diff Support for more GitLab config areas and diff output

Open benruland opened this issue 3 months ago • 2 comments

Hi, while looking into the way GitLabForm does diffing, it looks promising from the implementation in project settings. However it is lacking in most other parts.

Is there a technical reason for this or is it just things, that somebody could do?

As diffing is an important use case for me, would it be reasonable to provide a more eye catching logging, such as:

[ OK ] Project Settings
[DIFF] Project Settings: {old config} => {new config}

Maybe even with different coloring? not sure however, if others like such a style and if it should be configurable with a flag (or we can just print it as info or verbose on --noop.

I would like to contribute in that area, as we plan to use GitLabForm in projects in Germany.

benruland avatar Sep 19 '25 18:09 benruland

Hi @benruland I think an improved and consistent Diff output would help, and something to help break up the white wall of logs we can get.

If you would like to put together a Proof of Concept PR in one area, we can discuss and decide whether it would work when rolled out

TimKnight01 avatar Oct 01 '25 10:10 TimKnight01

Hello,

I know this is an old issue, but since it’s still open, I just wanted to chime in and share my interest in having a better diff output.

I recently migrated from GitLab Project Configurator, which has a really nice visual diff. For each affected project, it shows a table highlighting the changed settings — super helpful when reviewing updates. Here’s an example:

Image

It’d be great to see something similar integrated here. A more visual diff would make reviewing changes a lot easier.

Thanks for the great work on this library!

Cheers,
Alberto

AlbertoCortina avatar Dec 03 '25 17:12 AlbertoCortina