netsuite-suitecloud-sdk icon indicating copy to clipboard operation
netsuite-suitecloud-sdk copied to clipboard

Additional CLI option to identify deploy file

Open Extend-Apps opened this issue 2 years ago • 7 comments
trafficstars

Select the SuiteCloud tool where you encountered the issue

SuiteCloud CLI

Version of the SuiteCloud Tool

1.8.0

Operating system

macOS Ventura 13.5.2

Node Version / VSCode Version

v20.5.1

JAVA Version

java 17.0.5+9-LTS-191

Bug description

NOT A BUG

A Feature Request to provide the CLI an option (--deploy ) to allow a user to specify which deploy.xml file to use during deployment.

This would allow a developer to create different deploy.xml files to expand/contract the files/objects to be deployed

Steps To Reproduce

suitecloud project:deploy --deploy deploy_withTests.xml

Actual Output

No response

Expected Output

No response

Anything else?

No response

Extend-Apps avatar Sep 13 '23 14:09 Extend-Apps

+100 for this

GRUBES avatar Sep 13 '23 18:09 GRUBES

Hello, thanks for the suggestion @Extend-Apps. We'll keep this in mind when adding new enhancements in the future and if more users request it.

tourajvaziri avatar Sep 15 '23 14:09 tourajvaziri

+1 This would allow deployment of high level customizations (i.e. span multiple deployment objects) without the overhead of creating and managing entirely separate SDF projects.

ShawnTalbert avatar Oct 11 '23 14:10 ShawnTalbert

+1 Currently we are doing this manually, having a subfolder "PartialDeploys" in which we keep the different versions of deploy.xml and manifest.xml for each feature we want to deploy. This is fundamental in development stage. image Since we don't have the possibility to specify a different deploy.xml we have to copy the deploy.xml and manifest.xml depending on what feature we are deploying

manueltoniato avatar Nov 02 '23 11:11 manueltoniato

It would be a good enhancement. We had to run our own automation to replace the deploy.xml file dynamically when deploying

jpdevrzmz avatar Jan 22 '24 18:01 jpdevrzmz

This is becoming such a problem now. NetSuite SDN asks us to create/deploy a SuiteApp in the same TSDRV ... and to create any distributed objects like secrets, and integration records in the same TSTDRV account. Yet, if we try and deploy to that TSTDRV with those object files .. the deployment fails. So, developers end up deleting the object files from the project ... they mistakenly commit the deletion to the repo ... and around and around we go.

I can't see this being a big lift? Something has to be done here.

Extend-Apps avatar Feb 16 '24 22:02 Extend-Apps

Hi @Extend-Apps, I understand the pain here. This has to be addressed in the netsuite SDF first. Could you file an issue in netsuite about this and ask to assign it to SDF (SuiteCloud Development Framework)?

tourajvaziri avatar Feb 19 '24 11:02 tourajvaziri