jenkinsci / jenkinsci/git-automerger-plugin

Create merge rules to keep old or new whole file

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
4
Forks
5
PR merge metrics
No merged PRs in 30d

Description

The rules KEEP_OLDER and KEEP_NEWER only keep proper lines on conflict. However, sometimes there could be a line without conflicts and the user prefers to keep the whole file of a specific version rather than try to merge it.

Contributor guide

Open the contributing guide

Research direction

Start by locating the implementation of the KEEP_OLDER and KEEP_NEWER rules and the tests covering conflict resolution. Determine where whole-file selection can be represented for conflict-free lines, then add rules that retain the complete older or newer file and tests showing that the selected version is preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, kotlin
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.