enso-org / enso

Hybrid visual and textual functional programming.
https://enso.org
Apache License 2.0
7.34k stars 323 forks source link

Add project/duplicate endpoint #10407

Closed 4e6 closed 3 months ago

4e6 commented 3 months ago

Pull Request Description

close #10367

Changelog:

Important Notes

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

4e6 commented 3 months ago

Also wondering how does cloud PM behave in such scenario (local PM should be consistent).

The Cloud just keeps creating projects with the (copy) suffix. In the local project manager we don't allow creating projects with the same name

somebody1234 commented 3 months ago

The Cloud just keeps creating projects with the (copy) suffix.

i guess it would be good to discuss with @PabloBuchu about what should happen if we duplicate files multiple times? i know in some other places we do use (2), (3) etc

(i guess that happens when uploading files with the same name though)

it's worth noting that it's probably a bad thing if cloud allows multiple projects with the same name, since cloud assets are accessed by path, and cloud paths depend on the asset name