pdk 1.9.1 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,8 +29,7 @@ module PDK
29
29
 
30
30
  return nil unless File.directory?(source_git_dir)
31
31
 
32
- ref_result = PDK::Util::Git.git('--git-dir', source_git_dir, 'describe', '--all', '--long')
33
- return ref_result[:stdout].strip if ref_result[:exit_code].zero?
32
+ PDK::Util::Git.describe(source_git_dir)
34
33
  end
35
34
 
36
35
  def self.version_file
@@ -1,4 +1,4 @@
1
1
  module PDK
2
- VERSION = '1.9.1'.freeze
2
+ VERSION = '1.10.0'.freeze
3
3
  TEMPLATE_REF = VERSION
4
4
  end
@@ -6,11 +6,11 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: puppet development kit v1.9.0-15-g264d3c07ab\n"
9
+ "Project-Id-Version: puppet development kit v1.9.1-46-g3e22a80\n"
10
10
  "\n"
11
11
  "Report-Msgid-Bugs-To: docs@puppet.com\n"
12
- "POT-Creation-Date: 2019-03-01 11:43-0700\n"
13
- "PO-Revision-Date: 2019-03-01 11:43-0700\n"
12
+ "POT-Creation-Date: 2019-04-02 10:51+1100\n"
13
+ "PO-Revision-Date: 2019-04-02 10:51+1100\n"
14
14
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
15
15
  "Language-Team: LANGUAGE <LL@li.org>\n"
16
16
  "Language: \n"
@@ -44,54 +44,58 @@ msgid "Specifies the URL to the template to use when creating new modules or cla
44
44
  msgstr ""
45
45
 
46
46
  #: ../lib/pdk/cli.rb:48
47
- msgid "When specified, skips interactive querying of metadata."
47
+ msgid "Specifies the template git branch or tag to use when creating new modules or classes."
48
48
  msgstr ""
49
49
 
50
50
  #: ../lib/pdk/cli.rb:52
51
- msgid "When specified, interactive querying of metadata will include all optional questions."
51
+ msgid "When specified, skips interactive querying of metadata."
52
52
  msgstr ""
53
53
 
54
54
  #: ../lib/pdk/cli.rb:56
55
+ msgid "When specified, interactive querying of metadata will include all optional questions."
56
+ msgstr ""
57
+
58
+ #: ../lib/pdk/cli.rb:60
55
59
  msgid "Puppet version to run tests or validations against."
56
60
  msgstr ""
57
61
 
58
- #: ../lib/pdk/cli.rb:57
62
+ #: ../lib/pdk/cli.rb:61
59
63
  msgid "Puppet Enterprise version to run tests or validations against."
60
64
  msgstr ""
61
65
 
62
- #: ../lib/pdk/cli.rb:63
66
+ #: ../lib/pdk/cli.rb:67
63
67
  msgid "When specified, PDK will validate or test against the current Puppet source from github.com. To use this option, you must have network access to https://github.com."
64
68
  msgstr ""
65
69
 
66
- #: ../lib/pdk/cli.rb:68
70
+ #: ../lib/pdk/cli.rb:72
67
71
  msgid "pdk command [options]"
68
72
  msgstr ""
69
73
 
70
- #: ../lib/pdk/cli.rb:69
74
+ #: ../lib/pdk/cli.rb:73
71
75
  msgid "Puppet Development Kit"
72
76
  msgstr ""
73
77
 
74
- #: ../lib/pdk/cli.rb:70
78
+ #: ../lib/pdk/cli.rb:74
75
79
  msgid "The shortest path to better modules."
76
80
  msgstr ""
77
81
 
78
- #: ../lib/pdk/cli.rb:73
82
+ #: ../lib/pdk/cli.rb:77
79
83
  msgid "Show version of pdk."
80
84
  msgstr ""
81
85
 
82
- #: ../lib/pdk/cli.rb:78
86
+ #: ../lib/pdk/cli.rb:82
83
87
  msgid "Show help for this command."
84
88
  msgstr ""
85
89
 
86
- #: ../lib/pdk/cli.rb:83
90
+ #: ../lib/pdk/cli.rb:87
87
91
  msgid "Specify desired output format. Valid formats are '%{available_formats}'. You may also specify a file to which the formatted output is sent, for example: '--format=junit:report.xml'. This option may be specified multiple times if each option specifies a distinct target file."
88
92
  msgstr ""
89
93
 
90
- #: ../lib/pdk/cli.rb:94
94
+ #: ../lib/pdk/cli.rb:98
91
95
  msgid "Enable debug output."
92
96
  msgstr ""
93
97
 
94
- #: ../lib/pdk/cli.rb:98
98
+ #: ../lib/pdk/cli.rb:102
95
99
  msgid "Path to an answer file."
96
100
  msgstr ""
97
101
 
@@ -116,34 +120,34 @@ msgid "`pdk build` can only be run from inside a valid module with a metadata.js
116
120
  msgstr ""
117
121
 
118
122
  #: ../lib/pdk/cli/build.rb:31
119
- msgid "This module is missing required fields in the metadata.json. Re-run the build command without --force to add this information."
123
+ msgid "This module is missing the following fields in the metadata.json: %{fields}. These missing fields may affect the visibility of the module on the Forge."
120
124
  msgstr ""
121
125
 
122
- #: ../lib/pdk/cli/build.rb:43
126
+ #: ../lib/pdk/cli/build.rb:47
123
127
  msgid "The file '%{package}' already exists."
124
128
  msgstr ""
125
129
 
126
- #: ../lib/pdk/cli/build.rb:45
130
+ #: ../lib/pdk/cli/build.rb:49
127
131
  msgid "Overwrite?"
128
132
  msgstr ""
129
133
 
130
- #: ../lib/pdk/cli/build.rb:46 ../lib/pdk/cli/build.rb:57
134
+ #: ../lib/pdk/cli/build.rb:50 ../lib/pdk/cli/build.rb:61
131
135
  msgid "Build cancelled; exiting."
132
136
  msgstr ""
133
137
 
134
- #: ../lib/pdk/cli/build.rb:52
138
+ #: ../lib/pdk/cli/build.rb:56
135
139
  msgid "This module is not compatible with PDK, so PDK can not validate or test this build. Unvalidated modules may have errors when uploading to the Forge. To make this module PDK compatible and use validate features, cancel the build and run `pdk convert`."
136
140
  msgstr ""
137
141
 
138
- #: ../lib/pdk/cli/build.rb:56
142
+ #: ../lib/pdk/cli/build.rb:60
139
143
  msgid "Continue build without converting?"
140
144
  msgstr ""
141
145
 
142
- #: ../lib/pdk/cli/build.rb:63
146
+ #: ../lib/pdk/cli/build.rb:67
143
147
  msgid "Building %{module_name} version %{module_version}"
144
148
  msgstr ""
145
149
 
146
- #: ../lib/pdk/cli/build.rb:70
150
+ #: ../lib/pdk/cli/build.rb:74
147
151
  msgid "Build of %{package_name} has completed successfully. Built package can be found here: %{package_path}"
148
152
  msgstr ""
149
153
 
@@ -175,27 +179,27 @@ msgstr ""
175
179
  msgid "Convert an existing module to be compatible with the PDK."
176
180
  msgstr ""
177
181
 
178
- #: ../lib/pdk/cli/convert.rb:12
182
+ #: ../lib/pdk/cli/convert.rb:13
179
183
  msgid "Do not convert the module, just output what would be done."
180
184
  msgstr ""
181
185
 
182
- #: ../lib/pdk/cli/convert.rb:13
186
+ #: ../lib/pdk/cli/convert.rb:14
183
187
  msgid "Convert the module automatically, with no prompts."
184
188
  msgstr ""
185
189
 
186
- #: ../lib/pdk/cli/convert.rb:20
190
+ #: ../lib/pdk/cli/convert.rb:21
187
191
  msgid "`pdk convert` can only be run from inside a valid module directory."
188
192
  msgstr ""
189
193
 
190
- #: ../lib/pdk/cli/convert.rb:25
194
+ #: ../lib/pdk/cli/convert.rb:28
191
195
  msgid "You can not specify --noop and --force when converting a module"
192
196
  msgstr ""
193
197
 
194
- #: ../lib/pdk/cli/convert.rb:29 ../lib/pdk/cli/new/module.rb:22
198
+ #: ../lib/pdk/cli/convert.rb:32 ../lib/pdk/cli/new/module.rb:25
195
199
  msgid "Ignoring --full-interview and continuing with --skip-interview."
196
200
  msgstr ""
197
201
 
198
- #: ../lib/pdk/cli/convert.rb:34
202
+ #: ../lib/pdk/cli/convert.rb:37
199
203
  msgid "Ignoring --full-interview and continuing with --force."
200
204
  msgstr ""
201
205
 
@@ -275,11 +279,11 @@ msgstr ""
275
279
  msgid "This command is now 'pdk new module'."
276
280
  msgstr ""
277
281
 
278
- #: ../lib/pdk/cli/module/generate.rb:22
282
+ #: ../lib/pdk/cli/module/generate.rb:25
279
283
  msgid "New modules are created using the ‘pdk new module’ command."
280
284
  msgstr ""
281
285
 
282
- #: ../lib/pdk/cli/module/generate.rb:38 ../lib/pdk/cli/new/module.rb:37
286
+ #: ../lib/pdk/cli/module/generate.rb:41 ../lib/pdk/cli/new/module.rb:40
283
287
  msgid "Creating new module: %{modname}"
284
288
  msgstr ""
285
289
 
@@ -303,11 +307,11 @@ msgstr ""
303
307
  msgid "Create a new class named <class_name> using given options"
304
308
  msgstr ""
305
309
 
306
- #: ../lib/pdk/cli/new/class.rb:13
310
+ #: ../lib/pdk/cli/new/class.rb:11
307
311
  msgid "Classes can only be created from inside a valid module directory."
308
312
  msgstr ""
309
313
 
310
- #: ../lib/pdk/cli/new/class.rb:26
314
+ #: ../lib/pdk/cli/new/class.rb:24
311
315
  msgid "'%{name}' is not a valid class name"
312
316
  msgstr ""
313
317
 
@@ -319,11 +323,11 @@ msgstr ""
319
323
  msgid "Create a new defined type named <name> using given options"
320
324
  msgstr ""
321
325
 
322
- #: ../lib/pdk/cli/new/defined_type.rb:11
326
+ #: ../lib/pdk/cli/new/defined_type.rb:9
323
327
  msgid "Defined types can only be created from inside a valid module directory."
324
328
  msgstr ""
325
329
 
326
- #: ../lib/pdk/cli/new/defined_type.rb:24
330
+ #: ../lib/pdk/cli/new/defined_type.rb:22
327
331
  msgid "'%{name}' is not a valid defined type name"
328
332
  msgstr ""
329
333
 
@@ -335,11 +339,11 @@ msgstr ""
335
339
  msgid "Create a new module named [module_name] using given options"
336
340
  msgstr ""
337
341
 
338
- #: ../lib/pdk/cli/new/module.rb:11
342
+ #: ../lib/pdk/cli/new/module.rb:12
339
343
  msgid "Specifies the license this module is written under. This should be a identifier from https://spdx.org/licenses/. Common values are 'Apache-2.0', 'MIT', or 'proprietary'."
340
344
  msgstr ""
341
345
 
342
- #: ../lib/pdk/cli/new/module.rb:13
346
+ #: ../lib/pdk/cli/new/module.rb:14
343
347
  msgid "Do not automatically run `bundle install` after creating the module."
344
348
  msgstr ""
345
349
 
@@ -351,7 +355,7 @@ msgstr ""
351
355
  msgid "[experimental] Create a new ruby provider named <name> using given options"
352
356
  msgstr ""
353
357
 
354
- #: ../lib/pdk/cli/new/provider.rb:21
358
+ #: ../lib/pdk/cli/new/provider.rb:19
355
359
  msgid "'%{name}' is not a valid provider name"
356
360
  msgstr ""
357
361
 
@@ -363,15 +367,15 @@ msgstr ""
363
367
  msgid "Create a new task named <name> using given options"
364
368
  msgstr ""
365
369
 
366
- #: ../lib/pdk/cli/new/task.rb:8
370
+ #: ../lib/pdk/cli/new/task.rb:7
367
371
  msgid "A short description of the purpose of the task"
368
372
  msgstr ""
369
373
 
370
- #: ../lib/pdk/cli/new/task.rb:12
374
+ #: ../lib/pdk/cli/new/task.rb:11
371
375
  msgid "Tasks can only be created from inside a valid module directory."
372
376
  msgstr ""
373
377
 
374
- #: ../lib/pdk/cli/new/task.rb:25
378
+ #: ../lib/pdk/cli/new/task.rb:24
375
379
  msgid "'%{name}' is not a valid task name"
376
380
  msgstr ""
377
381
 
