Issue 3599: Add snippets_enabled flag to projects for API
Created by: dblessing
Fixes #3599 (closed).
I have tested this for both creation and retrieval via API and it all works as described. I applied these changes and tested on a master branch build.
Please see previous pull request at #3989 for discussion regarding the comments. I had some issues with the squash and ended up having to close that PR in favor of this one. Thanks.
Merge request reports
Activity
Created by: coveralls
Coverage decreased (-0%) when pulling fb04cdd276bf90d512b6996f26ca5b0f47b0ef1c on bke-drewb:3599 into 6cf29166 on gitlabhq:master.
By Administrator on 2013-05-19T18:58:46 (imported from GitLab project)
By Administrator on 2013-05-19T18:58:46 (imported from GitLab)
Created by: coveralls
Coverage decreased (-0%) when pulling f8d361841e13760f18d72ff3bab1d5bfe8de58ff on bke-drewb:3599 into 6cf29166 on gitlabhq:master.
By Administrator on 2013-05-19T21:43:12 (imported from GitLab project)
By Administrator on 2013-05-19T21:43:12 (imported from GitLab)
Created by: Razer6
Thank you! No it should be possible to do this without making a new PR. I think you can squash locally and do a forced push to Github.
By Administrator on 2013-05-19T21:42:54 (imported from GitLab project)
By Administrator on 2013-05-19T21:42:54 (imported from GitLab)
Created by: coveralls
Coverage decreased (-0%) when pulling a133eece5e71b311e5c2a7eb13dd3bb29d28f929 on bke-drewb:3599 into 6cf29166 on gitlabhq:master.
By Administrator on 2013-05-19T22:02:17 (imported from GitLab project)
By Administrator on 2013-05-19T22:02:17 (imported from GitLab)
Created by: Razer6
@bke-drewb Can you add default settings like https://github.com/gitlabhq/gitlabhq/blob/master/app/contexts/projects/create_context.rb#L14 does? The config file already has default settings.
By Administrator on 2013-07-07T09:12:20 (imported from GitLab project)
By Administrator on 2013-07-07T09:12:20 (imported from GitLab)