The 'url' of 'package-repositories' can't handle PPA token from the environment variable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
snapcraft version: 7.2.9, rev 8619
snapcraft.yaml content:
package-
- type: apt
architectures: [arm64]
components: [main]
suites: [jammy]
key-id: <PPA ID>
url: https:/
Build command:
sudo env PPA_ACCESS_
Problem:
Since the PPA token is sensitive information for account permission.
In general, we will not put the token content into snapcraft.yaml directly and use an environment parameter to provide the token content.
We found the 'url' of 'package-
The snapcraft create /etc/apt/
Is this expected behavior? If yes, could the team make snapcraft support to transfer url with the environment parameter? The reason is we should not put PPA token information from somebody's account and upload it to a public place.