Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 26 22:52
    augustoproiete edited #3714
  • Nov 26 22:52
    augustoproiete closed #3713
  • Nov 26 22:52
    augustoproiete edited #3713
  • Nov 26 07:54
    Build #337 passed
  • Nov 26 07:46
    Build #336 passed
  • Nov 26 07:37
    Build #335 passed
  • Nov 25 22:19
    Build #6953 passed
  • Nov 25 22:13
    Build #1126 passed
  • Nov 25 22:13
    Build #2912 passed
  • Nov 25 22:02
    Build #334 passed
  • Nov 25 21:57
    gep13 assigned #3714
  • Nov 25 21:57
    gep13 commented #3715
  • Nov 25 21:56

    gep13 on develop

    (GH-3714) Use Basic.Reference.A… Merge pull request #3715 from d… (compare)

  • Nov 25 21:56
    gep13 closed #3714
  • Nov 25 21:56
    gep13 closed #3715
  • Nov 25 21:51
    gep13 labeled #3714
  • Nov 25 21:51
    gep13 unlabeled #3714
  • Nov 25 20:49
    Build #333 passed
  • Nov 25 18:40
    Build #332 passed
  • Nov 25 13:07
    Build #331 passed
C. Augusto Proiete
@augustoproiete
Tanner Watson
@tannerwatson
@augustoproiete thank you! (regarding a pip module) and sorry for the late reply. I'll give it a shot over the weekend
norgie
@norgie
bilde.png
Hi.
Has anyone come across this? If so, how did you solve it? If not, any suggestions as to how I can resolve it?
Nils Andresen
@nils-a
@norgie have you seen cake-build/cake#1904 ?
also, are you aware that we're currently moving away from gitter and into https://github.com/cake-build/cake/discussions/ ? ;-)
norgie
@norgie
@nils-a cake#1904 is interesting given that this project is the only one that fails while the other projects who are also using Cake work as expected.
As for moving to cake\discussions on github. Thx for the heads-up.
We've also been using Cake since early days and never encountered this error before.
norgie
@norgie
Adding [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12did indeed solve the issue. Strange that we haven't encountered this before.
Marek Pavlu
@ipavlu
Hi, Cake Modules, I created one, installed it simple way, also through private nuget feed.z
But it seems I have issues with nuget dependencies in the module. Installation installs just package itself, not dependencies which are missing in the nugget package as well
Dmitry Lukyanov
@dmitry_lukyanov_gitlab
Hey, I'm using DotNetCoreTool to create a nuget.config file: DotNetCoreTool(projectPath, "new nugetconfig"), can I somehow configure it? for example, I want to change the content of the created file. I guess I can try to do it with something like DotNetCoreToolSettings.WithProperty, but the constructor of DotNetCoreTool doesn't allow passing this settings
Dmitry Lukyanov
@dmitry_lukyanov_gitlab
Also, is it possible to add a new XML node via XmlPoke. I see here https://cakebuild.net/api/Cake.Common.Xml/XmlPokeAliases/A9DB73CD updating and removing. Attempts to make the same steps for "adding" were with no luck
Dmitry Lukyanov
@dmitry_lukyanov_gitlab
3 (last one :) ). If I need to call dotnet add package .. for my c# project, what is the best way to do it? It seems that NuGetAdd and NuGetInstall make different things
Marek Pavlu
@ipavlu
Installing module puts dependencies to module specific folder, from nuget feed module installs dependencies into Modules\ModuleName.Version\ModuleName
and dependencies go to Modules\ModuleName.Version\dependency_a, Modules\ModuleName.Version\dependency_b, Modules\ModuleName.Version\dependency_c
This happens during bootstrap.
build.ps1 fails, as it is unable to understand dependencies in way they are stored in module folder.
cake-contrib-bot
@cake-contrib-bot
@/all Version 0.2.0 of the Cake-Rider plugin has just been released, this will be available here https://plugins.jetbrains.com/plugin/15729-cake-rider, once the version is revied and approved.
Toby Henderson
@holytshirt
Evening all, I can't seem to find the documentation an alias for which operating system is the script running on
want to a an
if windows do x if mac do y
Pascal Berger
@pascalberger
@holytshirt See the Platform aliases
Toby Henderson
@holytshirt
@pascalberger argh thank you, perfect, google fu failed me
Pascal Berger
@pascalberger

@/all A quick reminder that we suggest to use GitHub discussions as prefered communication channel. GitHub discussions makes it easier to keep track of discussions in a structured way, especially if multiple discussions are happening at the same time. It also allows to search for previous discussion, which can be a helpful resource. GitHub discussions should be a place for the community like here, and we would be more than happy if community would chime in to discussions over there.

We won't delete this channel, but discussions might move to the new place which is available at: https://github.com/cake-build/cake/discussions

C. Augusto Proiete
@augustoproiete

