librarian-puppet-lmco 0.9.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +5 -0
  3. data/LICENSE +20 -0
  4. data/README.md +187 -0
  5. data/bin/librarian-puppet +9 -0
  6. data/lib/librarian/puppet.rb +22 -0
  7. data/lib/librarian/puppet/cli.rb +85 -0
  8. data/lib/librarian/puppet/dsl.rb +16 -0
  9. data/lib/librarian/puppet/environment.rb +54 -0
  10. data/lib/librarian/puppet/extension.rb +47 -0
  11. data/lib/librarian/puppet/lockfile/parser.rb +53 -0
  12. data/lib/librarian/puppet/source.rb +4 -0
  13. data/lib/librarian/puppet/source/forge.rb +348 -0
  14. data/lib/librarian/puppet/source/git.rb +121 -0
  15. data/lib/librarian/puppet/source/githubtarball.rb +249 -0
  16. data/lib/librarian/puppet/source/local.rb +57 -0
  17. data/lib/librarian/puppet/source/path.rb +12 -0
  18. data/lib/librarian/puppet/templates/Puppetfile +10 -0
  19. data/lib/librarian/puppet/version.rb +5 -0
  20. data/vendor/librarian/CHANGELOG.md +224 -0
  21. data/vendor/librarian/Gemfile +6 -0
  22. data/vendor/librarian/MIT-LICENSE +20 -0
  23. data/vendor/librarian/README.md +401 -0
  24. data/vendor/librarian/Rakefile +34 -0
  25. data/vendor/librarian/bin/librarian-chef +7 -0
  26. data/vendor/librarian/bin/librarian-mock +7 -0
  27. data/vendor/librarian/config/cucumber.yaml +1 -0
  28. data/vendor/librarian/features/chef/cli/init.feature +11 -0
  29. data/vendor/librarian/features/chef/cli/install.feature +64 -0
  30. data/vendor/librarian/features/chef/cli/show.feature +77 -0
  31. data/vendor/librarian/features/chef/cli/version.feature +11 -0
  32. data/vendor/librarian/features/support/env.rb +9 -0
  33. data/vendor/librarian/lib/librarian.rb +11 -0
  34. data/vendor/librarian/lib/librarian/action.rb +5 -0
  35. data/vendor/librarian/lib/librarian/action/base.rb +24 -0
  36. data/vendor/librarian/lib/librarian/action/clean.rb +44 -0
  37. data/vendor/librarian/lib/librarian/action/ensure.rb +24 -0
  38. data/vendor/librarian/lib/librarian/action/install.rb +95 -0
  39. data/vendor/librarian/lib/librarian/action/persist_resolution_mixin.rb +51 -0
  40. data/vendor/librarian/lib/librarian/action/resolve.rb +46 -0
  41. data/vendor/librarian/lib/librarian/action/update.rb +44 -0
  42. data/vendor/librarian/lib/librarian/chef.rb +1 -0
  43. data/vendor/librarian/lib/librarian/chef/cli.rb +47 -0
  44. data/vendor/librarian/lib/librarian/chef/dsl.rb +16 -0
  45. data/vendor/librarian/lib/librarian/chef/environment.rb +27 -0
  46. data/vendor/librarian/lib/librarian/chef/extension.rb +9 -0
  47. data/vendor/librarian/lib/librarian/chef/integration/knife.rb +46 -0
  48. data/vendor/librarian/lib/librarian/chef/manifest_reader.rb +59 -0
  49. data/vendor/librarian/lib/librarian/chef/source.rb +4 -0
  50. data/vendor/librarian/lib/librarian/chef/source/git.rb +25 -0
  51. data/vendor/librarian/lib/librarian/chef/source/github.rb +27 -0
  52. data/vendor/librarian/lib/librarian/chef/source/local.rb +69 -0
  53. data/vendor/librarian/lib/librarian/chef/source/path.rb +12 -0
  54. data/vendor/librarian/lib/librarian/chef/source/site.rb +442 -0
  55. data/vendor/librarian/lib/librarian/chef/templates/Cheffile +15 -0
  56. data/vendor/librarian/lib/librarian/cli.rb +223 -0
  57. data/vendor/librarian/lib/librarian/cli/manifest_presenter.rb +93 -0
  58. data/vendor/librarian/lib/librarian/config.rb +7 -0
  59. data/vendor/librarian/lib/librarian/config/database.rb +205 -0
  60. data/vendor/librarian/lib/librarian/config/file_source.rb +47 -0
  61. data/vendor/librarian/lib/librarian/config/hash_source.rb +33 -0
  62. data/vendor/librarian/lib/librarian/config/source.rb +149 -0
  63. data/vendor/librarian/lib/librarian/dependency.rb +147 -0
  64. data/vendor/librarian/lib/librarian/dsl.rb +108 -0
  65. data/vendor/librarian/lib/librarian/dsl/receiver.rb +46 -0
  66. data/vendor/librarian/lib/librarian/dsl/target.rb +171 -0
  67. data/vendor/librarian/lib/librarian/environment.rb +182 -0
  68. data/vendor/librarian/lib/librarian/error.rb +4 -0
  69. data/vendor/librarian/lib/librarian/helpers.rb +13 -0
  70. data/vendor/librarian/lib/librarian/linter/source_linter.rb +55 -0
  71. data/vendor/librarian/lib/librarian/lockfile.rb +29 -0
  72. data/vendor/librarian/lib/librarian/lockfile/compiler.rb +66 -0
  73. data/vendor/librarian/lib/librarian/lockfile/parser.rb +123 -0
  74. data/vendor/librarian/lib/librarian/logger.rb +46 -0
  75. data/vendor/librarian/lib/librarian/manifest.rb +140 -0
  76. data/vendor/librarian/lib/librarian/manifest_set.rb +151 -0
  77. data/vendor/librarian/lib/librarian/mock.rb +1 -0
  78. data/vendor/librarian/lib/librarian/mock/cli.rb +19 -0
  79. data/vendor/librarian/lib/librarian/mock/dsl.rb +15 -0
  80. data/vendor/librarian/lib/librarian/mock/environment.rb +24 -0
  81. data/vendor/librarian/lib/librarian/mock/extension.rb +9 -0
  82. data/vendor/librarian/lib/librarian/mock/source.rb +1 -0
  83. data/vendor/librarian/lib/librarian/mock/source/mock.rb +80 -0
  84. data/vendor/librarian/lib/librarian/mock/source/mock/registry.rb +83 -0
  85. data/vendor/librarian/lib/librarian/resolution.rb +46 -0
  86. data/vendor/librarian/lib/librarian/resolver.rb +81 -0
  87. data/vendor/librarian/lib/librarian/resolver/implementation.rb +223 -0
  88. data/vendor/librarian/lib/librarian/source.rb +2 -0
  89. data/vendor/librarian/lib/librarian/source/basic_api.rb +45 -0
  90. data/vendor/librarian/lib/librarian/source/git.rb +134 -0
  91. data/vendor/librarian/lib/librarian/source/git/repository.rb +217 -0
  92. data/vendor/librarian/lib/librarian/source/local.rb +54 -0
  93. data/vendor/librarian/lib/librarian/source/path.rb +56 -0
  94. data/vendor/librarian/lib/librarian/spec.rb +13 -0
  95. data/vendor/librarian/lib/librarian/spec_change_set.rb +173 -0
  96. data/vendor/librarian/lib/librarian/specfile.rb +17 -0
  97. data/vendor/librarian/lib/librarian/support/abstract_method.rb +21 -0
  98. data/vendor/librarian/lib/librarian/ui.rb +64 -0
  99. data/vendor/librarian/lib/librarian/version.rb +3 -0
  100. data/vendor/librarian/librarian.gemspec +35 -0
  101. data/vendor/librarian/spec/functional/chef/cli_spec.rb +194 -0
  102. data/vendor/librarian/spec/functional/chef/source/git_spec.rb +432 -0
  103. data/vendor/librarian/spec/functional/chef/source/site_spec.rb +266 -0
  104. data/vendor/librarian/spec/functional/source/git/repository_spec.rb +150 -0
  105. data/vendor/librarian/spec/integration/chef/source/git_spec.rb +441 -0
  106. data/vendor/librarian/spec/integration/chef/source/site_spec.rb +217 -0
  107. data/vendor/librarian/spec/support/cli_macro.rb +114 -0
  108. data/vendor/librarian/spec/support/method_patch_macro.rb +30 -0
  109. data/vendor/librarian/spec/support/with_env_macro.rb +20 -0
  110. data/vendor/librarian/spec/unit/action/base_spec.rb +18 -0
  111. data/vendor/librarian/spec/unit/action/clean_spec.rb +102 -0
  112. data/vendor/librarian/spec/unit/action/ensure_spec.rb +37 -0
  113. data/vendor/librarian/spec/unit/action/install_spec.rb +111 -0
  114. data/vendor/librarian/spec/unit/config/database_spec.rb +327 -0
  115. data/vendor/librarian/spec/unit/dependency_spec.rb +212 -0
  116. data/vendor/librarian/spec/unit/dsl_spec.rb +173 -0
  117. data/vendor/librarian/spec/unit/environment_spec.rb +173 -0
  118. data/vendor/librarian/spec/unit/lockfile/parser_spec.rb +162 -0
  119. data/vendor/librarian/spec/unit/lockfile_spec.rb +65 -0
  120. data/vendor/librarian/spec/unit/manifest_set_spec.rb +202 -0
  121. data/vendor/librarian/spec/unit/manifest_spec.rb +36 -0
  122. data/vendor/librarian/spec/unit/mock/source/mock_spec.rb +22 -0
  123. data/vendor/librarian/spec/unit/resolver_spec.rb +233 -0
  124. data/vendor/librarian/spec/unit/source/git_spec.rb +29 -0
  125. data/vendor/librarian/spec/unit/spec_change_set_spec.rb +169 -0
  126. metadata +220 -0
