afbebb8cf8
support for reading old blend files (some missing struct members)
2014-12-18 11:32:31 +01:00
8d368dc74f
remove json options from blendfile_pack, add quiet option
2014-12-17 16:39:31 +01:00
48f5e7751e
Fix for packing zipfiles (without a bam project root)
2014-12-17 14:46:56 +01:00
27ec9f20a2
cleanup: unused vars & wrong comment
2014-12-16 11:48:09 +01:00
441742a496
Add option to checkout all deps (even unused-indirect deps)
...
eg:
bam checkout path/ --all-deps
2014-12-16 11:17:13 +01:00
eb1a43df10
add test for path remapping
2014-12-13 15:18:40 +01:00
2dd2fd9c8d
refactor: move json writing into utility functions
...
The same options where reused in multiple places
2014-12-12 14:32:35 +01:00
4e3a9ca9b7
Improve output for path remapper
...
When a file is missing to begin with, don't complain its missing after remapping.
2014-12-11 22:33:57 +01:00
5903abe6e2
for now only log errors
2014-12-11 16:42:28 +01:00
04ceba076e
bam path remap: use the 'size + sha' in bytes as a hash
2014-12-11 16:31:56 +01:00
81908c8b5d
Replace SHA1 with hex(length) + sha512
2014-12-11 16:27:05 +01:00
c322c30fe5
add option to recurse data in indirectly linked blend files
...
need to expose this from the CLI
2014-12-11 12:44:47 +01:00
24716712d9
bam cli: path remap command
2014-12-11 12:23:59 +01:00
7e37742383
Normalize the path when remapping
...
In some cases it could output very odd paths which wouldn't resolve on OSX
for now simple to normalize.
2014-12-11 11:10:38 +01:00
64090436cd
Add API to resolve the abs path with your own basedir
2014-12-10 23:04:37 +01:00
25419a42fa
Add support for expanding pose-bone custom pointers
2014-12-05 15:48:27 +01:00
06ac67772f
Fix blendfile exception when refining types
2014-12-05 15:48:07 +01:00
dbee95aa96
Fix for error path remapping with indirectly linked libraries
2014-12-05 14:59:40 +01:00
4880615660
Fix for committing paths which start out with absolute remapping "_" prefix
2014-12-03 17:20:55 +01:00
930981acd1
cleanup
2014-12-03 14:02:12 +01:00
d706610a7b
path-walker: use real logging
2014-12-02 14:26:12 +01:00
f7cf15e708
use multi-platform os.sep
2014-12-02 14:22:19 +01:00
60f47d2d38
cleanup
2014-12-02 13:52:29 +01:00
aae6de1af3
blendfile: ignore built-in fonts
...
also add filepath_absolute, readonly property
2014-11-28 16:59:28 +01:00
3e846a8127
test for linked blendfile writing
2014-11-28 12:45:00 +01:00
6e825c02a0
blend-file walker support for walking sequence strip
2014-11-28 12:45:00 +01:00
85fd8513ae
cleanup
2014-11-27 13:10:40 +01:00
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
aac29c824d
cleanup: pep8
2014-11-21 21:12:28 +01:00
b6154953ad
fix for deleting a non-blend file
2014-11-20 21:08:13 +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
064421ab1b
add libs to UUID list
2014-11-07 17:40:38 +01:00
2fdc73de76
temp disable library check, need to investigate this more
2014-11-07 16:58:08 +01:00
7cb1e806af
paths are now relative to project root when checked out
2014-11-06 14:42:38 +01:00
fa24540b4e
move json writing out of path remap
2014-11-06 13:15:16 +01:00
5c9849f64f
Cleanup: rename zip (not to conflict with zip func)
2014-11-06 12:48:09 +01:00
0ce5b61d12
Fix bug indirect library linking
2014-11-05 19:30:19 +01:00
2ca9bc1d46
'bam deps' command - working on basic level
2014-11-05 15:41:55 +01:00
8b1085edd1
rename/reshuffle modules
2014-11-05 14:52:35 +01:00
7f57c74f02
de-duplicate code, add generic modules dir
2014-11-05 10:04:40 +01:00