PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, April 14, 2022

[FIXED] How to migrate Python packages from Nexus to Azure DevOps

 April 14, 2022     azure-artifacts, migration, nexus3, python     No comments   

Issue

We are migrating from Sonatype Nexus to Azure Artifacts. There are 100s of python packages on Nexus currently. All of which are needed in Azure. Is there a way to upload/sync them to Azure?

I have successfully uploaded one package of a specific version by creating a dist, using twine & .pypirc file. Like so python setup.py sdist bdist_wheel && twine upload -r project-name dist/* But it is not feasible to do that manually on all packages & their different versions.

Please help with any scripts or migration tools that you might know of.

We use Sonatype Nexus Repository Manager OSS 3.19.1-01.

Thanks!


Solution

How to migrate Python packages from Nexus to Azure DevOps

Currently, Azure devops only provide the AzureArtifactsPackageMigration PowerShell module, you can easily migrate your NuGet packages from MyGet. Future development will support migration from other packaging solutions and package types.

Reference the document Migrate your packages to Azure Artifacts.

For the Python packages from Nexus, there is a Bash script to migrate from Sonatype Nexus Repository Manager OSS to Azure DevOps Artifacts, you could check if it help you:

nexus2artifacts



Answered By - Leo Liu-MSFT
Answer Checked By - Clifford M. (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing