Skip to content

Commit 029eb4b

Browse files
Merge pull request #407 from projectdiscovery/dev
v0.1.0
2 parents 80e8483 + cf33e0b commit 029eb4b

File tree

18 files changed

+713
-297
lines changed

18 files changed

+713
-297
lines changed

.github/workflows/build-test.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,23 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11+
lint:
12+
name: Lint Test
13+
if: "${{ !endsWith(github.actor, '[bot]') }}"
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: projectdiscovery/actions/setup/go@v1
18+
- name: Run golangci-lint
19+
uses: projectdiscovery/actions/golangci-lint/v2@v1
20+
with:
21+
version: latest
22+
args: --timeout 5m
23+
working-directory: .
24+
1125
build:
1226
name: Test Builds
27+
needs: [lint]
1328
runs-on: ${{ matrix.os }}
1429
strategy:
1530
matrix:
@@ -18,7 +33,7 @@ jobs:
1833
- name: Set up Go
1934
uses: actions/setup-go@v4
2035
with:
21-
go-version: 1.20.x
36+
go-version: 1.24.x
2237

2338
- name: Check out code
2439
uses: actions/checkout@v3
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: ♾️ Compatibility Checks
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize]
6+
branches:
7+
- dev
8+
9+
jobs:
10+
check:
11+
if: github.actor == 'dependabot[bot]'
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: write
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: projectdiscovery/actions/setup/go/compat-checks@master
18+
with:
19+
go-version-file: 'go.mod'

.github/workflows/dep-auto-merge.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
1-
name: 🤖 dep auto merge
1+
name: 🤖 Auto Merge
22

33
on:
4-
pull_request:
5-
branches:
6-
- dev
7-
workflow_dispatch:
4+
pull_request_review:
5+
types: [submitted]
6+
workflow_run:
7+
workflows: ["♾️ Compatibility Check"]
8+
types:
9+
- completed
810

911
permissions:
1012
pull-requests: write
1113
issues: write
1214
repository-projects: write
1315

1416
jobs:
15-
automerge:
17+
auto-merge:
1618
runs-on: ubuntu-latest
1719
if: github.actor == 'dependabot[bot]'
1820
steps:
19-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2022
with:
2123
token: ${{ secrets.DEPENDABOT_PAT }}
2224

.github/workflows/lint-test.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/release-binary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: "Set up Go"
1919
uses: actions/setup-go@v4
2020
with:
21-
go-version: 1.20.x
21+
go-version: 1.24.x
2222
check-latest: true
2323
cache: true
2424

.github/workflows/release-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Go
2121
uses: actions/setup-go@v4
2222
with:
23-
go-version: 1.20.x
23+
go-version: 1.24.x
2424

2525
- name: release test
2626
uses: goreleaser/goreleaser-action@v4

.github/workflows/setup-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Go
2222
uses: actions/setup-go@v4
2323
with:
24-
go-version: 1.20.x
24+
go-version: 1.24.x
2525

2626
- name: Check out code
2727
uses: actions/checkout@v3

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.20.6-alpine AS builder
1+
FROM golang:1.24.2-alpine AS builder
22
RUN apk add --no-cache git
33
RUN go install -v github.com/projectdiscovery/pdtm/cmd/pdtm@latest
44

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
## Installation
3232

3333

34-
**`pdtm`** requires **go1.19** to install successfully. Run the following command to install the latest version:
34+
**`pdtm`** requires **go1.24.2** to install successfully. Run the following command to install the latest version:
3535

3636
1. Install using go install -
3737

@@ -69,9 +69,10 @@ CONFIG:
6969
-bp, -binary-path string custom location to download project binary (default "$HOME/.pdtm/go/bin")
7070

7171
INSTALL:
72-
-i, -install string[] install single or multiple project by name (comma separated)
73-
-ia, -install-all install all the projects
74-
-ip, -install-path append path to PATH environment variables
72+
-i, -install string[] install single or multiple project by name (comma separated)
73+
-ia, -install-all install all the projects
74+
-ip, -install-path append path to PATH environment variables
75+
-igp, -install-go-path append GOBIN/GOPATH to PATH environment variables
7576

7677
UPDATE:
7778
-u, -update string[] update single or multiple project by name (comma separated)

go.mod

Lines changed: 78 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,109 @@
11
module github.com/projectdiscovery/pdtm
22

3-
go 1.20
3+
go 1.24.0
4+
5+
toolchain go1.24.2
46

