id,node_id,number,state,locked,title,user,body,created_at,updated_at,closed_at,merged_at,merge_commit_sha,assignee,milestone,draft,head,base,author_association,repo,url,merged_by,auto_merge 663836965,MDExOlB1bGxSZXF1ZXN0NjYzODM2OTY1,1368,closed,0,DRAFT: A new plugin hook for dynamic metadata,2670795,"Note that this is a WORK IN PROGRESS! This PR adds the following plugin hook: get_metadata( datasette=self, key=key, database=database, table=table, fallback=fallback ) This gets called when we're building our metdata for the rest of the system to use. Datasette merges whatever the plugins return with any local metadata (from metadata.yml/yaml/json) allowing for a live-editable dynamic Datasette. __A major design consideration is this: should Datasette perform the metadata merge? Or should Datasette allow plugins to perform any modifications themselves?__ As a security precation, local meta is *not* overwritable by plugin hooks. The workflow for transitioning to live-meta would be to load the plugin with the full metadata.yaml and save. Then remove the parts of the metadata that you want to be able to change from the file. I have a WIP dynamic configuration plugin here, for reference: https://github.com/next-LI/datasette-live-config/",2021-06-07T18:56:00Z,2021-06-26T22:24:54Z,2021-06-26T22:24:54Z,2021-06-26T22:24:54Z,baf986c871708c01ca183be760995cf306ba21bf,,,0,84fe80cb94ad2d6d7d88f6dec94b6c317fbe20d9,953a64467d78bca29fe6cc18bdb2baa7848e53ff,CONTRIBUTOR,107914493,https://github.com/simonw/datasette/pull/1368,, 678459554,MDExOlB1bGxSZXF1ZXN0Njc4NDU5NTU0,1385,closed,0,Fix + improve get_metadata plugin hook docs,2670795,"This fixes documentation inaccuracies and adds a disclaimer about the signature of the `get_metadata` hook. Addresses the following comments: - https://github.com/simonw/datasette/issues/1384#issuecomment-869069926 - https://github.com/simonw/datasette/issues/1384#issuecomment-869075368",2021-06-27T05:43:20Z,2021-09-13T18:53:11Z,2021-09-13T18:53:11Z,,d283ef6806aabcd749623ffe4e69011879f7bfad,,,0,8d78c8c22ddfa10c041f7b5dd9118d4c8674729f,67cbf0ae7243431bf13702e6e3ba466b619c4d6f,CONTRIBUTOR,107914493,https://github.com/simonw/datasette/pull/1385,, 726990680,MDExOlB1bGxSZXF1ZXN0NzI2OTkwNjgw,35,open,0,Support for Datasette's --base-url setting,2670795,This makes it so you can use Dogsheep if you're using Datasette with the `--base-url /some-path/` setting.,2021-09-03T17:47:45Z,2021-09-03T17:47:45Z,,,0f5931da2099303111c49ec726b78bae814f755e,,,0,e6679d287b2e97fc94f50da64e1a7b91c1fbbf67,a895bc360f2738c7af43deda35c847f1ee5bff51,FIRST_TIME_CONTRIBUTOR,197431109,https://github.com/dogsheep/dogsheep-beta/pull/35,,