r10k 3.15.2 → 3.15.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b8f47b9b316994e718214a6f92e25b7dcd6f9e402e73ddee076920ac65b8317
4
- data.tar.gz: '03847035922476e3fc27030c231cbb362ceac63387c4d300443a401eca298f16'
3
+ metadata.gz: 88effbb8c4c27ea6b6b0dd3966eacea9f7b37fecb54c93754c4cbb1ae4d632c7
4
+ data.tar.gz: 4838509ee371158576a979a4fec7db539f1f14ce61342446e19d9b6e6a69b9ac
5
5
  SHA512:
6
- metadata.gz: db1c6069ec189325027ee5e4015d1b659afc410f5840daacc7d21b724288c1d9e86c2e55792760d8b13ef981794d18c25db9977a5e56002898de005ca6a54b55
7
- data.tar.gz: c3d8dca548fb0e57eba9b9a2df5a37c74d4ebdb74f224e9c03f8ee112f3708c8cc4b9630cfe671c944f30089052d5c4275c5e2a44df3ed015b59e3c710b7b40f
6
+ metadata.gz: 0eaead3b6ec1067d94cd4178d8b4b75cafd8bf03ffe6ce4b15f94595d266a986f9273ec333875377a1ba929a9a38c689222e75de93d6e80341d4f8f5b92a0ef3
7
+ data.tar.gz: cb3be6747d145279d3e743c94052491ff7582faa74780b2714b82c03ff3d4d9963686989c2d23a001f5b65f618a8fd778d612c3d2f2de285ae14c70f188a0bb0
data/CHANGELOG.mkd CHANGED
@@ -4,6 +4,11 @@ CHANGELOG
4
4
  Unreleased
5
5
  ----------
6
6
 
