Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for batch mode for "automatically feature-configuration conversion" #3

Open
anb0s opened this issue Mar 18, 2017 · 2 comments

Comments

@anb0s
Copy link
Owner

anb0s commented Mar 18, 2017

imported from: https://bitbucket.org/jpikl/yafmt/issues/3/add-support-for-batch-mode-for

Andre Bossert created an issue 2015-09-01
During working with feature model and lot of feature configurations (ca. 30 configurations) i've to fix it with manually open all configurations and Select "Merge changes automatically" in the dialog "The orioginal feature model was changed."
May be some new Dialog can be added to do this action for all configurations in one folder (and all subfolders).
Also sometimes i want to convert the selections automatically (manually) if one feature was moved to other features (as sub-feature) but the id is still the same. This is lost during next save of the configuration and i've to select it again. Or as workaround i've edit the selection in raw XML file (yafc) manually before saving.

@anb0s
Copy link
Owner Author

anb0s commented Mar 18, 2017

Jan Pikl REPO OWNER
Making the dialog shouldn't be hard. You just need to call FeatureConfigurationUtil.repairConfiguration to automerge changes.
There is a problem when dealing with moved features during merge. Each feature is identified by its unique ID which can be changed by user. Possible solutions:
ID changes are ignored. E.g. when feature (ID=xyz) was selected in old configuration, it is also selected in new configuration unless the ID was changed by user.
Each feature will have unique generated UUID, invisible for user and which cannot be changed.
2015-09-06

anb0s added a commit that referenced this issue Apr 27, 2017
conversion"

- prepare not user changeable ID (UUID generated)
- added menues for manually fix this for attributes and features
- disabled "Generate ID from Name" menues

Signed-off-by: Andre Bossert <[email protected]>
@anb0s
Copy link
Owner Author

anb0s commented Apr 27, 2017

  • prepare not user changeable ID (UUID generated)
  • added menues for manually fix this for attributes and features
  • disabled "Generate ID from Name" menues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant