Skip to content

mirror site support for PowerShellGallery #155

Description

@tigerinus

This issue is more about the gallery than the module.

Most repos like docker, pip, npm, maven, apt/yum, etc. allow mirror sites else in the world, and contents are sync'ed on regular basis (e.g. daily). This provides great benefits for developers in areas like China, or the speed for installing a module/package/dependency is going to be as slow as a running turtle.

Is there an option to mirror PowerShellGallery?

Activity

  1. issue-label-bot commented on Jun 10, 2020

    @issue-label-bot

    Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.87. Please mark this comment with 👍 or 👎 to give our bot feedback!

    Links: app homepage, dashboard and code for this bot.

  2. SydneyhSmith commented on Jun 18, 2020

    @SydneyhSmith
    Collaborator

    Thanks Tiger Wang (@tigerinus) we are planning on implementing a local cache for the PowerShell Gallery which will help resolve this issue, we will leave this issue open though to track the request for mirroring the gallery

  3. dariuszparys commented on Oct 30, 2020

    @dariuszparys

    Sydney Smith (@SydneyhSmith) I would even go further and would like to see a professional offering that has an SLA agreement similar we have to other hosted services, of course the option to mirror the complete Gallery would be a first step.

    Linking the current outage thread to this comment
    PowerShell/PowerShellGallery#135

  4. hunter86bg commented on Aug 1, 2022

    @hunter86bg

    Any progress on this one ?
    I would like to mirror packages from the gallery and filter by Author (for example only 'Microsoft Corporation' in one repo and others in another).
    Currently not all systems are in DMZ and access to internet is restricted, so in corporate environments mirroring would be one of the best options.

  5. hunter86bg commented on Aug 1, 2022

    @hunter86bg

    It seems that there is a GetPSGalleryItemsForAuthor.ps1 script that can do that logic (to some extent) and supports author filtering:

    .\GetPSGalleryItemsForAuthor.ps1 -AuthorName 'Microsoft Corporation' -LocalFolder C:\powershellgallery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions