louib / fpm

CLI tool for managing Flatpak modules and manifests.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use current git commit for flatpak-builder cache dir

louib opened this issue · comments

commented

Currently we only use .flatpak-builder/ as a cache directory when building the project. It would be nice to add the HEAD in the name of the cache directory (i.e. ./flatpak-builder-d3b1ef66c6/), so that we automatically use a dedicated cache for each git branch. The other option could be to use a hash of the application manifest that generated the cache dir.