Bug 8952 - Changes to the revision of an imported layer are not saved
Summary: Changes to the revision of an imported layer are not saved
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 2.0
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.2
Assignee: Michael Wood
QA Contact: Libertad
URL:
Whiteboard:
: 9453 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-01-20 10:34 UTC by Belen Barros Pena
Modified: 2016-07-19 22:50 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Belen Barros Pena 2016-01-20 10:34:59 UTC
Steps to reproduce:

1. Create a Toaster project

2. Import a layer, for example:

layer name: meta-sdr-toaster
git url: git://github.com/balister
revision: master

3. Go to the layer details page for the layer you just imported and edit the revision. For example, set it to 'blah'

4. Go back to the project configuration page and hover over the name of the layer you imported: you can still see the old revision (master). Click on the layer name: the revision is back to 'master'.

All the other layer information fields seem to work ok: it is just the revision not saving changes.
Comment 1 Henry Bruce 2016-02-29 19:14:58 UTC
This is important as it is not obvious to the new user what revision means here.
So when I found out it was the git branch or tag and not a revision number (e.g. "1.0") I had to edit layer info, but could not do so. Instead I had to delete layer and import again.
Comment 2 Libertad 2016-04-15 17:43:18 UTC
*** Bug 9453 has been marked as a duplicate of this bug. ***
Comment 4 Libertad 2016-07-19 22:50:16 UTC
This was verified in master branch and commit 627d01997fcf6a0581d88047735769ffb2592b82

following the same steps described when opening this issue.