Skip to content

Specialise switch state write functions #6390

Open
@rjbou

Description

from #6256
The origin of the bug is that for simulated pinning the pinned field in the switch state is not updated. As the switch state is written at the end of pinning process, we don't want to write it.
There is already functions that handle installed package addition our removal, we can have and use only specialised function for switch state writing (update pins, packages, roots), that updates only a subpart of the switch state file.
We can then have a switch state with more information and no more not only update specific fields because they could be written.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions