Should host images be tracked in git #234

Open
opened 2024-12-27 09:22:44 +00:00 by ken_fallon · 2 comments
Owner
Should we be tracking images in git ? https://repo.anhonesthost.net/HPR/hpr_generator/src/branch/main/public_html/images/hosts
Owner

Yes, I have been thinking of adding a "resources" folder to the templates folder. This would be for static content like the images and css which would go into git, and then copied over to public_html folder when stuff is generated. I would like to keep the public_html from the hpr_generator repository.

We could then have a separate repository of all the static files in the public_html folder. This would be the repository someone could just clone to host the site and then pull to keep updated.

Yes, I have been thinking of adding a "resources" folder to the templates folder. This would be for static content like the images and css which would go into git, and then copied over to public_html folder when stuff is generated. I would like to keep the public_html from the hpr_generator repository. We could then have a separate repository of all the static files in the public_html folder. This would be the repository someone could just clone to host the site and then pull to keep updated.
Author
Owner

My question was more about storing binary blobs in git was frowned upon in general. Religious wars et al.

@archer72 Mentioned git-lfs in hpr4172

An open source Git extension for versioning large files

Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.

My question was more about storing binary blobs in git was frowned upon in general. Religious wars et al. @archer72 Mentioned [git-lfs](https://git-lfs.com/) in [hpr4172](https://hackerpublicradio.org/eps/hpr4172/index.html) An open source Git extension for versioning large files Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: HPR/hpr_generator#234
No description provided.