alexlarsson/xdg-app

xdg-app-builder: Specify git commit to use

hbons opened this issue · 3 comments

hbons commented

This would be more secure (equivalent to specifying a sha256 for archives) and convenient (rebuilds won't be needed on every new commit).

Use "branch" it supports both branch names and commit IDs

hbons commented

Can these be separate options? People don't read, this is more obvious when reading json files as examples and makes the spec more readable. :)

Its just the string that is passed to the "git checkout $branch" command, which supports commit ids as well as branch or tag names. I don't think adding a separate property for it makes a lot of sense.