Giter VIP home page Giter VIP logo

Comments (4)

HowardWolosky avatar HowardWolosky commented on June 5, 2024 1

This report unfortunately is not actionable. There's not enough information here. You will either need to update your script to pass in the -Verbose switch to the StoreBroker commands so that it logs everything to your console output, or you will need to publish out your StoreBroker log file as some sort of build artifact for post-mortem debugging.

As far as I know, there shouldn't be any issues on the StoreBroker side. The only commits to StoreBroker that happened after your last successful build was a fix for the exception that you were seeing, and adding in the option to suppress the telemetry reminder, neither of which would have caused the issue that you're seeing.

Also as an aside, as of yesterday, StoreBroker is now published on PowerShellGallery (something that should have happened 4 years ago). So, going forward, you can just do an Install-Module -Name StoreBroker in your script to get it installed and loaded, as opposed to cloning the repo itself.

from storebroker.

LanceMcCarthy avatar LanceMcCarthy commented on June 5, 2024

I'll add the verbose and let you know if anything relevant comes out of it.

In the meantime, excellent news about the gallery! I'll be sure to also switch to that at the same time.

If you are going to update the Setup.md docs, I recommend updating the notepad $profile section to include Set-PSRepository so they dont have to keep approving the startup steps.

Here's what I used:

if (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole(`
[Security.Principal.WindowsBuiltInRole] "Administrator")) {
    Write-Host "Not admin, skipping StoreBroker setup."
}
else {
    Write-Host "Updating and authenticating StoreBroker"
    Set-PSRepository -Name "PSGallery" -InstallationPolicy Trusted

    # Update StoreBroker
    Install-Module -Name StoreBroker

    # Authenticate Store Broker
    # redacted for clarity
}

from storebroker.

LanceMcCarthy avatar LanceMcCarthy commented on June 5, 2024

Okay, so this must have been a transient issue with the backend side of things? The submission when through this time.

Note: There are still a bunch of those Get-GitHubConfiguration failure warnings in there. I left -Verbose on if you want to see the warnings and the full results https://github.com/LanceMcCarthy/MediaFileManager/runs/1037925983?check_suite_focus=true

When you're done, feel free to close this issue unless oyu see something in there that might be related to the initial error.

from storebroker.

HowardWolosky avatar HowardWolosky commented on June 5, 2024

The Get-GitHubConfiguration failure warnings are fixed with this, that fix just isn't in 1.20.0. It's why you didn't see it in your runs that cloned the repo, but you were seeing it in your runs using PowerShellGallery. The fix will be in 1.20.1, which is waiting on #180 getting merged in.

from storebroker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.