Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Autofixing Style/PercentLiteralDelimeterslcg/percentliteraldelimeters | Lamont Granquist | 2016-01-18 | 4 | -4/+4 |
| | | | | | | See chef/chefstyle#11 for analysis and discussion. We select '{}' since audit of our source code shows that is the most common, and that used to be the dominant learning paradigm (e.g. in ruby 1.9 pickaxe book. | ||||
* | Revert "another chefstyle catchup + pull master" | Lamont Granquist | 2016-01-18 | 4 | -9/+9 |
| | | | | This reverts commit ccf46bf3055b2a1c06499ec104f3d74c26643395. | ||||
* | another chefstyle catchup + pull master | Lamont Granquist | 2016-01-18 | 4 | -9/+9 |
| | | | | | | | bunch of merges over the weekend need re-fixing again. seems like pointing at master of chefstyle is probably a good idea to start making people fix their code before merging. | ||||
* | Make local cookbook artifacts load correctly | John Keiser | 2016-01-15 | 3 | -1/+77 |
| | |||||
* | Treat repository policies dir as one level (/policies/name-revision.json) | John Keiser | 2016-01-15 | 1 | -1/+1 |
| | |||||
* | Add policies dir that allows directory children | John Keiser | 2016-01-15 | 2 | -4/+43 |
| | |||||
* | Fix unused variables and commentsjk/cookbook-artifacts | John Keiser | 2016-01-15 | 1 | -2/+0 |
| | |||||
* | Make upload cookbook_artifacts work | John Keiser | 2016-01-15 | 3 | -2/+9 |
| | |||||
* | Get download of cookbook_artifacts working | John Keiser | 2016-01-15 | 1 | -1/+0 |
| | |||||
* | Add server cookbook artifacts and list_spec | John Keiser | 2016-01-15 | 7 | -11/+157 |
| | |||||
* | Add local cookbook_artifacts | John Keiser | 2016-01-15 | 1 | -1/+1 |
| | |||||
* | Use double quotes by default | Thom May | 2016-01-14 | 49 | -217/+217 |
| | | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing. | ||||
* | Merge pull request #4398 from chef/lcg/trailing_comma | Thom May | 2016-01-14 | 2 | -3/+3 |
|\ | | | | | autocorrecting Style/TrailingComma | ||||
| * | autocorrecting Style/TrailingCommalcg/trailing_comma | Lamont Granquist | 2016-01-13 | 2 | -3/+3 |
| | | | | | | | | chefstyle -a fixed 1044 occurrances | ||||
* | | Split repository versioned and unversioned cookbooksjk/chef-fs-cookbook-refactor | John Keiser | 2016-01-13 | 4 | -18/+89 |
| | | |||||
* | | Split versioned cookbook dir from unversioned | John Keiser | 2016-01-13 | 5 | -25/+77 |
| | | |||||
* | | Split versioned and unversioned cookbooks into separate classes | John Keiser | 2016-01-13 | 3 | -65/+106 |
|/ | |||||
* | Move server and repository fs objects to their own directories | John Keiser | 2016-01-13 | 62 | -2713/+2781 |
| | |||||
* | Correct uses of fail to raisetm/fix_fail | Thom May | 2016-01-13 | 1 | -1/+1 |
| | | | | Style/SignalException - 3 | ||||
* | really fix copslcg/really-fix-cops | Lamont Granquist | 2016-01-12 | 1 | -26/+26 |
| | |||||
* | Convert all uses of Chef::REST to Chef::ServerAPItm/no_more_rest | Thom May | 2016-01-11 | 1 | -1/+1 |
| | | | | | | | In the process, stop auto-expanding JSON in the HTTP client, and let individual classes control that themselves. Fixes #2737, Fixes #3518 | ||||
* | If /policies and /policy_groups are not on this server version, | John Keiser | 2015-12-15 | 2 | -2/+57 |
| | | | | treat them like empty directories | ||||
* | Add knife/ChefFS support for policyfiles and policy_groups. | John Keiser | 2015-12-15 | 27 | -122/+448 |
| | |||||
* | Add make_child_entry in ChefFS CookbookSubdir | Maxime Brugidou | 2015-11-25 | 1 | -0/+5 |
| | | | | Following a517fa8a we can't call `child` on cookbook subdirs. | ||||
* | Properly rescue ENOENT on delete and send DataNotFoundError | John Keiser | 2015-11-18 | 1 | -6/+10 |
| | | | | so that callers can 404 when deleting a nonexistent path | ||||
* | Allow downloading of root_files in a chef repositoryssd/download-root-files | Steven Danna | 2015-10-23 | 1 | -1/+1 |
| | | | | | | | A FileSystemEntry with a nil parent is a "root directory" and thus should exists so long as its filesystem path exists. This was preventing the download of files such as invitation.json whose parent directory is a root directory. | ||||
* | Re-upgrade chef-zero to latestjk/latest-chef-zero | John Keiser | 2015-09-23 | 2 | -3/+4 |
| | |||||
* | Refactor "children" to use make_child_entry everywhere, simplifyjk/fs_children | John Keiser | 2015-08-07 | 17 | -87/+60 |
| | |||||
* | Don't return nil from make_child_entry | John Keiser | 2015-08-07 | 1 | -2/+2 |
| | |||||
* | Fix multiple directory warning to print actual directory | John Keiser | 2015-08-07 | 1 | -1/+1 |
| | |||||
* | Don't say a file system entry exists unless it can have the given | John Keiser | 2015-08-07 | 1 | -1/+1 |
| | | | | child. | ||||
* | Rename make_child / _make_child_entry -> make_child_entry for consistency | John Keiser | 2015-08-07 | 14 | -44/+31 |
| | |||||
* | Speed up file system access by not listing children on every | John Keiser | 2015-08-07 | 2 | -1/+20 |
| | | | | | | | | | child(name) access. Also removes an intermittent warning when first downloading large numbers of cookbooks where sometimes a cookbook directory has been created but its children have not: when you run child('other_cookbook') it lists 'cookbooks'.children and notices the empty directory. Annoying, and probably affects knife-ec-backup. | ||||
* | Allow cookbooks_dir to use chef_rest instead of rest for now. | tylercloke | 2015-07-06 | 2 | -10/+2 |
| | |||||
* | Cleanup. | tylercloke | 2015-07-06 | 1 | -1/+1 |
| | |||||
* | Default Chef::ChefFS::...::ChefServerRootDir.rest to use API V0 and ↵ | tylercloke | 2015-07-06 | 2 | -3/+11 |
| | | | | | | | | deprecated chef_rest. Unfortunately, chef_rest was using the now outdated Chef::HTTP so I could not default it to API V0. It was also being used anywhere except Chef::ChefFS::FileSystem::CookbooksDir, which can just as easially use rest instead of chef_rest as they provide the same interface. That update has been made. | ||||
* | Missing require (require what you use).jk/missing_require | John Keiser | 2015-06-26 | 1 | -0/+1 |
| | |||||
* | fix Lint/UnderscorePrefixedVariableName | Lamont Granquist | 2015-02-23 | 1 | -3/+3 |
| | |||||
* | fix Lint/Loop style | Lamont Granquist | 2015-02-18 | 1 | -2/+3 |
| | |||||
* | Improve policy ChefFS supportpolicyfile-native-api-support | danielsdeleo | 2015-01-27 | 2 | -3/+42 |
| | |||||
* | Add ChefFS data handling for policies | danielsdeleo | 2015-01-27 | 1 | -0/+3 |
| | |||||
* | Fix #2596: parse instead of from_jsonjk/2596 | John Keiser | 2014-12-10 | 1 | -1/+1 |
| | |||||
* | add empty? method for cheffs base dir class | curiositycasualty | 2014-10-28 | 1 | -0/+5 |
| | | | | | | | | add spec tests remove commented pry binding delegate to Array#empty? instead | ||||
* | Trying to eradicate all traces of the JSON gem from Chef | tyler-ball | 2014-10-07 | 3 | -3/+6 |
| | |||||
* | Add ChefFS rdoc, format existing ChefFS rdoc correctlyjk/doc | John Keiser | 2014-09-09 | 2 | -21/+28 |
| | |||||
* | Make Chef::Config.versioned_cookbooks configurable by consumersjk/versioned_cookbooks_config | John Keiser | 2014-09-05 | 5 | -8/+15 |
| | | | | without having to modify Chef::Config itself | ||||
* | Fix crash when repo root does not exist | John Keiser | 2014-09-05 | 1 | -7/+10 |
| | |||||
* | Add many comments to DataHandler and FileSystem classes | John Keiser | 2014-09-05 | 4 | -8/+52 |
| | |||||
* | Add org.json, members.json, invitations.json for full org download | John Keiser | 2014-09-05 | 7 | -21/+221 |
| | | | | and upload support | ||||
* | Switch back to ChefZero::RSpec version 3jk/rspec_zero_3 | John Keiser | 2014-08-29 | 1 | -1/+1 |
| | | | | And add some Enterprise tests (fix an acl delete issue) |