You are not logged in.
Is it possible to target only a specific folder within a given git repo for use in a vcs pkgbuild? I think it isn't, but wanted to check.
I know based on man PKGBUILD that one can use branches as fragments for the source in a vcs package. And that for git a fragment is either a branch, commit, or tag.
But is a folder within a repo considered a branch (in some kind of way)? I'd think no ordinarily, but when investigating how to split a subfolder out into a new repo using `git-filter-repo` some wording in the instructions made me think it could be?
$ git filter-repo --path FOLDER-NAME1/ --path FOLDER-NAME2/
# Filter the specified branch in your directory and remove empty commits
> Rewrite 48dc599c80e20527ed902928085e7861e6b3cbe6 (89/89)
> Ref 'refs/heads/BRANCH-NAME' was rewritten
Notice we're targeting folders in the example command but the refs is listing branch-name?
Long story short I'd like to try and write myself a personal git-PKGBUILD for the following project, but the owner of the repo has the project as a subfolder in the repo and not as its own dedicated repo.
Any thoughts?
Last edited by CarbonChauvinist (2021-09-16 20:59:31)
"the wind-blown way, wanna win? don't play"
Offline