question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] BaGet as PowerShell module repository

See original GitHub issue

❓ Question

Did anyone managed to run BaGet as PowerShell module repository sucessfully?

📑 Details

It seems like there are several discussions about the usage of BaGet and PowerShell in general.

Especially finding and installing packages via PowerShell (PackageManagement & PowerShellGet) seems to be unstable.

BaGet would be the first PackageRespository type using NuGet v3 API. Could the issues relate to this?

💣 Testing Details

  • Server hosts http://baget:5555
    • latest BaGet docker image
  • Client
    • Windows PowerShell 5.1 Desktop
      • PowerShellGet 2.0.4
      • PackageManagement 1.2.4
    • Ubuntu PowerShell 6.2.3 Core

🖼 Screenshots

BaGet

🔖 Refs

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:5
  • Comments:22 (5 by maintainers)

github_iconTop GitHub Comments

7reactions
TylerLeonhardtcommented, Sep 8, 2020

Hello everyone 👋 I work on the PowerShell team and wanted to say a couple things:

  1. BaGet is amazing. A really sleek NuGet server AND client that works on .NET Core… I’m in love
  2. PowerShellGet v2 is what ships in Windows as a part of Windows PowerShell so needless to say… PSGet v2 is here to stay for a long long time…
  3. I was able to get Publish-Module working which is really exciting 😁
  4. However, like others here, Find and Install do not work

It would be awesome to see the addition of the last couple of v2 APIs to get Find/Install working 🙂

5reactions
loic-sharmacommented, Jan 22, 2020

Hi, I apologize for the very long response. This requires supporting the legacy NuGet V2 APIs, which is tracked by https://github.com/loic-sharma/BaGet/issues/43. @Mizipzor and @jgagnaire made good progress on this (see https://github.com/loic-sharma/BaGet/pull/294 and https://github.com/loic-sharma/BaGet/pull/178).

I’ll admit that I’ve been dragging my feet here as I feel torn on adding “legacy” APIs to BaGet. However, I believe that supporting Powershell modules and fully replacing NuGet.Server’s feature set feels valuable enough. I will tackle this as part of BaGet V1 soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Baget as a repository : r/PowerShell
I was able to get Baget installed and configured as an Azure Container Instance. I was able to publish a number of modules...
Read more >
Working with local PSRepositories - PowerShell
Deliver PowerShell scripts and modules only available to your organization. This article describes how to set up a local PowerShell repository.
Read more >
Tips for PowerShell Gallery Success
Compare PowerShell Modules​​ The modules are stored in online repositories. Microsoft maintains one called PSGallery.
Read more >
How To Install and Update Azure PowerShell on Windows ...
Run the following command to install the latest version of the Az PowerShell module to PSGallery Repository at force.
Read more >
Powershell source control/subversion scenario. Is this even ...
I've created a repository (E:\SVN) and added the E:\Scripts folder to it. I can checkout a script and modify it but when I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found