updating minor spec break in repoclone for arch, other small notes/fixes
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
# we import it for various prep stuff anyways.
|
||||
# TODO: change loglevel of borg itself in subprocess to match the argparse?
|
||||
# --debug, --info (same as -v/--verbose), --warning, --error, --critical
|
||||
# TODO: switch to XML-based cfg instead of JSON. add automatic converter.
|
||||
# TODO: modify config to add repo to cfg for init? or add new operation, "add"
|
||||
|
||||
import argparse
|
||||
import configparser
|
||||
|
||||
@@ -13,6 +13,8 @@ import lxml.etree
|
||||
# Serialize BSD mtree spec files into XML.
|
||||
# On arch, BSD mtree is ported in the AUR as nmtree.
|
||||
|
||||
# TODO: use bitwise operations to convert octal modes back and forth. ex. at https://stackoverflow.com/a/1746850
|
||||
|
||||
class MtreeXML(object):
|
||||
def __init__(self, spec):
|
||||
# spec is a string or bytes
|
||||
|
||||
Reference in New Issue
Block a user