{"action":"opened","issue":{"url":"https://api.github.com/repos/facebookincubator/LogDevice/issues/56","repository_url":"https://api.github.com/repos/facebookincubator/LogDevice","labels_url":"https://api.github.com/repos/facebookincubator/LogDevice/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/facebookincubator/LogDevice/issues/56/comments","events_url":"https://api.github.com/repos/facebookincubator/LogDevice/issues/56/events","html_url":"https://github.com/facebookincubator/LogDevice/issues/56","id":379745082,"node_id":"MDU6SXNzdWUzNzk3NDUwODI=","number":56,"title":"Add a dynamic loader for plugins","user":{"login":"sh00s","id":8821591,"node_id":"MDQ6VXNlcjg4MjE1OTE=","avatar_url":"https://avatars1.githubusercontent.com/u/8821591?v=4","gravatar_id":"","url":"https://api.github.com/users/sh00s","html_url":"https://github.com/sh00s","followers_url":"https://api.github.com/users/sh00s/followers","following_url":"https://api.github.com/users/sh00s/following{/other_user}","gists_url":"https://api.github.com/users/sh00s/gists{/gist_id}","starred_url":"https://api.github.com/users/sh00s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sh00s/subscriptions","organizations_url":"https://api.github.com/users/sh00s/orgs","repos_url":"https://api.github.com/users/sh00s/repos","events_url":"https://api.github.com/users/sh00s/events{/privacy}","received_events_url":"https://api.github.com/users/sh00s/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-12T11:59:01Z","updated_at":"2018-11-12T11:59:01Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Currently the only way to load plugins is to build them as a static library, export the `logdevice_plugin()` symbol and link them to the binary that uses the logdevice library. `StaticPluginLoader` then picks them up:\r\nhttps://github.com/facebookincubator/LogDevice/blob/e6424a70735b589d0be1ed8a25f7a273a2198df3/logdevice/common/plugin/StaticPluginLoader.cpp#L13-L31\r\n\r\nThis is inconvenient, as this requires a rebuild of the binary every time something in the plugin changes. In addition to that, a dynamic plugin loader should be developed. It should pick up `.so` files from a certain folder, and then load all the plugins exported by those."}}
{"actor":{"display_login":"sh00s"}}