{"action":"created","issue":{"url":"https://api.github.com/repos/framework-one/fw1/issues/357","labels_url":"https://api.github.com/repos/framework-one/fw1/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/framework-one/fw1/issues/357/comments","events_url":"https://api.github.com/repos/framework-one/fw1/issues/357/events","html_url":"https://github.com/framework-one/fw1/pull/357","id":95900969,"number":357,"title":"Add box.json for ForgeBox / Commandbox","user":{"login":"cfchef","id":3632399,"avatar_url":"https://avatars.githubusercontent.com/u/3632399?v=3","gravatar_id":"","url":"https://api.github.com/users/cfchef","html_url":"https://github.com/cfchef","followers_url":"https://api.github.com/users/cfchef/followers","following_url":"https://api.github.com/users/cfchef/following{/other_user}","gists_url":"https://api.github.com/users/cfchef/gists{/gist_id}","starred_url":"https://api.github.com/users/cfchef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfchef/subscriptions","organizations_url":"https://api.github.com/users/cfchef/orgs","repos_url":"https://api.github.com/users/cfchef/repos","events_url":"https://api.github.com/users/cfchef/events{/privacy}","received_events_url":"https://api.github.com/users/cfchef/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/framework-one/fw1/milestones/15","html_url":"https://github.com/framework-one/fw1/milestones/3.5","labels_url":"https://api.github.com/repos/framework-one/fw1/milestones/15/labels","id":950032,"number":15,"title":"3.5","description":"FW/1 and Clojure Sitting in a Tree","creator":{"login":"seancorfield","id":43875,"avatar_url":"https://avatars.githubusercontent.com/u/43875?v=3","gravatar_id":"","url":"https://api.github.com/users/seancorfield","html_url":"https://github.com/seancorfield","followers_url":"https://api.github.com/users/seancorfield/followers","following_url":"https://api.github.com/users/seancorfield/following{/other_user}","gists_url":"https://api.github.com/users/seancorfield/gists{/gist_id}","starred_url":"https://api.github.com/users/seancorfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seancorfield/subscriptions","organizations_url":"https://api.github.com/users/seancorfield/orgs","repos_url":"https://api.github.com/users/seancorfield/repos","events_url":"https://api.github.com/users/seancorfield/events{/privacy}","received_events_url":"https://api.github.com/users/seancorfield/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":5,"state":"open","created_at":"2015-01-25T01:44:13Z","updated_at":"2015-07-21T16:48:53Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-07-19T09:23:10Z","updated_at":"2015-07-21T18:01:51Z","closed_at":"2015-07-21T16:48:53Z","pull_request":{"url":"https://api.github.com/repos/framework-one/fw1/pulls/357","html_url":"https://github.com/framework-one/fw1/pull/357","diff_url":"https://github.com/framework-one/fw1/pull/357.diff","patch_url":"https://github.com/framework-one/fw1/pull/357.patch"},"body":"So here's a box.json for ForgeBox / CommandBox. It's set up to pull from the `master` repository and install _only_ the `/framework` folder. There are other fields that can be added to box.json (see [here](http://ortus.gitbooks.io/commandbox-documentation/content/packages/boxjson/boxjson.html)), if needed, but the current setup is efficient enough to install the FW/1 files.\r\n\r\nSo far it has been tested in CommandBox (2.0), pulling from a forked repository, by running `box install https://github.com/cfchef/fw1/archive/master.zip`. Now that I've moved it to `develop`, it will pull from that repo instead.\r\n\r\nBy updating the [FW/1 package on ForgeBox](http://www.coldbox.org/forgebox/view/fw1) to include the box.json data, you should then be able to do `box install fw1` and get the same results.\r\n\r\nNote: In Brad's [comment on issue #260](https://github.com/framework-one/fw1/issues/260#issuecomment-122629329), he state's that `createPackageDirectory` should be set to `false` when pulling from a repo; however, I had to set it to `true` in order for things to install properly.\r\n\r\nIf all seems well, the next thing I'll look into is commands to do things like `fw1 create controller x` and recipes to possibly handle general scaffolding of scenarios like single vs subsystem apps."},"comment":{"url":"https://api.github.com/repos/framework-one/fw1/issues/comments/123416840","html_url":"https://github.com/framework-one/fw1/pull/357#issuecomment-123416840","issue_url":"https://api.github.com/repos/framework-one/fw1/issues/357","id":123416840,"user":{"login":"cfchef","id":3632399,"avatar_url":"https://avatars.githubusercontent.com/u/3632399?v=3","gravatar_id":"","url":"https://api.github.com/users/cfchef","html_url":"https://github.com/cfchef","followers_url":"https://api.github.com/users/cfchef/followers","following_url":"https://api.github.com/users/cfchef/following{/other_user}","gists_url":"https://api.github.com/users/cfchef/gists{/gist_id}","starred_url":"https://api.github.com/users/cfchef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfchef/subscriptions","organizations_url":"https://api.github.com/users/cfchef/orgs","repos_url":"https://api.github.com/users/cfchef/repos","events_url":"https://api.github.com/users/cfchef/events{/privacy}","received_events_url":"https://api.github.com/users/cfchef/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T18:01:51Z","updated_at":"2015-07-21T18:01:51Z","body":"In order to sync nicely with CommandBox, the [package on ForgeBox](http://www.coldbox.org/forgebox/view/fw1) will need to be updated and have the contents of the box.json pasted into the necessary field in the edit form. The box.json (which currently points to master) would also need to exist in the master repo in order to pull that version. The box.json in dev could then be altered to point to the develop repo (see below). I can submit a PR for that.\r\n\r\nI was thinking we could have 2 packages on ForgeBox - one being the current (master repo) version: `fw1`, and the other being dev version (develop repo): `fw1-dev`. Then you could do `box install fw1` for the current gold version and `box install fw1-dev` for what's in development.\r\n\r\nUnless any links or general info changes, only the version number would need to be bumped up whenever a new release is pushed to master (or dev if we do 2 packages). The ForgeBox packages would need to be updated to reflect these updates too."}}