Advertisement
Guest User

Untitled

a guest
Aug 4th, 2015
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. == dual metadata repos.
  2.  
  3.  
  4. There's a problem I've been stewing over.
  5.  
  6. What's the best way to organize collections of metadata into repos?
  7.  
  8. Solution 1: keep the metadata file in the repo with the book. People who know the book are best positioned to accept pull requests.
  9.  
  10. Solution 2: keep the metadata files in a separate repo just for metadata. Metadata specialists are better positioned to make sure the metadata is clean and uniform.
  11.  
  12. New solution: Dual metadata. keep the metadata files in both book and metadata repos. Have a bot that syncs them. Have a flexible mechanism to let maintainers have sync commits go directly to master or to require approval.
  13.  
  14. Byproduct: Use same sync mechanism to allow delegation/syncing of entity metadata, for example metadata about authors of a book. (like foreign keys in a relational db)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement