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
Issue on service deletion with alias #618
Comments
I suggest to go with idea 2. But with new flag in the command deploy to force the deletion of the previous service. For the command dev, it could delete the previous service by default. |
If we go with idea 2, it doesn't make sense to call it Of course, we will keep the possibility to use service without I like |
By implement idea 2:
Then SID / Alias can be use also for a basic versioning.
And with the futur network, we could force the Service ID to have the public key of the developer :)
Also, we could implement in the futur a
@mesg-foundation/core what do you think? |
I don't understand why we should have unique alias, the goal is to have a single alias to help for the development but if now the alias need to be different for every deployment that's going back. For me the problem here is that we have 2 versions of the same service (same alias).
I like the second version, @krhubert was talking about that here
and this was part of the initial proposal here
With versioning the workflow is the following: I don't see how unique alias will be helpful here, it will be two different service but they are the same for the developer, it's just two different versions |
Fix in #619 |
Here is a scenario that doesn't make sense:
I change something on the bitcoin service, then deploy again.
Alias should be unique.
Few ideas on how to solve it:
When deploying a new service, we should generate a new alias for the service that have the same alias. The new problem is the old service (now with a different alias) cannot access its volumes (it will have new volumes).
When deploying a service where its alias already exist in the db, we should remove the old service (and of course ask user to confirm).
I think idea 2 was the first implementation of anthony with the error "same alias".
The text was updated successfully, but these errors were encountered: