r10k 3.15.2 → 3.15.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rspec_tests.yml +2 -1
- data/CHANGELOG.mkd +9 -0
- data/README.mkd +6 -18
- data/integration/tests/git_source/git_source_submodule.rb +1 -1
- data/lib/r10k/git/shellgit/working_repository.rb +1 -1
- data/lib/r10k/version.rb +1 -1
- data/locales/r10k.pot +16 -60
- data/r10k.gemspec +2 -2
- metadata +16 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2300d770bc6d49649bacd705ec99dfb416ac7ab7ca2a0b59246ba12623622253
|
4
|
+
data.tar.gz: bf8e2b45aa052d46b8abe55cc8e1364e48aa4d9f70621280ec7d114c94f1a95e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7544a56bf9f5e135b899c95dca1f7dc12ecd0aefa006ccc847a5407dd10d53945d5a58b16220d6fe228a596c853323b7c49da05e530ddf49388759bc7b88309e
|
7
|
+
data.tar.gz: 394171c0c00105467c9a23af8444f36935f2042c1f67c1359fa36c3e856dbcdea50f1440a4a8593339314d6783c673994728a1150547e4c4f4faeb2253107300
|
@@ -33,7 +33,8 @@ jobs:
|
|
33
33
|
|
34
34
|
- name: Install bundler and gems
|
35
35
|
run: |
|
36
|
-
|
36
|
+
# Pin bundler to maintain support for Ruby 2.4 and 2.5
|
37
|
+
gem install bundler -v 2.3.26
|
37
38
|
bundle config set without packaging documentation
|
38
39
|
bundle install --jobs 4 --retry 3
|
39
40
|
|
data/CHANGELOG.mkd
CHANGED
@@ -4,6 +4,15 @@ CHANGELOG
|
|
4
4
|
Unreleased
|
5
5
|
----------
|
6
6
|
|
7
|
+
3.15.4
|
8
|
+
------
|
9
|
+
- Pin dependencies to maintain support for old Ruby versions [#1329](https://github.com/puppetlabs/r10k/pull/1329)
|
10
|
+
|
11
|
+
3.15.3
|
12
|
+
------
|
13
|
+
- Fix dirty working copy debug logging [#1321](https://github.com/puppetlabs/r10k/pull/1321)
|
14
|
+
- Allow gettext-setup < 2 for compatibility with Ruby 3.2 and Puppet 8 [#1325](https://github.com/puppetlabs/r10k/pull/1325)
|
15
|
+
|
7
16
|
3.15.2
|
8
17
|
------
|
9
18
|
- 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
|
9
|
-
> and
|
10
|
-
>
|
11
|
-
>
|
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
|
-
*
|
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
|
142
|
-
|
143
|
-
Open [issues](https://github.com/puppetlabs/r10k/issues) directly in the r10k repo.
|
144
|
-
|
132
|
+
See [CODEOWNERS](CODEOWNERS) for current project owners.
|
@@ -44,7 +44,7 @@ scp_to(master, helloworld_module_path, File.join(git_clone_module_path, 'hellowo
|
|
44
44
|
git_add_commit_push(master, 'master', 'Add module.', git_clone_module_path)
|
45
45
|
|
46
46
|
step 'Add "helloworld" Module Git Repo as Submodule'
|
47
|
-
on(master, "cd #{git_environments_path};git submodule add file://#{git_repo_module_path} dist")
|
47
|
+
on(master, "cd #{git_environments_path};git -c protocol.file.allow=always submodule add file://#{git_repo_module_path} dist")
|
48
48
|
|
49
49
|
step 'Checkout "production" Branch'
|
50
50
|
git_on(master, 'checkout production', git_environments_path)
|
@@ -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(
|
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.
|
5
|
+
VERSION = '3.15.4'
|
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-
|
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-
|
13
|
-
"PO-Revision-Date: 2022-
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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
@@ -28,9 +28,9 @@ Gem::Specification.new do |s|
|
|
28
28
|
s.add_dependency 'log4r', '1.1.10'
|
29
29
|
s.add_dependency 'multi_json', '~> 1.10'
|
30
30
|
|
31
|
-
s.add_dependency 'puppet_forge', '>= 2.3.0'
|
31
|
+
s.add_dependency 'puppet_forge', ['>= 2.3.0', '< 4.0.0']
|
32
32
|
|
33
|
-
s.add_dependency 'gettext-setup', '
|
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.
|
4
|
+
version: 3.15.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrien Thebo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colored2
|
@@ -73,6 +73,9 @@ dependencies:
|
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 2.3.0
|
76
|
+
- - "<"
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: 4.0.0
|
76
79
|
type: :runtime
|
77
80
|
prerelease: false
|
78
81
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -80,20 +83,29 @@ dependencies:
|
|
80
83
|
- - ">="
|
81
84
|
- !ruby/object:Gem::Version
|
82
85
|
version: 2.3.0
|
86
|
+
- - "<"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: 4.0.0
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
90
|
name: gettext-setup
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
86
92
|
requirements:
|
87
|
-
- - "
|
93
|
+
- - ">="
|
88
94
|
- !ruby/object:Gem::Version
|
89
95
|
version: '0.24'
|
96
|
+
- - "<"
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: 2.0.0
|
90
99
|
type: :runtime
|
91
100
|
prerelease: false
|
92
101
|
version_requirements: !ruby/object:Gem::Requirement
|
93
102
|
requirements:
|
94
|
-
- - "
|
103
|
+
- - ">="
|
95
104
|
- !ruby/object:Gem::Version
|
96
105
|
version: '0.24'
|
106
|
+
- - "<"
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: 2.0.0
|
97
109
|
- !ruby/object:Gem::Dependency
|
98
110
|
name: fast_gettext
|
99
111
|
requirement: !ruby/object:Gem::Requirement
|