CocoaPods/CocoaPods — pull request #210 by irrationalfab (2012-04-16 12:01:51+00:00)
Title: RSS

To my knowledge it is not possible to use git repos in heroku. Apparently you can't update a submodule directly in a slug (the slug is stripped from the .git directory) and you can't clone a repo (it always initializes an empty repo).

To get the creation date of the pods to fill the rss I see only two alternatives:

1. Get the commit dates from the GitHub webhook.
- I would avoid this approach because it requires to kickstart the app with the dates of the existing pods every time that it is uploaded to Heroku.
2. Store the dates directly in the repo.
- The only disadvantage to this is that the metadata needs to be computed manually.
- The upcoming pod push can be used to compute the metadata and update the master repo.
- If the metadata is not updated the feed doesn't picks the new pod. Once it is updated however the order is consistent.
- This is the solution that I'm proposing here.