7
+ 3.15.3
8
+ ------
9
+ - Fix dirty working copy debug logging [#1321](https://github.com/puppetlabs/r10k/pull/1321)
10
+ - Allow gettext-setup < 2 for compatibility with Ruby 3.2 and Puppet 8 [#1325](https://github.com/puppetlabs/r10k/pull/1325)
11
+
7
12
  3.15.2
8
13
  ------
9
14
  - Implement exclude regex for puppetfile install [#1248](https://github.com/puppetlabs/r10k/issues/1248)
data/README.mkd CHANGED
@@ -5,11 +5,10 @@ Puppet environment and module deployment
5
5
 
6
6
  [![Build Status](https://travis-ci.org/puppetlabs/r10k.png?branch=master)](https://travis-ci.org/puppetlabs/r10k)
7
7
 
8
- > R10k is supported and maintained by Puppet, but we consider it to be feature complete
9
- > and currently have no plans for future feature development. We will keep it working
10
- > with current code deployment standards and the Ruby ecosystem that ships with the
11
- > puppet-agent package, but any new feature development will come from peer-reviewed
12
- > community contributions, with the onus on the contributor and community for validation.
8
+ > R10k is supported and maintained by Puppet, but we consider it to be feature
9
+ > complete and currently have no plans for any new development. We will keep it
10
+ > working within the context of Puppet Enterprise, but we cannot make any other
11
+ > maintenance promises at this time.
13
12
 
14
13
 
15
14
  Description
@@ -121,24 +120,13 @@ To release a new version of the r10k gem, ensure the [changelog](CHANGELOG.mkd)
121
120
 
122
121
  By default, a patch (Z) release will be triggered. To release a new major (X) or minor (Y) version, include `#major` or `#minor` (respectively) in your commit message to trigger the appropriate release.
123
122
 
124
- NOTE: This currently only works for the default branch. If you would like to release from a different branch, please contact the [CODEOWNERS](CODEOWNERS).
125
-
126
123
  Getting help
127
124
  ------------
128
125
 
129
- * IRC: r10k has a dedicated channel, `#r10k`, on Freenode where r10k questions
130
- can be directed. Questions about r10k can frequently be asked in `#puppet` as well.
126
+ * [Puppet Community Slack](https://puppetcommunity.slack.com/)
131
127
  * Mailing lists: [puppet-users](https://groups.google.com/forum/#!forum/puppet-users)
132
128
  * Q&A: [Puppet Ask](https://ask.puppetlabs.com/questions/)
133
129
 
134
- Contributors
135
- ------------
136
-
137
- Please see the CHANGELOG for a listing of the (very awesome) contributors.
138
-
139
130
  ## Maintenance
140
131
 
141
- See [CODEOWNERS](CODEOWNERS) for active repo maintainers.
142
-
143
- Open [issues](https://github.com/puppetlabs/r10k/issues) directly in the r10k repo.
144
-
132
+ See [CODEOWNERS](CODEOWNERS) for current project owners.
@@ -94,7 +94,7 @@ class R10K::Git::ShellGit::WorkingRepository < R10K::Git::ShellGit::BaseReposito
94
94
  result = git(['diff-index', '--exit-code', '--name-only', 'HEAD'], :path => @path.to_s, :raise_on_fail => false)
95
95
 
96
96
  if result.exit_code != 0
97
- dirty_files = result.stdout.split('\n')
97
+ dirty_files = result.stdout.split("\n")
98
98
  dirty_files.delete_if { |f| f.start_with?('spec/') } if exclude_spec
99
99
 
100
100
  dirty_files.each do |file|
data/lib/r10k/version.rb CHANGED
@@ -2,5 +2,5 @@ module R10K
2
2
  # When updating to a new major (X) or minor (Y) version, include `#major` or
3
3
  # `#minor` (respectively) in your commit message to trigger the appropriate
4
4
  # release. Otherwise, a new patch (Z) version will be released.
5
- VERSION = '3.15.2'
5
+ VERSION = '3.15.3'
6
6
  end
data/locales/r10k.pot CHANGED
@@ -6,11 +6,11 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: r10k 3.9.3-208-gb88bb368\n"
9
+ "Project-Id-Version: r10k 3.9.3-265-gcb0a3463\n"
10
10
  "\n"
11
11
  "Report-Msgid-Bugs-To: docs@puppetlabs.com\n"
12
- "POT-Creation-Date: 2022-02-07 21:13+0000\n"
13
- "PO-Revision-Date: 2022-02-07 21:13+0000\n"
12
+ "POT-Creation-Date: 2022-12-08 22:58+0000\n"
13
+ "PO-Revision-Date: 2022-12-08 22:58+0000\n"
14
14
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
15
15
  "Language-Team: LANGUAGE <LL@li.org>\n"
16
16
  "Language: \n"
@@ -123,10 +123,6 @@ msgstr ""
123
123
  msgid "Environment and %{src} both define the \"%{name}\" module"
124
124
  msgstr ""
125
125
 
126
- #: ../lib/r10k/environment/with_modules.rb:61
127
- msgid "#{msg_error}. The %{src} definition will be ignored"
128
- msgstr ""
129
-
130
126
  #: ../lib/r10k/environment/with_modules.rb:71
131
127
  msgid "Unexpected value for `module_conflicts` setting in %{env} environment: %{val}"
132
128
  msgstr ""
@@ -303,26 +299,10 @@ msgstr ""
303
299
  msgid "Using Github App id %{app_id} with SSL key from %{key_path}"
304
300
  msgstr ""
305
301
 
306
- #: ../lib/r10k/git/rugged/credentials.rb:178
307
- msgid ""
308
- "Unexpected response code: #{get_response.code}\n"
309
- "Response body: #{get_response.body}"
310
- msgstr ""
311
-
312
302
  #: ../lib/r10k/git/rugged/credentials.rb:179
313
303
  msgid "Error using private key to get Github App access token from url"
314
304
  msgstr ""
315
305
 
316
- #: ../lib/r10k/git/rugged/credentials.rb:194
317
- msgid ""
318
- "Unexpected response code: #{post_response.code}\n"
319
- "Response body: #{post_response.body}"
320
- msgstr ""
321
-
322
- #: ../lib/r10k/git/rugged/credentials.rb:195
323
- msgid "Error using private key to generate access token from #{access_token_url}"
324
- msgstr ""
325
-
326
306
  #: ../lib/r10k/git/rugged/credentials.rb:200
327
307
  msgid "Github App token contains invalid characters."
328
308
  msgstr ""
@@ -331,7 +311,7 @@ msgstr ""
331
311
  msgid "Github App token generated, expires at: %{expire}"
332
312
  msgstr ""
333
313
 
334
- #: ../lib/r10k/git/rugged/thin_repository.rb:85 ../lib/r10k/git/shellgit/thin_repository.rb:65
314
+ #: ../lib/r10k/git/rugged/thin_repository.rb:92 ../lib/r10k/git/shellgit/thin_repository.rb:69
335
315
  msgid "Updated repo %{path} to include alternate object db path %{objects_dir}"
336
316
  msgstr ""
337
317
 
@@ -343,7 +323,7 @@ msgstr ""
343
323
  msgid "Fetching remote '%{remote}' at %{path}"
344
324
  msgstr ""
345
325
 
346
- #: ../lib/r10k/git/rugged/working_repository.rb:125 ../lib/r10k/git/shellgit/working_repository.rb:100
326
+ #: ../lib/r10k/git/rugged/working_repository.rb:129 ../lib/r10k/git/shellgit/working_repository.rb:101
347
327
  msgid "Found local modifications in %{file_path}"
348
328
  msgstr ""
349
329
 
@@ -395,22 +375,6 @@ msgstr ""
395
375
  msgid "Module %{name} with args %{args} doesn't have an implementation. (Are you using the right arguments?)"
396
376
  msgstr ""
397
377
 
398
- #: ../lib/r10k/module/base.rb:66
399
- msgid "Overriding :exclude_spec setting with per module setting for #{@title}"
400
- msgstr ""
401
-
402
- #: ../lib/r10k/module/base.rb:87
403
- msgid "Spec dir for #{@title} will not be deleted because it is not in the moduledir"
404
- msgstr ""
405
-
406
- #: ../lib/r10k/module/base.rb:99
407
- msgid "Deleting spec data at #{spec_path}"
408
- msgstr ""
409
-
410
- #: ../lib/r10k/module/base.rb:107
411
- msgid "No spec dir detected at #{spec_path}, skipping deletion"
412
- msgstr ""
413
-
414
378
  #: ../lib/r10k/module/base.rb:120
415
379
  msgid "Deploying module to %{path}"
416
380
  msgstr ""
@@ -439,10 +403,6 @@ msgstr ""
439
403
  msgid "The module %{title} does not exist on %{url}."
440
404
  msgstr ""
441
405
 
442
- #: ../lib/r10k/module/forge.rb:205
443
- msgid "Forge module names must match 'owner/modulename', instead got #{title}"
444
- msgstr ""
445
-
446
406
  #: ../lib/r10k/module/git.rb:79
447
407
  msgid "Cannot track control repo branch for content '%{name}' when not part of a git-backed environment, will use default if available."
448
408
  msgstr ""
@@ -455,43 +415,43 @@ msgstr ""
455
415
  msgid "Could not read metadata.json"
456
416
  msgstr ""
457
417
 
458
- #: ../lib/r10k/module_loader/puppetfile.rb:64
418
+ #: ../lib/r10k/module_loader/puppetfile.rb:68
459
419
  msgid "Using Puppetfile '%{puppetfile}'"
460
420
  msgstr ""
461
421
 
462
- #: ../lib/r10k/module_loader/puppetfile.rb:65
422
+ #: ../lib/r10k/module_loader/puppetfile.rb:69
463
423
  msgid "Using moduledir '%{moduledir}'"
464
424
  msgstr ""
465
425
 
466
- #: ../lib/r10k/module_loader/puppetfile.rb:86
426
+ #: ../lib/r10k/module_loader/puppetfile.rb:91
467
427
  msgid "Failed to evaluate %{path}"
468
428
  msgstr ""
469
429
 
470
- #: ../lib/r10k/module_loader/puppetfile.rb:103
430
+ #: ../lib/r10k/module_loader/puppetfile.rb:108
471
431
  msgid "Unable to preload Puppetfile because of %{msg}"
472
432
  msgstr ""
473
433
 
474
- #: ../lib/r10k/module_loader/puppetfile.rb:121
434
+ #: ../lib/r10k/module_loader/puppetfile.rb:126
475
435
  msgid "Using Forge from Puppetfile: %{forge}"
476
436
  msgstr ""
477
437
 
478
- #: ../lib/r10k/module_loader/puppetfile.rb:124
438
+ #: ../lib/r10k/module_loader/puppetfile.rb:129
479
439
  msgid "Ignoring Forge declaration in Puppetfile, using value from settings: %{forge}."
480
440
  msgstr ""
481
441
 
482
- #: ../lib/r10k/module_loader/puppetfile.rb:173
442
+ #: ../lib/r10k/module_loader/puppetfile.rb:181
483
443
  msgid "\"basedir\" is deprecated. Please use \"environment_name\" instead. \"basedir\" will be removed in a future version."
484
444
  msgstr ""
485
445
 
486
- #: ../lib/r10k/module_loader/puppetfile.rb:192 ../lib/r10k/puppetfile.rb:104
446
+ #: ../lib/r10k/module_loader/puppetfile.rb:200 ../lib/r10k/puppetfile.rb:104
487
447
  msgid "Puppetfile %{path} missing or unreadable"
488
448
  msgstr ""
489
449
 
490
- #: ../lib/r10k/module_loader/puppetfile.rb:230
450
+ #: ../lib/r10k/module_loader/puppetfile.rb:242
491
451
  msgid "Puppetfiles cannot contain duplicate module names."
492
452
  msgstr ""
493
453
 
494
- #: ../lib/r10k/module_loader/puppetfile.rb:232
454
+ #: ../lib/r10k/module_loader/puppetfile.rb:244
495
455
  msgid "Remove the duplicates of the following modules: %{dupes}"
496
456
  msgstr ""
497
457
 
@@ -507,7 +467,7 @@ msgstr ""
507
467
  msgid "Validation failed for settings group"
508
468
  msgstr ""
509
469
 
510
- #: ../lib/r10k/settings/container.rb:91
470
+ #: ../lib/r10k/settings/container.rb:92
511
471
  msgid "Key %{key} is not a valid key"
512
472
  msgstr ""
513
473
 
@@ -551,10 +511,6 @@ msgstr ""
551
511
  msgid "Couldn't load config file: %{error_msg}"
552
512
  msgstr ""
553
513
 
554
- #: ../lib/r10k/settings/loader.rb:73
555
- msgid "File exists at #{path} but doesn't contain any YAML"
556
- msgstr ""
557
-
558
514
  #: ../lib/r10k/settings/uri_definition.rb:12
559
515
  msgid "Setting %{name} requires a URL but '%{value}' could not be parsed as a URL"
560
516
  msgstr ""
data/r10k.gemspec CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |s|
30
30
 
31
31
  s.add_dependency 'puppet_forge', '>= 2.3.0'
32
32
 
33
- s.add_dependency 'gettext-setup', '~>0.24'
33
+ s.add_dependency 'gettext-setup', ['>=0.24', '< 2.0.0']
34
34
  s.add_dependency 'fast_gettext', ['>= 1.1.0', '< 3.0.0']
35
35
  s.add_dependency 'gettext', ['>= 3.0.2', '< 4.0.0']
36
36
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r10k
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.15.2
4
+ version: 3.15.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrien Thebo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-05 00:00:00.000000000 Z
11
+ date: 2022-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colored2
@@ -84,16 +84,22 @@ dependencies:
84
84
  name: gettext-setup
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0.24'
90
+ - - "<"
91
+ - !ruby/object:Gem::Version
92
+ version: 2.0.0
90
93
  type: :runtime
91
94
  prerelease: false
92
95
  version_requirements: !ruby/object:Gem::Requirement
93
96
  requirements:
94
- - - "~>"
97
+ - - ">="
95
98
  - !ruby/object:Gem::Version
96
99
  version: '0.24'
100
+ - - "<"
101
+ - !ruby/object:Gem::Version
102
+ version: 2.0.0
97
103
  - !ruby/object:Gem::Dependency
98
104
  name: fast_gettext
99
105
  requirement: !ruby/object:Gem::Requirement