Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 529c556

Browse files
committed
Added termgraph
1 parent 9b73e37 commit 529c556

File tree

3 files changed

+57
-0
lines changed

3 files changed

+57
-0
lines changed

renovate.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5164,6 +5164,17 @@
51645164
"version: \"?(?<currentValue>.*?)\"?\\n"
51655165
]
51665166
},
5167+
{
5168+
"datasourceTemplate": "github-releases",
5169+
"depNameTemplate": "mkaz/termgraph",
5170+
"extractVersionTemplate": "^v(?<version>.+?)$",
5171+
"fileMatch": [
5172+
"^tools/termgraph/manifest.yaml$"
5173+
],
5174+
"matchStrings": [
5175+
"version: \"?(?<currentValue>.*?)\"?\\n"
5176+
]
5177+
},
51675178
{
51685179
"datasourceTemplate": "pypi",
51695180
"depNameTemplate": "tern",

tools/termgraph/Dockerfile.template

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#syntax=docker/dockerfile:1.5.2
2+
3+
ARG ref=main
4+
5+
FROM ghcr.io/nicholasdille/docker-setup/python:${ref} AS python
6+
FROM ghcr.io/nicholasdille/docker-setup/shiv:${ref} AS shiv
7+
8+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
9+
ARG name
10+
ARG version
11+
COPY --link --from=python / /
12+
COPY --link --from=shiv / /
13+
RUN <<EOF
14+
shiv --output-file "${prefix}${target}/bin/termgraph" --console-script termgraph "termgraph==${version}"
15+
EOF
16+
17+
# completion
18+
#RUN <<EOF
19+
#"${prefix}${target}/bin/foo" completion bash >"${prefix}${target}/share/bash-completion/completions/foo"
20+
#"${prefix}${target}/bin/foo" completion fish >"${prefix}${target}/share/fish/vendor_completions.d/foo.fish"
21+
#"${prefix}${target}/bin/foo" completion zsh >"${prefix}${target}/share/zsh/vendor-completions/_foo"
22+
#EOF

tools/termgraph/manifest.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# yaml-language-server: $schema=https://docker-setup.dille.io/schema.yaml
2+
$schema: https://docker-setup.dille.io/schema.yaml
3+
name: termgraph
4+
version: "0.5.3"
5+
check: ${binary} --version | cut -d' ' -f2 | tr -d v
6+
build_dependencies:
7+
- python
8+
- shiv
9+
runtime_dependencies:
10+
- python
11+
platforms:
12+
- linux/amd64
13+
- linux/arm64
14+
tags:
15+
- category/operations
16+
- lang/python
17+
- type/cli
18+
homepage: https://github.com/mkaz/termgraph
19+
description: Command-line tool which draws basic graphs in the terminal
20+
renovate:
21+
datasource: github-releases
22+
package: mkaz/termgraph
23+
extractVersion: ^v(?<version>.+?)$
24+
priority: low

0 commit comments

Comments
 (0)