@@ -0,0 +1,249 @@
1
+ require 'uri'
2
+ require 'net/https'
3
+ require 'json'
4
+
5
+ module Librarian
6
+ module Puppet
7
+ module Source
8
+ class GitHubTarball
9
+ class Repo
10
+
11
+ attr_accessor :source, :name
12
+ private :source=, :name=
13
+
14
+ def initialize(source, name)
15
+ self.source = source
16
+ self.name = name
17
+ end
18
+
19
+ def versions
20
+ data = api_call("/repos/#{source.uri}/tags")
21
+ if data.nil?
22
+ raise Error, "Unable to find module '#{source.uri}' on https://github.com"
23
+ end
24
+
25
+ all_versions = data.map { |r| r['name'] }.sort.reverse
26
+
27
+ all_versions = all_versions.map do |version|
28
+ version.gsub(/^v/, '')
29
+ end
30
+
31
+ all_versions.delete_if do |version|
32
+ version !~ /\A\d\.\d(\.\d.*)?\z/
33
+ end
34
+
35
+ all_versions.compact
36
+ end
37
+
38
+ def manifests
39
+ versions.map do |version|
40
+ Manifest.new(source, name, version)
41
+ end
42
+ end
43
+
44
+ def install_version!(version, install_path)
45
+ if environment.local? && !vendored?(source.uri, version)
46
+ raise Error, "Could not find a local copy of #{source.uri} at #{version}."
47
+ end
48
+
49
+ vendor_cache(source.uri, version) unless vendored?(source.uri, version)
50
+
51
+ cache_version_unpacked! version
52
+
53
+ if install_path.exist?
54
+ install_path.rmtree
55
+ end
56
+
57
+ unpacked_path = version_unpacked_cache_path(version).children.first
58
+ FileUtils.cp_r(unpacked_path, install_path)
59
+ end
60
+
61
+ def environment
62
+ source.environment
63
+ end
64
+
65
+ def cache_path
66
+ @cache_path ||= source.cache_path.join(name)
67
+ end
68
+
69
+ def version_unpacked_cache_path(version)
70
+ cache_path.join('version').join(hexdigest(version.to_s))
71
+ end
72
+
73
+ def hexdigest(value)
74
+ Digest::MD5.hexdigest(value)
75
+ end
76
+
77
+ def cache_version_unpacked!(version)
78
+ path = version_unpacked_cache_path(version)
79
+ return if path.directory?
80
+
81
+ path.mkpath
82
+
83
+ target = vendored?(source.uri, version) ? vendored_path(source.uri, version) : name
84
+
85
+ `tar xzf #{target} -C #{path}`
86
+ end
87
+
88
+ def vendored?(name, version)
89
+ vendored_path(name, version).exist?
90
+ end
91
+
92
+ def vendored_path(name, version)
93
+ environment.vendor_cache.mkpath
94
+ environment.vendor_cache.join("#{name.sub("/", "-")}-#{version}.tar.gz")
95
+ end
96
+
97
+ def vendor_cache(name, version)
98
+ clean_up_old_cached_versions(name)
99
+
100
+ url = "https://api.github.com/repos/#{name}/tarball/#{version}"
101
+ url << "?access_token=#{ENV['GITHUB_API_TOKEN']}" if ENV['GITHUB_API_TOKEN']
102
+ `curl #{url} -o #{vendored_path(name, version).to_s} -L 2>&1`
103
+ end
104
+
105
+ def clean_up_old_cached_versions(name)
106
+ Dir["#{environment.vendor_cache}/#{name.sub('/', '-')}*.tar.gz"].each do |old_version|
107
+ FileUtils.rm old_version
108
+ end
109
+ end
110
+
111
+ private
112
+
113
+ def api_call(path)
114
+ url = "https://api.github.com#{path}"
115
+ url << "?access_token=#{ENV['GITHUB_API_TOKEN']}" if ENV['GITHUB_API_TOKEN']
116
+ uri = URI.parse(url)
117
+ http = Net::HTTP.new(uri.host, uri.port)
118
+ http.use_ssl = true
119
+ http.verify_mode = OpenSSL::SSL::VERIFY_NONE
120
+ request = Net::HTTP::Get.new(uri.request_uri)
121
+ resp = http.request(request)
122
+ if resp.code.to_i != 200
123
+ nil
124
+ else
125
+ data = resp.body
126
+ JSON.parse(data)
127
+ end
128
+ end
129
+ end
130
+
131
+ class << self
132
+ LOCK_NAME = 'GITHUBTARBALL'
133
+
134
+ def lock_name
135
+ LOCK_NAME
136
+ end
137
+
138
+ def from_lock_options(environment, options)
139
+ new(environment, options[:remote], options.reject { |k, v| k == :remote })
140
+ end
141
+
142
+ def from_spec_args(environment, uri, options)
143
+ recognised_options = []
144
+ unrecognised_options = options.keys - recognised_options
145
+ unless unrecognised_options.empty?
146
+ raise Error, "unrecognised options: #{unrecognised_options.join(", ")}"
147
+ end
148
+
149
+ new(environment, uri, options)
150
+ end
151
+ end
152
+
153
+ attr_accessor :environment
154
+ private :environment=
155
+ attr_reader :uri
156
+
157
+ def initialize(environment, uri, options = {})
158
+ self.environment = environment
159
+ @uri = uri
160
+ @cache_path = nil
161
+ end
162
+
163
+ def to_s
164
+ uri
165
+ end
166
+
167
+ def ==(other)
168
+ other &&
169
+ self.class == other.class &&
170
+ self.uri == other.uri
171
+ end
172
+
173
+ alias :eql? :==
174
+
175
+ def hash
176
+ self.to_s.hash
177
+ end
178
+
179
+ def to_spec_args
180
+ [uri, {}]
181
+ end
182
+
183
+ def to_lock_options
184
+ {:remote => uri}
185
+ end
186
+
187
+ def pinned?
188
+ false
189
+ end
190
+
191
+ def unpin!
192
+ end
193
+
194
+ def install!(manifest)
195
+ manifest.source == self or raise ArgumentError
196
+
197
+ name = manifest.name
198
+ version = manifest.version
199
+ install_path = install_path(name)
200
+ repo = repo(name)
201
+
202
+ repo.install_version! version, install_path
203
+ end
204
+
205
+ def manifest(name, version, dependencies)
206
+ manifest = Manifest.new(self, name)
207
+ manifest.version = version
208
+ manifest.dependencies = dependencies
209
+ manifest
210
+ end
211
+
212
+ def cache_path
213
+ @cache_path ||= begin
214
+ dir = Digest::MD5.hexdigest(uri)
215
+ environment.cache_path.join("source/puppet/githubtarball/#{dir}")
216
+ end
217
+ end
218
+
219
+ def install_path(name)
220
+ environment.install_path.join(name.split('/').last)
221
+ end
222
+
223
+ def fetch_version(name, version_uri)
224
+ versions = repo(name).versions
225
+ if versions.include? version_uri
226
+ version_uri
227
+ else
228
+ versions.first
229
+ end
230
+ end
231
+
232
+ def fetch_dependencies(name, version, version_uri)
233
+ {}
234
+ end
235
+
236
+ def manifests(name)
237
+ repo(name).manifests
238
+ end
239
+
240
+ private
241
+
242
+ def repo(name)
243
+ @repo ||= {}
244
+ @repo[name] ||= Repo.new(self, name)
245
+ end
246
+ end
247
+ end
248
+ end
249
+ end
@@ -0,0 +1,57 @@
1
+ module Librarian
2
+ module Puppet
3
+ module Source
4
+ module Local
5
+
6
+ def install!(manifest)
7
+ manifest.source == self or raise ArgumentError
8
+
9
+ debug { "Installing #{manifest}" }
10
+
11
+ name, version = manifest.name, manifest.version
12
+ found_path = found_path(name)
13
+ raise Error, "Path for #{name} doesn't contain a puppet module" if found_path.nil?
14
+
15
+ if name.include? '/'
16
+ new_name = name.split('/').last
17
+ debug { "Invalid module name '#{name}', guessing you meant '#{new_name}'" }
18
+ name = new_name
19
+ end
20
+
21
+ install_path = environment.install_path.join(name)
22
+ if install_path.exist?
23
+ debug { "Deleting #{relative_path_to(install_path)}" }
24
+ install_path.rmtree
25
+ end
26
+
27
+ install_perform_step_copy!(found_path, install_path)
28
+ end
29
+
30
+ def fetch_version(name, extra)
31
+ cache!
32
+ found_path = found_path(name)
33
+ '0.0.1'
34
+ end
35
+
36
+ def fetch_dependencies(name, version, extra)
37
+ {}
38
+ end
39
+
40
+ private
41
+
42
+ def install_perform_step_copy!(found_path, install_path)
43
+ debug { "Copying #{relative_path_to(found_path)} to #{relative_path_to(install_path)}" }
44
+ FileUtils.cp_r(found_path, install_path)
45
+ end
46
+
47
+ def manifest?(name, path)
48
+ return true if path.join('manifests').exist?
49
+ return true if path.join('lib').join('puppet').exist?
50
+ return true if path.join('lib').join('facter').exist?
51
+ debug { "Could not find manifests, lib/puppet or lib/facter under #{path}, assuming is not a puppet module" }
52
+ false
53
+ end
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,12 @@
1
+ require 'librarian/source/path'
2
+ require 'librarian/puppet/source/local'
3
+
4
+ module Librarian
5
+ module Puppet
6
+ module Source
7
+ class Path < Librarian::Source::Path
8
+ include Local
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,10 @@
1
+ forge "http://forge.puppetlabs.com"
2
+
3
+ # mod 'puppetlabs/stdlib'
4
+
5
+ # mod 'ntp',
6
+ # :git => 'git://github.com/puppetlabs/puppetlabs-ntp.git'
7
+
8
+ # mod 'apt',
9
+ # :git => 'https://github.com/puppetlabs/puppetlabs-apt.git',
10
+ # :ref => 'feature/master/dans_refactor'
@@ -0,0 +1,5 @@
1
+ module Librarian
2
+ module Puppet
3
+ VERSION = "0.9.8.2"
4
+ end
5
+ end
@@ -0,0 +1,224 @@
1
+ # Change Log
2
+
3
+ ## 0.0.26
4
+
5
+ * \#112. Prevent the git source being confused in certain cases by colorized
6
+ output from git. HT: @ericpp.
7
+
8
+ * \#115, \#116. Accommodate cookbook archives generated by `git archive`.
9
+ HT: @taqtiqa-mark.
10
+
11
+ * \#119. Support NO_PROXY, a modifier on HTTP_PROXY and friends. HT: @databus23.
12
+
13
+ * \#121. A github pseudosource. HT: @alno.
14
+
15
+ * \#122. Follow http redirect responses in the chef site source. HT: @Fleurer.
16
+
17
+ * Improve the resolver performance by detecting conflicts earlier and
18
+ backtracking more quickly. This will help avoid certain cases of long
19
+ resolutions caused by conflicts; the conflicts will still be there, but will
20
+ be detected more quickly and the resolution terminated more quickly. This
21
+ changes the resolution algorithm, and new resolutions may differ from older
22
+ resolutions.
23
+
24
+ ## 0.0.25
25
+
26
+ * \#71. Fix an error, given certain locale settings, with reading cookbook
27
+ metadata files.
28
+
29
+ * \#89. Fix an error when encountering manifests and dependencies with names of
30
+ a single letter, such as `"R"`.
31
+
32
+ * \#92, \#99. HTTP proxy support via the `HTTP_PROXY` environment variable. Also
33
+ supports `HTTP_PROXY_USER` and `HTTP_PROXY_PASS` environment variables. Thanks
34
+ @tknerr.
35
+
36
+ * \#97. Enforce that the `:ref` option in the `:git` source may only be given a
37
+ string.
38
+
39
+ * \#98. Fix unpacking chef site-sourced packages where the directory in the
40
+ tarball does not match the cookbook name.
41
+
42
+ ## 0.0.24
43
+
44
+ * \#15. A remembered configuration system.
45
+
46
+ * \#16. Configure, and remember configuration for, chef install paths.
47
+
48
+ * \#38. Configure, and remember configuration for, stripping out `.git`
49
+ directories from git-sources chef dependencies.
50
+
51
+ * \#76. Support git annotated tags.
52
+
53
+ * \#80. Ignore directories in the `PATH` named `git` when looking for the `git`
54
+ bin. Thanks @avit.
55
+
56
+ * \#85. Provide a helpful message when running the `show` command without a
57
+ lockfile present.
58
+
59
+ ## 0.0.23
60
+
61
+ * \#41. Build gems with a built gemspec.
62
+
63
+ * \#67. Cache remote objects at the latest possible moments, and only when they
64
+ are needed.
65
+
66
+ * \#68. Fix unpacking chef site-sourced packages on Windows by pivoting from a
67
+ Librarian-managed scratch space, rather than pivoting from Windows' temp
68
+ directory. There were unexplained problems with using the Windows temp
69
+ directory in certain cases, possibly related to the temp directory and the
70
+ Librarian cache directory being on different volumes.
71
+
72
+ * \#69. Fix invoking Librarian with git-sourced dependencies from git hooks by
73
+ unsetting `GIT_DIR` around shelling out to git.
74
+
75
+ * Print general environment information when running with `--verbose`.
76
+
77
+ ## 0.0.22
78
+
79
+ * Fix the `outdated` CLI command.
80
+
81
+ ## 0.0.21
82
+
83
+ * \#64. Sources now raise when given unrecognized options in the specfile.
84
+
85
+ * A new `show` CLI command.
86
+
87
+ * Changed the `clean` CLI command no longer to delete the lockfile.
88
+
89
+ * Simplify the architecture of `Librarian::Manifest` vis-a-vis sources. It is no
90
+ longer a base class for adapters to inherit. Now, sources expose a small
91
+ interface, which `Librarian::Manifest` can call, for delay-loading attributes.
92
+
93
+ * The git source now resolves the `git` binary before `chdir`ing.
94
+
95
+ * Test on Rubinius.
96
+
97
+ ## 0.0.20
98
+
99
+ * A command to print outdated dependencies.
100
+
101
+ ## 0.0.19
102
+
103
+ * Fix breakage on 1.8.
104
+
105
+ ## 0.0.18
106
+
107
+ * \#57. Include existing manifests' dependencies in resolution.
108
+
109
+ * Permit the update action even with a changed specfile.
110
+
111
+ ## 0.0.17
112
+
113
+ * Use a pure-Ruby implementation of tar/gz. Helps with Windows support, since
114
+ Windows boxes are less likely than *NIX boxes to have the `tar` executable.
115
+
116
+ * Fix an issue where the chef site source considers uncached manifests to be
117
+ cached, and skips caching them, causing the install action to fail.
118
+
119
+ * Fail fast if the resolver produces an inconsistent resolution. It is a known
120
+ issue that the resolver will sometimes (deterministically, not randomly)
121
+ produce an inconsistent resolution when performing an update action (#57).
122
+ Start debugging this by failing fast at this point and spitting out gobs of
123
+ debug-level log details.
124
+
125
+ ## 0.0.16
126
+
127
+ * Recache site-sourced dependency metadata per each run.
128
+
129
+ * \#46. Always install.
130
+
131
+ * \#53. Abstract versions & requirements from rubygems.
132
+
133
+ * Own the install path. Recreate it on each install.
134
+ WARNING: If you have your own content in the install path, it will be deleted without mercy.
135
+
136
+ ## 0.0.15
137
+
138
+ * Rewrite the README.
139
+
140
+ * \#44, \#49. Better updating of cached git sources without using local merges.
141
+
142
+ ## 0.0.14
143
+
144
+ * \#39 Fixes a regression induced by using `git reset --hard SHA`.
145
+
146
+ ## 0.0.13
147
+
148
+ * \#36 Fixes an issue where, if a dependency has a git source (the upstream), and the upstream is updated,
149
+ then attempting to update that dependency in the local resolution would not update that dependency so
150
+ long as that git source were cached (@databus23).
151
+
152
+ * More immediate detection of, and better error messages for, cases of blank dependency or manifest names
153
+ or cases of names that are otherwise insensible, such as names that are untrimmed.
154
+
155
+ ## 0.0.12
156
+
157
+ * Fixes an issue where, if a dependency has a git source with a ref, re-resolving may fail.
158
+
159
+ ## 0.0.11
160
+
161
+ * Fix a regression where the cli command "version" failed.
162
+
163
+ ## 0.0.10
164
+
165
+ This release focuses on refactoring some of the internals. There are no functional changes.
166
+
167
+ ## 0.0.9
168
+
169
+ * \#11 Fixes a problem where, if the repo is in a path where a component has a space, attempting to resolve a
170
+ site-sourced dependency fails.
171
+
172
+ ## 0.0.8
173
+
174
+ * A `version` task.
175
+
176
+ * A change log.
177
+
178
+ * \#10 Fixes the problem with bouncing the lockfile when updating, when using a git source with the default ref.
179
+
180
+ ## 0.0.7
181
+
182
+ * \#8 Add highline temporarily as a runtime dependency of `librarian` (@fnichol).
183
+ When the project is split into `librarian` and `librarian-chef`, the `chef` runtime dependency will
184
+ be moved to `librarian-chef`. If the project is further split into a knife plugin, the dependency
185
+ will be moved there.
186
+
187
+ ## 0.0.6
188
+
189
+ * \#7 Show a better error message when a cookbook is missing the required metadata file.
190
+
191
+ * Miscellaneous bugfixes.
192
+
193
+ ## 0.0.5
194
+
195
+ * \#4 An `init` task for `librarian-chef`.
196
+ This task creates a nearly-blank `Cheffile` with just the default Opscode Community Site source.
197
+
198
+ * Automatically create the `cookbooks` directory, if it's missing, when running the `install` task.
199
+
200
+ * \#3 Add `chef` temporarily as a runtime dependency of `librarian` (@fnichol).
201
+ When the project is split into `librarian` and `librarian-chef`, the `chef` runtime dependency will
202
+ be moved to `librarian-chef`.
203
+
204
+ ## 0.0.4
205
+
206
+ * A simple knife integration.
207
+ This integration allows you to specify a `librarian-chef`-managed tempdir as a `cookbook_path`.
208
+ This is useful to force knife only to upload the exact cookbooks that `librarian-chef` knows
209
+ about, rather than whatever happens to be found in the `cookbooks` directory.
210
+
211
+ ## 0.0.3
212
+
213
+ * Miscellaneous bugfixes.
214
+
215
+ ## 0.0.2
216
+
217
+ * An optional `:path` attribute for `:git` sources.
218
+ This allows you to specify exactly where within a git repository a given cookbook is to be found.
219
+
220
+ * A full example of a Cheffile and its usage in the readme.
221
+
222
+ ## 0.0.1
223
+
224
+ * Initial release.