profile
viewpoint

SheGe/Cake.IIS 0

IIS addin for Cake

SheGe/cmder 0

Lovely console emulator package for Windows

SheGe/gitignore 0

A collection of useful .gitignore templates

SheGe/jenkins 0

PowerShell module for interacting with a CloudBees Jenkins server using the Jenkins Rest API created by IAG NZ Ltd.

SheGe/machine 0

Contains my install scripts and configurations for Windows and Linux

SheGe/posh-git 0

A PowerShell environment for Git

issue commentdarkoperator/Posh-SSH

Same kind of issue: Posh-SSH with Cisco Switch #308

How could I invetigate on client (module) side.... if the remote ssh host is waiting for anything ? Maybe the issue is due to a bug in this ssh.net library... I would like to check that can you help me with a command I could use ? Moreover, when I have my issue, I try later and it works..... so it's like a number of subsequent calls to different remote host is blocked... or something like that

apagnott

comment created time in 2 days

issue commentcake-build/cake

Add Build Start Date & Time to TeamCity build information

@augustoproiete Sounds like a useful enhancement

augustoproiete

comment created time in 2 days

issue openedcake-build/cake

Wrong Cake version in build.config

What You Are Seeing?

When creating a new Frosting project from a template a build.config file is included in the bootstrapping scripts, based on the build.config file used to build Cake.

What is Expected?

Cake version in the generated build.config should match the version of the template (e.g. for Cake.Frosting template 1.0 it should use Cake version 1.0)

What version of Cake are you using?

1.0 RC1

Are you running on a 32 or 64 bit system?

64-Bit

What environment are you running on? Windows? Linux? Mac?

Windows

Are you running on a CI Server? If so, which one?

No <!-- If possible, provide a link to the failing build. -->

How Did You Get This To Happen? (Steps to Reproduce)

  • Install latest Cake Frosting Template
  • Create a new project <!--

Can you point us to a project where this problem occurs? i.e. a public GitHub Repo, where we can try to reproduce the problem, and help with debugging?

-->

created time in 2 days

issue openedcake-build/cake

Add Build Start Date & Time to TeamCity build information

TeamCity provides additional information about the build through an officially supported plugin called Groovy plug. After installing this plugin a few environment variables become automatically available on every build, including the ones below:

Environment Variable Format Example
BUILD_START_DATE yyyyMMdd 20201123
BUILD_START_TIME HHmmss 145129

Why JetBrains decided to have this as a separate plugin as opposed to having it out-of-the-box beats me :shrug:, but anyway, I suggest we add a new property to TeamCityBuildInfo of type DateTimeOffset? providing the value of these two environment variables combined if they are available (otherwise null).

Knowing the exact date/time of when the build started in TeamCity is useful in scenarios where the date/time is used as part of the version number of build artifacts and must be consistent across different build steps.

The workaround today is to read the environment variables yourself in the Cake script and parse them, thus adding it to TeamCityBuildInfo is just for convenience.

What version of Cake are you using?

1.0.0-rc0001

Would you be willing to send a PR?

Yes!

created time in 2 days

push eventnickjj/dotfiles

Nick Janetakis

commit sha 385007837ab787a2be2e2f29577d899550d8e3f5

Fix intendation

view details

push time in 3 days

push eventnickjj/dotfiles

Nick Janetakis

commit sha 3211daaca957025673f25647b32ef964e3a42f73

Add comments to auto-sign git commits / tags

view details

push time in 3 days

pull request commentcake-build/cake

Update links to Gitter to point to GitHub discussions

@augustoproiete your changes have been merged, thanks for your contribution 👍

augustoproiete

comment created time in 4 days

push eventcake-build/cake

C. Augusto Proiete

commit sha 138bdb1fc2b143f0c8320b2806532d5c9e1cbea9

Update links to Gitter to point to GitHub discussions Now that GH discussions is the preferred communication channel moving forward https://gitter.im/cake-build/cake?at=5fa5656bb86f640704354b3d

view details

Gary Ewan Park

commit sha 55c62c0d72675512a4652a110e9ea353fdffdb61

Merge pull request #2954 from augustoproiete-forks/update-docs-to-github-discussions Update links to Gitter to point to GitHub discussions

view details

push time in 4 days

issue openedcake-build/cake

Allow setting MSBuild target via MSBuildSettings using a string

Currently when calling the MSBuild alias with an MSBuildSettings, we need to set the target using the WithTarget extension method.

