hfg-gmuend/openmoji

Buildsystem caching should respect (git) branches

Aperta

#403 aperta il 11 lug 2022

 (6 commenti) (0 reazioni) (0 assegnatari)HTML (203 fork)batch import
discussionhelp wanted

Metriche repository

Star
 (3504 stelle)
Metriche merge PR
 (Merge medio 7h 13m) (1 PR mergiata in 30 g)

Descrizione

Dear @kriskowal! I hope this github message find you well! :)

The buildsystem you contributed some time ago, is still working like a charm and became an indispensable gift to run the entire OpenMoji project in a sane way. Many thanks again!

However we are working finally on making OpenMojis work on dark background #31. And as testing and tweaking every OpenMoji to make them ready for dark mode will take a long time, it would be handy to have dedicated caching in the buildsystem for branches.

I believe, currently running npm run generate caches all hashes of the build artifacts into .git/memo-index and .git/refs/memos/, completely independent whether the run originated in the Master or a Dev branch. This was in the past no problem as the artifacts were only created out of Master ... but this will matter with the upcoming tasks.

Hence could you help us and modify the buildsystem in a way that every branch has its own cache? This would be super handy to finally tackle the dark mode issue. Many thanks!

Guida contributor