You are not logged in.

#1 2021-04-23 05:36:35

oinkl
Member
Registered: 2010-01-13
Posts: 45

[SOLVED] Which branch does makepkg use with git sources?

My PKGBUILD stopped pulling the latest git source on Github. After investigation, I discovered the repo owner renamed main to master - master was pointing to an older commit, main was pointing to the most recent. makepkg was still using master by default. I can modify the git source to pull main with a branch fragment in the URL, but is makepkg configured to use master by default, or is it a git setting? Is this configurable?

Last edited by oinkl (2021-04-23 06:14:22)

Offline

#2 2021-04-23 06:14:13

oinkl
Member
Registered: 2010-01-13
Posts: 45

Re: [SOLVED] Which branch does makepkg use with git sources?

I solved it by deleting the previously downloaded git sources in the directory, which was still using the old default branch, and would just keep pulling that branch on update. After deleting and re-running makepkg, it used the new default branch, main.

Offline

Board footer

Powered by FluxBB