kentonh / gPanel

A web-hosting control panel written in Go.
MIT License
80 stars 25 forks source link

Clean up Bundle Creation Process #135

Open george-e-shaw-iv opened 6 years ago

george-e-shaw-iv commented 6 years ago

Severity level (1-10):

6

Files/Directories Involved:

pkg/api/bundle/create.go

Description:

The bundle creation process takes a long time, and I expect it to no matter what because it is pretty involved. I feel like it could be cleaned up a little bit though and it could also do with more vigorous error-checking before it starts creating users and directories and what not. Because if it errors right now there is a good chance that it will error after it has already created some directories or users within the system that will end up just hanging out there until someone manually cleans them up.

Personal Comments: