Skip to content

Commit

Permalink
Docs & comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lowell80 committed Mar 30, 2022
1 parent 55e994f commit 183d3a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/contrib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ The following example assume we're make a new command called ``asciiart``:
vim ksconf/setup_entrypoints*.py
git add kconf/setup_entrypoints.py
# Now run-precomit to ensure that the new command is found sucessfully and is importable
# Now run pre-commit to ensure that the new command is found sucessfully and is importable
pre-commit
# Now go write code, tests, docs and commit ...
Expand Down
2 changes: 1 addition & 1 deletion ksconf/commands/snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _decode_path_meta(path):
def _get_file_info(path):
file_info = {}
file_info["path"] = path
# XXX: Format is ISO something or other (with timezone, ugh); for now just use int
# XXX: Format as ISO something or other (with timezone, ugh); for now just use int
st = os.stat(path)
file_info["mtime"] = int(st.st_mtime)
file_info["size"] = st.st_size
Expand Down
1 change: 1 addition & 0 deletions ksconf/commands/unarchive.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def run(self, args):
f_hash = file_hash(args.tarball)
self.stdout.write("Inspecting archive: {}\n".format(args.tarball))

# TODO: Grab and share wit ksconf_shared.py in https://github.com/Kintyre/ansible-collection-splunk
new_app_name = args.app_name
# ARCHIVE PRE-CHECKS: Archive must contain only one app, no weird paths, ...
app_name = set()
Expand Down

0 comments on commit 183d3a3

Please sign in to comment.