@@ -447,15 +451,15 @@ msgstr ""
447
451
  msgid "Update the module automatically, with no prompts."
448
452
  msgstr ""
449
453
 
450
- #: ../lib/pdk/cli/update.rb:17
454
+ #: ../lib/pdk/cli/update.rb:19
451
455
  msgid "`pdk update` can only be run from inside a valid module directory."
452
456
  msgstr ""
453
457
 
454
- #: ../lib/pdk/cli/update.rb:21
458
+ #: ../lib/pdk/cli/update.rb:23
455
459
  msgid "This module does not appear to be PDK compatible. To make the module compatible with PDK, run `pdk convert`."
456
460
  msgstr ""
457
461
 
458
- #: ../lib/pdk/cli/update.rb:24
462
+ #: ../lib/pdk/cli/update.rb:26
459
463
  msgid "You can not specify --noop and --force when updating a module"
460
464
  msgstr ""
461
465
 
@@ -499,6 +503,14 @@ msgstr ""
499
503
  msgid "You cannot specify a %{first} and %{second} at the same time."
500
504
  msgstr ""
501
505
 
506
+ #: ../lib/pdk/cli/util.rb:194
507
+ msgid "--template-ref requires --template-url to also be specified."
508
+ msgstr ""
509
+
510
+ #: ../lib/pdk/cli/util.rb:198
511
+ msgid "--template-url may not be used to specify paths containing #'s."
512
+ msgstr ""
513
+
502
514
  #: ../lib/pdk/cli/util/command_redirector.rb:18
503
515
  msgid "Did you mean '%{command}'?"
504
516
  msgstr ""
@@ -586,123 +598,123 @@ msgstr ""
586
598
  msgid "You do not have permission to write to '%{parent_dir}'"
587
599
  msgstr ""
588
600
 
589
- #: ../lib/pdk/generate/module.rb:91
590
- msgid "Module '%{name}' generated at path '%{path}', from template '%{template_url}'."
601
+ #: ../lib/pdk/generate/module.rb:93
602
+ msgid "Module '%{name}' generated at path '%{path}', from template '%{url}'."
591
603
  msgstr ""
592
604
 
593
- #: ../lib/pdk/generate/module.rb:92
605
+ #: ../lib/pdk/generate/module.rb:94
594
606
  msgid "In your module directory, add classes with the 'pdk new class' command."
595
607
  msgstr ""
596
608
 
597
- #: ../lib/pdk/generate/module.rb:95
609
+ #: ../lib/pdk/generate/module.rb:97
598
610
  msgid "Failed to move '%{source}' to '%{target}': %{message}"
599
611
  msgstr ""
600
612
 
601
- #: ../lib/pdk/generate/module.rb:109
613
+ #: ../lib/pdk/generate/module.rb:111
602
614
  msgid "Your username is not a valid Forge username. Proceeding with the username %{username}. You can fix this later in metadata.json."
603
615
  msgstr ""
604
616
 
605
- #: ../lib/pdk/generate/module.rb:144
617
+ #: ../lib/pdk/generate/module.rb:146
606
618
  msgid "Unable to create directory '%{dir}': %{message}"
607
619
  msgstr ""
608
620
 
609
- #: ../lib/pdk/generate/module.rb:156
621
+ #: ../lib/pdk/generate/module.rb:158
610
622
  msgid "If you have a name for your module, add it here."
611
623
  msgstr ""
612
624
 
613
- #: ../lib/pdk/generate/module.rb:157
625
+ #: ../lib/pdk/generate/module.rb:159
614
626
  msgid "This is the name that will be associated with your module, it should be relevant to the modules content."
615
627
  msgstr ""
616
628
 
617
- #: ../lib/pdk/generate/module.rb:160
629
+ #: ../lib/pdk/generate/module.rb:162
618
630
  msgid "Module names must begin with a lowercase letter and can only include lowercase letters, numbers, and underscores."
619
631
  msgstr ""
620
632
 
621
- #: ../lib/pdk/generate/module.rb:164
633
+ #: ../lib/pdk/generate/module.rb:166
622
634
  msgid "If you have a Puppet Forge username, add it here."
623
635
  msgstr ""
624
636
 
625
- #: ../lib/pdk/generate/module.rb:165
637
+ #: ../lib/pdk/generate/module.rb:167
626
638
  msgid "We can use this to upload your module to the Forge when it's complete."
