oracle / netsuite-suitecloud-sdk

SuiteCloud Software Development Kit (SuiteCloud SDK) are the set of tools that allow you to customize accounts and create SuiteApps through SuiteCloud Development Framework (SDF).
https://www.netsuite.com/
Universal Permissive License v1.0
201 stars 62 forks source link

Additional CLI option to identify deploy file #758

Open Extend-Apps opened 1 year ago

Extend-Apps commented 1 year ago

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

GRUBES commented 1 year ago

+100 for this

tourajvaziri commented 1 year ago

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.

ShawnTalbert commented 11 months ago

+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.

manueltoniato commented 11 months ago

+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

jpdevrzmz commented 8 months ago

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

Extend-Apps commented 7 months ago

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.

tourajvaziri commented 7 months ago

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)?