Page 1 of 1
Asset Repo Downloader Script/Ap

Posted:
Tue Jun 28, 2016 8:45 pm
by badwolf
How difficult would it be to create a script/ap that can
1 pull a list of repos that are "known safe"
2 do a pull of the assets (to a staging area??)
3 copy them to the users data folder
since the current NonStandard assets are both on github a core question would be: Does Pythons Git function have LFS support?
Re: Asset Repo Downloader Script/Ap

Posted:
Wed Jun 29, 2016 7:35 am
by joepal
I've already started writing a relatively similar plugin for MH for doing this, but the idea will be to pull an RSS/XML feed from the makehumancommunity.org web repo, pull all thumbnails, and then let the user download+copy specific assets on a point and click basis from within MH.
It's an interesting idea to allow multiple (git-based) user repos though.
LFS is a pain, and I wish it wasn't necessary. For the core community assets repo, we'd get dangerously close to the 1gb upper limit soon if not using LFS. But for smaller repos it'd work fine without LFS.
Maybe it'd be possible to work around the need for LFS by splitting the repo up somehow.
Re: Asset Repo Downloader Script/Ap

Posted:
Wed Jun 29, 2016 4:39 pm
by badwolf
Hmm maybe for each repo supported we could have
[choose assets] [download entire set] [update] Warning set download may be slow
if the script has to include git-lfs making it as simple as possible would be a good thing
if its done as a plugin then it would have access to the data folder correct??
Re: Asset Repo Downloader Script/Ap

Posted:
Wed Jun 29, 2016 5:15 pm
by joepal
badwolf wrote:if its done as a plugin then it would have access to the data folder correct??
Yeah. It would know everything MH knows about the location of stuff.
I'll post my draft of the plugin at
https://github.com/makehumancommunity/community-plugins when/if I actually get as far as having something that looks as if it might eventually work.
Re: Asset Repo Downloader Script/Ap

Posted:
Sun Jul 03, 2016 6:09 pm
by badwolf
okay so i have a zip of the current repo online but
1 its a ~400 meg file
2 this is very much a HACK