info EXECUTING PLAN 'inspect_init' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN inspect_init Inspection of internal data after init STEP 1 09/07/26 00:33 Inspecting of internal revision files when putting a local source folder under version control $ arcv -yy --silent [?12l[?25h   info Committed first revision 1d0e84de91c76535 Inspecting repository revision folder OK '/tmp/arcv-test-archive/test-project.archive/ROOT' line 'riffian-dell/24-5e-be-4d-9c-e1: /home/ubuntu/test-arcv/test-project' was found OK '/tmp/arcv-test-archive/test-project.archive/head/REV' content is correct ('0') OK '/tmp/arcv-test-archive/test-project.archive/test-project.archive0/CHANGE_LOG' content is correct ('Creation') Inspecting head folder file_A.txt is the same between head folder and revision folder file_B.txt is the same between head folder and revision folder file_A.txt is the same between head folder and original source folder file_B.txt is the same between head folder and original source folder Adding file_C.txt [?12l[?25h  info Committed revision 1 signed cce4ed635860ccee Creating branch fun-project $ av --silent -yy branch fun-project info The branch is going to be created in a folder '../fun-project' from head revision 1 task Branch creation in folder ../fun-project  task Branch creation in folder ../fun-project [ OK ] task Branch 'fun-project' commit in '/home/ubuntu/test-arcv/fun-project' task Branch 'fun-project' commit in '/home/ubuntu/test-arcv/fun-project'[ OK ] Inspecting branch revision folder $ Test__assertFileContent "/tmp/arcv-test-archive/fun-project.archive/BRANCH_ROOT" "/tmp/arcv-test-archive/test-project.archive" OK '/tmp/arcv-test-archive/fun-project.archive/BRANCH_ROOT' content is correct ('/tmp/arcv-test-archive/test-project.archive') OK '/tmp/arcv-test-archive/fun-project.archive/BRANCH_ROOT_REV' content is correct ('1') file_A.txt is the same between head folder and original source folder file_B.txt is the same between head folder and original source folder file_C.txt is the same between head folder and original source folder [?12l[?25h getshot has finished. info EXECUTING PLAN 'spacechars' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN spacechars Wide range of tests dealing with path components containing spaces STEP 1 09/07/26 00:33 Wide range of tests dealing with path components containing spaces .: total 12 -rw-r--r-- 1 ubuntu ubuntu 12 Sep 7 00:33 file A.txt -rw-r--r-- 1 ubuntu ubuntu 12 Sep 7 00:33 file B.txt drwxr-xr-x 2 ubuntu ubuntu 4096 Sep 7 00:33 system configs ./system configs: total 8 -rw-r--r-- 1 ubuntu ubuntu 12 Sep 7 00:33 sys config1.yml -rw-r--r-- 1 ubuntu ubuntu 12 Sep 7 00:33 sys config3.yml $ arcv -yy --silent [?12l[?25h   info Committed first revision 743cb4c0f3b69559 OK: output of 'av rev' is correct OK: 0 returned by 'av check' info SRC: /home/ubuntu/test-arcv/test project of mine info test project of mine is the first archived version info No change in source  info Committed revision 1 signed 9c458361f7feca36 info Created VERSION.txt info Going to create release tag R1.0.0 info Successfully created release tag R1.0.0 for revision 1 info Successfully restored VERSION.txt from revison 1 Inspecting repository revision folder OK: '/tmp/arcv-test-archive/test project of mine.archive/ROOT': present OK '/tmp/arcv-test-archive/test project of mine.archive/head/REV' content is correct ('1') OK '/tmp/arcv-test-archive/test project of mine.archive/test project of mine.archive0/CHANGE_LOG' content is correct ('Creation') Inspecting head folder file A.txt is the same between head folder and revision folder file B.txt is the same between head folder and revision folder sys config1.yml is the same between head folder and revision folder file A.txt is the same between head folder and original source folder file B.txt is the same between head folder and original source folder sys config1.yml is the same between head folder and original source folder Adding file C.txt and system configs/sys config2.yml, modifying system configs/sys config1.yml, removing system configs/sys config3.yml $ rm "system configs/sys config3.yml" [!p[?3;4l>[?69l OK: 1 returned by 'av check' $ av check --verbose && _exit -1 "Error: no change detected" || true There are new, deleted, modified files for revision 1 [!p[?3;4l>[?69l [?12l[?25h  info Committed revision 2 signed 1eb6c9ef5db508ad OK: output of 'av rev' is correct OK: 0 returned by 'av check' OK: 0 returned by 'av diff 0vs0' OK: 0 returned by 'av diff 2vs2' OK: 0 returned by 'av diff headvs2' $ av tarball -o "/tmp/test av" info Successfully created /tmp/test av/test project of mine-2.tar.gz OK: '/tmp/test av/test project of mine-2.tar.gz': present drwxr-xr-x ubuntu/ubuntu 0 2026-09-07 00:33 test project of mine/ -rw-r--r-- ubuntu/ubuntu 12 2026-09-07 00:33 test project of mine/file B.txt drwxr-xr-x ubuntu/ubuntu 0 2026-09-07 00:33 test project of mine/system configs/ -rw-r--r-- ubuntu/ubuntu 12 2026-09-07 00:33 test project of mine/system configs/sys config2.yml -rw-r--r-- ubuntu/ubuntu 24 2026-09-07 00:33 test project of mine/system configs/sys config1.yml -rw-r--r-- ubuntu/ubuntu 5 2026-09-07 00:33 test project of mine/VERSION.txt -rw-r--r-- ubuntu/ubuntu 15 2026-09-07 00:33 test project of mine/file C.txt -rw-r--r-- ubuntu/ubuntu 12 2026-09-07 00:33 test project of mine/file A.txt $ av tarball 0 -o "/tmp/test av" info Successfully created /tmp/test av/test project of mine-0.tar.gz OK: '/tmp/test av/test project of mine-0.tar.gz': present drwxr-xr-x ubuntu/ubuntu 0 2026-09-07 00:33 test project of mine/ -rw-r--r-- ubuntu/ubuntu 12 2026-09-07 00:33 test project of mine/file B.txt drwxr-xr-x ubuntu/ubuntu 0 2026-09-07 00:33 test project of mine/system configs/ -rw-r--r-- ubuntu/ubuntu 12 2026-09-07 00:33 test project of mine/system configs/sys config3.yml -rw-r--r-- ubuntu/ubuntu 12 2026-09-07 00:33 test project of mine/system configs/sys config1.yml -rw-r--r-- ubuntu/ubuntu 12 2026-09-07 00:33 test project of mine/file A.txt Perform some info display commands $ av check --verbose || echo "OK NO change detected" Image is up-to-date. Revision is 2 $ av log -n --verbose 2 2026-09-07 00:33:54 Changed: system configs/sys config1.yml. New: file C.txt system configs/sys  config2.yml. Deleted: system configs/sys config3.yml system configs/sys config2.yml system configs/sys config1.yml file C.txt system configs/sys config3.yml 1 2026-09-07 00:33:50 Added /home/ubuntu/test-arcv/test project of mine/VERSION.txt while requesting  creation of release tag VERSION.txt 0 2026-09-07 00:33:47 Creation system configs/sys config1.yml system configs/sys config3.yml file B.txt file A.txt Operation finished. $ av hash --verbose Head hash signature is 1eb6c9ef5db508ad55e4baac91579c9133404fde08ef26c11636aed17a0eef8c Operation finished. $ av list --verbose info arcv run from riffian-dell, storage on riffian will be accessed vi mountpoint /tmp/arcv-test-archive Source Head Hash Owner fun-project 0 cce4ed635860ccee ubuntu (1000) test project of mine 2 1eb6c9ef5db508ad ubuntu (1000) Operation finished. COMPARING /home/ubuntu/test-arcv/test project of mine with revision 0 : /tmp/Arcv.tmp.T19ev8KKOs/test project of mine Only in '/home/ubuntu/test-arcv/test project of mine': VERSION.txt Only in '/home/ubuntu/test-arcv/test project of mine': 'file C.txt' diff --no-dereference -r '--color=always' -u -X '/tmp/arcv-test-archive/test project of mine.archive/EXCLUDE' "/tmp/Arcv.tmp.T19ev8KKOs/test project of mine/system configs/sys config1.yml" "/home/ubuntu/test-arcv/test project of mine/system configs/sys config1.yml" --- "/tmp/Arcv.tmp.T19ev8KKOs/test project of mine/system configs/sys config1.yml" 2026-09-07 00:33:45.000000000 +0200 +++ "/home/ubuntu/test-arcv/test project of mine/system configs/sys config1.yml" 2026-09-07 00:33:52.640632288 +0200 @@ -1 +1,2 @@ param1: 100 +param1: 101 Only in '/home/ubuntu/test-arcv/test project of mine/system configs': 'sys config2.yml' Only in '/tmp/Arcv.tmp.T19ev8KKOs/test project of mine/system configs': 'sys config3.yml' [!p[?3;4l>[?69l OK: 1 returned by 'av diff 0' , is != of 0 Inspecting changes file C.txt is the same between head folder and revision folder sys config2.yml is the same between head folder and revision folder file C.txt is the same between head folder and original source folder sys config2.yml is the same between head folder and original source folder OK '/tmp/arcv-test-archive/test project of mine.archive/test project of mine.archive2/test project of mine/system configs/sys config1.yml' last line is correct ('param1: 101') Creating branch 'fun project' $ av --silent -yy branch "fun project" info The branch is going to be created in a folder '../fun project' from head revision 2 task Branch creation in folder ../fun project  task Branch creation in folder ../fun project [ OK ] task Branch 'fun project' commit in '/home/ubuntu/test-arcv/fun project' task Branch 'fun project' commit in '/home/ubuntu/test-arcv/fun project'[ OK ] file A.txt is the same between head folder and revision folder file B.txt is the same between head folder and revision folder file C.txt is the same between head folder and revision folder sys config1.yml is the same between head folder and revision folder sys config2.yml is the same between head folder and revision folder OK: '/tmp/arcv-test-archive/fun project.archive/fun project.archive0/fun project/system configs/sys config3.yml': not there OK: '/tmp/arcv-test-archive/fun project.archive/head/fun project/system configs/sys config3.yml': not there file A.txt is the same between head folder and original source folder file B.txt is the same between head folder and original source folder file C.txt is the same between head folder and original source folder sys config1.yml is the same between head folder and original source folder sys config2.yml is the same between head folder and original source folder Checking out rev 0 in '/tmp/test av' task Revision 0 checkout in folder ../../../../tmp/test av/test project of mine-rev0  task Revision 0 checkout in folder ../../../../tmp/test av/test project of mine-rev0 [ OK ] OK 'file A.txt' content is correct ('Test file A') OK 'file B.txt' content is correct ('Test file B') OK 'system configs/sys config1.yml' content is correct ('param1: 100') OK 'system configs/sys config3.yml' content is correct ('param1: 300') OK: 'file C.txt': not there OK: 'system configs/sys config2.yml': not there Checking out release 1.0.0 in '/tmp/test av' task Release R1.0.0 checkout in folder ../../../../tmp/test av/test project of mine-R1.0.0  task Release R1.0.0 checkout in folder ../../../../tmp/test av/test project of mine-R1.0.0 [ OK ] OK 'file A.txt' content is correct ('Test file A') Checking out revision 1 in '/tmp/' using explicit source name task Revision 1 checkout in folder ../../test project of mine-rev1  task Revision 1 checkout in folder ../../test project of mine-rev1 [ OK ] OK: 'VERSION.txt': present OK: 'system configs/sys config2.yml': not there OK: 'system configs/sys config3.yml': present OK 'file A.txt' content is correct ('Test file A') OK 'system configs/sys config1.yml' last line is correct ('param1: 100') Checking out head in '/tmp/' using explicit source name task Checking out head revision to '/tmp/test project of mine'  task Checking out head revision to '/tmp/test project of mine' [ OK ] OK: 'VERSION.txt': present OK: 'system configs/sys config2.yml': present OK: 'system configs/sys config3.yml': not there OK 'file A.txt' content is correct ('Test file A') OK 'system configs/sys config1.yml' last line is correct ('param1: 101') [?12l[?25h getshot has finished. info EXECUTING PLAN 'exclusions' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN exclusions Exclude some types of files from revision control and related operations STEP 1 09/07/26 00:34 Example of excluding some types of files from revision control and related operations .: total 16 -rw-r--r-- 1 ubuntu ubuntu 12 Sep 7 00:34 file A.txt -rw-r--r-- 1 ubuntu ubuntu 12 Sep 7 00:34 file B.txt drwxr-xr-x 2 ubuntu ubuntu 4096 Sep 7 00:34 system configs -rw-r--r-- 1 ubuntu ubuntu 17 Sep 7 00:34 videofile.mp4 ./system configs: total 12 -rw-r--r-- 1 ubuntu ubuntu 27 Sep 7 00:34 screenshot.jpg -rw-r--r-- 1 ubuntu ubuntu 12 Sep 7 00:34 sys config1.yml -rw-r--r-- 1 ubuntu ubuntu 12 Sep 7 00:34 sys config3.yml $ arcv -y --silent -X "*.mp4,*.jpg "  info Committed first revision 37fd094d1c39155e OK: output of 'av rev' is correct Inspecting repository for non existing excluded files OK: '/tmp/arcv-test-archive/test project of mine.archive/head/test project of mine/videofile.mp4': not there OK: '/tmp/arcv-test-archive/test project of mine.archive/head/test project of mine/system configs/screenshot.jpg': not there OK: '/tmp/arcv-test-archive/test project of mine.archive/test project of mine.archive0/test project of mine/videofile.mp4': not there OK: '/tmp/arcv-test-archive/test project of mine.archive/test project of mine.archive0/test project of mine/system configs/screenshot.jpg': not there OK: 0 returned by 'av check' Adding another_videofile.mp4 and system configs/another_screenshot.jpg and performing a check OK: 0 returned by 'av check' $ av check --verbose Image is up-to-date. Revision is 0 Adding file C.txt and system configs/sys config2.yml, modifying system configs/sys config1.yml, removing system configs/sys config3.yml $ rm "system configs/sys config3.yml" [!p[?3;4l>[?69l OK: 1 returned by 'av check' $ av check --verbose || true # just for display There are new, deleted, modified files for revision 0 [!p[?3;4l>[?69l [?12l[?25h  info Committed revision 1 signed 8182e8723ef3b199 OK: 0 returned by 'av check' OK: output of 'av rev' is correct OK: '/tmp/arcv-test-archive/test project of mine.archive/head/test project of mine/videofile.mp4': not there OK: '/tmp/arcv-test-archive/test project of mine.archive/head/test project of mine/system configs/screenshot.jpg': not there OK: '/tmp/arcv-test-archive/test project of mine.archive/test project of mine.archive2/test project of mine/videofile.mp4': not there OK: '/tmp/arcv-test-archive/test project of mine.archive/test project of mine.archive2/test project of mine/system configs/screenshot.jpg': not there OK: '/tmp/arcv-test-archive/test project of mine.archive/head/test project of mine/another_videofile.mp4': not there OK: '/tmp/arcv-test-archive/test project of mine.archive/head/test project of mine/system configs/another_screenshot.jpg': not there OK: '/tmp/arcv-test-archive/test project of mine.archive/test project of mine.archive2/test project of mine/another_videofile.mp4': not there OK: '/tmp/arcv-test-archive/test project of mine.archive/test project of mine.archive2/test project of mine/system configs/another_screenshot.jpg': not there $ av co 1 -o /tmp -y task Revision 1 checkout in folder ../../../../tmp/test project of mine-rev1  task Revision 1 checkout in folder ../../../../tmp/test project of mine-rev1 [ OK ] OK: '8182e8723ef3b1999022cb9311b10eb565b1c9adfa944b48b2f2fa64956fc127' was output by both commands 'av hash' and 'av hash '/tmp/test project of mine-rev1'' OK: 0 returned by 'av diff 0vs0' OK: 0 returned by 'av diff 1vs1' OK: 0 returned by 'av diff headvs1' Perform some diffs COMPARING /home/ubuntu/test-arcv/test project of mine with revision 0 : /tmp/Arcv.tmp.rn3LnFYSvV/test project of mine Only in '/home/ubuntu/test-arcv/test project of mine': 'file C.txt' diff --no-dereference -r '--color=always' -u -X '/tmp/arcv-test-archive/test project of mine.archive/EXCLUDE' "/tmp/Arcv.tmp.rn3LnFYSvV/test project of mine/system configs/sys config1.yml" "/home/ubuntu/test-arcv/test project of mine/system configs/sys config1.yml" --- "/tmp/Arcv.tmp.rn3LnFYSvV/test project of mine/system configs/sys config1.yml" 2026-09-07 00:34:11.000000000 +0200 +++ "/home/ubuntu/test-arcv/test project of mine/system configs/sys config1.yml" 2026-09-07 00:34:16.040849595 +0200 @@ -1 +1,2 @@ param1: 100 +param1: 101 Only in '/home/ubuntu/test-arcv/test project of mine/system configs': 'sys config2.yml' Only in '/tmp/Arcv.tmp.rn3LnFYSvV/test project of mine/system configs': 'sys config3.yml' [!p[?3;4l>[?69l OK: 1 returned by 'av diff 0' , is != of 0 Inspecting changes file C.txt is the same between head folder and revision folder sys config2.yml is the same between head folder and revision folder file C.txt is the same between head folder and original source folder sys config2.yml is the same between head folder and original source folder OK '/tmp/arcv-test-archive/test project of mine.archive/test project of mine.archive1/test project of mine/system configs/sys config1.yml' last line is correct ('param1: 101') Creating branch 'fun project' $ av --silent -yy branch "fun project" info The branch is going to be created in a folder '../fun project' from head revision 1 task Branch creation in folder ../fun project  task Branch creation in folder ../fun project [ OK ] task Branch 'fun project' commit in '/home/ubuntu/test-arcv/fun project' task Branch 'fun project' commit in '/home/ubuntu/test-arcv/fun project'[ OK ] OK: '/tmp/arcv-test-archive/fun project.archive/fun project.archive0/fun project/system configs/sys config3.yml': not there OK: '/tmp/arcv-test-archive/fun project.archive/head/fun project/system configs/sys config3.yml': not there OK: '/tmp/arcv-test-archive/fun project.archive/head/fun project/videofile.mp4': not there OK: '/tmp/arcv-test-archive/fun project.archive/head/fun project/system configs/screenshot.jpg': not there OK: '/tmp/arcv-test-archive/fun project.archive/fun project.archive0/fun project/videofile.mp4': not there OK: '/tmp/arcv-test-archive/fun project.archive/fun project.archive0/fun project/system configs/screenshot.jpg': not there OK: '/tmp/arcv-test-archive/fun project.archive/head/fun project/another_videofile.mp4': not there OK: '/tmp/arcv-test-archive/fun project.archive/head/fun project/system configs/another_screenshot.jpg': not there OK: '/tmp/arcv-test-archive/fun project.archive/fun project.archive0/fun project/another_videofile.mp4': not there OK: '/tmp/arcv-test-archive/fun project.archive/fun project.archive0/fun project/system configs/another_screenshot.jpg': not there Checking out rev 0 in '/tmp/test av' task Revision 0 checkout in folder ../../../../tmp/test av/test project of mine-rev0  task Revision 0 checkout in folder ../../../../tmp/test av/test project of mine-rev0 [ OK ] OK 'file A.txt' content is correct ('Test file A') OK 'file B.txt' content is correct ('Test file B') OK 'system configs/sys config1.yml' content is correct ('param1: 100') OK 'system configs/sys config3.yml' content is correct ('param1: 300') OK: 'file C.txt': not there OK: 'system configs/sys config2.yml': not there OK: 'videofile.mp4': not there OK: 'system configs/screenshot.jpg': not there Checking out head in '/tmp/' using explicit source name task Checking out head revision to '/tmp/test project of mine'  task Checking out head revision to '/tmp/test project of mine' [ OK ] OK: 'system configs/sys config2.yml': present OK: 'system configs/sys config3.yml': not there OK 'file A.txt' content is correct ('Test file A') OK 'system configs/sys config1.yml' last line is correct ('param1: 101') OK: 'videofile.mp4': not there OK: 'system configs/screenshot.jpg': not there OK: 'another_videofile.mp4': not there OK: 'system configs/another_screenshot.jpg': not there [?12l[?25h getshot has finished. info EXECUTING PLAN 'init' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN init Initiate a revision control STEP 1 09/07/26 00:34 Example of putting a source folder under revision control $ ls -l . total 8 -rw-r--r-- 1 ubuntu ubuntu 12 Sep 7 00:34 file_A.txt -rw-r--r-- 1 ubuntu ubuntu 12 Sep 7 00:34 file_B.txt $ arcv -yy warning An archive repository does not exist yet for source folder '/home/ubuntu/test-arcv/test-project'. [?12l[?25h  info Committed first revision 9795d1a1edba795c OK: output of 'av rev' is correct $ av rev 0 $ av log 0 2026-09-07 00:34:32 Creation $ av log --verbose 0 2026-09-07 00:34:32 Creation file_A.txt file_B.txt Operation finished. $ av info SRC: /home/ubuntu/test-arcv/test-project info REV: 0 (hash 9795d1a1edba795c153955500f1bcc3e154c4fa1b53830e9ad555dc927295b73) task Installing package net-tools (APT) task Installing package net-tools (APT)[ OK ] info No change in source [?12l[?25h getshot has finished. info EXECUTING PLAN 'addfiles' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN addfiles Check-in a new file STEP 1 09/07/26 00:34 Example of check-in of a new file $ echo "This is a new test report" > "test_report.txt" $ arcv check --verbose && _exit -1 "Error: no change detected and should have" || echo "OK change detected" There are new files for revision 0 [!p[?3;4l>[?69l OK change detected $ arcv -y -m "added test report" info SRC: /home/ubuntu/test-arcv/test-project info REV: 0 (hash 9795d1a1edba795c153955500f1bcc3e154c4fa1b53830e9ad555dc927295b73) New: test_report.txt Previous logs: 0 2026-09-07 00:34:32 Creation Commit: Folder /home/ubuntu/test-arcv/test-project is going to backed up as revision 1 inside: /tmp/arcv-test-archive/test-project.archive/test-project.archive1 info Committed revision 1 signed e32d952b5f18d99e $ arcv check --verbose || _exit -1 "Error: change detected and shouldn't have" Image is up-to-date. Revision is 1 OK: output of 'av rev' is correct $ av log 1 2026-09-07 00:34:41 added test report 0 2026-09-07 00:34:32 Creation Inspecting repository revision folder OK: '/tmp/arcv-test-archive/test-project.archive/test-project.archive1/test-project/file_A.txt': not there OK: '/tmp/arcv-test-archive/test-project.archive/test-project.archive1/test-project/file_B.txt': not there OK '/tmp/arcv-test-archive/test-project.archive/test-project.archive1/test-project/test_report.txt' content is correct ('This is a new test report') $ av rev 1 $ av log --verbose 1 2026-09-07 00:34:41 added test report test_report.txt 0 2026-09-07 00:34:32 Creation file_A.txt file_B.txt Operation finished. [?12l[?25h getshot has finished. info EXECUTING PLAN 'removefiles' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN removefiles Check-in a file for deletion STEP 1 09/07/26 00:34 Example of check-in a new file for deletion $ rm file_A.txt $ arcv check --verbose && _exit -1 "Error: no change detected and should have" || echo "OK change detected" There are deleted files for revision 1 [!p[?3;4l>[?69l OK change detected $ arcv -y -m "Removed file A" info SRC: /home/ubuntu/test-arcv/test-project info REV: 1 (hash e32d952b5f18d99e62d85607c6992221da9d9996cd248c81a7901fa35a7ed908) Deleted: file_A.txt Previous logs: 1 2026-09-07 00:34:41 added test report 0 2026-09-07 00:34:32 Creation Commit: Folder /home/ubuntu/test-arcv/test-project is going to backed up as revision 2 inside: /tmp/arcv-test-archive/test-project.archive/test-project.archive2 info Committed revision 2 signed db363b9eb3b40903 $ arcv check --verbose || _exit -1 "Error: change detected and shouldn't have" Image is up-to-date. Revision is 2 OK: output of 'av rev' is correct Inspecting repository revision folder OK: '/tmp/arcv-test-archive/test-project.archive/test-project.archive2/test-project/file_A.txt': not there OK: '/tmp/arcv-test-archive/test-project.archive/test-project.archive2/test-project/file_B.txt': not there OK: '/tmp/arcv-test-archive/test-project.archive/test-project.archive2/test-project/test_report.txt': not there OK '/tmp/arcv-test-archive/test-project.archive/test-project.archive2/DROPPED' content is correct ('- test-project/file_A.txt') $ av rev 2 $ av log --verbose 2 2026-09-07 00:34:49 Removed file A file_A.txt 1 2026-09-07 00:34:41 added test report test_report.txt 0 2026-09-07 00:34:32 Creation file_A.txt file_B.txt Operation finished. [?12l[?25h getshot has finished. info EXECUTING PLAN 'modifyfiles' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN modifyfiles Check-in a modified file STEP 1 09/07/26 00:34 Example of check-in of a modified file $ echo "Test result is OK" >> "test_report.txt" There are modified files for revision 2 [!p[?3;4l>[?69l OK change detected $ arcv -y -m "Update report with test result" info SRC: /home/ubuntu/test-arcv/test-project info REV: 2 (hash db363b9eb3b40903645b90c35afa131ab61794d6da3178ca0fa12627793cafe7) Changed: test_report.txt Previous logs: 2 2026-09-07 00:34:49 Removed file A 1 2026-09-07 00:34:41 added test report 0 2026-09-07 00:34:32 Creation Commit: Folder /home/ubuntu/test-arcv/test-project is going to backed up as revision 3 inside: /tmp/arcv-test-archive/test-project.archive/test-project.archive3 info Committed revision 3 signed be95140d79849b1c $ arcv check --verbose || _exit -1 "Error: change detected and shouldn't have" Image is up-to-date. Revision is 3 OK: output of 'av rev' is correct Inspecting repository revision folder OK '/tmp/arcv-test-archive/test-project.archive/test-project.archive3/test-project/test_report.txt' last line is correct ('Test result is OK') OK: '/tmp/arcv-test-archive/test-project.archive/test-project.archive3/test-project/file_A.txt': not there OK: '/tmp/arcv-test-archive/test-project.archive/test-project.archive3/test-project/file_B.txt': not there $ av rev 3 $ av log --verbose 3 2026-09-07 00:34:56 Update report with test result test_report.txt 2 2026-09-07 00:34:49 Removed file A file_A.txt 1 2026-09-07 00:34:41 added test report test_report.txt 0 2026-09-07 00:34:32 Creation file_A.txt file_B.txt Operation finished. [?12l[?25h getshot has finished. info EXECUTING PLAN 'checkoutrev' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN checkoutrev Checkout a revision STEP 1 09/07/26 00:35 Example of check-out of a revision Image is up-to-date. Revision is 3 $ av co 0 -o /tmp task Revision 0 checkout in folder ../../../../tmp/test-project-rev0  task Revision 0 checkout in folder ../../../../tmp/test-project-rev0 [ OK ] file_A.txt file_B.txt OK 'file_A.txt' content is correct ('Test file A') OK 'file_B.txt' content is correct ('Test file B') Image is up-to-date. Revision is 3 [?12l[?25h getshot has finished. info EXECUTING PLAN 'checkoutfile' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN checkoutfile Checkout a file from head revision to restore it after modification STEP 1 09/07/26 00:35 Example of restoring a modified file from head revision $ cat "test_report.txt" This is a new test report Test result is OK $ echo "Line with errors" >> "test_report.txt" There are modified files for revision 3 [!p[?3;4l>[?69l OK change detected OK 'test_report.txt' last line is correct ('Line with errors') $ arcv -y co "test_report.txt" old file saved to '/tmp/arcv-test-archive/test-project.archive/dropped/.#modified.3.20260907-0035.test_report.txt' info Successfully restored test_report.txt from revison 3 OK: output of 'av rev' is correct OK 'test_report.txt' last line is correct ('Test result is OK') $ arcv co "test_report.txt" info /home/ubuntu/test-arcv/test-project/test_report.txt is already up-to-date Image is up-to-date. Revision is 3 OK 'test_report.txt' last line is correct ('Test result is OK') [?12l[?25h getshot has finished. info EXECUTING PLAN 'checkoutfilefromrev' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN checkoutfilefromrev Checkout a file from a specific revision STEP 1 09/07/26 00:35 Example of check-out of a modified file from a random revision $ cat "test_report.txt" This is a new test report Test result is OK Restoring revision 1 containing only first line $ arcv -y co "test_report.txt:1" old file saved to '/tmp/arcv-test-archive/test-project.archive/dropped/.#modified.3.20260907-0035.test_report.txt' info Successfully restored test_report.txt from revison 1 OK 'test_report.txt' last line is correct ('This is a new test report') Testing checkout scenario with invalid revision numbers OK it was detected revision 0 does not exist for the file OK it was detected revision 100 does not exist for the file Restoring back head revision containing the 2 lines $ arcv -y co "test_report.txt" old file saved to '/tmp/arcv-test-archive/test-project.archive/dropped/.#modified.3.20260907-0035.test_report.txt' info Successfully restored test_report.txt from revison 3 OK 'test_report.txt' last line is correct ('Test result is OK') [?12l[?25h getshot has finished. info EXECUTING PLAN 'checkoutdirfromrev' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN checkoutdirfromrev Checkout a subfolder to restore it after modification STEP 1 09/07/26 00:35 Example of check-out of a modified subfolder Adding and committing subfolder named 'subdir' plus file_D.txt below with line 'This is file D' There are new files for revision 3 [!p[?3;4l>[?69l OK change detected [?12l[?25h  info Committed revision 4 signed eac5d31b96a995e0 Adding extra line for file_D.txt [?12l[?25h  info Committed revision 5 signed dfccd3337c2a9525 Checking out initial version of 'subdir' $ arcv -y co subdir:$(( $(av rev) - 1)) old file saved to '/tmp/arcv-test-archive/test-project.archive/dropped/.#modified.5.20260907-0035.subdir/' info Successfully restored subdir from revison 4 OK 'subdir/file_D.txt' last line is correct ('This is file D') Checking out latest version of 'subdir' $ arcv -y co subdir old file saved to '/tmp/arcv-test-archive/test-project.archive/dropped/.#modified.5.20260907-0035.subdir/' info Successfully restored subdir from revison 5 OK 'subdir/file_D.txt' last line is correct ('Extra line for file D') [?12l[?25h getshot has finished. info EXECUTING PLAN 'checkoutreltag' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN checkoutreltag Checkout a release from a release tag STEP 1 09/07/26 00:35 Example of check-out of a release $ echo "This is a new test report" > "test_report.txt"  info Committed revision 6 signed da6ebde05fcd69fc $ av -yy pub -m "A test release 1.0.0" || _exit -1 "Failed to create release tag" info SRC: /home/ubuntu/test-arcv/test-project info REV: 5 (hash da6ebde05fcd69fc61e59051682b2a81a8af0bd9cfa1cab03a0c0c9dd56ae5aa) info No change in source  info Committed revision 7 signed 456cb56102a3ebc7 info Created VERSION.txt info Going to create release tag R1.0.0 info Successfully created release tag R1.0.0 for revision 7 Now applying changes after tag: remove file_B.txt and add extra line to test_report.txt $ rm file_B.txt $ echo "Extended test report" >> "test_report.txt"  info Committed revision 8 signed 8cceb2fc4faef16b Checking out tagged release 1.0.0 and checking sources for correcness (file_A.txt deleted in previous test) $ av co R1.0.0 -o /tmp task Release R1.0.0 checkout in folder ../../../../tmp/test-project-R1.0.0  task Release R1.0.0 checkout in folder ../../../../tmp/test-project-R1.0.0 [ OK ] Image is up-to-date. Revision is 8 $ ls /tmp/test-project-R1.0.0 VERSION.txt file_B.txt subdir test_report.txt OK: 'file_A.txt': not there OK 'file_B.txt' content is correct ('Test file B') OK 'test_report.txt' content is correct ('This is a new test report') [?12l[?25h getshot has finished. info EXECUTING PLAN 'checkoutfile_with_removed_files' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN checkoutfile_with_removed_files Checkout a revision by its number STEP 1 09/07/26 00:35 Example of checkout of a revision containing anterior commits with removed files [?12l[?25h   info Committed first revision 8cd8d17207a4ba0e  info Committed revision 1 signed 51556b2ad62e09b3  info Committed revision 2 signed 8cd8d17207a4ba0e  info Committed revision 3 signed e40c112d54bc9ea5  info Committed revision 4 signed d7e12940945d003b $ av log 4 2026-09-07 00:35:38 Added line to file A 3 2026-09-07 00:35:37 Removed test file B 2 2026-09-07 00:35:36 Removed test report 1 2026-09-07 00:35:35 Added test report 0 2026-09-07 00:35:34 Creation $ av co 3 -o /tmp || _exit -1 "Error: check out failed" task Revision 3 checkout in folder ../../../../tmp/test-project-rev3  task Revision 3 checkout in folder ../../../../tmp/test-project-rev3 [ OK ] OK: '/tmp/test-project-rev3/test_report.txt': not there OK: '/tmp/test-project-rev3/file_B.txt': not there OK '/tmp/test-project-rev3/file_A.txt' last line is correct ('Test file A') $ av co 4 -o /tmp || _exit -1 "Error: check out failed" task Revision 4 checkout in folder ../../../../tmp/test-project-rev4  task Revision 4 checkout in folder ../../../../tmp/test-project-rev4 [ OK ] OK: '/tmp/test-project-rev3/test_report.txt': not there OK: '/tmp/test-project-rev3/file_B.txt': not there OK '/tmp/test-project-rev4/file_A.txt' last line is correct ('A new line for file A. OK.') [?12l[?25h getshot has finished. info EXECUTING PLAN 'displayrev' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN displayrev Display current revision STEP 1 09/07/26 00:35 Example of showing current revision OK: output of 'av rev' is correct $ av rev 4 $ av log 4 2026-09-07 00:35:38 Added line to file A 3 2026-09-07 00:35:37 Removed test file B 2 2026-09-07 00:35:36 Removed test report 1 2026-09-07 00:35:35 Added test report 0 2026-09-07 00:35:34 Creation [?12l[?25h getshot has finished. info EXECUTING PLAN 'checkoutheadrev' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN checkoutheadrev Checkout head revision into the current source STEP 1 09/07/26 00:35 Example of checkout of all head revision files [?12l[?25h   info Committed first revision cef63cff1eb1ba10 $ rm file_B.txt $ echo "A new line for file A. OK." >> "file_A.txt" $ arcv check --verbose && _exit -1 "Error: no change detected and should have" || echo "OK change detected" Permission-only change:  There are deleted, modified files for revision 0 [!p[?3;4l>[?69l OK change detected Diffing, pls check manually $ av diff || true COMPARING /home/ubuntu/test-arcv/test-project with revision head : /tmp/arcv-test-archive/test-project.archive/head/test-project diff --no-dereference -r '--color=always' -u -X /tmp/arcv-test-archive/test-project.archive/EXCLUDE /tmp/arcv-test-archive/test-project.archive/head/test-project/file_A.txt /home/ubuntu/test-arcv/test-project/file_A.txt --- /tmp/arcv-test-archive/test-project.archive/head/test-project/file_A.txt 2026-09-07 00:35:47.000000000 +0200 +++ /home/ubuntu/test-arcv/test-project/file_A.txt 2026-09-07 00:35:48.957698767 +0200 @@ -1 +1,2 @@ Test file A +A new line for file A. OK. Only in /tmp/arcv-test-archive/test-project.archive/head/test-project: file_B.txt [!p[?3;4l>[?69l Checking out head revision $ av -y co || _exit -1 "Error: check out head revision failed" task Updating current source with head revision task Updating current source with head revision[ OK ] Inspecting checked out files $ ls -l total 8 -rw-r--r-- 1 ubuntu ubuntu 12 Sep 7 00:35 file_A.txt -rw-r--r-- 1 ubuntu ubuntu 12 Sep 7 00:35 file_B.txt OK 'file_A.txt' content is correct ('Test file A') OK 'file_B.txt' content is correct ('Test file B') [?12l[?25h getshot has finished. info EXECUTING PLAN 'checkoutsource' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN checkoutsource Checkout any source folder stored in the repository in a random location STEP 1 09/07/26 00:35 Example of checkout of head revision of a test project into the current directory [?12l[?25h   info Committed first revision 37490074e73b22d8 info SRC: /home/ubuntu/test-arcv/test-project info test-project is the first archived version info No change in source  info Committed revision 1 signed 4f5e713b69f46a1c info Created VERSION.txt info Going to create release tag R1.0.0 info Successfully created release tag R1.0.0 for revision 1 info Successfully restored VERSION.txt from revison 1 $ echo "Additional line for file A" >> file_A.txt $ echo "Additional line for file B" >> file_B.txt  info Committed revision 2 signed 3a9a3017f23dfe8e $ echo "This is file C" > "file_C.txt"  info Committed revision 3 signed f901648b13b3baae Change directory to /home/ubuntu/checkoutsource-test-folder Checking out source from repo $ av -y co --source=test-project || _exit -1 "Error: check out head revision failed" task Checking out head revision to '/home/ubuntu/checkoutsource-test-folder/test-project'  task Checking out head revision to '/home/ubuntu/checkoutsource-test-folder/test-project' [ OK ] OK 'test-project/file_A.txt' last line is correct ('Additional line for file A') OK 'test-project/file_B.txt' last line is correct ('Additional line for file B') $ Test__assertFilesShouldExist "test-project/file_C.txt" OK: 'test-project/file_C.txt': present [?12l[?25h getshot has finished. ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN checkoutsource Checkout any source folder stored in the repository in a random location STEP 2 09/07/26 00:36 Example of checkout of a tagged release of a test project into the current directory Change directory to /home/ubuntu/checkoutsource-test-folder $ av -y co R1.0.0 --source=test-project || _exit -1 "Error: check out head revision failed" task Release R1.0.0 checkout in folder test-project-R1.0.0  task Release R1.0.0 checkout in folder test-project-R1.0.0 [ OK ] OK 'test-project-R1.0.0/file_A.txt' content is correct ('Test file A') OK 'test-project-R1.0.0/file_B.txt' content is correct ('Test file B') $ Test__assertFilesShouldNotExist "test-project-R1.0.0/file_C.txt" OK: 'test-project-R1.0.0/file_C.txt': not there [?12l[?25h getshot has finished. ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN checkoutsource Checkout any source folder stored in the repository in a random location STEP 3 09/07/26 00:36 Example of checkout of a specific revision of a test project into the current directory Change directory to /home/ubuntu/checkoutsource-test-folder $ av -y co 2 --source=test-project || _exit -1 "Error: check out head revision failed" task Revision 2 checkout in folder test-project-rev2  task Revision 2 checkout in folder test-project-rev2 [ OK ] OK 'test-project/file_A.txt' last line is correct ('Additional line for file A') OK 'test-project/file_B.txt' last line is correct ('Additional line for file B') $ Test__assertFilesShouldNotExist "test-project-rev2/file_C.txt" OK: 'test-project-rev2/file_C.txt': not there [?12l[?25h getshot has finished. ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN checkoutsource Checkout any source folder stored in the repository in a random location STEP 4 09/07/26 00:36 Example of checkout of head revision of a test project into a specific output folder [?12l[?25h   info Committed first revision 02044390530ab091 info SRC: /home/ubuntu/test-arcv/test-project info test-project is the first archived version info No change in source  info Committed revision 1 signed 0e16eca2ad2bdde9 info Created VERSION.txt info Going to create release tag R1.0.0 info Successfully created release tag R1.0.0 for revision 1 info Successfully restored VERSION.txt from revison 1 $ echo "Additional line for file A" >> file_A.txt $ echo "Additional line for file B" >> file_B.txt  info Committed revision 2 signed cc375f8dc7bcf155 $ av -y co --source=test-project -o /tmp || _exit -1 "Error: check out head revision failed" task Checking out head revision to '/tmp/test-project'  task Checking out head revision to '/tmp/test-project' [ OK ] OK '/tmp/test-project/file_A.txt' last line is correct ('Additional line for file A') OK '/tmp/test-project/file_B.txt' last line is correct ('Additional line for file B') [?12l[?25h getshot has finished. info EXECUTING PLAN 'displaylog' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN displaylog Display revision history of a source folder STEP 1 09/07/26 00:36 Example of showing short and long revision log messages [?12l[?25h   info Committed first revision d40dca8cc6c20208 Permission-only change:    info Committed revision 1 signed 7d844b30127763c1 $ av log 1 2026-09-07 00:36:23 Updated file set to demonstrate log list 0 2026-09-07 00:36:22 Creation OK: 'av log --fmt=plain|cut -d" " -f2,3 --complement' output is correct OK: output of 'av log --fmt=plain|cut -d" " -f2' is correct $ av log --verbose 1 2026-09-07 00:36:23 Updated file set to demonstrate log list file_C.txt file_B.txt file_A.txt 0 2026-09-07 00:36:22 Creation file_A.txt file_B.txt Operation finished. OK: 'av log --verbose --fmt=plain|cut -d" " -f2,3 --complement' output is correct [?12l[?25h getshot has finished. ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN displaylog Display revision history of a source folder STEP 2 09/07/26 00:36 Example of log messages for a certain range of revisions OK: 'av log --from=0 --fmt=plain|cut -d" " -f2,3 --complement' output is correct OK: 'av log --from=2 --fmt=plain|cut -d" " -f2,3 --complement' output is correct OK: 'av log --from=4 --fmt=plain|cut -d" " -f2,3 --complement' output is correct error The specified most recent start revision 5 (5) is superior to the head revision 4 error Operation ended with a failure. Please check above messages. [!p[?3;4l>[?69l OK: 255 returned by 'av log --silent --from=5' , is != of 0 OK: 'av log --to=4 --fmt=plain|cut -d" " -f2,3 --complement' output is correct OK: 'av log --to=2 --fmt=plain|cut -d" " -f2,3 --complement' output is correct OK: 'av log --to=0 --fmt=plain|cut -d" " -f2,3 --complement' output is correct error The specified most recent start revision 4 (4) is inferior to the specific end revision 5 (5) error Operation ended with a failure. Please check above messages. [!p[?3;4l>[?69l OK: 255 returned by 'av log --silent --to=5' , is != of 0 OK: 'av log --from=3 --to=1 --fmt=plain|cut -d" " -f2,3 --complement' output is correct error The specified most recent start revision 3 (3) is inferior to the specific end revision 4 (4) error Operation ended with a failure. Please check above messages. [!p[?3;4l>[?69l OK: 255 returned by 'av log --silent --from=3 --to=4' , is != of 0 [?12l[?25h getshot has finished. info EXECUTING PLAN 'displaylog_menu' warning Live recording skipped for 'Example of interacting with the revision history menu to perform diffs' since interactive mode disabled info EXECUTING PLAN 'displayfilelog' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN displayfilelog Display revision history of a file STEP 1 09/07/26 00:36 Example of showing revision log messages of a file $ av log file_A.txt 4 2026-09-07 00:36:45 added stamp 4 line to file A 3 2026-09-07 00:36:44 added stamp 3 line to file A 2 2026-09-07 00:36:43 added stamp 2 line to file A 1 2026-09-07 00:36:43 added stamp 1 line to file A 0 2026-09-07 00:36:42 Creation $ av log file_A.txt --from=3 --to=1 3 2026-09-07 00:36:44 added stamp 3 line to file A 2 2026-09-07 00:36:43 added stamp 2 line to file A 1 2026-09-07 00:36:43 added stamp 1 line to file A OK: 'av log file_A.txt --from=0 --fmt=plain|cut -d" " -f2,3 --complement' output is correct OK: 'av log file_A.txt --from=2 --fmt=plain|cut -d" " -f2,3 --complement' output is correct OK: 'av log file_A.txt --from=4 --fmt=plain|cut -d" " -f2,3 --complement' output is correct error The specified most recent start revision 5 (5) is superior to the head revision 4 error Operation ended with a failure. Please check above messages. [!p[?3;4l>[?69l OK: 255 returned by 'av log --silent --from=5' , is != of 0 OK: 'av log file_A.txt --to=4 --fmt=plain|cut -d" " -f2,3 --complement' output is correct OK: 'av log file_A.txt --to=2 --fmt=plain|cut -d" " -f2,3 --complement' output is correct OK: 'av log file_A.txt --to=0 --fmt=plain|cut -d" " -f2,3 --complement' output is correct error The specified most recent start revision 4 (4) is inferior to the specific end revision 5 (5) error Operation ended with a failure. Please check above messages. [!p[?3;4l>[?69l OK: 255 returned by 'av log --silent --to=5' , is != of 0 OK: 'av log file_A.txt --from=3 --to=1 --fmt=plain|cut -d" " -f2,3 --complement' output is correct error The specified most recent start revision 3 (3) is inferior to the specific end revision 4 (4) error Operation ended with a failure. Please check above messages. [!p[?3;4l>[?69l OK: 255 returned by 'av log file_A.txt --silent --from=3 --to=4' , is != of 0 [?12l[?25h getshot has finished. info EXECUTING PLAN 'displayfilelog_menu' warning Live recording skipped for 'Example of interacting with the file revision history menu to perform diffs' since interactive mode disabled info EXECUTING PLAN 'displayfilelog_av' warning Live recording skipped for 'Example of checking a large file revision history (arcv)' since interactive mode disabled info EXECUTING PLAN 'displayreleaselog' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN displayreleaselog Display release tag history STEP 1 09/07/26 00:36 Example of release tag history display  info Committed revision 1 signed d324ef662a637d13 $ av -yy pub -m "A test release 1.0.0" || _exit -1 "Failed to create release tag" info SRC: /home/ubuntu/test-arcv/test-project info REV: 0 (hash d324ef662a637d13b3dc45e31b97845a0c6ac89fe55c0abe0dd517b51f076bd5) info No change in source  info Committed revision 2 signed 00033b1f2e3a01a1 info Created VERSION.txt info Going to create release tag R1.0.0 info Successfully created release tag R1.0.0 for revision 2 $ echo "2.0.0" > VERSION.txt  info Committed revision 3 signed 4957e1b9300babfe  info Committed revision 4 signed b377d6ebca417225  info Committed revision 5 signed 4641e056dbb89660 $ av -yy pub -m "A test release 2.0.0" || _exit -1 "Failed to create release tag" info SRC: /home/ubuntu/test-arcv/test-project info REV: 4 (hash 4641e056dbb89660f9f8acad761a72fa520a89812c576fe183e191df93ff9811) info No change in source info Going to create release tag R2.0.0 info Successfully created release tag R2.0.0 for revision 5 $ av rel R2.0.0 5 A test release 2.0.0 R1.0.0 2 A test release 1.0.0 OK: 'av rel --fmt=plain' output is correct [?12l[?25h getshot has finished. info EXECUTING PLAN 'displayreleaselog_menu' warning Live recording skipped for 'Example of interacting with the release menu to perform diffs' since interactive mode disabled info EXECUTING PLAN 'displayhash' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN displayhash Display hash signature of the head revision STEP 1 09/07/26 00:37 Example of showing the hash signature of head revision info arcv run from riffian-dell, storage on riffian will be accessed vi mountpoint /tmp/arcv-test-archive warning An archive repository does not exist yet for source folder '/home/ubuntu/test-arcv/test-project'. [?12l[?25h  task Creating archive version 0 task Creating archive version 0[ OK ] task Updating CHANGE_LOG task Updating CHANGE_LOG[ OK ] task Cleaning archive version 0 : pruning empty folders, removing symlinks task Cleaning archive version 0 : pruning empty folders, removing symlinks[ OK ] task Updating HEAD task Updating HEAD[ OK ] info Committed first revision signed 5c0dee9dcab3711bd19eeb16a8a3c2c6c3ce150d7c85133c1137e90c1145a542 Operation finished. $ av hash 5c0dee9dcab3711bd19eeb16a8a3c2c6c3ce150d7c85133c1137e90c1145a542 $ av co -o /tmp task Checking out head revision to '/tmp/test-project'  task Checking out head revision to '/tmp/test-project' [ OK ] OK: '5c0dee9dcab3711bd19eeb16a8a3c2c6c3ce150d7c85133c1137e90c1145a542' was output by both commands 'av hash' and 'av hash /tmp/test-project' [?12l[?25h getshot has finished. info EXECUTING PLAN 'checkhash' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN checkhash Recompute and check hash signatures from checked out folders STEP 1 09/07/26 00:37 Example of showing how the hash signature can be recomputed and crosschecked with the original one established at commit info arcv run from riffian-dell, storage on riffian will be accessed vi mountpoint /tmp/arcv-test-archive warning An archive repository does not exist yet for source folder '/home/ubuntu/test-arcv/test-project'. [?12l[?25h  task Creating archive version 0 task Creating archive version 0[ OK ] task Updating CHANGE_LOG task Updating CHANGE_LOG[ OK ] task Cleaning archive version 0 : pruning empty folders, removing symlinks task Cleaning archive version 0 : pruning empty folders, removing symlinks[ OK ] task Updating HEAD task Updating HEAD[ OK ] info Committed first revision signed f5ea740b44baf3437b2f1f719c2455161fa20b0ce7c135feda98504506a8b927 Operation finished. Checking hash for a head revision checkout task Checking out head revision to '/tmp/test-project'  task Checking out head revision to '/tmp/test-project' [ OK ] OK: 'f5ea740b44baf3437b2f1f719c2455161fa20b0ce7c135feda98504506a8b927' was output by both commands 'av hash' and 'av hash /tmp/test-project' $ mkdir pack && echo fileC > pack/fileC $ mkdir mydir && echo fileD > mydir/fileD [?12l[?25h  info Committed revision 1 signed be943043a93a6e13 task Revision 1 checkout in folder ../../../../tmp/test-project-rev1  task Revision 1 checkout in folder ../../../../tmp/test-project-rev1 [ OK ] OK: 'be943043a93a6e134c77c465600f754dea340a8e892c44e2b155087acc052205' was output by both commands 'av hash' and 'av hash /tmp/test-project-rev1' $ echo extraline >> pack/fileC $ echo fileF >> pack/fileF # Creating a new file forced the time info of folder to be updated to a more recent one than before $ mkdir mydir2 # empty folder $ mkdir mydir3 && echo fileE > mydir3/fileE [?12l[?25h  info Committed revision 2 signed b3692d4977e2e5b6 task Revision 2 checkout in folder ../../../../tmp/test-project-rev2  task Revision 2 checkout in folder ../../../../tmp/test-project-rev2 [ OK ] OK: 'b3692d4977e2e5b681efafb3c9803836d3b27b092d382e1bb5ab97dacfa0fb0d' was output by both commands 'av hash' and 'av hash /tmp/test-project-rev2' task Checking out head revision to '/tmp/test-project'  task Checking out head revision to '/tmp/test-project' [ OK ] OK: 'b3692d4977e2e5b681efafb3c9803836d3b27b092d382e1bb5ab97dacfa0fb0d' was output by both commands 'av hash' and 'av hash /tmp/test-project' task Revision 1 checkout in folder ../../../../tmp/test-project-rev1  task Revision 1 checkout in folder ../../../../tmp/test-project-rev1 [ OK ] OK: 'be943043a93a6e134c77c465600f754dea340a8e892c44e2b155087acc052205' was output by both commands 'cat /tmp/hasrev1' and 'av hash /tmp/test-project-rev1' [?12l[?25h getshot has finished. info EXECUTING PLAN 'listsources' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN listsources List the source folders stored in the repository STEP 1 09/07/26 00:37 Example of listing of the source folders stored in the repository info arcv run from riffian-dell, storage on riffian will be accessed vi mountpoint /tmp/arcv-test-archive warning An archive repository does not exist yet for source folder '/home/ubuntu/test-arcv/test-project'. [?12l[?25h  task Creating archive version 0 task Creating archive version 0[ OK ] task Updating CHANGE_LOG task Updating CHANGE_LOG[ OK ] task Cleaning archive version 0 : pruning empty folders, removing symlinks task Cleaning archive version 0 : pruning empty folders, removing symlinks[ OK ] task Updating HEAD task Updating HEAD[ OK ] info Committed first revision signed 8589f152e51931ff744df58c14873b0a64b5aa1fc8db7c1291188b8d44645e0a Operation finished. info arcv run from riffian-dell, storage on riffian will be accessed vi mountpoint /tmp/arcv-test-archive warning An archive repository does not exist yet for source folder '/home/ubuntu/test-arcv/test project of mine'. [?12l[?25h  task Creating archive version 0 task Creating archive version 0[ OK ] task Updating CHANGE_LOG task Updating CHANGE_LOG[ OK ] task Cleaning archive version 0 : pruning empty folders, removing symlinks task Cleaning archive version 0 : pruning empty folders, removing symlinks[ OK ] task Updating HEAD task Updating HEAD[ OK ] info Committed first revision signed 89f7b6b1d0c805b8194c5a706ed58a755e482d7d0b53aa89f9d9849c72b3c2f5 Operation finished. $ av list Source Head Hash Owner test project of mine 0 89f7b6b1d0c805b8 ubuntu (1000) test-project 0 8589f152e51931ff ubuntu (1000) [?12l[?25h getshot has finished. info EXECUTING PLAN 'repoinfo' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN repoinfo Display all available internal repository information STEP 1 09/07/26 00:37 Example of display of all available internal repository information error Failed to determine current revision, '/tmp/arcv-test-archive/head/REV' file not found. Repository may be corrupt. [!p[?3;4l>[?69l OK: 255 returned by 'av repo' , is != of 0 [?12l[?25h   info Committed first revision e25931d4ab99ca01 $ av repo release-dir /tmp/arcv-test-archive/test-project.archive/releases release-hooks No hook defined yet releases No release tag has been created yet latest-release-tag latest-release-rev exclude-file /tmp/arcv-test-archive/test-project.archive/EXCLUDE exclusions .nfs*,.swp*,RCS,SCCS,CVS,CVS.adm,RCSLOG,cvslog.*,tags,TAGS,.make.state,.nse_depi- nfo,*~,,*,_$*,*$,*.old,*.bak,*.BAK,*.orig,*.rej,.del-*,*.a,*.olb,*.o,*.obj,*.so,- *.exe,*.Z,*.elc,*.ln,core,.svn,.git,.hg,.bzr src-dir /tmp/arcv-test-archive/test-project.archive/ rev-dir /tmp/arcv-test-archive/test-project.archive/test-project.archive0 rev-hashfilepath /tmp/arcv-test-archive/test-project.archive/test-project.archive0/._arcv_sha256_test-project rev-hashfilename ._arcv_sha256_test-project head-dir /tmp/arcv-test-archive/test-project.archive/head head-image-dir /tmp/arcv-test-archive/test-project.archive/head/test-project git-repo /tmp/arcv-test-archive/test-project.archive/git size 12 KiB [?12l[?25h getshot has finished. ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN repoinfo Display all available internal repository information STEP 2 09/07/26 00:37 Example of display of all repository information containing release information $ rm file_A.txt $ echo "Additional line for file B" >> file_B.txt Permission-only change:    info Committed revision 1 signed 4e20b1ff952a9337 $ av -y pub MYTAG:1 -m "A version tagged with 'MYTAG'" _inArcVersion: '1' info Going to create release tag MYTAG for revision 1 info Successfully created tag MYTAG for revision 1 $ av repo release-dir /tmp/arcv-test-archive/test-project.archive/releases release-hooks No hook defined yet releases MYTAG 1 A version tagged with 'MYTAG' latest-release-tag MYTAG latest-release-rev 1 exclude-file /tmp/arcv-test-archive/test-project.archive/EXCLUDE exclusions .nfs*,.swp*,RCS,SCCS,CVS,CVS.adm,RCSLOG,cvslog.*,tags,TAGS,.make.state,.nse_depi- nfo,*~,,*,_$*,*$,*.old,*.bak,*.BAK,*.orig,*.rej,.del-*,*.a,*.olb,*.o,*.obj,*.so,- *.exe,*.Z,*.elc,*.ln,core,.svn,.git,.hg,.bzr src-dir /tmp/arcv-test-archive/test-project.archive/ rev-dir /tmp/arcv-test-archive/test-project.archive/test-project.archive1 rev-hashfilepath /tmp/arcv-test-archive/test-project.archive/test-project.archive1/._arcv_sha256_test-project rev-hashfilename ._arcv_sha256_test-project head-dir /tmp/arcv-test-archive/test-project.archive/head head-image-dir /tmp/arcv-test-archive/test-project.archive/head/test-project git-repo /tmp/arcv-test-archive/test-project.archive/git size 12 KiB [?12l[?25h getshot has finished. ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN repoinfo Display all available internal repository information STEP 3 09/07/26 00:37 Example of display of repository information which identifying name contains keyword 'release' $ echo "Second additional line for file B" >> file_B.txt  info Committed revision 2 signed bfbbe823a60fccbc  info Committed revision 3 signed 479d32c9c241c7e5 info Created VERSION.txt info Going to create release tag R1.0.0 info Successfully created release tag R1.0.0 for revision 3 info Successfully restored VERSION.txt from revison 3 $ av repo release latest-release-tag R1.0.0 latest-release-rev 3 releases R1.0.0 3 auto release MYTAG 1 A version tagged with 'MYTAG' release-dir /tmp/arcv-test-archive/test-project.archive/releases release-hooks No hook defined yet [?12l[?25h getshot has finished. ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN repoinfo Display all available internal repository information STEP 4 09/07/26 00:37 Example of display of repository information which identifying name contains keyword 'dir' $ av repo dir rev-dir /tmp/arcv-test-archive/test-project.archive/test-project.archive3 release-dir /tmp/arcv-test-archive/test-project.archive/releases src-dir /tmp/arcv-test-archive/test-project.archive/ head-dir /tmp/arcv-test-archive/test-project.archive/head head-image-dir /tmp/arcv-test-archive/test-project.archive/head/test-project [?12l[?25h getshot has finished. info EXECUTING PLAN 'checkup2date' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN checkup2date Check for modifications in a source folder under revision control STEP 1 09/07/26 00:37 Example of checking for modification in a source folder under revision control $ arcv check || echo "OK, properly detected folder not under rev control" error Failed to determine current revision, '/tmp/arcv-test-archive/head/REV' file not found. Repository may be corrupt. [!p[?3;4l>[?69l OK, properly detected folder not under rev control $ av --silent -y || "Error: first commit failed" [?12l[?25h   info Committed first revision e53abf460680e092 $ arcv check --verbose || _exit -1 "Error: change detected and shouldn't have" Image is up-to-date. Revision is 0 OK: output of 'arcv check --verbose ' is correct $ echo "extended file a content" >> "file_A.txt" $ arcv check --verbose && _exit -1 "Error: No change detected whereas file_A.txt changed." || echo "OK, a change was detected" There are modified files for revision 0 [!p[?3;4l>[?69l OK, a change was detected $ arcv --silent -y co file_A.txt info Successfully restored file_A.txt from revison 0 $ echo "This is my file C data" >> "file_C.txt" $ arcv check --verbose && _exit -1 "Error: No change detected whereas file_C.txt added." || echo "OK, file C addition detected!" There are new files for revision 0 [!p[?3;4l>[?69l OK, file C addition detected! $ rm "file_C.txt" "file_A.txt" $ arcv check --verbose && _exit -1 "Error: No change detected whereas file_A.txt removed." || echo "OK, file A removal detected!" There are deleted files for revision 0 [!p[?3;4l>[?69l OK, file A removal detected! $ arcv --silent -y co file_A.txt info Successfully restored file_A.txt from revison 0 $ arcv check --verbose || _exit -1 "Error: change detected and shouldn't have" Image is up-to-date. Revision is 0 [?12l[?25h getshot has finished. info EXECUTING PLAN 'modifyfileperms' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN modifyfileperms Check-in and check-out a file which permissions change STEP 1 09/07/26 00:38 Example of check-in of file which permissions changed $ umask 002 [?12l[?25h   info Committed first revision 57d8937033bdc3dd $ chmod 700 "file_A.txt" $ Test__assertCmd "ls -l file_A.txt | awk '{print \$1}'" "-rwx------" OK: output of 'ls -l file_A.txt | awk '{print $1}'' is correct $ arcv check --verbose && _exit -1 "Error: no change detected and should have" || echo "OK change detected" Permission-only change: file_A.txt : -rw-rw-r-- changed to -rwx------ There are changed permissions for files for revision 0 [!p[?3;4l>[?69l OK change detected $ arcv -y -m "Update file_A.txt with no access rights for others" info SRC: /home/ubuntu/test-arcv/test-project info REV: 0 (hash 57d8937033bdc3dd069cb79eeb8e99fe143d8268dc7941f1f2c1fdd58fad8085) Permission-only change: file_A.txt : -rw-rw-r-- changed to -rwx------ Previous logs: 0 2026-09-07 00:38:03 Creation Commit: Folder /home/ubuntu/test-arcv/test-project is going to backed up as revision 1 inside: /tmp/arcv-test-archive/test-project.archive/test-project.archive1 info Committed revision 1 signed ef9c0e6339dfc5eb $ chmod 777 "file_A.txt" $ Test__assertCmd "ls -l file_A.txt | awk '{print \$1}'" "-rwxrwxrwx" OK: output of 'ls -l file_A.txt | awk '{print $1}'' is correct $ arcv check --verbose && _exit -1 "Error: no change detected and should have" || echo "OK change detected" Permission-only change: file_A.txt : -rwx------ changed to -rwxrwxrwx There are changed permissions for files for revision 1 [!p[?3;4l>[?69l OK change detected $ av -y co file_A.txt old file saved to '/tmp/arcv-test-archive/test-project.archive/dropped/.#modified.1.20260907-0038.file_A.txt' info Successfully restored file_A.txt from revison 1 $ Test__assertCmd "ls -l file_A.txt | awk '{print \$1}'" "-rwx------" OK: output of 'ls -l file_A.txt | awk '{print $1}'' is correct [?12l[?25h getshot has finished. info EXECUTING PLAN 'modifydirperms' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN modifydirperms Check-in and check-out a directory which permissions change STEP 1 09/07/26 00:38 Example of check-in of directory which permissions changed $ umask 002 $ mkdir subdir $ echo "message" > subdir/testfile.txt [?12l[?25h   info Committed first revision b37b4fb0d076812a $ chmod 700 "subdir" OK: output of 'ls -l -d subdir | awk '{print $1}'' is correct Permission-only change: ./subdir : drwxrwxr-x changed to drwx------ There are changed permissions for files for revision 0 [!p[?3;4l>[?69l av check: OK change detected $ arcv -y -m "Update subdir with no access rights for others" info SRC: /home/ubuntu/test-arcv/test-project info REV: 0 (hash b37b4fb0d076812a6c924cfc684796abad2addeb3860ccc999e4900e28f4b48b) Permission-only change: ./subdir : drwxrwxr-x changed to drwx------ Previous logs: 0 2026-09-07 00:38:11 Creation Commit: Folder /home/ubuntu/test-arcv/test-project is going to backed up as revision 1 inside: /tmp/arcv-test-archive/test-project.archive/test-project.archive1 info Committed revision 1 signed b37b4fb0d076812a $ chmod 777 "subdir" OK: output of 'ls -l -d subdir | awk '{print $1}'' is correct $ arcv check --verbose && _exit -1 "Error: no change detected and should have" || echo "OK change detected" Permission-only change: ./subdir : drwx------ changed to drwxrwxrwx There are changed permissions for files for revision 1 [!p[?3;4l>[?69l OK change detected $ av -y co subdir old file saved to '/tmp/arcv-test-archive/test-project.archive/dropped/.#modified.1.20260907-0038.subdir/' info Successfully restored subdir from revison 1 OK: output of 'ls -l -d subdir | awk '{print $1}'' is correct [?12l[?25h getshot has finished. info EXECUTING PLAN 'remove_dir_after_modify_other_dir_perms' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN remove_dir_after_modify_other_dir_perms Check-in a directory which permissions change and then check-in removal of another folder STEP 1 09/07/26 00:38 Check-in of directory which permissions changed and then check-in removal of another folder $ umask 002 $ mkdir subdir1 $ mkdir subdir2 $ mkdir subdir3 $ mkdir subdir4 [?12l[?25h   info Committed first revision f1b27ffaebb46ebe $ chmod 700 "subdir2" OK: output of 'ls -l -d subdir2 | awk '{print $1}'' is correct Permission-only change: ./subdir2 : drwxrwxr-x changed to drwx------ There are changed permissions for files for revision 0 [!p[?3;4l>[?69l av check: OK change detected Permission-only change: ./subdir2 : drwxrwxr-x changed to drwx------  info Committed revision 1 signed f1b27ffaebb46ebe $ rmdir subdir1 $ av check --verbose There are deleted files for revision 1 [!p[?3;4l>[?69l Now checking output, only deleted file should be reported $ av check --verbose > "/tmp/checkinstatus.txt" [!p[?3;4l>[?69l OK '/tmp/checkinstatus.txt' last line is correct ('There are deleted files for revision 1') $ chmod 777 "subdir2" OK: output of 'ls -l -d subdir2 | awk '{print $1}'' is correct $ av -y co subdir2 old file saved to '/tmp/arcv-test-archive/test-project.archive/dropped/.#modified.1.20260907-0038.subdir2/' info Successfully restored subdir2 from revison 1 OK: output of 'ls -l -d subdir2 | awk '{print $1}'' is correct [?12l[?25h getshot has finished. info EXECUTING PLAN 'listmodifiedfiles' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN listmodifiedfiles List any file change in a source folder (new/deleted/modified/permissions) STEP 1 09/07/26 00:38 Example of listing changes in a source folder $ umask 002 $ echo "file C" >> file_C.txt [?12l[?25h   info Committed first revision da528b82bfbd08db $ chmod 700 "file_A.txt" $ rm file_B.txt $ echo "Second line file file C" >> file_C.txt $ echo "file D" >> file_D.txt Permission-only change: file_A.txt : -rw-rw-r-- changed to -rwx------ There are new, deleted, modified, changed permissions for files for revision 0 [!p[?3;4l>[?69l OK change detected $ Test__assertCmd "ls -l file_A.txt | awk '{print \$1}'" "-rwx------" OK: output of 'ls -l file_A.txt | awk '{print $1}'' is correct $ av -l info SRC: /home/ubuntu/test-arcv/test-project info REV: 0 (hash da528b82bfbd08dbd48cefb78d6275cacb6258b2883241127eb6caabe26c0af1) Changed: file_C.txt New: file_D.txt Deleted: file_B.txt Permission-only change: file_A.txt : -rw-rw-r-- changed to -rwx------ OK: 'av -l' output is correct [?12l[?25h getshot has finished. info EXECUTING PLAN 'compare' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN compare Comparing revisions STEP 1 09/07/26 00:38 Sample scenarios of comparing revisions using simple diff tool [?12l[?25h   info Committed first revision 82f15cfe2b97e29c  info Committed revision 1 signed f6f678482936761d info Created VERSION.txt info Going to create release tag R1.0.0 info Successfully created release tag R1.0.0 for revision 1 info Successfully restored VERSION.txt from revison 1 $ echo "This is the second line of file A" >> "file_A.txt"  info Committed revision 2 signed b2954768a19f7be1 $ echo "This is the third line of file A" >> "file_A.txt"  info Committed revision 3 signed 2d1141f05767268d $ echo "This is the fourth line of file A (not committed)" >> "file_A.txt" # Not committed $ av diff --fmt=plain > diffresult.txt # diff current vs head [!p[?3;4l>[?69l OK 'diffresult.txt' last line is correct ('> This is the fourth line of file A (not committed)') $ av diff 2 --fmt=plain > diffresult.txt # diff current vs revision 2 preceeding head [!p[?3;4l>[?69l OK 'diffresult.txt' line 5 is correct ('> This is the third line of file A') OK 'diffresult.txt' line 6 is correct ('> This is the fourth line of file A (not committed)') $ av diff R1.0.0 --fmt=plain > diffresult.txt # diff current vs release tag R1.0.0 [!p[?3;4l>[?69l OK 'diffresult.txt' line 4 is correct ('> This is the second line of file A') OK 'diffresult.txt' line 5 is correct ('> This is the third line of file A') OK 'diffresult.txt' line 6 is correct ('> This is the fourth line of file A (not committed)') $ av diff headvs2 --fmt=plain > diffresult.txt # diff head and revision 2 [!p[?3;4l>[?69l OK 'diffresult.txt' last line is correct ('< This is the third line of file A') $ av diff 2vs0 --fmt=plain > diffresult.txt # diff rev 1 and 0 [!p[?3;4l>[?69l OK 'diffresult.txt' last line is correct ('< This is the second line of file A') $ av diff 1vs0 --fmt=plain | grep 'Only in' | grep 'VERSION.txt' > diffresult.txt [!p[?3;4l>[?69l OK 'diffresult.txt' content is correct ('^Only in.+VERSION\.txt') $ av diff 3vsR1.0.0 --fmt=plain > diffresult.txt # diff rev 3 and tag 1.0.0 [!p[?3;4l>[?69l OK 'diffresult.txt' line 3 is correct ('< This is the second line of file A') OK 'diffresult.txt' line 4 is correct ('< This is the third line of file A') [?12l[?25h getshot has finished. info EXECUTING PLAN 'compareatcheckin' warning Live recording skipped for 'Example of checking changes at check-in' since interactive mode disabled info EXECUTING PLAN 'reltag' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN reltag Creating a release tag for a head revision ('publish') STEP 1 09/07/26 00:38 Example of release tag creation for head revision [?12l[?25h   info Committed first revision 4886a061af9300eb $ av -yy pub -m "A test release 1.0.0" || _exit -1 "Failed to create release tag" info SRC: /home/ubuntu/test-arcv/test-project info test-project is the first archived version info No change in source  info Committed revision 1 signed ca329156376baf52 info Created VERSION.txt info Going to create release tag R1.0.0 info Successfully created release tag R1.0.0 for revision 1 There are modified files for revision 1 [!p[?3;4l>[?69l OK change detected OK '/home/ubuntu/test-arcv/test-project/VERSION.txt' content is correct ('1.0.1') OK '/tmp/arcv-test-archive/test-project.archive/releases/R1.0.0' points to ../test-project.archive1 OK '/tmp/arcv-test-archive/test-project.archive/releases/R1.0.0.log' content is correct ('A test release 1.0.0') Committing changes after tagging $ rm file_A.txt $ echo "Additional line for file B" >> file_B.txt Permission-only change:    info Committed revision 2 signed 4ead24cb0792e553 $ av log 2 2026-09-07 00:38:49 Changed file A and B state before checking out release 1 2026-09-07 00:38:48 Added /home/ubuntu/test-arcv/test-project/VERSION.txt while requesting creation  of release tag 0 2026-09-07 00:38:47 Creation Now checking out release tagged 1.0.0 and check if original file A and B OK $ av co R1.0.0 -o /tmp task Release R1.0.0 checkout in folder ../../../../tmp/test-project-R1.0.0  task Release R1.0.0 checkout in folder ../../../../tmp/test-project-R1.0.0 [ OK ] OK 'VERSION.txt' content is correct ('1.0.0') OK 'file_A.txt' content is correct ('Test file A') OK 'file_B.txt' content is correct ('Test file B') [?12l[?25h getshot has finished. ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN reltag Creating a release tag for a head revision ('publish') STEP 2 09/07/26 00:38 Example of tag creation to a random revision [?12l[?25h   info Committed first revision 3bbd8f95eb76b083 Committing changes BEFORE tagging $ rm file_A.txt $ echo "Additional line for file B" >> file_B.txt Permission-only change:    info Committed revision 1 signed ec1403c2bda086b3 $ av -yy pub MYTAG:1 -m "A version tagged with 'MYTAG'" || _exit -1 "Failed to create release tag" _inArcVersion: '1' info Going to create release tag MYTAG for revision 1 info Successfully created tag MYTAG for revision 1 Image is up-to-date. Revision is 1 Now checking existing of tag symlink and tag log OK: '/home/ubuntu/test-arcv/test-project/VERSION.txt': not there OK '/tmp/arcv-test-archive/test-project.archive/releases/MYTAG' points to ../test-project.archive1 OK '/tmp/arcv-test-archive/test-project.archive/releases/MYTAG.log' content is correct ('A version tagged with 'MYTAG'')  info Committed revision 2 signed 66a1dcb2dc1a8e55  info Committed revision 3 signed d84158ec40bb19c7 info Created VERSION.txt info Going to create release tag R1.0.0 info Successfully created release tag R1.0.0 for revision 3 $ av rel R1.0.0 3 Release after second changes MYTAG 1 A version tagged with 'MYTAG' OK: 'av rel --fmt=plain' output is correct Now checking out MYTAG and check file B and A is not there. $ av co MYTAG -o /tmp task Release MYTAG checkout in folder ../../../../tmp/test-project-MYTAG  task Release MYTAG checkout in folder ../../../../tmp/test-project-MYTAG [ OK ] OK: 'file_A.txt': not there OK: 'file_C.txt': not there OK 'file_B.txt' last line is correct ('Additional line for file B') Now checking out release tagged 1.0.0 and check if original file A and B OK $ av co R1.0.0 -o /tmp task Release R1.0.0 checkout in folder ../../../../tmp/test-project-R1.0.0  task Release R1.0.0 checkout in folder ../../../../tmp/test-project-R1.0.0 [ OK ] OK 'VERSION.txt' content is correct ('1.0.0') OK: 'file_A.txt': not there OK 'file_C.txt' content is correct ('This is new file C') OK 'file_B.txt' last line is correct ('Second additional line for file B') [?12l[?25h getshot has finished. info EXECUTING PLAN 'hook' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN hook Create a hook for executing a program after release tag creation STEP 1 09/07/26 00:39 Example of creating a hook for executing a program after release tag creation [?12l[?25h   info Committed first revision c1aefd250feaa6ab $ av hook myhook.sh info Successfully created release hook applying from revision 0, executable set for 'myhook.sh' $ av -yy pub -m "A test release 1.0.0" || _exit -1 "Failed to create release tag" info SRC: /home/ubuntu/test-arcv/test-project info test-project is the first archived version info Source changed according to new hash 2ed775e354d3cd0274c3ac7c4ee7692d0361fb537596ddca009e739039fdcab9 Permission-only change: myhook.sh : -rw-r--r-- changed to -rwxr-xr-x  info Committed revision 1 signed 00e60848474ed923 info Created VERSION.txt info Going to create release tag R1.0.0 info Successfully created release tag R1.0.0 for revision 1 info Executing release hook ''myhook.sh'' Now checking that file hook.proof was actually created by the hook script OK 'hook.proof' content is correct ('R1.0.0') $ arcv hook 0 'myhook.sh' OK: output of 'arcv hook --fmt=plain' is correct [?12l[?25h getshot has finished. info EXECUTING PLAN 'branch' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN branch Create branches STEP 1 09/07/26 00:39 Example of branch creation from head revision, random revisions and release tag [?12l[?25h   info Committed first revision 8f8310854e19334a  info Committed revision 1 signed 65bb7f190be5cfaf info Created VERSION.txt info Going to create release tag R1.0.0 info Successfully created release tag R1.0.0 for revision 1 info Successfully restored VERSION.txt from revison 1  info Committed revision 2 signed 34577ca74a7859b0  info Committed revision 3 signed 87d6777945bc5139 $ av --silent -y branch fun-project info The branch is going to be created in a folder '../fun-project' from head revision 3 [!p[?3;4l>[?69l task Branch creation in folder ../fun-project  task Branch creation in folder ../fun-project [ OK ] task Branch 'fun-project' commit in '/home/ubuntu/test-arcv/fun-project' task Branch 'fun-project' commit in '/home/ubuntu/test-arcv/fun-project'[ OK ] OK '/tmp/diffresult.txt' last line is correct ('< This is the fourth line of file A (not committed)') $ av --silent -y branch fun-project:2 info The branch is going to be created in a folder '../fun-project' from revision 2 [!p[?3;4l>[?69l task Branch creation in folder ../fun-project  task Branch creation in folder ../fun-project [ OK ] task Branch 'fun-project' commit in '/home/ubuntu/test-arcv/fun-project' task Branch 'fun-project' commit in '/home/ubuntu/test-arcv/fun-project'[ OK ] OK '/tmp/diffresult.txt' line 3 is correct ('< This is the third line of file A') OK '/tmp/diffresult.txt' line 4 is correct ('< This is the fourth line of file A (not committed)') $ av --silent -y branch fun-project:R1.0.0 info The branch is going to be created in a folder '../fun-project' from revision 3 [!p[?3;4l>[?69l task Branch creation in folder ../fun-project  task Branch creation in folder ../fun-project [ OK ] task Branch 'fun-project' commit in '/home/ubuntu/test-arcv/fun-project' task Branch 'fun-project' commit in '/home/ubuntu/test-arcv/fun-project'[ OK ] OK '/tmp/diffresult.txt' line 3 is correct ('< This is the second line of file A') OK '/tmp/diffresult.txt' line 4 is correct ('< This is the third line of file A') OK '/tmp/diffresult.txt' line 5 is correct ('< This is the fourth line of file A (not committed)') $ av --silent -y branch fun-project:0 -o /tmp/ info The branch is going to be created in a folder '/tmp/fun-project' from revision 0 [!p[?3;4l>[?69l task Branch creation in folder ../../../../tmp/fun-project  task Branch creation in folder ../../../../tmp/fun-project [ OK ] task Branch 'fun-project' commit in '/tmp/fun-project' task Branch 'fun-project' commit in '/tmp/fun-project'[ OK ] $ av --silent -y co R1.0.0 -o /tmp/ task Release R1.0.0 checkout in folder ../../../../tmp/test-project-R1.0.0  task Release R1.0.0 checkout in folder ../../../../tmp/test-project-R1.0.0 [ OK ] $ [ "$(cat /tmp/diffresult.txt)" = "Only in /tmp/test-project-R1.0.0: VERSION.txt" ] && echo "OK diff is OK" || (sleep 1 && _exit -1 "Error: unexpected differences found!") OK diff is OK [?12l[?25h getshot has finished. info EXECUTING PLAN 'tarball' ************************************************************************** TESTED APP arcv 1.2.1 rev:317 hash:08decfca3e559820 /usr/bin/arcv/arcv TEST BENCH arcv-test 1.2.1 rev:239 hash:73f3ec4cf9055d6e /usr/bin/arcv-test/arcv-test SHELL API 1.1.3 rev:188 hash:2d8385d42cc6214d /usr/bin/shell-api-1.1-3/genapp SHOTPLAN shotplan 1.1.1 rev:80 hash:36d005656e9acf5a /usr/bin/shotplan/shotplan PLAN tarball Exporting a revision as a tarball STEP 1 09/07/26 00:39 Example of tarball export for head revision, modified head revision and random revision [?12l[?25h   info Committed first revision 742443790de18e69 $ av tarball -o /tmp info Successfully created /tmp/test-project-0.tar.gz OK: '/tmp/test-project-0.tar.gz': present $ echo "Extra line for file A" >> "file_A.txt" $ av tarball -o /tmp [!p[?3;4l>[?69l info Successfully created /tmp/test-project-0M-20260907.tar.gz OK: '/tmp/test-project-0M-20260907.tar.gz': present  info Committed revision 1 signed a7ac99116240b678 $ av tarball head -o /tmp info Successfully created /tmp/test-project-1.tar.gz OK: '/tmp/test-project-1.tar.gz': present $ av tarball 0 -o /home/ubuntu info Successfully created /home/ubuntu/test-project-0.tar.gz OK: '/home/ubuntu/test-project-0.tar.gz': present $ echo "Extracting all tarballs before check" Extracting all tarballs before check $ diff -r /tmp/test-project-0M /tmp/test-project-1 || _exit -1 "Extracts 0M and 1 should be the same" $ diff -r /tmp/test-project-0 /tmp/test-project-1 && _exit -1 "Extracts 0 and 1 should not be the same" || echo "OK, Extracts 0 and 1 are different" diff -r /tmp/test-project-0/test-project/file_A.txt /tmp/test-project-1/test-project/file_A.txt 1a2 > Extra line for file A OK, Extracts 0 and 1 are different [?12l[?25h getshot has finished. info EXECUTING PLAN 'github' Test plan 'github' skipped according to fulfilled filter condition [ -f /.dockerenv ] ************************************************************************** OVERALL RESULT: OK ************************************************************************** - arcv_compareatcheckin_1  - arcv_compareatcheckin_1[ OK ] - arcv_branch_1  - arcv_branch_1[ OK ] - arcv_addfiles_1  - arcv_addfiles_1[ OK ] - arcv_checkoutdirfromrev_1  - arcv_checkoutdirfromrev_1[ OK ] - arcv_removefiles_1  - arcv_removefiles_1[ OK ] - arcv_modifyfileperms_1  - arcv_modifyfileperms_1[ OK ] - arcv_checkoutfile_with_removed_files_1  - arcv_checkoutfile_with_removed_files_1[ OK ] - arcv_checkoutreltag_1  - arcv_checkoutreltag_1[ OK ] - arcv_listsources_1  - arcv_listsources_1[ OK ] - arcv_remove_dir_after_modify_other_dir_perms_1  - arcv_remove_dir_after_modify_other_dir_perms_1[ OK ] - arcv_reltag_1  - arcv_reltag_1[ OK ] - arcv_reltag_2  - arcv_reltag_2[ OK ] - arcv_displaylog_2  - arcv_displaylog_2[ OK ] - arcv_displaylog_1  - arcv_displaylog_1[ OK ] - arcv_exclusions_1  - arcv_exclusions_1[ OK ] - arcv_compare_1  - arcv_compare_1[ OK ] - arcv_checkoutsource_1  - arcv_checkoutsource_1[ OK ] - arcv_checkoutsource_2  - arcv_checkoutsource_2[ OK ] - arcv_checkoutsource_3  - arcv_checkoutsource_3[ OK ] - arcv_checkoutsource_4  - arcv_checkoutsource_4[ OK ] - arcv_checkup2date_1  - arcv_checkup2date_1[ OK ] - arcv_checkhash_1  - arcv_checkhash_1[ OK ] - arcv_displaylog_menu_1  - arcv_displaylog_menu_1[ OK ] - arcv_displayrev_1  - arcv_displayrev_1[ OK ] - arcv_hook_1  - arcv_hook_1[ OK ] - arcv_init_1  - arcv_init_1[ OK ] - arcv_checkoutheadrev_1  - arcv_checkoutheadrev_1[ OK ] - arcv_spacechars_1  - arcv_spacechars_1[ OK ] - arcv_displayreleaselog_menu_1  - arcv_displayreleaselog_menu_1[ OK ] - arcv_modifydirperms_1  - arcv_modifydirperms_1[ OK ] - arcv_checkoutfilefromrev_1  - arcv_checkoutfilefromrev_1[ OK ] - arcv_inspect_init_1  - arcv_inspect_init_1[ OK ] - arcv_displayfilelog_menu_1  - arcv_displayfilelog_menu_1[ OK ] - arcv_displayreleaselog_1  - arcv_displayreleaselog_1[ OK ] - arcv_modifyfiles_1  - arcv_modifyfiles_1[ OK ] - arcv_checkoutfile_1  - arcv_checkoutfile_1[ OK ] - arcv_displayhash_1  - arcv_displayhash_1[ OK ] - arcv_checkoutrev_1  - arcv_checkoutrev_1[ OK ] - arcv_tarball_1  - arcv_tarball_1[ OK ] - arcv_repoinfo_4  - arcv_repoinfo_4[ OK ] - arcv_repoinfo_3  - arcv_repoinfo_3[ OK ] - arcv_repoinfo_2  - arcv_repoinfo_2[ OK ] - arcv_repoinfo_1  - arcv_repoinfo_1[ OK ] - arcv_displayfilelog_av_1  - arcv_displayfilelog_av_1[ OK ] - arcv_displayfilelog_1  - arcv_displayfilelog_1[ OK ] - arcv_listmodifiedfiles_1  - arcv_listmodifiedfiles_1[ OK ] Press a key to exit[?12l[?25h Shotplan has finished. info Executing '/usr/bin/arcv-test/posttest.sh' EXECUTING POST-TEST SCRIPT. REPODIR='/tmp/arcv-test-archive'