627
639
  msgstr ""
628
640
 
629
- #: ../lib/pdk/generate/module.rb:168
641
+ #: ../lib/pdk/generate/module.rb:170
630
642
  msgid "Forge usernames can only contain lowercase letters and numbers"
631
643
  msgstr ""
632
644
 
633
- #: ../lib/pdk/generate/module.rb:173
645
+ #: ../lib/pdk/generate/module.rb:175
634
646
  msgid "What version is this module?"
635
647
  msgstr ""
636
648
 
637
- #: ../lib/pdk/generate/module.rb:174
649
+ #: ../lib/pdk/generate/module.rb:176
638
650
  msgid "Puppet uses Semantic Versioning (semver.org) to version modules."
639
651
  msgstr ""
640
652
 
641
- #: ../lib/pdk/generate/module.rb:177
653
+ #: ../lib/pdk/generate/module.rb:179
642
654
  msgid "Semantic Version numbers must be in the form MAJOR.MINOR.PATCH"
643
655
  msgstr ""
644
656
 
645
- #: ../lib/pdk/generate/module.rb:183
657
+ #: ../lib/pdk/generate/module.rb:185
646
658
  msgid "Who wrote this module?"
647
659
  msgstr ""
648
660
 
649
- #: ../lib/pdk/generate/module.rb:184
661
+ #: ../lib/pdk/generate/module.rb:186
650
662
  msgid "This is used to credit the module's author."
651
663
  msgstr ""
652
664
 
653
- #: ../lib/pdk/generate/module.rb:190
665
+ #: ../lib/pdk/generate/module.rb:192
654
666
  msgid "What license does this module code fall under?"
655
667
  msgstr ""
656
668
 
657
- #: ../lib/pdk/generate/module.rb:191
669
+ #: ../lib/pdk/generate/module.rb:193
658
670
  msgid "This should be an identifier from https://spdx.org/licenses/. Common values are \"Apache-2.0\", \"MIT\", or \"proprietary\"."
659
671
  msgstr ""
660
672
 
661
- #: ../lib/pdk/generate/module.rb:197
673
+ #: ../lib/pdk/generate/module.rb:199
662
674
  msgid "What operating systems does this module support?"
663
675
  msgstr ""
664
676
 
665
- #: ../lib/pdk/generate/module.rb:198
677
+ #: ../lib/pdk/generate/module.rb:200
666
678
  msgid "Use the up and down keys to move between the choices, space to select and enter to continue."
667
679
  msgstr ""
668
680
 
669
- #: ../lib/pdk/generate/module.rb:208
681
+ #: ../lib/pdk/generate/module.rb:210
670
682
  msgid "Summarize the purpose of this module in a single sentence."
671
683
  msgstr ""
672
684
 
673
- #: ../lib/pdk/generate/module.rb:209
685
+ #: ../lib/pdk/generate/module.rb:211
674
686
  msgid "This helps other Puppet users understand what the module does."
675
687
  msgstr ""
676
688
 
677
- #: ../lib/pdk/generate/module.rb:216
689
+ #: ../lib/pdk/generate/module.rb:218
678
690
  msgid "If there is a source code repository for this module, enter the URL here."
679
691
  msgstr ""
680
692
 
681
- #: ../lib/pdk/generate/module.rb:217
693
+ #: ../lib/pdk/generate/module.rb:219
682
694
  msgid "Skip this if no repository exists yet. You can update this later in the metadata.json."
683
695
  msgstr ""
684
696
 
685
- #: ../lib/pdk/generate/module.rb:224
697
+ #: ../lib/pdk/generate/module.rb:226
686
698
  msgid "If there is a URL where others can learn more about this module, enter it here."
687
699
  msgstr ""
688
700
 
689
- #: ../lib/pdk/generate/module.rb:225 ../lib/pdk/generate/module.rb:232
701
+ #: ../lib/pdk/generate/module.rb:227 ../lib/pdk/generate/module.rb:234
690
702
  msgid "Optional. You can update this later in the metadata.json."
691
703
  msgstr ""
692
704
 
693
- #: ../lib/pdk/generate/module.rb:231
705
+ #: ../lib/pdk/generate/module.rb:233
694
706
  msgid "If there is a public issue tracker for this module, enter its URL here."
695
707
  msgstr ""
696
708
 
