You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Motivation
I would rather have repository-pr creation config to be abstracted so that I can use it for other git repository providers too. (Bitbucket, GitHub, GitLab, Internal git repository)
Possible Solution:
Maybe start with extracting github related parameters and PR checking logic to another class.
Maybe an extension called vcsProvider, where github is a function to preconfigure it. Just like mavenCentral in RepositoryHandler.
Then create a task for each repository configured in vcsProvider and make them depend on upgradeDependencies task. Can be named "upgradeDependenciesFor$vcsProviderName"
vcsProvider {
github {
token =""
}
}
Alternative to consider:
Maybe creating an output so other plugins or scripts can depend on this plugin to create their own logic. Such as uploading it to an internal server or in this case upgrading application dependencies and creating their own pr.
The text was updated successfully, but these errors were encountered:
Motivation
I would rather have repository-pr creation config to be abstracted so that I can use it for other git repository providers too. (Bitbucket, GitHub, GitLab, Internal git repository)
Possible Solution:
Maybe start with extracting github related parameters and PR checking logic to another class.
Maybe an extension called vcsProvider, where github is a function to preconfigure it. Just like mavenCentral in RepositoryHandler.
Then create a task for each repository configured in vcsProvider and make them depend on upgradeDependencies task. Can be named "upgradeDependenciesFor$vcsProviderName"
Alternative to consider:
Maybe creating an output so other plugins or scripts can depend on this plugin to create their own logic. Such as uploading it to an internal server or in this case upgrading application dependencies and creating their own pr.
The text was updated successfully, but these errors were encountered: