Azure DevOps support for `deps import`
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reviewing the referenced fork branch and earlier pull request, then inspect ParseSource, Source.Project, and ExecRunner.Run along with the 14 added tests. Confirm the existing approach integrates cleanly with deps import, preserves GitHub behavior, and passes the full CI checks.
Written by the indexing model from the issue text.
Description
I've implemented Azure DevOps support for modelith deps import on a fork branch:
https://github.com/gosharplite/modelith/tree/feat/ado-deps-import
It follows the same "no TLS in modelith" pattern — all network calls go through az rest via the Runner interface. No HTTP client or credential handling in modelith itself.
What's there:
ParseSourceacceptsdev.azure.comblob URLs:
https://dev.azure.com/{org}/{project}/_git/{repo}?path=...&version=GB{branch}- GB/GT/GC version prefixes mapped to
branch/tag/commitin the API calls --resource 499b84ac-1321-427f-aa17-267ca6975798passed toaz restso it gets an AAD token with the correct audienceSource.Projectfield added (empty for GitHub)ExecRunner.Runshows correct install instructions per CLI (az loginvsgh auth login)- 14 new tests, all CI checks passing
Usage:
az login
modelith deps import \
"https://dev.azure.com/myorg/myproject/_git/myrepo?path=docs/payments.modelith.yaml&version=GBmain"
I don't have much experience with upstream PRs in open-source world — feel free to reference, adapt, or take anything useful from the branch. If a PR would be helpful I'm happy to open one with some guidance.
The full commit history and an earlier review thread are at https://github.com/gosharplite/modelith/pull/1.
p.s. I find modelith extremely useful and use it on my agent tool and several Azure DevOps repos: https://github.com/gosharplite/tell-me-go/tree/main/docs/domain-model#how-modelith-helps-tell-me-go
- Dominant language
- Go
- Stars
- 32
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from stacklok/modelith
-
enhancement
Difficulty 2/5 Half a day Newbie friendliness 68/100
-
Difficulty 5/5 Over a week Newbie friendliness 28/100
-
documentation
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
Difficulty 4/5 3-5 days Newbie friendliness 62/100
All issues in stacklok/modelith
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·