697
- #: ../lib/pdk/generate/module.rb:258
709
+ #: ../lib/pdk/generate/module.rb:260
698
710
  msgid "update"
699
711
  msgstr ""
700
712
 
701
- #: ../lib/pdk/generate/module.rb:258
713
+ #: ../lib/pdk/generate/module.rb:260
702
714
  msgid "create"
703
715
  msgstr ""
704
716
 
705
- #: ../lib/pdk/generate/module.rb:259
717
+ #: ../lib/pdk/generate/module.rb:261
706
718
  msgid ""
707
719
  "\n"
708
720
  "We need to %{action} the metadata.json file for this module, so we\\'re going to ask you %{count} questions.\n"
@@ -710,19 +722,19 @@ msgid ""
710
722
  "\n"
711
723
  msgstr ""
712
724
 
713
- #: ../lib/pdk/generate/module.rb:273
725
+ #: ../lib/pdk/generate/module.rb:275
714
726
  msgid "No answers given, interview cancelled."
715
727
  msgstr ""
716
728
 
717
- #: ../lib/pdk/generate/module.rb:297
729
+ #: ../lib/pdk/generate/module.rb:299
718
730
  msgid "Metadata will be generated based on this information, continue?"
719
731
  msgstr ""
720
732
 
721
- #: ../lib/pdk/generate/module.rb:299
733
+ #: ../lib/pdk/generate/module.rb:301
722
734
  msgid "Interview cancelled; exiting."
723
735
  msgstr ""
724
736
 
725
- #: ../lib/pdk/generate/module.rb:303
737
+ #: ../lib/pdk/generate/module.rb:305
726
738
  msgid "Process cancelled; exiting."
727
739
  msgstr ""
728
740
 
@@ -783,7 +795,7 @@ msgid "Unable to write to file '%{path}': %{message}"
783
795
  msgstr ""
784
796
 
785
797
  #: ../lib/pdk/generate/puppet_object.rb:209
786
- msgid "No %{dir_type} template specified; trying next template directory."
798
+ msgid "No %{dir_type} template found; trying next template directory."
787
799
  msgstr ""
788
800
 
789
801
  #: ../lib/pdk/generate/puppet_object.rb:222
@@ -794,7 +806,7 @@ msgstr ""
794
806
  msgid "Unable to find the %{type} template in %{url}."
795
807
  msgstr ""
796
808
 
797
- #: ../lib/pdk/generate/puppet_object.rb:283
809
+ #: ../lib/pdk/generate/puppet_object.rb:279
798
810
  msgid "'%{dir}' does not contain valid Puppet module metadata: %{msg}"
799
811
  msgstr ""
800
812
 
@@ -806,7 +818,7 @@ msgstr ""
806
818
  msgid "Symlinks in modules are not supported and will not be included in the package. Please investigate symlink %{from} -> %{to}."
807
819
  msgstr ""
808
820
 
809
- #: ../lib/pdk/module/convert.rb:23 ../lib/pdk/module/update.rb:18
821
+ #: ../lib/pdk/module/convert.rb:23 ../lib/pdk/module/update.rb:20
810
822
  msgid "No changes required."
811
823
  msgstr ""
812
824
 
@@ -814,7 +826,7 @@ msgstr ""
814
826
  msgid "Module conversion is a potentially destructive action. Ensure that you have committed your module to a version control system or have a backup, and review the changes above before continuing."
815
827
  msgstr ""
816
828
 
817
- #: ../lib/pdk/module/convert.rb:39 ../lib/pdk/module/update.rb:30
829
+ #: ../lib/pdk/module/convert.rb:39 ../lib/pdk/module/update.rb:32
818
830
  msgid "Do you want to continue and make these changes to your module?"
819
831
  msgstr ""
820
832
 
@@ -902,57 +914,69 @@ msgstr ""
902
914
  msgid "%{class_name} must be initialized with a block."
903
915
  msgstr ""
904
916
 
905
- #: ../lib/pdk/module/templatedir.rb:109
917
+ #: ../lib/pdk/module/templatedir.rb:45
918
+ msgid "PDK::Module::TemplateDir.new must be initialized with a PDK::Util::TemplateURI, got a %{uri_type}"
919
+ msgstr ""
920
+
921
+ #: ../lib/pdk/module/templatedir.rb:59
922
+ msgid "Repository '%{repo}' has a work-tree; skipping git reset."
923
+ msgstr ""
924
+
925
+ #: ../lib/pdk/module/templatedir.rb:118
906
926
  msgid "Rendering '%{template}'..."