57
require (
6-
github.com/charmbracelet/glamour v0.6.0
8+
github.com/charmbracelet/glamour v0.10.0
79
github.com/google/go-github v17.0.0+incompatible
8-
github.com/projectdiscovery/goflags v0.1.23
9-
github.com/projectdiscovery/gologger v1.1.11
10-
github.com/projectdiscovery/utils v0.0.57
11-
github.com/stretchr/testify v1.8.4
12-
golang.org/x/oauth2 v0.13.0
13-
golang.org/x/sys v0.18.0
10+
github.com/projectdiscovery/goflags v0.1.74
11+
github.com/projectdiscovery/gologger v1.1.54
12+
github.com/projectdiscovery/utils v0.4.18
13+
github.com/stretchr/testify v1.10.0
14+
golang.org/x/oauth2 v0.29.0
15+
golang.org/x/sys v0.32.0
1416
)
1517

1618
require (
17-
aead.dev/minisign v0.2.0 // indirect
18-
github.com/Masterminds/semver/v3 v3.2.1 // indirect
19+
aead.dev/minisign v0.3.0 // indirect
20+
github.com/Masterminds/semver/v3 v3.3.1 // indirect
21+
github.com/STARRY-S/zip v0.2.3 // indirect
1922
github.com/VividCortex/ewma v1.2.0 // indirect
20-
github.com/alecthomas/chroma v0.10.0 // indirect
23+
github.com/alecthomas/chroma/v2 v2.17.2 // indirect
24+
github.com/andybalholm/brotli v1.1.1 // indirect
2125
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
22-
github.com/cheggaaa/pb/v3 v3.1.4 // indirect
26+
github.com/bodgit/plumbing v1.3.0 // indirect
27+
github.com/bodgit/sevenzip v1.6.1 // indirect
28+
github.com/bodgit/windows v1.0.1 // indirect
29+
github.com/charmbracelet/colorprofile v0.3.1 // indirect
30+
github.com/charmbracelet/lipgloss v1.1.1-0.20250404203927-76690c660834 // indirect
31+
github.com/charmbracelet/x/ansi v0.9.2 // indirect
32+
github.com/charmbracelet/x/cellbuf v0.0.13 // indirect
33+
github.com/charmbracelet/x/exp/slice v0.0.0-20250501183327-ad3bc78c6a81 // indirect
34+
github.com/charmbracelet/x/term v0.2.1 // indirect
35+
github.com/cheggaaa/pb/v3 v3.1.7 // indirect
2336
github.com/davecgh/go-spew v1.1.1 // indirect
24-
github.com/denisbrodbeck/machineid v1.0.1 // indirect
25-
github.com/dlclark/regexp2 v1.8.1 // indirect
26-
github.com/ebitengine/purego v0.4.0 // indirect
27-
github.com/fatih/color v1.15.0 // indirect
37+
github.com/dlclark/regexp2 v1.11.5 // indirect
38+
github.com/ebitengine/purego v0.8.2 // indirect
39+
github.com/fatih/color v1.18.0 // indirect
40+
github.com/go-ole/go-ole v1.3.0 // indirect
2841
github.com/google/go-github/v30 v30.1.0 // indirect
29-
github.com/kr/pretty v0.3.1 // indirect
42+
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
43+
github.com/google/uuid v1.6.0 // indirect
44+
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
45+
github.com/klauspost/compress v1.18.0 // indirect
46+
github.com/klauspost/pgzip v1.2.6 // indirect
3047
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
31-
github.com/mattn/go-colorable v0.1.13 // indirect
32-
github.com/mattn/go-isatty v0.0.19 // indirect
33-
github.com/mattn/go-runewidth v0.0.14 // indirect
34-
github.com/minio/selfupdate v0.6.0 // indirect
48+
github.com/lufia/plan9stats v0.0.0-20250317134145-8bc96cf8fc35 // indirect
49+
github.com/mattn/go-colorable v0.1.14 // indirect
50+
github.com/mattn/go-isatty v0.0.20 // indirect
51+
github.com/mattn/go-runewidth v0.0.16 // indirect
52+
github.com/mholt/archives v0.1.1 // indirect
53+
github.com/minio/minlz v1.0.0 // indirect
54+
github.com/minio/selfupdate v0.6.1-0.20230907112617-f11e74f84ca7 // indirect
3555
github.com/muesli/reflow v0.3.0 // indirect
36-
github.com/muesli/termenv v0.15.1 // indirect
37-
github.com/olekukonko/tablewriter v0.0.5 // indirect
56+
github.com/muesli/termenv v0.16.0 // indirect
57+
github.com/nwaples/rardecode/v2 v2.1.1 // indirect
58+
github.com/pierrec/lz4/v4 v4.1.22 // indirect
3859
github.com/pmezard/go-difflib v1.0.0 // indirect
60+
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
3961
github.com/projectdiscovery/blackrock v0.0.1 // indirect
40-
github.com/rivo/uniseg v0.4.4 // indirect
41-
github.com/yuin/goldmark v1.5.4 // indirect
42-
github.com/yuin/goldmark-emoji v1.0.1 // indirect
43-
golang.org/x/crypto v0.21.0 // indirect
62+
github.com/projectdiscovery/machineid v0.0.0-20240226150047-2e2c51e35983 // indirect
63+
github.com/rivo/uniseg v0.4.7 // indirect
64+
github.com/shirou/gopsutil/v3 v3.24.5 // indirect
65+
github.com/shoenig/go-m1cpu v0.1.6 // indirect
66+
github.com/sorairolake/lzip-go v0.3.7 // indirect
67+
github.com/spf13/afero v1.14.0 // indirect
68+
github.com/therootcompany/xz v1.0.1 // indirect
69+
github.com/tidwall/gjson v1.18.0 // indirect
70+
github.com/tidwall/match v1.1.1 // indirect
71+
github.com/tidwall/pretty v1.2.1 // indirect
72+
github.com/tklauser/go-sysconf v0.3.15 // indirect
73+
github.com/tklauser/numcpus v0.10.0 // indirect
74+
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
75+
github.com/yuin/goldmark v1.7.11 // indirect
76+
github.com/yuin/goldmark-emoji v1.0.6 // indirect
77+
github.com/yusufpapurcu/wmi v1.2.4 // indirect
78+
github.com/zcalusic/sysinfo v1.1.3 // indirect
79+
go4.org v0.0.0-20230225012048-214862532bf5 // indirect
80+
golang.org/x/crypto v0.37.0 // indirect
81+
golang.org/x/sync v0.13.0 // indirect
82+
golang.org/x/term v0.31.0 // indirect
83+
golang.org/x/text v0.24.0 // indirect
4484
)
4585

