Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(git): Specify additional git authors to ignore #9082

Merged
merged 8 commits into from Mar 14, 2021

Conversation

renovate-testing
Copy link
Contributor

Changes:

Introduce new option for git users to ignore during external modification checks for Renovate branches.

Context:

Closes #8893

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please tick one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added unit tests, or
  • No new tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

Example repo: https://github.com/renovate-testing/test-8893-git-ignore-authors
Note: the only real test is that new option doesn't crash the whole execution.

lib/util/git/index.ts Outdated Show resolved Hide resolved
lib/util/git/index.ts Outdated Show resolved Hide resolved
lib/workers/repository/init/index.ts Outdated Show resolved Hide resolved
lib/util/git/index.ts Outdated Show resolved Hide resolved
@zharinov zharinov requested a review from viceice March 13, 2021 08:33
Copy link
Member

@viceice viceice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs test fix 😉

lib/util/git/index.ts Show resolved Hide resolved
docs/usage/configuration-options.md Outdated Show resolved Hide resolved
lib/util/git/index.ts Show resolved Hide resolved
lib/util/git/index.ts Show resolved Hide resolved
Co-authored-by: Rhys Arkins <rhys@arkins.net>
@rarkins rarkins requested a review from viceice March 14, 2021 06:45
@rarkins rarkins merged commit ea0bcdd into renovatebot:master Mar 14, 2021
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 24.82.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@zharinov zharinov deleted the feat/git-ignore-authors branch March 15, 2021 17:41
rarkins added a commit that referenced this pull request Mar 20, 2021
commit 355aefc
Author: Rhys Arkins <rhys@arkins.net>
Date:   Sat Mar 20 07:52:03 2021 +0100

    refactor: npm managerData

commit 905067a
Author: Rhys Arkins <rhys@arkins.net>
Date:   Sat Mar 20 07:26:00 2021 +0100

    refactor: maven managerData

commit 3751467
Author: Rhys Arkins <rhys@arkins.net>
Date:   Sat Mar 20 07:23:18 2021 +0100

    refactor: composer managerData

commit eb1f645
Author: Rhys Arkins <rhys@arkins.net>
Date:   Fri Mar 19 22:31:01 2021 +0100

    fix(npm): allow npm constraint install to fail