MSBuild("./my-app.sln", new MSBuildSettings
{
    Configuration = "Release",
    ToolVersion = MSBuildToolVersion.VS2019,
}.WithTarget("Build")); // <<<###

It would be nice if we could use a property, with a string, which would make it more natural when using properties for everything else:

MSBuild("./my-app.sln", new MSBuildSettings
{
    Target = "Build",  // <<<###
    Configuration = "Release",
    ToolVersion = MSBuildToolVersion.VS2019,
});

This property should also understand semicolons as separator for multiple targets and call Targets.Add accordingly.

MSBuild("./my-app.sln", new MSBuildSettings
{
    Target = "Clean;Build",  // <<<###
    Configuration = "Release",
    ToolVersion = MSBuildToolVersion.VS2019,
});

What version of Cake are you using?

1.0.0-rc0001

Would you be willing to send a PR?

Yes!

created time in 4 days

issue commentdarkoperator/Posh-SSH

Same kind of issue: Posh-SSH with Cisco Switch #308

I use the library, just not the old one in the nugget repo. It is outdated and has some bugs

On Nov 20, 2020, at 2:30 PM, apagnott notifications@github.com wrote:

Ok I thought posh-ssh is using it....so it is not ? the module seems to work without it...

To get back to my issue .... I m not the only one facing it? Could it be related to the .net framework insralled on my box? Is operation timeout parameters really implemented in posh?

Le Fri, 20 Nov 2020 09:40:29 -0800, Carlos Perez a écrit :

SSH.Net http://ssh.net/ is just a library, you can download the code from Github and compile it in Visual Studio for the framework you need. I’m using the latest version with some additional fixes from PRs that are in the GitHub.

On Nov 20, 2020, at 1:30 PM, apagnott notifications@github.com wrote:

I use ISE...I m gonna try to run my script with powershell.exe

Thanks for trying to help me .... Do you know how to use ssh.net and install it? I did try without it...it seems to be included in .net framework...or I dont understand how this ssh.net is used by posh....

Le Fri, 20 Nov 2020 07:58:53 -0800, reybanger a écrit :

@apagnott How do you run your script? via ISE or from powershell command line? I have recently noticed that the behavior is different considering how I do run my script. From the ISE I always face strange errors. Would that be the case for you?

-- Sent using Dekko from my Ubuntu device — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/darkoperator/Posh-SSH/issues/354#issuecomment-731302060, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD7IHU3VR4O3TASHYKGAELSQ2RUZANCNFSM4TTF2EFA.

-- Sent using Dekko from my Ubuntu device — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/darkoperator/Posh-SSH/issues/354#issuecomment-731338402, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD7IHR2C7INFOHWMFDF7QLSQ2YWFANCNFSM4TTF2EFA.

apagnott

comment created time in 5 days

issue commentdarkoperator/Posh-SSH

Same kind of issue: Posh-SSH with Cisco Switch #308

Ok I thought posh-ssh is using it....so it is not ? the module seems to work without it...

To get back to my issue .... I m not the only one facing it? Could it be related to the .net framework insralled on my box? Is operation timeout parameters really implemented in posh?

Le Fri, 20 Nov 2020 09:40:29 -0800, Carlos Perez a écrit :

SSH.Net http://ssh.net/ is just a library, you can download the code from Github and compile it in Visual Studio for the framework you need. I’m using the latest version with some additional fixes from PRs that are in the GitHub.

On Nov 20, 2020, at 1:30 PM, apagnott notifications@github.com wrote:

I use ISE...I m gonna try to run my script with powershell.exe

Thanks for trying to help me .... Do you know how to use ssh.net and install it? I did try without it...it seems to be included in .net framework...or I dont understand how this ssh.net is used by posh....

Le Fri, 20 Nov 2020 07:58:53 -0800, reybanger a écrit :

@apagnott How do you run your script? via ISE or from powershell command line? I have recently noticed that the behavior is different considering how I do run my script. From the ISE I always face strange errors. Would that be the case for you?

-- Sent using Dekko from my Ubuntu device — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/darkoperator/Posh-SSH/issues/354#issuecomment-731302060, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD7IHU3VR4O3TASHYKGAELSQ2RUZANCNFSM4TTF2EFA.

-- Sent using Dekko from my Ubuntu device

apagnott

comment created time in 5 days

issue commentcake-build/cake

Visual Studio 2019 16.8.0 update (dotnet 5 SDK) breaks Cake build

https://dist.nuget.org/win-x86-commandline/latest/nuget.exe Now points to v5.8.
Closing.

