Allow specifying a specific commit as the source

Bug #1632126 reported by Stéphane Graber
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Wishlist
Stéphane Graber

Bug Description

Right now, we've got source-tag and source-branch, unfortunately neither of those work when I want to pin a particular commit (hash or revno depending on VCS).

Introducing a new source-commit option would solve this and give greater control to snap authors as to what's supposed to be used to build a particular snap.

Tags: sources lxd
tags: added: lxd
Changed in snapcraft:
assignee: nobody → Sergio Schvezov (sergiusens)
importance: Undecided → High
importance: High → Wishlist
milestone: none → 2.20
status: New → Triaged
Leo Arias (elopio)
tags: added: sources
Changed in snapcraft:
milestone: 2.20 → 2.21
Revision history for this message
Stéphane Graber (stgraber) wrote :

Got an implementation of this that's up for review here:
https://github.com/snapcore/snapcraft/pull/877

Changed in snapcraft:
assignee: Sergio Schvezov (sergiusens) → Stéphane Graber (stgraber)
status: Triaged → In Progress
Changed in snapcraft:
status: In Progress → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.