907
927
  msgstr ""
908
928
 
909
- #: ../lib/pdk/module/templatedir.rb:122
929
+ #: ../lib/pdk/module/templatedir.rb:131
910
930
  msgid ""
911
931
  "Failed to render template '%{template}'\n"
912
932
  "%{exception}: %{message}"
913
933
  msgstr ""
914
934
 
915
- #: ../lib/pdk/module/templatedir.rb:191
935
+ #: ../lib/pdk/module/templatedir.rb:200
916
936
  msgid "The built-in template has substantially changed. Please run \"pdk convert\" on your module to continue."
917
937
  msgstr ""
918
938
 
919
- #: ../lib/pdk/module/templatedir.rb:193
939
+ #: ../lib/pdk/module/templatedir.rb:202
920
940
  msgid "The specified template '%{path}' is not a directory."
921
941
  msgstr ""
922
942
 
923
- #: ../lib/pdk/module/templatedir.rb:198
943
+ #: ../lib/pdk/module/templatedir.rb:207
924
944
  msgid "The template at '%{path}' does not contain a 'moduleroot/' directory."
925
945
  msgstr ""
926
946
 
927
- #: ../lib/pdk/module/templatedir.rb:203
947
+ #: ../lib/pdk/module/templatedir.rb:212
928
948
  msgid "The template at '%{path}' does not contain a 'moduleroot_init/' directory, which indicates you are using an older style of template. Before continuing please use the --template-url flag when running the pdk new commands to pass a new style template."
929
949
  msgstr ""
930
950
 
931
- #: ../lib/pdk/module/templatedir.rb:218
951
+ #: ../lib/pdk/module/templatedir.rb:227
932
952
  msgid "The directory '%{dir}' doesn't exist"
933
953
  msgstr ""
934
954
 
935
- #: ../lib/pdk/module/templatedir.rb:273
955
+ #: ../lib/pdk/module/templatedir.rb:282
936
956
  msgid "'%{file}' is not a valid YAML file: %{problem} %{context} at line %{line} column %{column}"
937
957
  msgstr ""
938
958
 
939
- #: ../lib/pdk/module/templatedir.rb:308
959
+ #: ../lib/pdk/module/templatedir.rb:317
960
+ msgid "Unable to clone git repository at '%{repo}' into '%{dest}'."
961
+ msgstr ""
962
+
963
+ #: ../lib/pdk/module/templatedir.rb:334
940
964
  msgid "Unable to set HEAD of git repository at '%{repo}' to ref:'%{ref}'."
941
965
  msgstr ""
942
966
 
943
- #: ../lib/pdk/module/templatedir.rb:314
944
- msgid "Unable to clone git repository at '%{repo}' into '%{dest}'."
967
+ #: ../lib/pdk/module/templatedir.rb:337
968
+ msgid "Uncommitted changes found when attempting to set HEAD of git repository at '%{repo}' to ref '%{ref}'; skipping git reset."
945
969
  msgstr ""
946
970
 
947
- #: ../lib/pdk/module/update.rb:12
971
+ #: ../lib/pdk/module/update.rb:14
948
972
  msgid "This module is already up to date with version %{version} of the template."
949
973
  msgstr ""
950
974
 
951
- #: ../lib/pdk/module/update.rb:97
975
+ #: ../lib/pdk/module/update.rb:105
952
976
  msgid "Updating %{module_name} using the default template, from %{current_version} to %{new_version}"
953
977
  msgstr ""
954
978
 
955
- #: ../lib/pdk/module/update.rb:99
979
+ #: ../lib/pdk/module/update.rb:107
956
980
  msgid "Updating %{module_name} using the template at %{template_url}, from %{current_version} to %{new_version}"
957
981
  msgstr ""
958
982
 
@@ -1053,11 +1077,11 @@ msgid "Failed to prepare to run the unit tests."
1053
1077
  msgstr ""
1054
1078
 
1055
1079
  #: ../lib/pdk/tests/unit.rb:75
1056
- msgid "Running unit tests."
1080
+ msgid "Running unit tests in parallel."
1057
1081
  msgstr ""
1058
1082
 
1059
1083
  #: ../lib/pdk/tests/unit.rb:75
1060
- msgid "Running unit tests in parallel."
1084
+ msgid "Running unit tests."
1061
1085
  msgstr ""
