siemens / kas

Setup tool for bitbake based projects
MIT License
339 stars 145 forks source link

Don't add comments to .netrc #112

Closed adamjohnstonarm closed 3 months ago

adamjohnstonarm commented 3 months ago

A recent change to OE core causes bitbake to fallback to ~/.netrc when BB_HASHSERVE_USERNAME or BB_HASHSERVE_PASSWORD are not set.

This exposes us to an error when running in GitLab because kas has been inserting a comment into this file.

netrc.NetrcParseError: bad toplevel token 'appended'

Don't use comments in .netrc as they are not a documented feature.

adamjohnstonarm commented 3 months ago

Created PR here for now as patches might not be reaching the mailing list - investigating