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
Support local git/clone run #3609
Comments
I'd like something like this to be able test something slighly different than config changes: I'd like to confirm in a CI job that packages added to a repository in a pull request are properly parsed and managed by renovate. Right now I'm able to parse the logs of a dry run to be able to see when a package can't be resolved, but only after a package or configuration rules that manage it are on a repository's default branch. Allowing a dry-run to be triggered against a branch would allow this case to be detected and resolved before merge using CI guardrails. |
I think this should be possible if combined with
In a subsequent feature issue later we can support also `dryRun=lookup although we'll need to think if there's any problems if the platform isn't initialized etc. |
I suggest we use We could support the |
I'm not sure what these dryrun settings do. What would be awesome if a command like this would output the changes it would output in a diff or something similar. |
i think this can be implemented as platform, where issues are not supported. maybe renovate can clone the selected repo via file url and then doing normal work. just return success for PR creation. PR merge could be push local branch to remote base branch. |
Extending what @rarkins sketched yesterday. I am in doubt about the
I'm not sure what is easiest to you to build. |
Draft PR: #22010 |
I'm going to mark this as Closed by #22010 although it does not contain every idea mentioned within here. Once it's released, please start new Discussions on any further ideas and we'll decide whether to convert them into feature requests |
What would you like Renovate to be able to do?
Allow Renovate to do a type of "dry run" on a locally cloned repo, particularly to be able to test config changes.
Describe the solution you'd like
Run Renovate on a local git clone. It shouldn't matter if it's github/gitlab/bitbucket/azure as the interface will be gitFs.
First step would be to perform a dry run, maybe later even to create the branches too - but PRs/Issues cannot be created or updated.
Describe alternatives you've considered
Forking a hosted repository to test against.
Additional context
Requested by @hongarc in renovatebot/config-help#223
The text was updated successfully, but these errors were encountered: