Merge branch 'origin/main' into 'next-release/main'

This commit is contained in:
oauth 2024-11-30 22:02:13 +00:00
commit 516d00a932
15 changed files with 83 additions and 63 deletions

View file

@ -28,9 +28,9 @@ var Command = &cli.Command{
Name: "admin", Name: "admin",
Usage: "manage server settings", Usage: "manage server settings",
Commands: []*cli.Command{ Commands: []*cli.Command{
secret.Command,
registry.Command,
user.Command,
loglevel.Command, loglevel.Command,
registry.Command,
secret.Command,
user.Command,
}, },
} }

View file

@ -25,8 +25,8 @@ var Command = &cli.Command{
Commands: []*cli.Command{ Commands: []*cli.Command{
registryCreateCmd, registryCreateCmd,
registryDeleteCmd, registryDeleteCmd,
registryUpdateCmd,
registryShowCmd,
registryListCmd, registryListCmd,
registryShowCmd,
registryUpdateCmd,
}, },
} }

View file

@ -25,8 +25,8 @@ var Command = &cli.Command{
Commands: []*cli.Command{ Commands: []*cli.Command{
secretCreateCmd, secretCreateCmd,
secretDeleteCmd, secretDeleteCmd,
secretUpdateCmd,
secretShowCmd,
secretListCmd, secretListCmd,
secretShowCmd,
secretUpdateCmd,
}, },
} }

View file

@ -23,9 +23,9 @@ var Command = &cli.Command{
Name: "user", Name: "user",
Usage: "manage users", Usage: "manage users",
Commands: []*cli.Command{ Commands: []*cli.Command{
userListCmd,
userShowCmd,
userAddCmd, userAddCmd,
userListCmd,
userRemoveCmd, userRemoveCmd,
userShowCmd,
}, },
} }

View file

@ -29,9 +29,9 @@ var Command = &cli.Command{
Commands: []*cli.Command{ Commands: []*cli.Command{
registryCreateCmd, registryCreateCmd,
registryDeleteCmd, registryDeleteCmd,
registryUpdateCmd,
registryShowCmd,
registryListCmd, registryListCmd,
registryShowCmd,
registryUpdateCmd,
}, },
} }

View file

@ -29,9 +29,9 @@ var Command = &cli.Command{
Commands: []*cli.Command{ Commands: []*cli.Command{
secretCreateCmd, secretCreateCmd,
secretDeleteCmd, secretDeleteCmd,
secretUpdateCmd,
secretShowCmd,
secretListCmd, secretListCmd,
secretShowCmd,
secretUpdateCmd,
}, },
} }

View file

@ -23,7 +23,7 @@ var Command = &cli.Command{
Name: "log", Name: "log",
Usage: "manage logs", Usage: "manage logs",
Commands: []*cli.Command{ Commands: []*cli.Command{
logShowCmd,
logPurgeCmd, logPurgeCmd,
logShowCmd,
}, },
} }

View file

@ -33,20 +33,20 @@ var Command = &cli.Command{
Name: "pipeline", Name: "pipeline",
Usage: "manage pipelines", Usage: "manage pipelines",
Commands: []*cli.Command{ Commands: []*cli.Command{
buildPipelineListCmd(),
pipelineLastCmd,
pipelineShowCmd,
pipelineStopCmd,
pipelineStartCmd,
pipelineApproveCmd, pipelineApproveCmd,
pipelineDeclineCmd,
pipelineQueueCmd,
pipelineKillCmd,
pipelinePsCmd,
pipelineCreateCmd, pipelineCreateCmd,
log.Command, pipelineDeclineCmd,
deploy.Command, deploy.Command,
pipelineKillCmd,
pipelineLastCmd,
buildPipelineListCmd(),
log.Command,
pipelinePsCmd,
pipelinePurgeCmd, pipelinePurgeCmd,
pipelineQueueCmd,
pipelineShowCmd,
pipelineStartCmd,
pipelineStopCmd,
}, },
} }

View file

