Ask HN: How do you manage one-off internal scripts?
1–10 of 17 posts
Re: Ask HN: How do you manage one-off internal scripts?
#2Not the greatest solution but it did ensure they never got lost.
Re: Ask HN: How do you manage one-off internal scripts?
#3Re: Ask HN: How do you manage one-off internal scripts?
#4At a prior company we added them to a folder of misc scripts along with notes on what they were for. Not the greatest solution but it did ensure they never got lost.
Re: Ask HN: How do you manage one-off internal scripts?
#5Re: Ask HN: How do you manage one-off internal scripts?
#6At a prior company we added them to a folder of misc scripts along with notes on what they were for. Not the greatest solution but it did ensure they never got lost.
As more engineers joined and people needed to reuse old scripts, was there some process to discover them on their own? My scripts are also dumped in a repo, but team members are having trouble finding them and running them especially since there are quite a few now.
Most scripts were never re-used, so it was not a problem all that often.
Re: Ask HN: How do you manage one-off internal scripts?
#7Oherwise, I just use git like others said but that can be suboptimal for non technical or semi technical users.
Re: Ask HN: How do you manage one-off internal scripts?
#8But don't just leave them at that, do work on eliminating their need. Sisyphean task but necessary nonetheless.
Re: Ask HN: How do you manage one-off internal scripts?
#9Re: Ask HN: How do you manage one-off internal scripts?
#10If they were truly one-off, you wouldn't need to manage them. Categorize and document. SQL queries for analytics go into something like Metabase. Database migrations go into git. Frequent adhoc scripts go into something like Jenkins so you can trigger them easily. So on and so forth. All of those documented somewhere, like the team's Confluence/Notion/whatever. But don't just leave them at that, do work on eliminatin…