4686
require (
47-
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
87+
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
4888
github.com/aymerick/douceur v0.2.0 // indirect
49-
github.com/cnf/structhash v0.0.0-20201127153200-e1b16c1ebc08 // indirect
50-
github.com/dsnet/compress v0.0.1 // indirect
51-
github.com/golang/protobuf v1.5.3 // indirect
52-
github.com/golang/snappy v0.0.4 // indirect
89+
github.com/cnf/structhash v0.0.0-20250313080605-df4c6cc74a9a // indirect
90+
github.com/dsnet/compress v0.0.2-0.20230904184137-39efe44ab707 // indirect
5391
github.com/google/go-querystring v1.1.0 // indirect
54-
github.com/gorilla/css v1.0.0 // indirect
92+
github.com/gorilla/css v1.0.1 // indirect
5593
github.com/json-iterator/go v1.1.12 // indirect
5694
github.com/logrusorgru/aurora v2.0.3+incompatible // indirect
5795
github.com/logrusorgru/aurora/v4 v4.0.0
58-
github.com/mholt/archiver v3.1.1+incompatible // indirect
59-
github.com/microcosm-cc/bluemonday v1.0.25 // indirect
60-
github.com/miekg/dns v1.1.55 // indirect
96+
github.com/microcosm-cc/bluemonday v1.0.27 // indirect
97+
github.com/miekg/dns v1.1.65 // indirect
6198
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
6299
github.com/modern-go/reflect2 v1.0.2 // indirect
63-
github.com/nwaples/rardecode v1.1.3 // indirect
64-
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
65100
github.com/pkg/errors v0.9.1 // indirect
66101
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d // indirect
67-
github.com/ulikunitz/xz v0.5.11 // indirect
68-
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
69-
golang.org/x/exp v0.0.0-20221019170559-20944726eadf // indirect
70-
golang.org/x/mod v0.8.0 // indirect
71-
golang.org/x/net v0.23.0 // indirect
72-
golang.org/x/tools v0.6.0 // indirect
73-
google.golang.org/appengine v1.6.7 // indirect
74-
google.golang.org/protobuf v1.33.0 // indirect
102+
github.com/ulikunitz/xz v0.5.12 // indirect
103+
golang.org/x/exp v0.0.0-20250408133849-7e4ce0ab07d0 // indirect
104+
golang.org/x/mod v0.24.0 // indirect
105+
golang.org/x/net v0.39.0 // indirect
106+
golang.org/x/tools v0.32.0 // indirect
75107
gopkg.in/djherbis/times.v1 v1.3.0 // indirect
76108
gopkg.in/yaml.v3 v3.0.1 // indirect
77109
)

0 commit comments

Comments
 (0)