I've been asked to build a DevOps pipeline for an ISV that has a first-generation managed package (1GP) with no source in version control (yet).
Executing
sfdx force:mdapi:retrieve -r ./mdapiPkg -p "ThePackageName" -u PkgOrg
against the packaging org returns a zip file with ONLY these folders:
Note the absence of a
classes
ortriggers
folder but I know (and can see) the Packaging Org has 100+ Apex classes and some triggers.
Now, here's the interesting bit.
- I was not granted
System Administrator
permissions in the Packaging Org, norAuthor Apex
.
Assuming this is a permissions issue, what are the minimum permissions I need to request of the ISV to get a full set of components for ThePackageName
into my SFDX project so I can then push to version control?
sfdx force:source:retrieve
to get Source formatting?sfdx force:source:retrieve
- no apex classes or triggers returned