wttech / aemc

AEM Compose (Core & CLI)
https://wttech.blog/blog/2023/get-your-aem-together-with-aem-compose/
Apache License 2.0
40 stars 5 forks source link

Improve package deploy fail interpretation #257

Open krystian-panek-vmltech opened 4 months ago

krystian-panek-vmltech commented 4 months ago

https://helpx.adobe.com/experience-manager/kb/Fix-pack-installation-fails-with-tree-does-not-exist-AEM.html

INFO[2024-05-09 20:04:36] staging_publish_1 > uploading package 'all/target/acme.all-6.0.0-SNAPSHOT.zip' 
ERRO[2024-05-09 20:04:39] staging_publish_1 > cannot upload package 'all/target/acme.all-6.0.0-SNAPSHOT.zip'; unexpected status: This tree does not exist 

how about improving interpretFail method to suggest credentials problem or updating user to admin and checking his pwd?

https://github.com/wttech/aemc/blob/8f98e09c40ec0b1890983af2f5935fe4daf4eb8b/pkg/package_manager.go#L466