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

Commit e80de1b

Browse files
committed
Added ncdu #4017
1 parent 1fc2d40 commit e80de1b

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed

renovate.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3484,6 +3484,18 @@
34843484
"datasourceTemplate": "github-releases",
34853485
"extractVersionTemplate": "^v(?<version>.+?)$"
34863486
},
3487+
{
3488+
"fileMatch": [
3489+
"^tools/ncdu/manifest.yaml$"
3490+
],
3491+
"matchStrings": [
3492+
"version: \"?(?<currentValue>.*?)\"?\\n"
3493+
],
3494+
"depNameTemplate": "ncdu",
3495+
"datasourceTemplate": "git-tags",
3496+
"packageNameTemplate": "git://g.blicky.net/ncdu.git",
3497+
"extractVersionTemplate": "^v(?<version>\\\\d+\\.\\\\d+\\.\\\\d+?)$"
3498+
},
34873499
{
34883500
"fileMatch": [
34893501
"^tools/neo4j/manifest.yaml$"

tools/ncdu/Dockerfile.template

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#syntax=docker/dockerfile:1.5.2
2+
3+
ARG ref=main
4+
5+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
6+
ARG name
7+
ARG version
8+
RUN <<EOF
9+
curl --silent --location --fail "https://dev.yorhel.nl/download/ncdu-${version}-linux-${arch}.tar.gz" \
10+
| tar --extract --gzip --directory="${prefix}${target}/bin/" --no-same-owner
11+
EOF

tools/ncdu/manifest.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: ncdu
2+
version: "2.2.1"
3+
check: ""
4+
platforms:
5+
- linux/amd64
6+
- linux/arm64
7+
tags:
8+
- category/operations
9+
- lang/zig
10+
- type/cli
11+
homepage: https://dev.yorhel.nl/ncdu
12+
description: Disk usage analyzer with an ncurses interface
13+
renovate:
14+
datasource: git-tags
15+
package: ncdu
16+
url: git://g.blicky.net/ncdu.git
17+
extractVersion: ^v(?<version>\\d+\.\\d+\.\\d+?)$

0 commit comments

Comments
 (0)