-
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
Support for Cake-Build Projects #733
Comments
@greysteil I’d also love to have this. What’s involved to make it so? Would it be best done by extending the existing NuGet implementation, or would it be a separate implementation? 🤔 |
@gitfool I had an email conversation with @greysteil about this at the time that I created this issue. Here is what was said...
I don't know enough Ruby to help on this, but happy to review/test anything that you might come up with. |
Yep, what @gep13 said! I'm super busy at the moment (a couple of big things coming on Dependabot) but always happy to help out. If enough people want this I'll take it on myself when things calm down, too. |
@greysteil FWIW, I'm having a look around and some of the repo file names have colons (
I'd prefer to use Windows Subsystem for Linux (WSL) for the Ruby environment while editing in Windows with Visual Studio Code, but then these file names will still cause me grief. |
I had no idea! Fixed in 4db144e. |
This comment was marked as outdated.
This comment was marked as outdated.
@Jacob-Morgan @gitfool I saw that others created github-actions (ex. https://github.com/patrickjahns/dependabot-terraform-action) to "extend" dependabot in that way while waiting for the "real" implementation in dependabot. Would that be a "temporary fix" while we're all waiting on this issue? |
Edit from the Dependabot team: This is the main tracking issue for adding support for Cake.
PR:
#958
Related Issues:
#733
It would be great if dependabot could support updating dependencies which are defined by people using Cake-Build (https://cakebuild.net/).
Cake is a build automation framework, that allows people to take a dependency on NuGet packages that are either an addin, tool or module. You can see examples of the types of dependency definitions here:
https://github.com/cake-contrib/Cake.Recipe/blob/develop/Cake.Recipe/Content/addins.cake#L5-L23
https://github.com/cake-contrib/Cake.Recipe/blob/develop/Cake.Recipe/Content/tools.cake#L5-L20
https://github.com/chocolatey/ChocolateyGUI/blob/develop/setup.cake#L1
https://github.com/chocolatey/ChocolateyGUI/blob/develop/setup.cake#L2
Notice, that there are different ways for these dependencies to be expressed, based on how the project is created.
Cake itself is also a dependency, which is normally defined in the
tools/packages.config
files, as shown here:https://github.com/cake-contrib/Cake.Recipe/blob/develop/tools/packages.config
This is just a normal NuGet packages.config file, so this might already be supported in dependabot today.
We already have an attempt at doing something similar to this on a much smaller scale. For example this PR:
cake-contrib/Cake.Recipe#263
Was created by our automated process.
Documentation on the pre-processor directives that can define these dependencies can be found here:
https://cakebuild.net/docs/fundamentals/preprocessor-directives
./cc @greysteil
The text was updated successfully, but these errors were encountered: