Ellwood Zwovic
6f8810f6d1
Fix missing import
2017-07-24 14:17:06 -07:00
Ellwood Zwovic
f110661e12
Documentation: include testing repository
2017-07-23 00:14:47 -07:00
Ellwood Zwovic
3f6dc7eedb
Documentation: installation and setup instructions, and some notes
2017-07-22 23:47:40 -07:00
Ellwood Zwovic
0c33717fe6
Correct wrong bl_idname for preferences, trigger redraw after packagelist change
2017-07-22 21:42:22 -07:00
Ellwood Zwovic
06a05c81b2
Fix inport errors and maintain compatibility with python 3.5x)
2017-07-22 20:14:09 -07:00
Ellwood Zwovic
6752108930
Improve metadata display
2017-07-22 18:44:44 -07:00
Ellwood Zwovic
c2f17de704
Update bl_info
2017-07-21 00:40:17 -07:00
Ellwood Zwovic
39cb9079a6
Remove hang operator
2017-07-21 00:29:47 -07:00
Ellwood Zwovic
e9fbb9f6e7
Move package management code out of subproc.py
2017-07-21 00:27:16 -07:00
Ellwood Zwovic
a250777d15
Cleanup: rename package manager addon from bpkg -> package_manager
...
As I see it, the *package manager* is called "bpkg", while the *package
manager addon* is called "package_manager".
The *package manager* contains the actual package management code, and
the *package manager addon* provides the interface to use it.
2017-07-20 23:09:42 -07:00
Ellwood Zwovic
57f730b04c
Cleanup: rename repo generation script
...
In attempt to keep this name short, it became acronym-y *and* long. Better
to just pick a clear name which tab-completes.
2017-07-20 23:03:45 -07:00
Ellwood Zwovic
55f11c028f
Cleanup: Rename ViewPackage -> ConsolidatedPackage in preparation for restructure
2017-07-20 21:38:06 -07:00
Ellwood Zwovic
9740d3fce7
Add uninstall function and operator
...
For now the install/uninstall operators only operate on the newest
available version of a given package.
2017-07-20 19:22:45 -07:00
Ellwood Zwovic
e32c920368
Don't leave trailing slashes on the end of directory names
2017-07-20 18:06:42 -07:00
Ellwood Zwovic
c9ab544af6
Make it easy to re-collapse packages after expanding many at once
2017-07-20 01:34:24 -07:00
Ellwood Zwovic
31ce5f7015
Include installed packages in listing
2017-07-19 22:24:27 -07:00
Ellwood Zwovic
2414743a83
Filelist should just include filenames, not absolute path to the file!
2017-07-19 19:18:20 -07:00
Ellwood Zwovic
20e5273635
Store filelists in generated repositories
2017-07-19 16:51:32 -07:00
Ellwood Zwovic
390ad447e7
Allow user-added urls to omit 'repo.json'
2017-07-18 23:02:34 -07:00
Ellwood Zwovic
5676a9e2c5
Don't show install button if there's no URL to install from
2017-07-18 18:36:58 -07:00
Ellwood Zwovic
8747a66243
Just ignore missing blinfo fields
2017-07-18 18:35:48 -07:00
Ellwood Zwovic
dae9afd6da
Store repository on window manager so it isn't saved in the .blend
...
We store it outside blender in JSON anyway, storing it two places at
once could be confusing. We can move it back into the .blend later if it
seems that would be preferred.
2017-07-18 18:25:53 -07:00
Ellwood Zwovic
816c27f499
Remove commented attempt at caching search results
...
We need to store sorted list of ID/names of packages rather than packages themselves, otherwise we miss changes such as "collapsed/expanded"
2017-07-18 17:32:03 -07:00
Ellwood Zwovic
19c1f3a8ac
Better sorting of search results
2017-07-18 17:30:42 -07:00
Ellwood Zwovic
6193437636
Some odd tweaks and repo management code
2017-07-18 15:10:11 -07:00
Ellwood Zwovic
c0d2419bea
Partial expanded view implementation
...
Not all metadata is correctly displayed yet
2017-07-15 02:18:18 -07:00
Ellwood Zwovic
f588e3f619
Address comments on 2e45bf637a
2017-07-14 21:17:29 -07:00
Ellwood Zwovic
74f10ba3cd
Exception handling for repo refresh
2017-07-14 20:26:03 -07:00
Ellwood Zwovic
ae5fe0abcf
Address comments on 058b5a802f
...
Also address some from 67b1857e58
which got left out of the previous
commit
2017-07-14 19:22:53 -07:00
Ellwood Zwovic
678ab8cadf
Address comments on 67b1857e58
2017-07-14 18:02:52 -07:00
Ellwood Zwovic
0e0673bc16
Add setup.py
2017-07-14 17:16:00 -07:00
Ellwood Zwovic
093ec4b606
Rename bpkg_manager to just bpkg
2017-07-14 17:13:49 -07:00
Ellwood Zwovic
acd0792b28
Give repo generation tool clearer name
2017-07-14 17:09:30 -07:00
Ellwood Zwovic
956b72b684
Add pytest .cache dirs to gitignore
2017-07-14 16:13:30 -07:00
Ellwood Zwovic
35a108ac4b
Remove old code
2017-07-14 16:12:35 -07:00
Ellwood Zwovic
fe7d38252d
Add baseurl option to make_repo and actually set package urls
...
Also actually use said URL when calling 'install' operator
2017-07-14 00:56:34 -07:00
Ellwood Zwovic
bbaa928c2b
Basic filtering for package browser
2017-07-14 00:23:26 -07:00
Ellwood Zwovic
745331a927
Sort packagelist
2017-07-13 22:32:51 -07:00
Ellwood Zwovic
29e2db8952
Basic package browsing UI
2017-07-13 22:32:21 -07:00
Ellwood Zwovic
2e45bf637a
Send repolist to blender and list contents
2017-07-13 19:06:31 -07:00
Ellwood Zwovic
67b1857e58
Repository downloading
2017-07-13 16:33:14 -07:00
Ellwood Zwovic
058b5a802f
Address comments on previous commit
2017-07-13 11:16:31 -07:00
Ellwood Zwovic
915c38c326
Make install procedure overwrite existing addons
...
However, back them up first and restore them if anything goes wrong
2017-07-12 20:07:20 -07:00
Ellwood Zwovic
4df177e397
Only check root files for conflicts
2017-07-12 15:03:12 -07:00
Ellwood Zwovic
7d7be711d3
Basic install function
2017-07-11 22:47:39 -07:00
Ellwood Zwovic
f411c68115
Some stuff from old exception-based error handling approach
2017-07-09 18:59:36 -07:00
Ellwood Zwovic
d4a01350fd
Merge branch 'master' of git.blender.org:blender-package-manager-addon
2017-07-09 17:31:36 -07:00
337a5f352c
Added bpkg_manager package that can download packages in a subprocess
...
Also contains a SubprocMixin mix-in class that can help to write
operators that run & monitor subprocesses.
Messages sent back & forth between Blender and the subprocess MUST subclass
either BlenderMessage or SubprocMessage.
2017-07-10 01:44:54 +02:00
Ellwood Zwovic
24b1a19409
Also raise exception on child process, to get a traceback for debugging
...
I initially thought I could pass the traceback with the exception, but
it seems transmitting exceptions around with their tracebacks intact is
not so easy. There's a library which does this:
https://github.com/ionelmc/python-tblib
But this doesn't seem important enough to introduce a dependency..
2017-07-09 15:10:13 -07:00
gandalf3
a4a1f69cd1
Note reasoning behind call order
2017-07-09 14:59:08 -07:00