nf313743

comment created time in 5 days

issue closedcake-build/cake

Visual Studio 2019 16.8.0 update (dotnet 5 SDK) breaks Cake build

There's an issue running Cake after updating to Visual Studio 2019 to 16.8.0/16.8.1. This update will install the new dotnet 5 SDK. Building my solution using the Cake .netframework Runnner (build.ps1), I was receiving errors such as: C:\Program Files\dotnet\sdk\5.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(241,5): error NETSDK1005: Assets file 'xxx.assets.json' doesn't have a target for 'netstandard2.0'. Ensure that restore has run and that you have included 'netstandard2.0' in the TargetFrameworks for your project.

The problem seems to be with nuget.exe. The work around to this is to delete nuget.exe in the Cake tools directory, and change the nuget URL in build.ps1 from $NUGET_URL = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe" to $NUGET_URL = "https://dist.nuget.org/win-x86-commandline/v5.8.0/nuget.exe"

Note that the 'latest' link is currently pointing to v5.7.0. I guess this issue will sort itself out when v5.8.0 becomes the latest, but untill here's a workaround.

Thanks

closed time in 5 days

nf313743

issue commentdarkoperator/Posh-SSH

Same kind of issue: Posh-SSH with Cisco Switch #308

SSH.Net http://ssh.net/ is just a library, you can download the code from Github and compile it in Visual Studio for the framework you need. I’m using the latest version with some additional fixes from PRs that are in the GitHub.

On Nov 20, 2020, at 1:30 PM, apagnott notifications@github.com wrote:

I use ISE...I m gonna try to run my script with powershell.exe

Thanks for trying to help me .... Do you know how to use ssh.net and install it? I did try without it...it seems to be included in .net framework...or I dont understand how this ssh.net is used by posh....

Le Fri, 20 Nov 2020 07:58:53 -0800, reybanger a écrit :

@apagnott How do you run your script? via ISE or from powershell command line? I have recently noticed that the behavior is different considering how I do run my script. From the ISE I always face strange errors. Would that be the case for you?

-- Sent using Dekko from my Ubuntu device — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/darkoperator/Posh-SSH/issues/354#issuecomment-731302060, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD7IHU3VR4O3TASHYKGAELSQ2RUZANCNFSM4TTF2EFA.

apagnott

comment created time in 5 days

issue commentdarkoperator/Posh-SSH

Same kind of issue: Posh-SSH with Cisco Switch #308

I use ISE...I m gonna try to run my script with powershell.exe

Thanks for trying to help me .... Do you know how to use ssh.net and install it? I did try without it...it seems to be included in .net framework...or I dont understand how this ssh.net is used by posh....

Le Fri, 20 Nov 2020 07:58:53 -0800, reybanger a écrit :

@apagnott How do you run your script? via ISE or from powershell command line? I have recently noticed that the behavior is different considering how I do run my script. From the ISE I always face strange errors. Would that be the case for you?

-- Sent using Dekko from my Ubuntu device

apagnott

comment created time in 5 days

issue commentdarkoperator/Posh-SSH

Same kind of issue: Posh-SSH with Cisco Switch #308

@apagnott How do you run your script? via ISE or from powershell command line? I have recently noticed that the behavior is different considering how I do run my script. From the ISE I always face strange errors. Would that be the case for you?

apagnott

comment created time in 5 days

issue commentdarkoperator/Posh-SSH

Same kind of issue: Posh-SSH with Cisco Switch #308

I wondering if I have to use ssh.client that is referenced here... I didn't and it worked so maybe the built in ssh.client library is already in .net framework 4. Could you help on this ? HOw can force the posh-module to use this https://www.nuget.org/packages/ssh.net/ ?

apagnott

comment created time in 5 days

issue commentdarkoperator/Posh-SSH

Unable to load Renci.SshNet

Will download a demo image of 2019 to test, so farm most people experiencing the issue they got fixed. That error is one I have not seen before. In other words it will take me some time to figure out what MS messed up this time

artyom-p

comment created time in 6 days

issue commentdarkoperator/Posh-SSH

Unable to load Renci.SshNet

Windows Server 2019 Datacenter 10.0.17763 Build 1490 Posh-SSH 2.3.0 .NET Framework 4.0.30319.42000 PS: 5.1.17736.1490

After applying the GAC install above for the 2.3.0 dll, I am getting:

