Re: [yocto] Bitbake fetch private Github repository release archive
Gyorgy Sarvari <[email protected]>
| Newsgroups | org.yoctoproject.lists.yocto |
|---|---|
| Message-ID | <[email protected]> |
On 9/24/25 11:12, Katu Txakur via lists.yoctoproject.org wrote: > Hi, > I'm trying to fetch a release from a private repository using a > Personal Access Token (PAT). > I know the permissions and repository are correct because I can use > this bash script and it > works: https://gist.github.com/maxim/6e15aa45ba010ab030c4?permalink_comment_id=2990095#gistcomment-2990095 > I can clone the repository with ssh keys but I need to use http for > the release zip file. > I have > tried https://docs.yoctoproject.org/ref-manual/classes.html#github-releases > <https://docs.yoctoproject.org/ref-manual/classes.html#github-releases> but > I don't know where to specify the token. > Based on the PAT documentation I found it supposed to be used as part of the auth header, however the http/wget fetcher in Bitbake only supports Basic authentication currently, using the .netrc file. I'm afraid there is no out of the box solution currently for using PAT.