← Back to issue list

Ability to easily cherry-pick git commits

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1698068
Type
issue
State
open
Author
~stgraber
Labels
lxd
Created
2017-06-15 05:38:47.813584+00:00
Updated
2020-08-27 17:41:14.157711+00:00
Closed
2020-08-27 17:41:13.038920+00:00

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

It'd sometimes be very useful if I could specify a number of git commits (or any VCS with a similar concept) that I want to see cherry-picked on top of the listed source for my part. This would be most useful for hotfixes that are already merged upstream but not part of a release yet and would align pretty well with what we're doing for our deb packages. For example, I'd like to be able to do: lxd: source: https://github.com/lxc/lxd source-type: git source-tag: lxd-2.14 source-cherry-picks: - 0ffe2b2ef14b1c6fc66df9f04f6c23a761183a0e - 679aafe1fd65fed20fa3aa85359e6b053cecf276 - b1eb7453d3911644a9b6d894de7e6dedd241b17d - 17de1869158f22d7a77e6e33f46fa51100af9d1d - 4263ec402833cd45b0705e5448a560f610756691 - 865ec4ee242c6b6e1c44f440f686d1880e48afc1 Is there already some way to do so today which I missed? If not, would the approach above be the right way to go or do you have something else in mind which would achieve the same result? The proposed approach above should be easy enough to implement that I may do it myself, having already some experience with messing with the VCS code in snapcraft.

Evaluation history

No evaluation history available.