Experimental github repo for assets

Discussions that concern the community rather than the makehuman software

Experimental github repo for assets

Postby joepal » Sat Oct 24, 2015 1:56 pm

I'm playing around with making the assets a bit more accessible. To this end, I've made a routine for automatically dumping the community repos (only clothes so far) and committing the data to github.

The results can be found here: https://github.com/makehumancommunity/communityassets

This way you can download multiple assets without having to click through them file by file. Also, the bandwidth burden ends up on github this way. :-)

Please check out the github repo and suggest improvements.

If this works, I'll run the routine once a month or so in order to export the latest additions.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4473
Joined: Wed Jun 04, 2008 11:20 am

Re: Experimental github repo for assets

Postby wolgade » Sun Oct 25, 2015 12:13 pm

Good idea, but how will I know, whether the archived asset is up to date?

Let's assume I create an asset for the user repo. Six weeks later I realize that there's a problem with the asset. After fixing the problem I'll update the files. Now user repo and github are out of sync. This should be indicated somehow, preferably in the user repo.
wolgade
 
Posts: 795
Joined: Wed Jan 30, 2013 6:50 pm

Re: Experimental github repo for assets

Postby joepal » Sun Oct 25, 2015 1:05 pm

All assets on the web page have a "last changed" stamp. This is the default sort in the lists.

All files on the github repo are stamped with then they were committed.

If the web date is later than the github date, then the asset isn't up to date.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4473
Joined: Wed Jun 04, 2008 11:20 am

Re: Experimental github repo for assets

Postby duststorm » Mon Oct 26, 2015 10:02 pm

Github has a filesize limit, I don't know exactly what it is but I know we would have hit it with our skin textures, so you might want to keep an eye on that.
But I believe github recently introduced "big file" support somehow, you might want to look into that (no idea how it works).

edit: here it is: https://git-lfs.github.com/
MakeHuman™ developer
User avatar
duststorm
 
Posts: 2569
Joined: Fri Jan 27, 2012 11:57 am
Location: Belgium

Re: Experimental github repo for assets

Postby joepal » Tue Oct 27, 2015 5:55 am

The file size limit is 100 mb. The only two files above ten are the combat boot textures:

Code: Select all
06:51:57 [joepal@utveckling communityassets]$ du -a data | sort -n -r | grep png | head -n 20
16136   data/clothes/combatboots/bump2.png
15336   data/clothes/combatboots/col.png
6164    data/clothes/longrider1_249b/pinkfuzzy1.png
6152    data/clothes/beachponcho1/beachponcho1.png
2036    data/clothes/mini_skirt_02/mini_skirt_01_diffuse.png
2036    data/clothes/mini_skirt_01/mini_skirt_01_diffuse.png
1628    data/clothes/celticprincess1/celticprincess1.png
1560    data/clothes/brunhilde1/brunhilde1.png
1516    data/clothes/mini_skirt_01/mini_skirt_01_normal.png
1280    data/clothes/princessirulanwig/irulanBlonde1.png
1268    data/clothes/spartanwarriorwoman1/highBronze1.png
1268    data/clothes/spartanwarriorgreves/highBronze1.png
1268    data/clothes/spartangauntletgloves/highBronze1.png
1244    data/clothes/militaryponcho1/militaryponcho1.png
1084    data/clothes/slave-outfit/textures7.png
980     data/clothes/gi1/gi1.png
864     data/clothes/newsboy_cap/newsboy_cap.png
796     data/clothes/minoanhairdo1/redBlack1.png
740     data/clothes/female_fingernails/female_fingernails_diffuse.png
688     data/clothes/victoriascelticsecret1/fuschia1.png


Anyway, if it doesn't work I'll think of something else. I have a web hotel without disk quota too. But github felt convenient.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4473
Joined: Wed Jun 04, 2008 11:20 am


Return to Community discussions

Who is online

Users browsing this forum: No registered users and 1 guest