-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Added Cake support #1848
base: main
Are you sure you want to change the base?
Added Cake support #1848
Conversation
Dry-run executed against the curated list of cake contrib repos from Cake Contrib.
|
At pharos we use a custom implementation of the Dependabot-script configured against our internal GitLab server. Running the cake script support against a clone of our build script repository. |
d00edaf
to
89478da
Compare
Hi @Jacob-Morgan, thanks for filing this PR! Unfortunately, the Dependabot team are currently tied up with some time-sensitive initiatives and we're not able to give this PR the attention it needs at the moment. We're hoping to get back to this and other PRs sometime over the summer. |
I'm curious if this new cake support takes into consideration the version of Cake being used to compile and run a given cake script when making upgrade recommendations? A cake script might use an older version of cake that may or may not be compatible with the Cake assemblies referenced by the addin and therefore upgrading the addin could break the cake script. The fact that a script and an addin don't use the same version of cake don't automatically make them incompatible but it might, so it's preferable to be careful. Let me emphasize that a script and an addin don't have to use the same version of Cake necessarily but under some scenarios it can definitely cause the script to break. Let me use two examples to illustrate what I mean:
The rule of thumb is: don't upgrade addins that reference more recent Cake assemblies if Cake introduced breaking changes in a version between the version used by the script and the version referenced by the addin. |
89478da
to
38642ff
Compare
55bfc1d
to
40e54e2
Compare
9c866b8
to
ecef07b
Compare
* Custom build of the dependabot core for dependabot/dependabot-core#1848 * Group packages by package name or all * Custom message builder
👋 Thanks for opening this PR, back in May 😬, we really appreciate the effort to make Dependabot better for the community. Unfortunately, we are not accepting new ecosystems into core at the moment. We are currently focused on making some improvements into how we handle extensibility before we add any more ecosystems. We will still be improving and upgrading support for existing ecosystems. Please check the Contribution guidelines for more information. |
For people looking for an interim solution for using Dependabot with Cake, there's a GitHub Action available, created by @nils-a, which makes use of the work done in this PR. See this blog post for details: https://cakebuild.net/blog/2020/10/dependabot-cake-action |
The cake declarations are only updated using the first dependency from the available set of dependencies set on the file updater. All dependenices set are now applied, this borrows heavily from the NuGet package manager file updater.
ecef07b
to
566fe47
Compare
👋 This pull request has been marked as stale because it has been open for 2 years with no activity. You can: comment on the PR or remove the stale label to hold stale off for a while, add the |
The reason that there is no activity is due to this comment from @jurre
If there is confirmation from the team that this isn't something that wants to be brought in, then I guess this PR can be closed (which would be unfortunate since systems like Renovate provide this ability). |
Have these improvements happened? |
Add cake support for #733 which is based on PR #958, expands on the implementation. The FileFetcher loads additional scripts using the #load directive and supports some wildcard globing, which can include recursive directory searching. Where possible the NuGet Package manager code has been reused either by registration as the cake implementation or derivation and overriding.
Notes
Provides
Special thanks to @gitfool for support and review