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

Cannot rename Apps that were created on the CLI #28

Open
matheus23 opened this issue Jul 22, 2021 · 1 comment
Open

Cannot rename Apps that were created on the CLI #28

matheus23 opened this issue Jul 22, 2021 · 1 comment

Comments

@matheus23
Copy link
Member

Problem

I used the rename feature to rename an app created at the CLI last night, and it was failing. I realized looking at the error that it needed to be uploaded to WNFS. I wonder if it would be a good idea to give a help message in Dashboard to let the user know about that.

Impact

It's at the very least confusing to users.

Solution

It's a little tricky. To rename apps, we destroy the app and re-upload the 'same' app (as a CID) to another subdomain. But we don't know what CID to upload, unless the app's files are in WNFS.

Maybe we add a CID value to the apps.index()?
Maybe we add apps.rename()?

@matheus23
Copy link
Member Author

If #8 were implemented, this issue would be resolved.
However, that'd mean we'd need WNFS features in the CLI (which means we'd need a ... haskell webnative implementation?).

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

1 participant