Record the git ID used for the build in the log
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
Currently the gnome sdk build a libsecret part from git, I'm trying to figure out which revision was current at the time of the last snap build but that information doesn't seem to be available?
The build log has those information
Pulling libsecret
+ snapcraftctl pull
Cloning into '/build/
[07/Jan/
'libgnome-
Skipping pull libsecret (already ran)
Building libsecret
+ snapcraftctl build
The snap/manifest.yaml has the information but it would be nice if the build log had it also, especially in case where the build is failing and where we don't have a manifest available
One way would be to call 'git reflog' or an equivalent after the cloning