commit 38331a7
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Fri Mar 19 18:06:53 2021 +0000

    chore(deps): update codecov/codecov-action action to v1.3.1 (#9223)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>

commit 7a9d93a
Author: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Date:   Fri Mar 19 16:54:13 2021 +0100

    chore: bump operations-per-run for stale action (#9222)

commit 1185a46
Author: Rhys Arkins <rhys@arkins.net>
Date:   Fri Mar 19 16:18:45 2021 +0100

    refactor: CACHE_REVISION

commit b63e035
Author: Rhys Arkins <rhys@arkins.net>
Date:   Fri Mar 19 16:10:58 2021 +0100

    refactor: better lock dir renaming

commit adc2f24
Author: Rhys Arkins <rhys@arkins.net>
Date:   Fri Mar 19 15:58:24 2021 +0100

    refactor: lernaJsonFile into managerData

commit 3d3cc74
Author: Rhys Arkins <rhys@arkins.net>
Date:   Fri Mar 19 15:33:23 2021 +0100

    refactor: lernaDir -> lernaJsonFile

commit 19e16ff
Author: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Date:   Fri Mar 19 12:20:31 2021 +0100

    chore: redirect docs problems to discussion (#9210)

commit b67c54e
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Fri Mar 19 00:27:36 2021 +0000

    build(deps): update dependency semantic-release to v17.4.2 (#9217)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>

commit 238b52a
Author: Rhys Arkins <rhys@arkins.net>
Date:   Thu Mar 18 16:34:53 2021 +0100

    refactor(npm): don’t write npmrc/yarnrc to root always (#9211)

commit e035722
Author: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Date:   Thu Mar 18 15:24:51 2021 +0100

    docs: improve requiredStatusChecks documentation (#9208)

commit cf98e65
Author: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Date:   Thu Mar 18 14:06:56 2021 +0100

    docs: capitalize proper noun Docker (#9197)

commit 669b9a6
Author: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Date:   Thu Mar 18 13:46:10 2021 +0100

    docs: capitalize proper noun Renovate (#9199)

commit 93a36f7
Author: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Date:   Thu Mar 18 13:45:50 2021 +0100

    docs: capitalize proper noun GitHub (#9198)

commit dc5f198
Author: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Date:   Thu Mar 18 13:45:21 2021 +0100

    docs: capitalize proper noun Git (#9196)

commit 587f50e
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Thu Mar 18 00:22:26 2021 +0000

    chore(deps): update dependency type-fest to v0.21.3 (#9181)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>

commit 213d39f
Author: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Date:   Wed Mar 17 23:12:52 2021 +0100

    docs: capitalize proper noun Unicode, fix punctuation (#9186)

commit 3dfac42
Author: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Date:   Wed Mar 17 22:51:46 2021 +0100

    docs: set unicodeEmoji to false if using MySQL/MariaDB on BitBucket Server (#9185)

commit fc82122
Author: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Date:   Wed Mar 17 22:34:54 2021 +0100

    chore: improve reproduction:needed message (#9183)

commit 2819d4f
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Wed Mar 17 18:26:27 2021 +0000

    chore(deps): update dependency jest-silent-reporter to v0.5.0 (#9180)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>

commit bca8931
Author: Rhys Arkins <rhys@arkins.net>
Date:   Wed Mar 17 14:40:50 2021 +0100

    fix(npm): datasource improvements (#9178)

commit 58daaab
Author: Rhys Arkins <rhys@arkins.net>
Date:   Wed Mar 17 13:34:47 2021 +0100

    feat(internal): return registryUrl from datasources (#9177)

    Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

commit 3be8402
Author: Rhys Arkins <rhys@arkins.net>
Date:   Wed Mar 17 12:16:04 2021 +0100

    test: more maven snapshots

commit f0dede3
Author: Rhys Arkins <rhys@arkins.net>
Date:   Wed Mar 17 12:10:18 2021 +0100

    test: maven snapshots

commit 898cbd5
Author: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Date:   Wed Mar 17 09:55:53 2021 +0100

    chore: create stale action to close reproduction:needed bugs (#9165)

    Co-authored-by: Rhys Arkins <rhys@arkins.net>

commit bcc3f0e
Author: Shayne Holmes <github.snth@xoxy.net>
Date:   Tue Mar 16 22:01:34 2021 -0700

    feat(go): Pass GONOPROXY when updating artifacts (#9169)

    GONOPROXY [defaults](https://golang.org/ref/mod#environment-variables)
    to GOPRIVATE, but some callers want to set it explicitly to something
    different. Pass it when caling `go get`.

    Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>

commit 910e44a
Author: Rhys Arkins <rhys@arkins.net>
Date:   Tue Mar 16 21:40:07 2021 +0100

    chore: fix docs lint

commit 95ce900
Author: Rhys Arkins <rhys@arkins.net>
Date:   Tue Mar 16 19:25:03 2021 +0100

    refactor: npmId

commit 668c879
Author: Michael Kriese <michael.kriese@visualon.de>
Date:   Tue Mar 16 19:14:52 2021 +0100

    fix(gitlabci): gracefully handle errors (#9163)

    * fix(gitlabci): gracefully handle errors

    * fix: remove debugging

    * Update lib/manager/gitlabci/utils.ts

    Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

    * Apply suggestions from code review

    Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

    Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

commit 295d5ab
Author: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Date:   Tue Mar 16 16:23:06 2021 +0100

    docs: improve self-hosted experimental environment variables documentation (#9160)

commit fc2e48d
Author: Rhys Arkins <rhys@arkins.net>
Date:   Tue Mar 16 13:34:43 2021 +0100

    feat: RENOVATE_X_HARD_EXIT (#9152)

    Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

commit f8580a1
Author: Michael Kriese <michael.kriese@visualon.de>
Date:   Tue Mar 16 11:10:18 2021 +0100

    feat(gitea): filter archived autodiscover repos (#9153)

commit ace4227
Author: Rhys Arkins <rhys@arkins.net>
Date:   Tue Mar 16 10:16:59 2021 +0100

    docs: Self-hosted experimental (#9156)

commit 6a2345d
Author: Michael Kriese <michael.kriese@visualon.de>
Date:   Tue Mar 16 08:59:00 2021 +0100

    fix: add additional source url overrides (#9151)

commit 0747c9a
Author: Rhys Arkins <rhys@arkins.net>
Date:   Mon Mar 15 18:13:58 2021 +0100

    fix: CACHE_REVISION=4

    Git submodules extraction has changed.

commit 40a59cc
Author: Michael Kriese <michael.kriese@visualon.de>
Date:   Mon Mar 15 14:23:38 2021 +0100

    feat: use short renovate image names (#9133)

    Co-authored-by: Rhys Arkins <rhys@arkins.net>

commit f1a4102
Author: Rhys Arkins <rhys@arkins.net>
Date:   Mon Mar 15 13:56:23 2021 +0100

    refactor: customRegistrySupport (#9142)

commit 6ebe8ba
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Mar 15 11:49:07 2021 +0100

    build(deps): update dependency @renovatebot/ruby-semver to v1 (#9140)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>

commit 9c48616
Author: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Date:   Mon Mar 15 09:39:52 2021 +0100

    chore: capitalize noun Git in comment (#9137)

commit 0149e76
Author: Michael Kriese <michael.kriese@visualon.de>
Date:   Mon Mar 15 08:49:56 2021 +0100

    feat(mix): migrate to modern docker handling (#9132)

commit e0dfc81
Author: Henrik Karlsson <hk.henrik@gmail.com>
Date:   Mon Mar 15 07:29:52 2021 +0100

    chore: Install a newer version of git in the vscode devcontainer to fix failing tests (#9131)

commit a45c5f3
Author: Rhys Arkins <rhys@arkins.net>
Date:   Mon Mar 15 07:11:46 2021 +0100

    refactor: remove git-submodules datasource (#9128)

commit 0f7875e
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Mon Mar 15 02:52:31 2021 +0000

    chore(deps): update dependency nock to v13.0.11 (#9129)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>

commit 06c246e
Author: Rhys Arkins <rhys@arkins.net>
Date:   Sun Mar 14 20:58:47 2021 +0100

    feat(internal): fixedRegistries (#9124)

commit 084f9dc
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Sun Mar 14 14:42:54 2021 +0000

    chore(deps): update dependency @types/eslint to v7.2.7 (#9125)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>

commit ea0bcdd
Author: renovate-testing <77205328+renovate-testing@users.noreply.github.com>
Date:   Sun Mar 14 11:27:40 2021 +0300

    feat(git): Specify additional git authors to ignore (#9082)

commit 717e4e6
Author: Rhys Arkins <rhys@arkins.net>
Date:   Sun Mar 14 07:33:53 2021 +0100

    fix: stabilityStatus non-null check

commit 926f23f
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Sat Mar 13 23:32:55 2021 +0000

    chore(deps): update dependency @types/luxon to v1.26.2 (#9121)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to ignore specified git authors for the purpose of branch.isModified() check
5 participants