1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
""" A collection of command-line tools for building encoded update.xml
files.
"""
class InfoFile:
update_file = ""
version = None
checksum = None
# A multi-line HTML document describing the changes between
# this version and the previous version
description = ""
@classmethod
def from_info_file(filename):
return
def files2xml(filenames):
""" Given a list of filenames, extracts the app version and log
information from accompanying files produces an output xml file.
There are no constraints or restrictions on the names or extensions
of the input files. They just need to be accompanied by a sidecar
file named similarly, but with a ".info" extension, that can be
loaded by the InfoFile class.
"""
return
|