1062
1086
 
1063
1087
  #: ../lib/pdk/tests/unit.rb:89
@@ -1076,18 +1100,14 @@ msgstr ""
1076
1100
  msgid "Unable to enumerate examples. rspec reported: %{message}"
1077
1101
  msgstr ""
1078
1102
 
1079
- #: ../lib/pdk/util.rb:60
1103
+ #: ../lib/pdk/util.rb:61
1080
1104
  msgid "Cannot resolve a full path to '%{path}', as it does not currently exist."
1081
1105
  msgstr ""
1082
1106
 
1083
- #: ../lib/pdk/util.rb:85
1107
+ #: ../lib/pdk/util.rb:86
1084
1108
  msgid "Package basedir requested for non-package install."
1085
1109
  msgstr ""
1086
1110
 
1087
- #: ../lib/pdk/util.rb:222
1088
- msgid "Unable to access the previously used template '%{template}', using the default template instead."
1089
- msgstr ""
1090
-
1091
1111
  #: ../lib/pdk/util/bundler.rb:19
1092
1112
  msgid "Bundler managed gems already up to date."
1093
1113
  msgstr ""
@@ -1142,10 +1162,26 @@ msgstr ""
1142
1162
  msgid "Unable to install requested binstubs."
1143
1163
  msgstr ""
1144
1164
 
1145
- #: ../lib/pdk/util/git.rb:64
1165
+ #: ../lib/pdk/util/git.rb:15
1166
+ msgid "Git command failed: git %{args}"
1167
+ msgstr ""
1168
+
1169
+ #: ../lib/pdk/util/git.rb:84
1170
+ msgid "Unable to locate git work dir \"%{workdir}"
1171
+ msgstr ""
1172
+
1173
+ #: ../lib/pdk/util/git.rb:85
1174
+ msgid "Unable to locate git dir \"%{gitdir}"
1175
+ msgstr ""
1176
+
1177
+ #: ../lib/pdk/util/git.rb:100
1146
1178
  msgid "Unable to access the template repository \"%{repository}\""
1147
1179
  msgstr ""
1148
1180
 
1181
+ #: ../lib/pdk/util/git.rb:107
1182
+ msgid "Unable to find a branch or tag named \"%{ref}\" in %{repo}"
1183
+ msgstr ""
1184
+
1149
1185
  #: ../lib/pdk/util/puppet_version.rb:38
1150
1186
  msgid "Unable to find a Puppet gem in current Ruby environment or from Rubygems.org."
1151
1187
  msgstr ""
@@ -1194,6 +1230,38 @@ msgstr ""
1194
1230
  msgid "Unknown Ruby version \"%{ruby_version}\""
1195
1231
  msgstr ""
1196
1232
 
1233
+ #: ../lib/pdk/util/template_uri.rb:33
1234
+ msgid "PDK::Util::TemplateURI attempted initialization with a non-uri string: {string}"
1235
+ msgstr ""
1236
+
1237
+ #: ../lib/pdk/util/template_uri.rb:150
1238
+ msgid "%{scp_uri} appears to be an SCP style URL; it will be converted to an RFC compliant URI: %{rfc_uri}"
1239
+ msgstr ""
1240
+
1241
+ #: ../lib/pdk/util/template_uri.rb:177
1242
+ msgid "--template-url"
1243
+ msgstr ""
1244
+
1245
+ #: ../lib/pdk/util/template_uri.rb:178
1246
+ msgid "metadata.json"
1247
+ msgstr ""
1248
+
1249
+ #: ../lib/pdk/util/template_uri.rb:179
1250
+ msgid "PDK answers"
1251
+ msgstr ""
1252
+
1253
+ #: ../lib/pdk/util/template_uri.rb:180
1254
+ msgid "default"
1255
+ msgstr ""
1256
+
1257
+ #: ../lib/pdk/util/template_uri.rb:201
1258
+ msgid "Unable to find a valid module template to use."
1259
+ msgstr ""
1260
+
1261
+ #: ../lib/pdk/util/template_uri.rb:222
1262
+ msgid "Unable to find a valid template at %{uri}"
1263
+ msgstr ""
1264
+
1197
1265
  #: ../lib/pdk/util/vendored_file.rb:49
1198
1266
  msgid "%{file_name} was not found in the cache, downloading it from %{url}."
1199
1267
  msgstr ""