Invoke-SSStreamShellCommand : Cannot process argument transformation on parameter 'ShellStream'. Cannot convert the "Renci.SshNet.ShellStream" value of type "Renci.SshNet.ShellStream" to type "Renci.SshNet.ShellStream"

artyom-p

comment created time in 6 days

issue commentdarkoperator/Posh-SSH

Unable to load Renci.SshNet

What os?

Sent from my iPhone

On Nov 19, 2020, at 1:16 PM, McGreggor notifications@github.com wrote:

I still get this issue in Posh-SSH 2.3.0 when using Invoke-SSHStreamShellCommand

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

artyom-p

comment created time in 6 days

issue commentdarkoperator/Posh-SSH

Unable to load Renci.SshNet

I still get this issue in Posh-SSH 2.3.0 when using Invoke-SSHStreamShellCommand

artyom-p

comment created time in 6 days

issue openedcake-build/cake

NUnit.Console3.12 support netcore

In NUnit.Console3.12 added net core and linux support but Cake can't run new version of tool, when tool path set to .dll instead .exe.

What You Are Seeing?

When i set tool path to nunit3-console.dll, i receive NUnit3: Unrecognised error (exit code -532462766).

What is Expected?

Tool is running using dotnet pathToDll

What version of Cake are you using?

0.38.5

Are you running on a 32 or 64 bit system?

64bit

What environment are you running on? Windows? Linux? Mac?

Windows

Are you running on a CI Server? If so, which one?

No

created time in 7 days

issue commentcake-build/cake

(Frosting) Tool installer should respect configuration

@dieterv This has been fixed in #2946 which will be merged shortly.

patriksvensson

comment created time in 9 days

issue commentcake-build/cake

(Frosting) Tool installer should respect configuration

@gep13 Frosting uses an internal ToolInstaller which does not respect the tools path configuration option. Instead it is currently hardcoded to place tools into _environment.WorkingDirectory.Combine("tools").MakeAbsolute(_environment) which usually ends up being somthing like project-root/tools/.

Something like this might be a first step to solve this. I did notice that Cake.Core.Constants is not accessible though and have no idea what would be preferred, making the constants public or duplicating them in the Cake.Frosting project somewhere?

Note that this would also require the NuGetModule changes from the release/1.0.0 branch, commit daf0142d8a18a52c8c29e05c387f92239a7c94c5 I think, to be actually useful. Without that, we're stuck creating our own NuGetModule in our Program.Configure using an emtpy CakeConfiguration object for now, as mentioned here.

patriksvensson

comment created time in 9 days

issue commentcake-build/cake

Visual Studio 2019 16.8.0 update (dotnet 5 SDK) breaks Cake build

For bootstrapper the above workaround seems like the best solution to me until Microsoft fixes their stuff and blesses 5.8.0 to make it available as the latest version. The underlying issue is that they shipped NuGet 5.8 with Visual Studio, while not making it also the recommended version for the standalone installer, which leads to this issue due to the breaking change they introduced.

nf313743

comment created time in 9 days

issue commentcake-build/cake

Visual Studio 2019 16.8.0 update (dotnet 5 SDK) breaks Cake build

Yes, there seems to be a breaking change in NuGet 5.8.0, for bootstrappers that don't use NuGet.exe you can add something like

#tool "nuget:https://dotnet.myget.org/F/nuget-build/api/v3/index.json?package=nuget.commandline&version=5.8.0-rc.6961&prerelease=true"
nf313743

comment created time in 9 days

issue openedcake-build/cake

Visual Studio 2019 16.8.0 update (dotnet 5 SDK) breaks Cake build

There's an issue running Cake after updating to Visual Studio 2019 to 16.8.0/16.8.1. This update will install the new dotnet 5 SDK. Building my solution using the Cake .netframework Runnner (build.ps1), I was receiving errors such as: C:\Program Files\dotnet\sdk\5.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(241,5): error NETSDK1005: Assets file 'xxx.assets.json' doesn't have a target for 'netstandard2.0'. Ensure that restore has run and that you have included 'netstandard2.0' in the TargetFrameworks for your project.

The problem seems to be with nuget.exe. The work around to this is to delete nuget.exe in the Cake tools directory, and change the nuget URL in build.ps1 from $NUGET_URL = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe" to $NUGET_URL = "https://dist.nuget.org/win-x86-commandline/v5.8.0/nuget.exe"

Note that the 'latest' link is currently pointing to v5.7.0. I guess this issue will sort itself out when v5.8.0 becomes the latest, but untill here's a workaround.

Thanks

created time in 9 days

more