{"issue":{"milestone":{"open_issues":2,"title":"CLI","created_at":"2011-12-13T15:01:34Z","creator":{"login":"aiwilliams","id":2571,"url":"https://api.github.com/users/aiwilliams","avatar_url":"https://secure.gravatar.com/avatar/a5877d701b5d6af7f990ced46067ca85?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a5877d701b5d6af7f990ced46067ca85"},"state":"open","due_on":null,"closed_issues":2,"number":2,"description":null,"url":"https://api.github.com/repos/imathis/octopress/milestones/2"},"title":"`octopress create`: generate a basic jekyll project","created_at":"2011-12-22T18:55:47Z","user":{"login":"aiwilliams","id":2571,"url":"https://api.github.com/users/aiwilliams","avatar_url":"https://secure.gravatar.com/avatar/a5877d701b5d6af7f990ced46067ca85?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a5877d701b5d6af7f990ced46067ca85"},"updated_at":"2011-12-30T18:10:30Z","labels":[],"state":"open","id":2640468,"closed_at":null,"html_url":"https://github.com/imathis/octopress/issues/341","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"This issue depends on getting a version of Jekyll that [fixes this](https://github.com/mojombo/jekyll/blob/master/bin/jekyll#L214) to respect the configured destination (so that we may have a deploy strategy of public in the root of the project), instead of hard-coding ```_site```, and also respects the [Exclude filter](https://github.com/mojombo/jekyll/wiki/configuration) so that our _sass directory can be at the root. At least, I think :)\r\n\r\nHistorically, we have maintained this structure (partial):\r\n\r\n```\r\n.\r\n|-- public\r\n|-- sass\r\n|-- source\r\n  |-- _layouts\r\n  |-- _posts\r\n    |   |-- 2007-10-29-why-every-programmer-should-play-nethack.textile\r\n    |   `-- 2009-04-26-barcamp-boston-4-roundup.textile\r\n```\r\n\r\nWe are exploring an even more jekyll default approach:\r\n\r\n```\r\n.\r\n|-- _config.yml\r\n|-- _includes\r\n|-- _layouts\r\n|   |-- default.html\r\n|   `-- post.html\r\n|-- _plugins\r\n|-- _posts\r\n|   |-- 2007-10-29-why-every-programmer-should-play-nethack.textile\r\n|   `-- 2009-04-26-barcamp-boston-4-roundup.textile\r\n|-- _sass\r\n|-- _site\r\n`-- index.html\r\n```\r\n","number":341,"url":"https://api.github.com/repos/imathis/octopress/issues/341","comments":3,"assignee":{"login":"aiwilliams","id":2571,"url":"https://api.github.com/users/aiwilliams","avatar_url":"https://secure.gravatar.com/avatar/a5877d701b5d6af7f990ced46067ca85?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a5877d701b5d6af7f990ced46067ca85"}},"comment":{"created_at":"2011-12-30T18:10:30Z","user":{"login":"aiwilliams","id":2571,"url":"https://api.github.com/users/aiwilliams","avatar_url":"https://secure.gravatar.com/avatar/a5877d701b5d6af7f990ced46067ca85?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a5877d701b5d6af7f990ced46067ca85"},"updated_at":"2011-12-30T18:10:30Z","id":3315571,"body":"Talked with @imathis:\r\n\r\n* Themes\r\n  * Distinct repository per theme\r\n  * Repo will be cloned to tmp location\r\n  * Content will be copied to user's project\r\n  * User has own history, with no ability to pull upstream changes\r\n  * Updates are git fetched into tmp repo, copied on top of existing files\r\n  * Changing a theme is same process, no real effort to clean up old theme at first\r\n  * Available theme urls will be yml list stored in octopress gem repository, executable will fetch\r\n\r\n* Plugins\r\n  * Distinct repository per plugin, allows for independent versioning and repair\r\n  * Repo will be cloned to tmp location\r\n  * Content will be copied to user's project (_plugins)\r\n  * User has own history, with no ability to pull upstream changes\r\n  * Updates are git fetched into tmp repo, copied on top of existing files\r\n  * No plugin should depend on other plugins that are not in octopress core plugins\r\n  * Plugins can declare their octopress core plugin version dependency\r\n  * Themes declare what plugins, including versions, they need as _plugins.yml\r\n  * Themes can declare their octopress core plugins version\r\n  * Octopress core plugin urls will be yml list stored in octopress gem repository, executable will fetch\r\n\r\n* Versioning\r\n  * Not perfectly clear yet. Probably git branches so that non-api-breaking changes can be easily introduced. Rails does it this way.","url":"https://api.github.com/repos/imathis/octopress/issues/comments/3315571"},"action":"created"}