d99d9e1adf
re-work packer so absolute paths have '_' prefix.
2014-11-27 12:32:41 +01:00
673b0b0187
Path remapping for packing
...
This commit changes how relative paths are handled depending on weather they are nested or not.
Layout is as follows.
- ./shots/01/shot_01.blend
- ./shots/01/maps/special.png
- ./maps/generic.png
Maps to...
- ./shot_01.blend
- ./_maps/special.png
- ./maps/generic.png
2014-11-26 18:47:21 +01:00
afcb6acf5d
tests: quiet webserver log, generalize the blendfile deps test
2014-11-26 10:56:30 +01:00
8147461e2d
tests: initial test path remapping works as expected
...
note, this is disabled now, will impliment and enable the test next
2014-11-25 17:16:40 +01:00
94e3ae86e9
bam cli: updates
...
- deps now supports --json
- paths are now committed relative to their session dir (TODO, remapping)
2014-11-25 17:15:37 +01:00
e846ce8d3b
bam cli: remove redundant callback wrappers.
2014-11-25 00:00:39 +01:00
b3db01b966
cleanup
2014-11-23 23:19:10 +01:00
abac4fb84c
convenience makefile
2014-11-21 21:12:40 +01:00
aac29c824d
cleanup: pep8
2014-11-21 21:12:28 +01:00
47a6eaa936
use logging for exceptions in webserver, check BAM_VERBOSE env var
2014-11-21 20:14:58 +01:00
2c9afe8d2f
refactor tests: move create into own method
2014-11-21 17:22:02 +01:00
5ab6bb7db3
use TEMP path constant
2014-11-21 15:50:06 +01:00
61062737e0
rename TEMP -> TEMP_LOCAL
2014-11-21 15:27:53 +01:00
5fd88c03cf
bam cli: add ability to checkout into a named location
2014-11-21 15:26:37 +01:00
b51de97adf
error in last commit
2014-11-21 12:47:37 +01:00
7c2b58caae
re-work blend file testing
...
- dependencies are returned as a list
- improve failing to check if the blend creation worked
- add commments explaining strange workarounds
2014-11-21 12:44:55 +01:00
b6154953ad
fix for deleting a non-blend file
2014-11-20 21:08:13 +01:00
29f1c3778e
Fix for bam delete test.
2014-11-20 16:45:59 +00:00
4cd2e42d6e
bam cli: removed paths would do nothing
2014-11-20 15:37:17 +01:00
c5d86eb45a
print args so they can be pasted into a terminal
2014-11-20 15:36:26 +01:00
5952043f33
default config for webservice
2014-11-20 15:21:11 +01:00
dd8ba47543
Typo fix
2014-11-20 12:50:44 +01:00
84dba94c4d
Update to test_delete
2014-11-20 12:44:14 +01:00
657ce905f5
tests: populating svn failed, was using wrong paths
...
now all 6 tests pass
2014-11-20 12:30:04 +01:00
79cb22fe14
File removal on svn
2014-11-20 12:29:29 +01:00
c29b4707cc
Logging module in bam.py
2014-11-20 12:26:10 +01:00
7721ab352f
Test for file removal
2014-11-20 12:25:02 +01:00
d0491344db
mistake in last commit. also better asserts when setUp fails
2014-11-20 11:54:33 +01:00
e256506bf1
add: run_check() to tests, so we get a warning on nonzero returncodes
2014-11-20 11:36:31 +01:00
d914a7b9a5
add testing for blend-files
2014-11-19 20:35:31 +01:00
f58b7ecf5f
print output of run()
2014-11-19 19:06:42 +01:00
d022551e1d
testing: tweaks so test now passes
2014-11-19 16:41:22 +01:00
e5a6613cc6
bam cli: correct arg handling
2014-11-19 16:40:39 +01:00
1b5568256c
support for checking out non-blend files
2014-11-19 16:39:06 +01:00
a5646eeeb9
give better exceptions when the file type isnt a GZIP or a Blend
2014-11-19 16:31:26 +01:00
49e3c1e181
raise an exception when the file isn't a blend
2014-11-19 16:27:11 +01:00
0a2b4886c1
Improve tests
...
- enable logging when VERBOSE is set
- now possible to run single tests from the commandline
- include a test for commit and checkout
2014-11-19 14:15:43 +01:00
b404a22843
bam cli: commit ignored new files
2014-11-18 17:37:20 +01:00
595997f02b
monkey patch argparse.ArgumentParser.exit so it doesn't break tests
...
also ensure we get real output on sys.exit if its called when stdout/err is overridden
2014-11-18 13:50:29 +01:00
1240e2a23d
cleanup
2014-11-18 11:58:04 +01:00
20d51d0dba
Test repo population
2014-11-14 17:55:30 +01:00
29b10c260b
Cleanup: ws & ignore errors removing a dir
2014-11-14 17:08:13 +01:00
70b27732c0
Introducing a real testing server
2014-11-14 17:01:40 +01:00
dc25925a3c
Test command descriptions
2014-11-14 12:28:05 +01:00
84d49e7681
Add initial test
2014-11-14 12:16:13 +01:00
2542aa9aa8
bam cli: add --json argument
2014-11-13 19:19:36 +01:00
c4b07d2962
Removed unneeded model constraint
2014-11-13 19:18:15 +01:00
45b6afc30c
bam cli: Accept argv from another script (for testing)
2014-11-12 14:22:40 +01:00
e8dab60b68
Add path operation json file
2014-11-12 12:23:43 +01:00
064421ab1b
add libs to UUID list
2014-11-07 17:40:38 +01:00