diff --git a/swh/provenance/tests/data/README.md b/swh/provenance/tests/data/README.md --- a/swh/provenance/tests/data/README.md +++ b/swh/provenance/tests/data/README.md @@ -31,10 +31,10 @@ ``` for dataset in cmdbts2 out-of-order with-merges; do - python generate_repo.py -C ${dataset}_repo.yaml $dataset > synthetic_${dataset}_template.txt + python3 generate_repo.py -C ${dataset}_repo.yaml $dataset > synthetic_${dataset}_template.txt # you may want to edit/update synthetic files from this template, see below - python generate_storage_from_git.py $dataset - python generate_graph_dataset.py --compress $dataset + python3 generate_storage_from_git.py $dataset + python3 generate_graph_dataset.py --compress $dataset done ``` @@ -65,7 +65,7 @@ The tool to generate this git repo is `generate_repo.py`: ``` - python generate_repo.py --help + python3 generate_repo.py --help Usage: generate_repo.py [OPTIONS] INPUT_FILE OUTPUT_DIR Options: @@ -80,7 +80,7 @@ Typical usage will be: ``` -python generate_repo.py repo2_repo.yaml repo2 > synthetic_repo2_template.txt +python3 generate_repo.py repo2_repo.yaml repo2 > synthetic_repo2_template.txt ``` Note that hashes (for revision, directories and content) of the git objects @@ -99,7 +99,7 @@ `generate_storage_from_git.py` tool: ``` -python generate_storage_from_git.py --help +python3 generate_storage_from_git.py --help Usage: generate_storage_from_git.py [OPTIONS] GIT_REPO simple tool to generate the CMDBTS.msgpack dataset filed used in tests @@ -114,7 +114,7 @@ Typical usage would be, using the git repository `repo2` created previously: ``` -python generate_storage_from_git.py repo2 +python3 generate_storage_from_git.py repo2 Revision hash for master is 8363e8e98751dc9f264d2fedd6b829ad4b1218b0 Wrote 86 objects in repo2.msgpack ```