@ -113,7 +113,8 @@ func pipelinePurge(c *cli.Command, client woodpecker.Client) (err error) {
} }
for i, p := range pipelinesToPurge { for i, p := range pipelinesToPurge {
log.Debug().Msgf("%sprune %v/%v pipelines from repo '%v'", msgPrefix, i+1, len(pipelinesToPurge), repoIDOrFullName) // cspell:words spurge
log.Debug().Msgf("%spurge %v/%v pipelines from repo '%v'", msgPrefix, i+1, len(pipelinesToPurge), repoIDOrFullName)
if dryRun { if dryRun {
continue continue
} }

View file

@ -25,8 +25,8 @@ var Command = &cli.Command{
Commands: []*cli.Command{ Commands: []*cli.Command{
cronCreateCmd, cronCreateCmd,
cronDeleteCmd, cronDeleteCmd,
cronUpdateCmd,
cronShowCmd,
cronListCmd, cronListCmd,
cronShowCmd,
cronUpdateCmd,
}, },
} }

View file

@ -28,9 +28,9 @@ var Command = &cli.Command{
Commands: []*cli.Command{ Commands: []*cli.Command{
registryCreateCmd, registryCreateCmd,
registryDeleteCmd, registryDeleteCmd,
registryUpdateCmd,
registryShowCmd,
registryListCmd, registryListCmd,
registryShowCmd,
registryUpdateCmd,
}, },
} }

View file

@ -27,16 +27,16 @@ var Command = &cli.Command{
Name: "repo", Name: "repo",
Usage: "manage repositories", Usage: "manage repositories",
Commands: []*cli.Command{ Commands: []*cli.Command{
repoListCmd,
repoShowCmd,
repoAddCmd, repoAddCmd,
repoUpdateCmd, repoChownCmd,
cron.Command,
repoListCmd,
registry.Command,
repoRemoveCmd, repoRemoveCmd,
repoRepairCmd, repoRepairCmd,
repoChownCmd,
repoSyncCmd,
registry.Command,
secret.Command, secret.Command,
cron.Command, repoShowCmd,
repoSyncCmd,
repoUpdateCmd,
}, },
} }

View file

@ -28,9 +28,9 @@ var Command = &cli.Command{
Commands: []*cli.Command{ Commands: []*cli.Command{
secretCreateCmd, secretCreateCmd,
secretDeleteCmd, secretDeleteCmd,
secretUpdateCmd,
secretShowCmd,
secretListCmd, secretListCmd,
secretShowCmd,
secretUpdateCmd,
}, },
} }

View file

@ -43,12 +43,12 @@ func newApp() *cli.Command {
app.Suggest = true app.Suggest = true
app.Commands = []*cli.Command{ app.Commands = []*cli.Command{
admin.Command, admin.Command,
org.Command,
repo.Command,
pipeline.Command,
exec.Command, exec.Command,
info.Command, info.Command,
lint.Command, lint.Command,
org.Command,
pipeline.Command,
repo.Command,
setup.Command, setup.Command,
update.Command, update.Command,
} }

View file

@ -119,7 +119,7 @@ importers:
version: 9.1.0 version: 9.1.0
isomorphic-dompurify: isomorphic-dompurify:
specifier: ^2.16.0 specifier: ^2.16.0
version: 2.17.0 version: 2.18.0
marked: marked:
specifier: ^15.0.2 specifier: ^15.0.2
version: 15.0.3 version: 15.0.3
@ -2753,8 +2753,8 @@ packages:
resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==} resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==}
engines: {node: '>= 4'} engines: {node: '>= 4'}
dompurify@3.2.1: dompurify@3.2.2:
resolution: {integrity: sha512-NBHEsc0/kzRYQd+AY6HR6B/IgsqzBABrqJbpCDQII/OK6h7B7LXzweZTDsqSW2LkTRpoxf18YUP+YjGySk6B3w==} resolution: {integrity: sha512-YMM+erhdZ2nkZ4fTNRTSI94mb7VG7uVF5vj5Zde7tImgnhZE3R6YW/IACGIHb2ux+QkEXMhe591N+5jWOmL4Zw==}
domutils@2.8.0: domutils@2.8.0:
resolution: {integrity: sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==} resolution: {integrity: sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==}
@ -3233,6 +3233,10 @@ packages:
gopd@1.0.1: gopd@1.0.1:
resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==}
gopd@1.1.0:
resolution: {integrity: sha512-FQoVQnqcdk4hVM4JN1eromaun4iuS34oStkdlLENLdpULsuQcTyXj8w7ayhuUfPwEYZ1ZOooOTT6fdA9Vmx/RA==}
engines: {node: '>= 0.4'}
got@14.4.5: got@14.4.5:
resolution: {integrity: sha512-sq+uET8TnNKRNnjEOPJzMcxeI0irT8BBNmf+GtZcJpmhYsQM1DSKmCROUjPWKsXZ5HzwD5Cf5/RV+QD9BSTxJg==} resolution: {integrity: sha512-sq+uET8TnNKRNnjEOPJzMcxeI0irT8BBNmf+GtZcJpmhYsQM1DSKmCROUjPWKsXZ5HzwD5Cf5/RV+QD9BSTxJg==}
engines: {node: '>=20'} engines: {node: '>=20'}
@ -3658,6 +3662,10 @@ packages:
resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==}
engines: {node: '>= 0.4'} engines: {node: '>= 0.4'}
is-regex@1.2.0:
resolution: {integrity: sha512-B6ohK4ZmoftlUe+uvenXSbPJFo6U37BH7oO1B3nQH8f/7h27N56s85MhUtbFJAziz5dcmuR3i8ovUl35zp8pFA==}
engines: {node: '>= 0.4'}
is-regexp@1.0.0: is-regexp@1.0.0:
resolution: {integrity: sha512-7zjFAPO4/gwyQAAgRRmqeEeyIICSdmCqa3tsVHMdBzaXXRiqopZL4Cyghg/XulGWrtABTpbnYYzzIRffLkP4oA==} resolution: {integrity: sha512-7zjFAPO4/gwyQAAgRRmqeEeyIICSdmCqa3tsVHMdBzaXXRiqopZL4Cyghg/XulGWrtABTpbnYYzzIRffLkP4oA==}
engines: {node: '>=0.10.0'} engines: {node: '>=0.10.0'}
@ -3732,8 +3740,8 @@ packages:
resolution: {integrity: sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==} resolution: {integrity: sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==}
engines: {node: '>=0.10.0'} engines: {node: '>=0.10.0'}
isomorphic-dompurify@2.17.0: isomorphic-dompurify@2.18.0:
resolution: {integrity: sha512-W9RC9aPgEAFF55VMo/9AUQ+GYkQ68gTRMLqS8fP9rw1VoYCsI7RdrRMAePhhqyCLfZS3JNjA4ahFi1L4aczUUg==} resolution: {integrity: sha512-e0AaROtWPy6ofSTCnUuBvXFidt1eFmrwEbi+Acpz0du6v2H+fq+3svPBn0g/AfBXz24FTWA9ccle7HSFT3HG7A==}
engines: {node: '>=18'} engines: {node: '>=18'}
jest-util@29.7.0: jest-util@29.7.0:
@ -4319,8 +4327,8 @@ packages:
peerDependencies: peerDependencies:
webpack: ^4.0.0 || ^5.0.0 webpack: ^4.0.0 || ^5.0.0
nwsapi@2.2.13: nwsapi@2.2.16:
resolution: {integrity: sha512-cTGB9ptp9dY9A5VbMSe7fQBcl/tt22Vcqdq8+eN93rblOuE0aCFu4aZ2vMwct/2t+lFnosm8RkQW1I0Omb1UtQ==} resolution: {integrity: sha512-F1I/bimDpj3ncaNDhfyMWuFqmQDBwDB0Fogc2qpL3BWvkQteFD/8BzWuIRl83rq0DXfm8SGt/HFhLXZyljTXcQ==}
oas-kit-common@1.0.8: oas-kit-common@1.0.8:
resolution: {integrity: sha512-pJTS2+T0oGIwgjGpw7sIRU8RQMcUoKCDWFLdBqKB2BNmGpbBMH2sdqAaOXUg8OzonZHU0L7vfJu1mJFEiYDWOQ==} resolution: {integrity: sha512-pJTS2+T0oGIwgjGpw7sIRU8RQMcUoKCDWFLdBqKB2BNmGpbBMH2sdqAaOXUg8OzonZHU0L7vfJu1mJFEiYDWOQ==}
@ -5702,11 +5710,11 @@ packages:
tiny-warning@1.0.3: tiny-warning@1.0.3:
resolution: {integrity: sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==} resolution: {integrity: sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==}
tldts-core@6.1.64: tldts-core@6.1.65:
resolution: {integrity: sha512-uqnl8vGV16KsyflHOzqrYjjArjfXaU6rMPXYy2/ZWoRKCkXtghgB4VwTDXUG+t0OTGeSewNAG31/x1gCTfLt+Q==} resolution: {integrity: sha512-Uq5t0N0Oj4nQSbU8wFN1YYENvMthvwU13MQrMJRspYCGLSAZjAfoBOJki5IQpnBM/WFskxxC/gIOTwaedmHaSg==}
tldts@6.1.64: tldts@6.1.65:
resolution: {integrity: sha512-ph4AE5BXWIOsSy9stpoeo7bYe/Cy7VfpciIH4RhVZUPItCJmhqWCN0EVzxd8BOHiyNb42vuJc6NWTjJkg91Tuw==} resolution: {integrity: sha512-xU9gLTfAGsADQ2PcWee6Hg8RFAv0DnjMGVJmDnUmI8a9+nYmapMQix4afwrdaCtT+AqP4MaxEzu7cCrYmBPbzQ==}
hasBin: true hasBin: true
to-regex-range@5.0.1: to-regex-range@5.0.1:
@ -9793,7 +9801,7 @@ snapshots:
dependencies: dependencies:
domelementtype: 2.3.0 domelementtype: 2.3.0
dompurify@3.2.1: dompurify@3.2.2:
optionalDependencies: optionalDependencies:
'@types/trusted-types': 2.0.7 '@types/trusted-types': 2.0.7
@ -9870,7 +9878,7 @@ snapshots:
is-boolean-object: 1.1.2 is-boolean-object: 1.1.2
is-callable: 1.2.7 is-callable: 1.2.7
is-number-object: 1.0.7 is-number-object: 1.0.7
is-regex: 1.1.4 is-regex: 1.2.0
is-string: 1.0.7 is-string: 1.0.7
is-subset: 0.1.1 is-subset: 0.1.1
lodash.escape: 4.0.1 lodash.escape: 4.0.1
@ -10414,6 +10422,10 @@ snapshots:
dependencies: dependencies:
get-intrinsic: 1.2.4 get-intrinsic: 1.2.4
gopd@1.1.0:
dependencies:
get-intrinsic: 1.2.4
got@14.4.5: got@14.4.5:
dependencies: dependencies:
'@sindresorhus/is': 7.0.1 '@sindresorhus/is': 7.0.1
@ -10898,6 +10910,13 @@ snapshots:
call-bind: 1.0.7 call-bind: 1.0.7
has-tostringtag: 1.0.2 has-tostringtag: 1.0.2
is-regex@1.2.0:
dependencies:
call-bind: 1.0.7
gopd: 1.1.0
has-tostringtag: 1.0.2
hasown: 2.0.2
is-regexp@1.0.0: {} is-regexp@1.0.0: {}
is-root@2.1.0: {} is-root@2.1.0: {}
@ -10953,9 +10972,9 @@ snapshots:
isobject@3.0.1: {} isobject@3.0.1: {}
isomorphic-dompurify@2.17.0: isomorphic-dompurify@2.18.0:
dependencies: dependencies:
dompurify: 3.2.1 dompurify: 3.2.2
jsdom: 25.0.1 jsdom: 25.0.1
transitivePeerDependencies: transitivePeerDependencies:
- bufferutil - bufferutil
@ -11018,7 +11037,7 @@ snapshots:
http-proxy-agent: 7.0.2 http-proxy-agent: 7.0.2
https-proxy-agent: 7.0.5 https-proxy-agent: 7.0.5
is-potential-custom-element-name: 1.0.1 is-potential-custom-element-name: 1.0.1
nwsapi: 2.2.13 nwsapi: 2.2.16
parse5: 7.2.1 parse5: 7.2.1
rrweb-cssom: 0.7.1 rrweb-cssom: 0.7.1
saxes: 6.0.0 saxes: 6.0.0
@ -11799,7 +11818,7 @@ snapshots:
schema-utils: 3.3.0 schema-utils: 3.3.0
webpack: 5.96.1 webpack: 5.96.1
nwsapi@2.2.13: {} nwsapi@2.2.16: {}
oas-kit-common@1.0.8: oas-kit-common@1.0.8:
dependencies: dependencies:
@ -12750,7 +12769,7 @@ snapshots:
classnames: 2.5.1 classnames: 2.5.1
core-js: 3.39.0 core-js: 3.39.0
decko: 1.2.0 decko: 1.2.0
dompurify: 3.2.1 dompurify: 3.2.2
eventemitter3: 5.0.1 eventemitter3: 5.0.1
json-pointer: 0.6.2 json-pointer: 0.6.2
lunr: 2.3.9 lunr: 2.3.9
@ -13453,11 +13472,11 @@ snapshots:
tiny-warning@1.0.3: {} tiny-warning@1.0.3: {}
tldts-core@6.1.64: {} tldts-core@6.1.65: {}
tldts@6.1.64: tldts@6.1.65:
dependencies: dependencies:
tldts-core: 6.1.64 tldts-core: 6.1.65
to-regex-range@5.0.1: to-regex-range@5.0.1:
dependencies: dependencies:
@ -13469,7 +13488,7 @@ snapshots:
tough-cookie@5.0.0: tough-cookie@5.0.0:
dependencies: dependencies:
tldts: 6.1.64 tldts: 6.1.65
tr46@0.0.3: {} tr46@0.0.3: {}