{"id":18368699,"url":"https://github.com/openbmc/phosphor-settingsd","last_synced_at":"2025-07-24T13:05:55.266Z","repository":{"id":74554859,"uuid":"48249103","full_name":"openbmc/phosphor-settingsd","owner":"openbmc","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-11T19:27:15.000Z","size":276,"stargazers_count":2,"open_issues_count":3,"forks_count":15,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-22T04:02:06.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openbmc.png","metadata":{"files":{"readme":"README-settings-manager.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-12-18T18:02:30.000Z","updated_at":"2025-02-11T19:27:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"6ed76028-1512-4759-aa72-ef25953baaa1","html_url":"https://github.com/openbmc/phosphor-settingsd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openbmc%2Fphosphor-settingsd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openbmc%2Fphosphor-settingsd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openbmc%2Fphosphor-settingsd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openbmc%2Fphosphor-settingsd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openbmc","download_url":"https://codeload.github.com/openbmc/phosphor-settingsd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247522414,"owners_count":20952543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T23:27:05.392Z","updated_at":"2025-04-06T17:31:49.282Z","avatar_url":"https://github.com/openbmc.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Settings Manager\n\n## Introduction\n\nThe settings manager has the following design goals:\n\n- Each setting should be a distinct D-Bus object.\n\n- The above makes it possible to not even create settings objects that do not\n  apply to a specific system.\n\n- It should be possible, for example, for host0/ and host1/ on a system with two\n  hosts to not only have different values for certain settings, but have\n  different applicable settings as well.\n\n- It should be possible to specify default settings for a system at build-time,\n  based on which the settings manager should at run-time create appropriate\n  D-Bus objects and place them on the bus.\n\n## Settings policy file\n\nSome of the design goals above are achieved via a policy file, which is written\nin YAML. Based on this policy file, the settings manager code is generated to be\nable to create only relevant settings D-Bus objects along with specifying their\ndefaults.\n\nHere's an example of how entries in the YAML would look:\n\n```yaml\n/xyz/openbmc_project/control/host0/boot_mode:\n  Interface: xyz.openbmc_project.Control.Boot.Mode\n  Defaults:\n    BootMode: Mode::Modes::Regular\n\n/xyz/openbmc_project/control/host1/boot_mode:\n  Interface: xyz.openbmc_project.Control.Boot.Mode\n  Defaults:\n    BootMode: Mode::Modes::Safe\n```\n\nIt is possible to specify this policy file via a bitbake recipe for a system\nspecific policy.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenbmc%2Fphosphor-settingsd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenbmc%2Fphosphor-settingsd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenbmc%2Fphosphor-settingsd/lists"}