Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to push app to target #83

Open
easingthemes opened this issue Dec 7, 2020 · 4 comments
Open

Add option to push app to target #83

easingthemes opened this issue Dec 7, 2020 · 4 comments

Comments

@easingthemes
Copy link

It would be very useful to have separate option for deployment only, without watch.

@prozanne
Copy link
Member

prozanne commented Dec 8, 2020

Hi,

Thanks for suggesting a new feature.
I guess you want to use WITs for deploying application.
But, unfortunately WITs has quite different structure.
In fact, WITs installs a container application and push the files from your actual project.
Furthermore, even if we offer a feature for deploying the application, since WITs only supports a creating Tizen certification.
So you can't actually release the application directly. (For deploying application, Samsung certification is required.)

For these reasons, we can't support your idea at this moment.
In the future, if we support a samsung certification too,
we will consider more about that.

Thanks.

@prozanne prozanne closed this as completed Dec 8, 2020
@prozanne
Copy link
Member

prozanne commented Dec 8, 2020

We recommend to using an extension of Atom or VSCode for deploying application.
Actually each extension has WITs feature too.

Atom : Support for Tizen, Samsung certification (https://atom.io/packages/atom-tizentv-2)
VSCode: Support for Tizen certification only (https://marketplace.visualstudio.com/items?itemName=tizensdk.tizentv)

Thanks!

@prozanne prozanne reopened this Dec 8, 2020
@easingthemes
Copy link
Author

Thanks for taking a look.
I did not mean real deployment, it's fine as is now, with WIT's wrapper app.

I meant with just one option to push changes to target. --watch and --start are already doing this. But since this 2 are continuous processes it's not possible to integrate them into custom workflow, eg I have a node script for various code manipulations, and at the end I want to push result to target device.

Should be simple, just adding condition based on cli param: https://github.com/Samsung/Wits/blob/master/command/start.js#L40

@easingthemes easingthemes changed the title Add option to deploy app Add option to push app to target Dec 8, 2020
@prozanne
Copy link
Member

prozanne commented Dec 9, 2020

Hi, again :)

I got it what you're saying.
But, regarding to purpose of WITs, the sequential process is logically reasonable.
However if you want to add some sorts of steps between "--watch" or "--start",
Currently we are offering APIs of WITs, so you can give us suggestions.
If it seems specific and reasonable, we can consider to support the extra apis.
Please let me know your exact requirement with examples.
Then we can consider to help you.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants