Asset Repo Downloader Script/Ap

Discussions about user contributed assets. This is a good place to request new assets, as well as requesting support on existing assets that have been downloaded from the user contributions repository.

Moderator: joepal

Asset Repo Downloader Script/Ap

Postby badwolf » Tue Jun 28, 2016 8:45 pm

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?
badwolf
 
Posts: 272
Joined: Fri Feb 06, 2015 12:41 am

Re: Asset Repo Downloader Script/Ap

Postby joepal » Wed Jun 29, 2016 7:35 am

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.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4626
Joined: Wed Jun 04, 2008 11:20 am

Re: Asset Repo Downloader Script/Ap

Postby badwolf » Wed Jun 29, 2016 4:39 pm

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??
badwolf
 
Posts: 272
Joined: Fri Feb 06, 2015 12:41 am

Re: Asset Repo Downloader Script/Ap

Postby joepal » Wed Jun 29, 2016 5:15 pm

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.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4626
Joined: Wed Jun 04, 2008 11:20 am

Re: Asset Repo Downloader Script/Ap

Postby badwolf » Sun Jul 03, 2016 6:09 pm

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
badwolf
 
Posts: 272
Joined: Fri Feb 06, 2015 12:41 am


Return to Assets, asset repositories and asset downloader

Who is online

Users browsing this forum: No registered users and 0 guests