Closed ianic closed 2 years ago
U node struct u domain dodati nesto ovako:
projects:
Sada znam da je taj node koristen za stage dev i production u projektu ping.
CliCommand obogatiti i ovim novim informacijama. U workspace dodati:
uz mrvicu stimanja, tu trebamo prikupiti infomacije iz kojih ce se moci odgovarati na ova pitanja:
Are users installing Mantil on multiple AWS accounts? How many in average?
Are users installing multiple Mantil Nodes on a single AWS account? How many in average?
Are users creating multiple stages per project? If yes, are those stages created within single or multiple AWS accounts? How many stages per project in average?
How many functions are within one projects? Are users more prone to create project with high number of functions or more projects with lower number of functions?
Dodao sam Projects
polje unutar workspacea koja prati lokalne projekte. Prilikom pokretanja mantil new
tu dodajem projekt, a prilikom svakog ucitavanja workspacea napravim sync (ako vise nema tog foldera maknem projekt).
U node sam dodao Stages
polje koje prati stageve. Onda ako korisnik pokusa obrisati node koji jos ima deployane stageve pitam ga za potvrdu.
Dodao sam jos i prikupljanje informacija o workspaceu, prije slanja cli eventa prodjem po svim projektima i izracunam broj nodova, projekata, stageva, funkcija i public foldera.
On new stage we add reference to the stage, account name. Add also the project folder and stage name to the account. On deleting account with active stages, not that some (what) stages will become orphans. Ask for confirmation.