@/all We are starting to prepare our next release, 1.0.0-rc0003 (https://github.com/cake-build/cake/milestone/75?closed=1) :rocket::cake:.

This is your friendly reminder that if you haven't pinned to a specific version of Cake, you should do it now 😉 https://cakebuild.net/docs/writing-builds/reproducible-builds

cake-contrib-bot
@cake-contrib-bot
@/all Version 1.0.0-rc0003 of the Cake has just been released, https://www.nuget.org/packages/Cake.
C. Augusto Proiete
@augustoproiete
@/all Cake v1.0.0-rc0003 has been released :rocket: :cake: See details in this blog post: https://cakebuild.net/blog/2021/01/cake-v1.0.0-rc0003-released
Mattias Karlsson
@devlead
@/all We will soon start preparing for the 1.0.0 release of Cake. So this is a friendly reminder to pin your Cake version.
it's happening
cake-contrib-bot
@cake-contrib-bot
@/all Version 1.0.0 of the Cake has just been released, https://www.nuget.org/packages/Cake.
Mattias Karlsson
@devlead
Tanner Watson
@tannerwatson
:happy dance:
bravecobra
@bravecobra
Hi, is Cake.Services broken?
I can't seem to use the #addin
Pascal Berger
@pascalberger
@bravecobra You best chance to get an answer is probably if you open an issue in the repository of that extension (https://github.com/SharpeRAD/Cake.Services) and provide detailed information about what version of Cake, platform & operating system you use, what does not work, what messages you get
Nicolai Brogaard
@nmbro
image.png
3 replies
markofranjic
@markofranjic

Hi is there any way to get a collection of arguments but in this way?
--NugetSourceName=Test1, --NugetSourceName=Test2

public class BuildContext : FrostingContext
{
   public string Solution { get; }
   public ICollection<NugetSource> NugetSource { get; }

   public BuildContext(ICakeContext context): base(context)
   {

   }

}

public class NugetSource
{
   public string Name { get; }

   public NugetSource(ICakeContext context)
   {
    Name = context.Arguments.GetArgument("NugetSourceName")
   }
}

I don't want this

public class NugetSource
{
   public ICollection<string> Name { get; }

   public NugetSource(ICakeContext context)
   {
    Name = context.Arguments.GetArguments("NugetSourceName")
   }
}
Gary Ewan Park
@gep13
@markofranjic can I ask that you move this question over to the discussions area: https://github.com/cake-build/cake/discussions I think it will be best answered over there. Thanks
Matthew Leibowitz
@mattleibow
Hey folks, just checking if this is a bug or a feature: cake-build/cake#3197
Basically, this no longer works dotnet cake --prefix=""
dotnet cake --names=""

Error: Expected an option value.

       --names=
               ^ Did you forget the option value?
Nils Andresen
@nils-a
@mattleibow That's a feature of Cake 1.0.0 , see https://cakebuild.net/docs/getting-started/upgrade#passing-empty-arguments
Matthew Leibowitz
@mattleibow
huh. thanks
But this is not quite the same, I am passing a string, and empty string.
Unless this is equivalent and I can do --name ""
Nils Andresen
@nils-a
I'll move the issue to dicussions and we can continue there :-)
C. Augusto Proiete
@augustoproiete

@/all We are starting to prepare our next release, 1.1.0 (https://github.com/cake-build/cake/milestone/77?closed=1) 🚀🍰.

This is your friendly reminder that if you haven't pinned to a specific version of Cake, you should do it now 😉 https://cakebuild.net/docs/writing-builds/reproducible-builds

cake-contrib-bot
@cake-contrib-bot
@/all Version 1.1.0 of the Cake has just been released, https://www.nuget.org/packages/Cake.
cake-contrib-bot
@cake-contrib-bot
@/all Version 0.6.0 of Cake.Bakery has just been released, this will be available here https://www.nuget.org/packages/Cake.Bakery, once package indexing is complete.
Miha Markič
@MihaMarkic
Hi guys, I'm executing a Tool command using RunProcess to capture output (i.e. Cake.AppCenter). And then I call ProcessExitCode and if that doesn't throw, I return output from RunProcess. That all works fine, however, how should I handle a case when RunProcess encounter errors? The current way Cake output just "an error occurred" but what if I want to show the errors from RunProcess?
Mattias Karlsson
@devlead
Maybe you could throw Exception yourself and it would bubble up that way?
Miha Markič
@MihaMarkic
@devlead yes, I was just asking whether there is a preferred way already
cake-contrib-bot
@cake-contrib-bot
@/all Version 0.6.1 of Cake.Bakery has just been released, this will be available here https://www.nuget.org/packages/Cake.Bakery, once package indexing is complete.
cake-contrib-bot
@cake-contrib-bot
@/all Version 0.6.2 of Cake.Bakery has just been released, this will be available here https://www.nuget.org/packages/Cake.Bakery, once package indexing is complete.