Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Store & load Article#body in separate git repo #57

Closed
jordanbyron opened this Issue Jun 29, 2012 · 0 comments

Comments

Projects
None yet
2 participants
Owner

jordanbyron commented Jun 29, 2012

This is mostly a brain dump and will need to be fleshed out before it can be implemented:

  • Store articles in markdown files in a separate git repository, which should be symlinked into app.
  • Continue to save article meta data (Title, Issue #, Volume #) in the database and load body by matching on Issue # and Volume #
  • Add Article#updated_at to the article cache key so it is invalidated when article is updated.
    • We will also need to add template updated at time to this key.
  • Syncing article files should update Article#updated_at to the file's date modified time if it is less than Article#updated_at
  • Cache Cooker should update any changed articles when they are synced
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment