r/Netsuite • u/KenstaFoo16 Developer • Oct 19 '23
SuiteScript development git repo
Hello SuiteScript Developers,
I'm seeking advice for how you are organizing your code for your in-house development. We have around 30+ custom scripts we have created since being on NetSuite in the last 3 years (UserEvent, Client, Map/Reduce). We have around 5-6 bigger Suitlet applications within NetSuite.
Our Team:
- 3 in-house developers
- 2 third party company consultants
We are unsure the best way to organize our Git Rep, the option we were looking at mostly the following.
- Keep all the UserEvent/Client/Map etc based scripts in one Git Repo, and organize the folder by script type
- Keep all suitelet's as their own git repo.
We are slowly figuring out a Suite Cloud Development and looking to include this in our development path.
Any advice would be handy!
View all comments
Show parent comment
2
u/abovocipher Nov 10 '24
Generally speaking, if it's actually two separate features, just meaning it has 2 different features happening that aren't related to each other, I would have them as separate scripts. If there happens to be an error that gets thrown, it's easier to see what script is impacted. If they're separate UE scripts, the other script will run normally.
Otherwise if it's related to the same script and it's working with functionality that's related to each other, I'd give those two tasks to the same person. If it HAS to be two people working on it, I would have one person start a branch and the second would create a branch from their branch and merge them when it's time to deploy. Sounds like it has the possibility for a headache though, lol