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

Commit 7990525

Browse files
committed
Added git-filter-repo
1 parent 4a7a6fa commit 7990525

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

renovate.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1969,6 +1969,17 @@
19691969
"version: \"?(?<currentValue>.*?)\"?\\n"
19701970
]
19711971
},
1972+
{
1973+
"datasourceTemplate": "github-releases",
1974+
"depNameTemplate": "newren/git-filter-repo",
1975+
"extractVersionTemplate": "^v(?<version>.+?)$",
1976+
"fileMatch": [
1977+
"^tools/git-filter-repo/manifest.yaml$"
1978+
],
1979+
"matchStrings": [
1980+
"version: \"?(?<currentValue>.*?)\"?\\n"
1981+
]
1982+
},
19721983
{
19731984
"datasourceTemplate": "github-releases",
19741985
"depNameTemplate": "mlange-42/git-graph",
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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 --output "${prefix}${target}/bin/git-filter-repo" \
10+
"https://github.com/newren/git-filter-repo/raw/v${version}/git-filter-repo"
11+
chmod +x "${prefix}${target}/bin/git-filter-repo"
12+
EOF

tools/git-filter-repo/manifest.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# yaml-language-server: $schema=https://docker-setup.dille.io/schema.yaml
2+
$schema: https://docker-setup.dille.io/schema.yaml
3+
name: git-filter-repo
4+
version: "2.28.0"
5+
check: "" # No version parameter
6+
runtime_dependencies:
7+
- python
8+
platforms:
9+
- linux/amd64
10+
- linux/arm64
11+
tags:
12+
- category/development
13+
- lang/python
14+
- type/cli
15+
homepage: https://github.com/newren/git-filter-repo
16+
description: Quickly rewrite git repository history
17+
renovate:
18+
datasource: github-releases
19+
package: newren/git-filter-repo
20+
extractVersion: ^v(?<version>.+?)$
21+
priority: low

0 commit comments

Comments
 (0)