Skip to content

devproca/azure-maven-feed-export-import

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Artifacts Export & Import

Personal Access Token

  1. Create a Personal Access Token in Azure DevOps
  2. Use the scope Packaging (read) for export, or Packaging (read and write) for import
  3. Replace the token in the file export.py or import.py

Maven URL

  1. Open the feed in Azure DevOps
  2. Click Connect to feed
  3. Select Maven
  4. Copy the URL from the XML snippet
  5. Replace the URL in the file export.py or import.py

Format: https://pkgs.dev.azure.com/{org}/{project}/_packaging/{feed}/maven/v1

Running the Script

python3 export.py # Export npm and maven
python3 export.py npm # Export npm packages
python3 export.py maven # Export maven packages

python3 import.py npm # Import npm packages
python3 import.py maven # Import maven packages

Nexus Export

  1. Replace the SOURCE_SERVER, SOURCE_USER, and SOURCE_PASSW in the file nexus_export.py
  2. Run the script
python3 nexus_export.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages