Skip to content

[Feature Request] Session scope for Register-PSRepositoryΒ #65

@f0rt

Description

@f0rt

Team,
Can you please add session scope support for Register-PSRepository?

We have an internal build system that outputs PowerShell modules. Every successful build is published to an internal PSRepository (Artifactory server).
Every time we want to publish a module we have to deal with the following cases:

  • Is the repository already registered?
  • Is another repository with different name and the same SourceLocation already registered?
  • If the repository is already registered and we want to deploy on different url (PublishLocation) we have to modify the existing registration
  • Clean the build machine after build procedure (Unregister-PSRepository)
  • If 2 parallel builds are running on the same build machine at the same time this can cause conflicts (dealing with the same shared resource)

The problems described above can be avoided with Register-PSRepository operating on session level. Let me know if you have any questions.

Thanks,
Nedko

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions