Add direct PKGBUILD link as target option #254

Merged
Jef Roosens merged 5 commits from Chewing_Bever/vieter:direct-pkgbuild-target into dev 2022-06-17 16:44:53 +02:00

This PR refactors a few things to allow adding direct URLs to PKGBUILDs as targets, instead of having to provide a Git URL. Besides that, it makes the branch argument optional, with the repository being cloned with its default branch if not specified.

Once I've properly updated the docs, this PR can go out of WIP.

It's a known bug that this PR doesn't allow removing the branch value once it's been set. This will be addressed later.

Closes #238

This PR refactors a few things to allow adding direct URLs to PKGBUILDs as targets, instead of having to provide a Git URL. Besides that, it makes the branch argument optional, with the repository being cloned with its default branch if not specified. Once I've properly updated the docs, this PR can go out of WIP. It's a known bug that this PR doesn't allow removing the branch value once it's been set. This will be addressed later. Closes #238
Jef Roosens added this to the 0.4.0 milestone 2022-06-17 15:04:03 +02:00
Jef Roosens added the
enhancement
label 2022-06-17 15:04:03 +02:00
Jef Roosens added 4 commits 2022-06-17 15:04:04 +02:00
ci/woodpecker/pr/docs Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker Pipeline was successful Details
ci/woodpecker/pr/man Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
449656eb97
docs: updated to new 'kind' field
Jef Roosens added 1 commit 2022-06-17 16:24:20 +02:00
ci/woodpecker/pr/docs Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker Pipeline was successful Details
ci/woodpecker/pr/man Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details
5e11a91f3d
refactor: renamed cron & build code to use "target" naming
Jef Roosens changed title from WIP: add direct PKGBUILD link as target option to Add direct PKGBUILD link as target option 2022-06-17 16:24:50 +02:00
Jef Roosens merged commit 424b0651e9 into dev 2022-06-17 16:44:53 +02:00
Sign in to join this conversation.
There is no content yet.