mirror of
				https://git.launchpad.net/livecd-rootfs
				synced 2025-11-04 10:54:07 +00:00 
			
		
		
		
	Imported using git-ubuntu import.
Changelog parent: 0d33db8e8f8e44ee087f8d3de7ccd59539f580ec
New changelog entries:
  * The EXTRA_ARCHIVES environment variable defined in 2.212 doesn't quite
    work properly because it doesn't allow for signing key configuration.
    Rename it to the more domain-specific EXTRA_PPAS (which is now a
    space-separated sequence of <ppa-owner>/<ppa-name> pairs), and fetch
    signing keys for those from Launchpad using python3-software-properties.
		
	
			
		
			
				
	
	
		
			17 lines
		
	
	
		
			416 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			416 B
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
#! /usr/bin/python3
 | 
						|
 | 
						|
from __future__ import print_function
 | 
						|
 | 
						|
from optparse import OptionParser
 | 
						|
 | 
						|
from softwareproperties import ppa
 | 
						|
 | 
						|
 | 
						|
parser = OptionParser(usage="%prog OWNER/NAME")
 | 
						|
_, args = parser.parse_args()
 | 
						|
if not args:
 | 
						|
    parser.error("must provide a PPA owner/name")
 | 
						|
owner_name, ppa_name = args[0].split("/")
 | 
						|
ppa_info = ppa.get_ppa_info_from_lp(owner_name, ppa_name)
 | 
						|
print(ppa_info["signing_key_fingerprint"])
 |