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

Commit 81ea9f9

Browse files
committed
Added pass with plugins #3059
1 parent 5e7acd2 commit 81ea9f9

File tree

15 files changed

+327
-1
lines changed

15 files changed

+327
-1
lines changed

renovate.json

Lines changed: 69 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3255,7 +3255,75 @@
32553255
"version: \"?(?<currentValue>.*?)\"?\\n"
32563256
],
32573257
"depNameTemplate": "parca-dev/parca-agent",
3258-
"datasourceTemplate": "github-releases"
3258+
},
3259+
{
3260+
"fileMatch": [
3261+
"^tools/pass-git-helper/manifest.yaml$"
3262+
],
3263+
"matchStrings": [
3264+
"version: \"?(?<currentValue>.*?)\"?\\n"
3265+
],
3266+
"depNameTemplate": "languitar/pass-git-helper",
3267+
"datasourceTemplate": "github-releases",
3268+
"extractVersionTemplate": "^v(?<version>.+?)$"
3269+
},
3270+
{
3271+
"fileMatch": [
3272+
"^tools/pass-import/manifest.yaml$"
3273+
],
3274+
"matchStrings": [
3275+
"version: \"?(?<currentValue>.*?)\"?\\n"
3276+
],
3277+
"depNameTemplate": "roddhjav/pass-audit",
3278+
"datasourceTemplate": "github-releases",
3279+
"extractVersionTemplate": "^v(?<version>.+?)$",
3280+
"versioningTemplate": "loose"
3281+
},
3282+
{
3283+
"fileMatch": [
3284+
"^tools/pass-import/manifest.yaml$"
3285+
],
3286+
"matchStrings": [
3287+
"version: \"?(?<currentValue>.*?)\"?\\n"
3288+
],
3289+
"depNameTemplate": "roddhjav/pass-audit",
3290+
"datasourceTemplate": "github-releases",
3291+
"extractVersionTemplate": "^v(?<version>.+?)$",
3292+
"versioningTemplate": "loose"
3293+
},
3294+
{
3295+
"fileMatch": [
3296+
"^tools/pass-otp/manifest.yaml$"
3297+
],
3298+
"matchStrings": [
3299+
"version: \"?(?<currentValue>.*?)\"?\\n"
3300+
],
3301+
"depNameTemplate": "tadfisher/pass-otp",
3302+
"datasourceTemplate": "github-releases",
3303+
"extractVersionTemplate": "^v(?<version>.+?)$"
3304+
},
3305+
{
3306+
"fileMatch": [
3307+
"^tools/pass-tail/manifest.yaml$"
3308+
],
3309+
"matchStrings": [
3310+
"version: \"?(?<currentValue>.*?)\"?\\n"
3311+
],
3312+
"depNameTemplate": "palortoff/pass-extension-tail",
3313+
"datasourceTemplate": "github-releases",
3314+
"extractVersionTemplate": "^v(?<version>.+?)$"
3315+
},
3316+
{
3317+
"fileMatch": [
3318+
"^tools/pass-update/manifest.yaml$"
3319+
],
3320+
"matchStrings": [
3321+
"version: \"?(?<currentValue>.*?)\"?\\n"
3322+
],
3323+
"depNameTemplate": "roddhjav/pass-update",
3324+
"datasourceTemplate": "github-releases",
3325+
"extractVersionTemplate": "^v(?<version>.+?)$",
3326+
"versioningTemplate": "loose"
32593327
},
32603328
{
32613329
"fileMatch": [

tools/pass-audit/Dockerfile.template

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#syntax=docker/dockerfile:1.4.3
2+
3+
ARG ref=main
4+
5+
FROM ghcr.io/nicholasdille/docker-setup/python:${ref} AS python
6+
7+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
8+
COPY --link --from=python / /
9+
ENV PIPX_HOME=${prefix}${target}/libexec/pipx \
10+
PIPX_BIN_DIR=${prefix}${target}/bin
11+
WORKDIR /tmp/pass-audit
12+
ARG name
13+
ARG version
14+
RUN <<EOF
15+
curl --silent --location --fail "https://github.com/roddhjav/pass-audit/releases/download/v${version}/pass-audit-${version}.tar.gz" \
16+
| tar --extract --gzip --strip-components=1 --no-same-owner
17+
make install \
18+
DESTDIR="${prefix}" \
19+
PREFIX="${target}"
20+
EOF

tools/pass-audit/manifest.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: pass-import
2+
version: "1.2"
3+
check: ""
4+
dependencies:
5+
- pass
6+
- python
7+
tags:
8+
- category/security
9+
- lang/python
10+
- type/cli
11+
homepage: https://github.com/roddhjav/pass-audit
12+
description: Pass extension for importing data from most existing password managers
13+
renovate:
14+
datasource: github-releases
15+
package: roddhjav/pass-audit
16+
extractVersion: ^v(?<version>.+?)$
17+
versioning: loose
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#syntax=docker/dockerfile:1.4.3
2+
3+
ARG ref=main
4+
5+
FROM ghcr.io/nicholasdille/docker-setup/python:${ref} AS python
6+
7+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
8+
COPY --link --from=python / /
9+
ENV PIPX_HOME=${prefix}${target}/libexec/pipx \
10+
PIPX_BIN_DIR=${prefix}${target}/bin
11+
WORKDIR /tmp/pass-git-helper
12+
ARG name
13+
ARG version
14+
RUN <<EOF
15+
curl --silent --location --fail "https://github.com/languitar/pass-git-helper/archive/refs/tags/v${version}.tar.gz" \
16+
| tar --extract --gzip --strip-components=1 --no-same-owner
17+
pipx install .
18+
ln --symbolic --relative --force "${prefix}${target}/libexec/pipx/venvs/pass-git-helper/bin/pass-git-helper" "${prefix}${target}/bin/pass-git-helper"
19+
sed -i "s|#\!${prefix}/|#\!/|" "${prefix}${target}/libexec/pipx/venvs/pass-git-helper/bin/pass-git-helper"
20+
EOF

tools/pass-git-helper/manifest.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: pass-git-helper
2+
version: "1.2.0"
3+
check: ""
4+
dependencies:
5+
- pass
6+
- python
7+
#- git
8+
tags:
9+
- category/security
10+
- lang/python
11+
- type/cli
12+
homepage: https://github.com/languitar/pass-git-helper
13+
description: Git credential helper interfacing with pass, the standard unix password manager
14+
renovate:
15+
datasource: github-releases
16+
package: languitar/pass-git-helper
17+
extractVersion: ^v(?<version>.+?)$

tools/pass-import/Dockerfile.template

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#syntax=docker/dockerfile:1.4.3
2+
3+
ARG ref=main
4+
5+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
6+
RUN <<EOF
7+
apt-get update
8+
apt-get -y install --no-install-recommends \
9+
make
10+
EOF
11+
WORKDIR /tmp/pass-import
12+
ARG name
13+
ARG version
14+
RUN <<EOF
15+
curl --silent --location --fail "https://github.com/roddhjav/pass-import/releases/download/v${version}/pass-import-${version}.tar.gz" \
16+
| tar --extract --gzip --strip-components=1 --no-same-owner
17+
make install \
18+
DESTDIR="${prefix}" \
19+
PREFIX="${target}"
20+
EOF

tools/pass-import/manifest.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: pass-import
2+
version: "2.1"
3+
check: ""
4+
dependencies:
5+
- pass
6+
- python
7+
tags:
8+
- category/security
9+
- lang/python
10+
- type/cli
11+
homepage: https://github.com/roddhjav/pass-import
12+
description: Pass extension for importing data from most existing password managers
13+
renovate:
14+
datasource: github-releases
15+
package: roddhjav/pass-import
16+
extractVersion: ^v(?<version>.+?)$
17+
versioning: loose

tools/pass-otp/Dockerfile.template

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#syntax=docker/dockerfile:1.4.3
2+
3+
ARG ref=main
4+
5+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
6+
RUN <<EOF
7+
apt-get update
8+
apt-get -y install --no-install-recommends \
9+
make
10+
EOF
11+
WORKDIR /tmp/pass-otp
12+
ARG name
13+
ARG version
14+
RUN <<EOF
15+
curl --silent --location --fail "https://github.com/tadfisher/pass-otp/releases/download/v${version}/pass-otp-${version}.tar.gz" \
16+
| tar --extract --gzip --strip-components=1 --no-same-owner
17+
make install \
18+
DESTDIR="${prefix}" \
19+
PREFIX="${target}" \
20+
BASHCOMPDIR="${target}/share/bash-completion/completions"
21+
EOF

tools/pass-otp/manifest.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: pass-otp
2+
version: "1.2.0"
3+
check: ""
4+
dependencies:
5+
- pass
6+
tags:
7+
- category/security
8+
- lang/shell
9+
- type/cli
10+
homepage: https://github.com/tadfisher/pass-otp
11+
description: Pass extension for managing one-time-password (OTP) tokens
12+
renovate:
13+
datasource: github-releases
14+
package: tadfisher/pass-otp
15+
extractVersion: ^v(?<version>.+?)$

tools/pass-tail/Dockerfile.template

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#syntax=docker/dockerfile:1.4.3
2+
3+
ARG ref=main
4+
5+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
6+
RUN <<EOF
7+
apt-get update
8+
apt-get -y install --no-install-recommends \
9+
make
10+
EOF
11+
WORKDIR /tmp/pass-tail
12+
ARG name
13+
ARG version
14+
RUN <<EOF
15+
curl --silent --location --fail "https://github.com/palortoff/pass-extension-tail/archive/refs/tags/v${version}.tar.gz" \
16+
| tar --extract --gzip --strip-components=1 --no-same-owner
17+
make install \
18+
DESTDIR="${prefix}" \
19+
PREFIX="${target}" \
20+
BASHCOMPDIR="${target}/share/bash-completion/completions"
21+
EOF

0 commit comments

Comments
 (0)