r/devops • • 2d ago

Tools MS Project for Developers

Is there an app or site that allows someone to create tasks for a project and has the ability to add code or script files to their respective task?

I'm in a project and have to do some DBA tasks. I would like to make a list of tasks for me to do and add the t-sql code needed to complete those tasks.

3 Upvotes

7 comments sorted by

3

u/breaktherulesxcx 2d ago

honestly github issues or azure devops boards [probably works best since u can just attach the .sqk files anways straight to each task card and then just do syntax highlighting might help your case

1

u/rwilcox 2d ago

Your not talking project management, you’re talking t run book execution.

Personally I like Org Mode for this running work, but there’s a few “execute code blocks in Markdown documents” tools, to create executable runbooks

1

u/Flettys 2d ago

Github issues?

1

u/Successful_Noise_347 2d ago

plain repo with a markdown file per task honestly. checklist at the top, the .sql scripts sitting next to it, commit as you go. for DBA work the history of what you actually ran and when ends up mattering more than any task board

1

u/Greedy_Ad_7658 2d ago

Agree with the repo-with-a-markdown-file-per-task idea. For DBA work specifically, a few conventions make it much safer:

  • Number the files in run order (001_add_index.sql, 002_backfill.sql) and keep the status and notes in the markdown next to them: what it does, which server, expected row counts, and when you ran it.
  • Pair every change with a rollback script, and a read-only check query that proves it worked ("SELECT COUNT(*) ... should be 0"). Writing the check first also forces you to define what done means.
  • Make scripts safe to re-run (IF NOT EXISTS, guard checks) and wrap data changes in BEGIN TRAN with a row-count check before COMMIT. For anything that touches production data, test the same script on a restored copy first.
  • Paste the actual output or row counts into the task file after running. Months later, "what exactly did we change on that date" is the question you'll get asked.

If you later need real approval and tracking, Azure DevOps boards or GitHub issues can link to those commits. But the files in git are the part that matters.

1

u/gnedyalkov 2d ago

don't paste `.sql` scripts inside a PM tool — keep the T-SQL files in a git repo and track the tasks in GitHub Projects / GitLab Issues / Azure DevOps Boards, linking each task to its commit or PR. you get version history, diffs, and a clean checklist without scripts drifting out of sync.

1

u/Objective_Release689 1d ago

If you just need a personal checklist with code snippets, a markdown file in a repo alongside your scripts is hard to beat. That way you get version history on the t-sql without fighting a bloated project management UI