This commit refactors the Dockerfile to: - Reintroduce the programmer user creation with sudo privileges - Add necessary system dependencies for development tools - Update Go installation to include PATH in root's bashrc - Install github-linguist gem It also includes the addition of a new linguist command module with functions to interact with GitHub Linguist for language statistics and file information retrieval.
56 lines
1.2 KiB
Markdown
56 lines
1.2 KiB
Markdown
```bash
|
|
jj log | orla agent -m ollama:qwen3:0.6b \
|
|
"
|
|
Transform the following `jj log` output into JSON according to the given schema.
|
|
|
|
**Return only valid JSON, without any Markdown formatting :**
|
|
- no backticks,
|
|
- no code blocks,
|
|
- no extra text
|
|
|
|
Schema:
|
|
{
|
|
\"type\": \"array\",
|
|
\"items\": {
|
|
\"type\": \"object\",
|
|
\"properties\": {
|
|
\"hash\": {\"type\": \"string\"},
|
|
\"author\": {\"type\": \"string\"},
|
|
\"date\": {\"type\": \"string\"},
|
|
\"message\": {\"type\": \"string\"}
|
|
},
|
|
\"required\": [\"hash\", \"author\", \"date\", \"message\"]
|
|
}
|
|
}
|
|
" | grep -v '```' | jq .
|
|
```
|
|
|
|
```json
|
|
[
|
|
{
|
|
"hash": "252b5de3",
|
|
"author": "nrrwwpms",
|
|
"date": "2026-01-25 17:36:18",
|
|
"message": "(no description set)"
|
|
},
|
|
{
|
|
"hash": "9f9d9bc3",
|
|
"author": "stxkzlul",
|
|
"date": "2026-01-25 12:08:12",
|
|
"message": "Ajout de Dockerfile et configuration MCP"
|
|
},
|
|
{
|
|
"hash": "7412b51a",
|
|
"author": "xnrxukn",
|
|
"date": "2026-01-25 07:53:42",
|
|
"message": "Initial commit"
|
|
}
|
|
]
|
|
```
|
|
|
|
|
|
Ok, on va essayer de développer un outil un peu plus avancé.
|
|
Dans le fichier @src/sandbox/__init__.py Nous allons créer une fonction jj_log.
|
|
Cette fonction prendra en paramètres:
|
|
- un projet
|