Jump to content

Problems managing img/ with GIT + simple image generation questions.


Recommended Posts

Hi All,

 

Is anybody using GIT to manage their source code? Pretty sweet stuff! I set up different repos for different directories. So all of the presta core stuff is in one, and each module that I have bought gets it's own repo. Works like a charm, until, I try to manage the img folder.

 

My img folder has its own repo. My catalog is pretty big. 1500 products with 153K combinations. So when the images are generated it has a ton of images to manage.

 

Prestashop does so much image management that it causes problems with GIT (I think this is what is happening). Presta deletes images that then cause missing index problems in git.

 

I end up with errors like this: fatal: unable to stat 'p/2/3/9/7/0/9/239709-home_default.jpg'

 

I can solve this problem, but I would rather prevent the problem.

 

Has anybody used git to manage their images? Where are the original images stored? I would like to just ignore all but the original images and use presta to generate the images it needs. Looking for a way to cut down on the size of the img repo. Right now it is almost impossible to work with because it is so large that I have timeout issues.

 

I know this is a little off the path, but you guys use git right?

 

Thanks for your time!

Link to comment
Share on other sites

×
×
  • Create New...