puppetfile-resolver 0.6.1 → 0.6.2

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: cda8bcaca5b127580d43f08c2a2952238cc9ffee2944676b7391ff185a0841c6
4
- data.tar.gz: 472cb9b9cb4d0ada8fc04fb510f66a830f70a5c5153a9ce527f211c2b87b1ed3
3
+ metadata.gz: 8d2fd19452a49b252e661370a59303f2fe7875d199252fd020dd96381f69bc50
4
+ data.tar.gz: 8b21cf227604cc8108b8c38fc78e1e2597d6e66cb41465576d0cb2346a8e650f
5
5
  SHA512:
6
- metadata.gz: 0dbfe8585196e016d6d45d48768bb6b5a838c32367d69df1cd0a8849a9a94a8d96e06a9965789b4d1c154acfa501e4bfb7fd122493f450b0bc6d9f46924b7871
7
- data.tar.gz: 1d89877b4c34563262ee8d1da85a7221c6d049bf8d4e99c8d7f87f9b18b4d03a6f7ddd857e93e5cff3eb988bdbb3a845d17ab2020ee8f829d95a9b02f91db502
6
+ metadata.gz: d00c160ba1f5a6ebd9f62ff4c2a9a45c3d8d931b5d08740d373c3ef4ecea722e6ae2d5d4a366ca5129d13f21016b273ef8e9d6266dc5b6c333067cf0028940b6
7
+ data.tar.gz: 44e83526b762ca879863d78e57bf2d56375540e04be507e60561b5d06a3872c4b8a694373215390b6788f2000fb88fa2f27e7313bb34a02fdfeace4dc0152819
@@ -1,7 +1,7 @@
1
1
  ##
2
2
  ## Bundle of CA Root Certificates
3
3
  ##
4
- ## Certificate data from Mozilla as of: Tue Apr 26 03:12:05 2022 GMT
4
+ ## Certificate data from Mozilla as of: Tue Jul 19 03:12:06 2022 GMT
5
5
  ##
6
6
  ## This is a bundle of X.509 certificates of public Certificate Authorities
7
7
  ## (CA). These were automatically extracted from Mozilla's root certificates
@@ -14,7 +14,7 @@
14
14
  ## Just configure this file as the SSLCACertificateFile.
15
15
  ##
16
16
  ## Conversion done with mk-ca-bundle.pl version 1.29.
17
- ## SHA256: 34a54d5191775c1bd37be6cfd3f09e831e072555dc3a2e51f4a2c4b0f8ada5cc
17
+ ## SHA256: 9bf3799611fb58197f61d45e71ce3dc19f30e7dd73731915872ce5108a7bb066
18
18
  ##
19
19
 
20
20
 
@@ -993,30 +993,6 @@ tnRGEmyR7jTV7JqR50S+kDFy1UkC9gLl9B/rfNmWVan/7Ir5mUf/NVoCqgTLiluHcSmRvaS0eg29
993
993
  mvVXIwAHIRc/SjnRBUkLp7Y3gaVdjKozXoEofKd9J+sAro03
994
994
  -----END CERTIFICATE-----
995
995
 
996
- Hellenic Academic and Research Institutions RootCA 2011
997
- =======================================================
998
- -----BEGIN CERTIFICATE-----
999
- MIIEMTCCAxmgAwIBAgIBADANBgkqhkiG9w0BAQUFADCBlTELMAkGA1UEBhMCR1IxRDBCBgNVBAoT
1000
- O0hlbGxlbmljIEFjYWRlbWljIGFuZCBSZXNlYXJjaCBJbnN0aXR1dGlvbnMgQ2VydC4gQXV0aG9y
1001
- aXR5MUAwPgYDVQQDEzdIZWxsZW5pYyBBY2FkZW1pYyBhbmQgUmVzZWFyY2ggSW5zdGl0dXRpb25z
1002
- IFJvb3RDQSAyMDExMB4XDTExMTIwNjEzNDk1MloXDTMxMTIwMTEzNDk1MlowgZUxCzAJBgNVBAYT
1003
- AkdSMUQwQgYDVQQKEztIZWxsZW5pYyBBY2FkZW1pYyBhbmQgUmVzZWFyY2ggSW5zdGl0dXRpb25z
1004
- IENlcnQuIEF1dGhvcml0eTFAMD4GA1UEAxM3SGVsbGVuaWMgQWNhZGVtaWMgYW5kIFJlc2VhcmNo
1005
- IEluc3RpdHV0aW9ucyBSb290Q0EgMjAxMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB
1006
- AKlTAOMupvaO+mDYLZU++CwqVE7NuYRhlFhPjz2L5EPzdYmNUeTDN9KKiE15HrcS3UN4SoqS5tdI
1007
- 1Q+kOilENbgH9mgdVc04UfCMJDGFr4PJfel3r+0ae50X+bOdOFAPplp5kYCvN66m0zH7tSYJnTxa
1008
- 71HFK9+WXesyHgLacEnsbgzImjeN9/E2YEsmLIKe0HjzDQ9jpFEw4fkrJxIH2Oq9GGKYsFk3fb7u
1009
- 8yBRQlqD75O6aRXxYp2fmTmCobd0LovUxQt7L/DICto9eQqakxylKHJzkUOap9FNhYS5qXSPFEDH
1010
- 3N6sQWRstBmbAmNtJGSPRLIl6s5ddAxjMlyNh+UCAwEAAaOBiTCBhjAPBgNVHRMBAf8EBTADAQH/
1011
- MAsGA1UdDwQEAwIBBjAdBgNVHQ4EFgQUppFC/RNhSiOeCKQp5dgTBCPuQSUwRwYDVR0eBEAwPqA8
1012
- MAWCAy5ncjAFggMuZXUwBoIELmVkdTAGggQub3JnMAWBAy5ncjAFgQMuZXUwBoEELmVkdTAGgQQu
1013
- b3JnMA0GCSqGSIb3DQEBBQUAA4IBAQAf73lB4XtuP7KMhjdCSk4cNx6NZrokgclPEg8hwAOXhiVt
1014
- XdMiKahsog2p6z0GW5k6x8zDmjR/qw7IThzh+uTczQ2+vyT+bOdrwg3IBp5OjWEopmr95fZi6hg8
1015
- TqBTnbI6nOulnJEWtk2C4AwFSKls9cz4y51JtPACpf1wA+2KIaWuE4ZJwzNzvoc7dIsXRSZMFpGD
1016
- /md9zU1jZ/rzAxKWeAaNsWftjj++n08C9bMJL/NMh98qy5V8AcysNnq/onN694/BtZqhFLKPM58N
1017
- 7yLcZnuEvUUXBj08yrl3NI/K6s8/MT7jiOOASSXIl7WdmplNsDz4SgCbZN2fOUvRJ9e4
1018
- -----END CERTIFICATE-----
1019
-
1020
996
  Actalis Authentication Root CA
1021
997
  ==============================
1022
998
  -----BEGIN CERTIFICATE-----
@@ -3345,3 +3321,140 @@ PUQtVHJ1c3QlMjBHbWJILEM9REU/Y2VydGlmaWNhdGVyZXZvY2F0aW9ubGlzdDAKBggqhkjOPQQD
3345
3321
  AwNpADBmAjEAyjzGKnXCXnViOTYAYFqLwZOZzNnbQTs7h5kXO9XMT8oi96CAy/m0sRtW9XLS/BnR
3346
3322
  AjEAkfcwkz8QRitxpNA7RJvAKQIFskF3UfN5Wp6OFKBOQtJbgfM0agPnIjhQW+0ZT0MW
3347
3323
  -----END CERTIFICATE-----
3324
+
3325
+ DigiCert TLS ECC P384 Root G5
3326
+ =============================
3327
+ -----BEGIN CERTIFICATE-----
3328
+ MIICGTCCAZ+gAwIBAgIQCeCTZaz32ci5PhwLBCou8zAKBggqhkjOPQQDAzBOMQswCQYDVQQGEwJV
3329
+ UzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xJjAkBgNVBAMTHURpZ2lDZXJ0IFRMUyBFQ0MgUDM4
3330
+ NCBSb290IEc1MB4XDTIxMDExNTAwMDAwMFoXDTQ2MDExNDIzNTk1OVowTjELMAkGA1UEBhMCVVMx
3331
+ FzAVBgNVBAoTDkRpZ2lDZXJ0LCBJbmMuMSYwJAYDVQQDEx1EaWdpQ2VydCBUTFMgRUNDIFAzODQg
3332
+ Um9vdCBHNTB2MBAGByqGSM49AgEGBSuBBAAiA2IABMFEoc8Rl1Ca3iOCNQfN0MsYndLxf3c1Tzvd
3333
+ lHJS7cI7+Oz6e2tYIOyZrsn8aLN1udsJ7MgT9U7GCh1mMEy7H0cKPGEQQil8pQgO4CLp0zVozptj
3334
+ n4S1mU1YoI71VOeVyaNCMEAwHQYDVR0OBBYEFMFRRVBZqz7nLFr6ICISB4CIfBFqMA4GA1UdDwEB
3335
+ /wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MAoGCCqGSM49BAMDA2gAMGUCMQCJao1H5+z8blUD2Wds
3336
+ Jk6Dxv3J+ysTvLd6jLRl0mlpYxNjOyZQLgGheQaRnUi/wr4CMEfDFXuxoJGZSZOoPHzoRgaLLPIx
3337
+ AJSdYsiJvRmEFOml+wG4DXZDjC5Ty3zfDBeWUA==
3338
+ -----END CERTIFICATE-----
3339
+
3340
+ DigiCert TLS RSA4096 Root G5
3341
+ ============================
3342
+ -----BEGIN CERTIFICATE-----
3343
+ MII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B+cZtUMCUbW8tDRSHZWOkPLtgoRObqME2wGtZ7P6wIDAQABo0IwQDAdBgNVHQ4E
3357
+ FgQUUTMc7TZArxfTJc1paPKvTiM+s0EwDgYDVR0PAQH/BAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8w
3358
+ DQYJKoZIhvcNAQEMBQADggIBAGCmr1tfV9qJ20tQqcQjNSH/0GEwhJG3PxDPJY7Jv0Y02cEhJhxw
3359
+ GXIeo8mH/qlDZJY6yFMECrZBu8RHANmfGBg7sg7zNOok992vIGCukihfNudd5N7HPNtQOa27PShN
3360
+ lnx2xlv0wdsUpasZYgcYQF+Xkdycx6u1UQ3maVNVzDl92sURVXLFO4uJ+DQtpBflF+aZfTCIITfN
3361
+ MBc9uPK8qHWgQ9w+iUuQrm0D4ByjoJYJu32jtyoQREtGBzRj7TG5BO6jm5qu5jF49OokYTurWGT/
3362
+ u4cnYiWB39yhL/btp/96j1EuMPikAdKFOV8BmZZvWltwGUb+hmA+rYAQCd05JS9Yf7vSdPD3Rh9G
3363
+ OUrYU9DzLjtxpdRv/PNn5AeP3SYZ4Y1b+qOTEZvpyDrDVWiakuFSdjjo4bq9+0/V77PnSIMx8IIh
3364
+ 47a+p6tv75/fTM8BuGJqIz3nCU2AG3swpMPdB380vqQmsvZB6Akd4yCYqjdP//fx4ilwMUc/dNAU
3365
+ FvohigLVigmUdy7yWSiLfFCSCmZ4OIN1xLVaqBHG5cGdZlXPU8Sv13WFqUITVuwhd4GTWgzqltlJ
3366
+ yqEI8pc7bZsEGCREjnwB8twl2F6GmrE52/WRMmrRpnCKovfepEWFJqgejF0pW8hL2JpqA15w8oVP
3367
+ bEtoL8pU9ozaMv7Da4M/OMZ+
3368
+ -----END CERTIFICATE-----
3369
+
3370
+ Certainly Root R1
3371
+ =================
3372
+ -----BEGIN CERTIFICATE-----
3373
+ MIIFRzCCAy+gAwIBAgIRAI4P+UuQcWhlM1T01EQ5t+AwDQYJKoZIhvcNAQELBQAwPTELMAkGA1UE
3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A1Ud
3387
+ DgQWBBTgqj8ljZ9EXME66C6ud0yEPmcM9DANBgkqhkiG9w0BAQsFAAOCAgEAuVevuBLaV4OPaAsz
3388
+ HQNTVfSVcOQrPbA56/qJYv331hgELyE03fFo8NWWWt7CgKPBjcZq91l3rhVkz1t5BXdm6ozTaw3d
3389
+ 8VkswTOlMIAVRQdFGjEitpIAq5lNOo93r6kiyi9jyhXWx8bwPWz8HA2YEGGeEaIi1wrykXprOQ4v
3390
+ MMM2SZ/g6Q8CRFA3lFV96p/2O7qUpUzpvD5RtOjKkjZUbVwlKNrdrRT90+7iIgXr0PK3aBLXWopB
3391
+ GsaSpVo7Y0VPv+E6dyIvXL9G+VoDhRNCX8reU9ditaY1BMJH/5n9hN9czulegChB8n3nHpDYT3Y+
3392
+ gjwN/KUD+nsa2UUeYNrEjvn8K8l7lcUq/6qJ34IxD3L/DCfXCh5WAFAeDJDBlrXYFIW7pw0WwfgH
3393
+ JBu6haEaBQmAupVjyTrsJZ9/nbqkRxWbRHDxakvWOF5D8xh+UG7pWijmZeZ3Gzr9Hb4DJqPb1OG7
3394
+ fpYnKx3upPvaJVQTA945xsMfTZDsjxtK0hzthZU4UHlG1sGQUDGpXJpuHfUzVounmdLyyCwzk5Iw
3395
+ x06MZTMQZBf9JBeW0Y3COmor6xOLRPIh80oat3df1+2IpHLlOR+Vnb5nwXARPbv0+Em34yaXOp/S
3396
+ X3z7wJl8OSngex2/DaeP0ik0biQVy96QXr8axGbqwua6OV+KmalBWQewLK8=
3397
+ -----END CERTIFICATE-----
3398
+
3399
+ Certainly Root E1
3400
+ =================
3401
+ -----BEGIN CERTIFICATE-----
3402
+ MIIB9zCCAX2gAwIBAgIQBiUzsUcDMydc+Y2aub/M+DAKBggqhkjOPQQDAzA9MQswCQYDVQQGEwJV
3403
+ UzESMBAGA1UEChMJQ2VydGFpbmx5MRowGAYDVQQDExFDZXJ0YWlubHkgUm9vdCBFMTAeFw0yMTA0
3404
+ MDEwMDAwMDBaFw00NjA0MDEwMDAwMDBaMD0xCzAJBgNVBAYTAlVTMRIwEAYDVQQKEwlDZXJ0YWlu
3405
+ bHkxGjAYBgNVBAMTEUNlcnRhaW5seSBSb290IEUxMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE3m/4
3406
+ fxzf7flHh4axpMCK+IKXgOqPyEpeKn2IaKcBYhSRJHpcnqMXfYqGITQYUBsQ3tA3SybHGWCA6TS9
3407
+ YBk2QNYphwk8kXr2vBMj3VlOBF7PyAIcGFPBMdjaIOlEjeR2o0IwQDAOBgNVHQ8BAf8EBAMCAQYw
3408
+ DwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU8ygYy2R17ikq6+2uI1g4hevIIgcwCgYIKoZIzj0E
3409
+ AwMDaAAwZQIxALGOWiDDshliTd6wT99u0nCK8Z9+aozmut6Dacpps6kFtZaSF4fC0urQe87YQVt8
3410
+ rgIwRt7qy12a7DLCZRawTDBcMPPaTnOGBtjOiQRINzf43TNRnXCve1XYAS59BWQOhriR
3411
+ -----END CERTIFICATE-----
3412
+
3413
+ E-Tugra Global Root CA RSA v3
3414
+ =============================
3415
+ -----BEGIN CERTIFICATE-----
3416
+ MIIF8zCCA9ugAwIBAgIUDU3FzRYilZYIfrgLfxUGNPt5EDQwDQYJKoZIhvcNAQELBQAwgYAxCzAJ
3417
+ BgNVBAYTAlRSMQ8wDQYDVQQHEwZBbmthcmExGTAXBgNVBAoTEEUtVHVncmEgRUJHIEEuUy4xHTAb
3418
+ BgNVBAsTFEUtVHVncmEgVHJ1c3QgQ2VudGVyMSYwJAYDVQQDEx1FLVR1Z3JhIEdsb2JhbCBSb290
3419
+ IENBIFJTQSB2MzAeFw0yMDAzMTgwOTA3MTdaFw00NTAzMTIwOTA3MTdaMIGAMQswCQYDVQQGEwJU
3420
+ UjEPMA0GA1UEBxMGQW5rYXJhMRkwFwYDVQQKExBFLVR1Z3JhIEVCRyBBLlMuMR0wGwYDVQQLExRF
3421
+ LVR1Z3JhIFRydXN0IENl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8Tpr7nym/Ip5XuYJzEmMmtcyQ6dIqKe6cLcwsmb5FJ+Sxce3kOJUxQfJ9emN4
3435
+ 38o2Fi+CiJ+8EUdPdk3ILY7r3y18Tjvarvbj2l0Upq7ohUSdBm6O++96SmotKygY/r+QLHUWnw/q
3436
+ ln0F7psTpURs+APQ3SPh/QMSEgj0GDSz4DcLdxEBSL9htLX4GdnLTeqjjO/98Aa1bZL0SmFQhO3s
3437
+ SdPkvmjmLuMxC1QLGpLWgti2omU8ZgT5Vdps+9u1FGZNlIM7zR6mK7L+d0CGq+ffCsn99t2HVhjY
3438
+ sCxVYJb6CH5SkPVLpi6HfMsg2wY+oF0Dd32iPBMbKaITVaA9FCKvb7jQmhty3QUBjYZgv6Rn7rWl
3439
+ DdF/5horYmbDB7rnoEgcOMPpRfunf/ztAmgayncSd6YAVSgU7NbHEqIbZULpkejLPoeJVF3Zr52X
3440
+ nGnnCv8PWniLYypMfUeUP95L6VPQMPHF9p5J3zugkaOj/s1YzOrfr28oO6Bpm4/srK4rVJ2bBLFH
3441
+ IK+WEj5jlB0E5y67hscMmoi/dkfv97ALl2bSRM9gUgfh1SxKOidhd8rXj+eHDjD/DLsE4mHDosiX
3442
+ YY60MGo8bcIHX0pzLz/5FooBZu+6kcpSV3uu1OYP3Qt6f4ueJiDPO++BcYNZ
3443
+ -----END CERTIFICATE-----
3444
+
3445
+ E-Tugra Global Root CA ECC v3
3446
+ =============================
3447
+ -----BEGIN CERTIFICATE-----
3448
+ MIICpTCCAiqgAwIBAgIUJkYZdzHhT28oNt45UYbm1JeIIsEwCgYIKoZIzj0EAwMwgYAxCzAJBgNV
3449
+ BAYTAlRSMQ8wDQYDVQQHEwZBbmthcmExGTAXBgNVBAoTEEUtVHVncmEgRUJHIEEuUy4xHTAbBgNV
3450
+ BAsTFEUtVHVncmEgVHJ1c3QgQ2VudGVyMSYwJAYDVQQDEx1FLVR1Z3JhIEdsb2JhbCBSb290IENB
3451
+ IEVDQyB2MzAeFw0yMDAzMTgwOTQ2NThaFw00NTAzMTIwOTQ2NThaMIGAMQswCQYDVQQGEwJUUjEP
3452
+ MA0GA1UEBxMGQW5rYXJhMRkwFwYDVQQKExBFLVR1Z3JhIEVCRyBBLlMuMR0wGwYDVQQLExRFLVR1
3453
+ Z3JhIFRydXN0IENlbnRlcjEmMCQGA1UEAxMdRS1UdWdyYSBHbG9iYWwgUm9vdCBDQSBFQ0MgdjMw
3454
+ djAQBgcqhkjOPQIBBgUrgQQAIgNiAASOmCm/xxAeJ9urA8woLNheSBkQKczLWYHMjLiSF4mDKpL2
3455
+ w6QdTGLVn9agRtwcvHbB40fQWxPa56WzZkjnIZpKT4YKfWzqTTKACrJ6CZtpS5iB4i7sAnCWH/31
3456
+ Rs7K3IKjYzBhMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAU/4Ixcj75xGZsrTie0bBRiKWQ
3457
+ zPUwHQYDVR0OBBYEFP+CMXI++cRmbK04ntGwUYilkMz1MA4GA1UdDwEB/wQEAwIBBjAKBggqhkjO
3458
+ PQQDAwNpADBmAjEA5gVYaWHlLcoNy/EZCL3W/VGSGn5jVASQkZo1kTmZ+gepZpO6yGjUij/67W4W
3459
+ Aie3AjEA3VoXK3YdZUKWpqxdinlW2Iob35reX8dQj7FbcQwm32pAAOwzkSFxvmjkI6TZraE3
3460
+ -----END CERTIFICATE-----
@@ -12,6 +12,8 @@ module PuppetfileResolver
12
12
  module SpecSearchers
13
13
  module Git
14
14
  module GClone
15
+ METADATA_FILE = 'metadata.json'
16
+
15
17
  # @summary clones the remote url and reads the metadata file
16
18
  # @returns [String] the content of the metadata file
17
19
  def self.metadata(puppetfile_module, resolver_ui, config)
@@ -25,8 +27,6 @@ module PuppetfileResolver
25
27
  return nil if repo_url.nil?
26
28
  return nil unless valid_http_url?(repo_url)
27
29
 
28
- metadata_file = 'metadata.json'
29
-
30
30
  ref = puppetfile_module.ref ||
31
31
  puppetfile_module.tag ||
32
32
  puppetfile_module.commit ||
@@ -35,7 +35,7 @@ module PuppetfileResolver
35
35
 
36
36
  resolver_ui.debug { "Querying git repository #{repo_url}" }
37
37
 
38
- clone_and_read_file(repo_url, ref, metadata_file, config)
38
+ clone_and_read_file(repo_url, ref, config)
39
39
  end
40
40
 
41
41
  # @summary clones the git url and reads the file at the given ref
@@ -44,24 +44,37 @@ module PuppetfileResolver
44
44
  # @param ref [String] the git ref, branch, commit, tag
45
45
  # @param file [String] the file you wish to read
46
46
  # @returns [String] the content of the file
47
- def self.clone_and_read_file(url, ref, file, config)
48
- clone_cmd = ['git', 'clone', '--bare', '--depth=1', '--single-branch']
49
- err_msg = ''
50
- if config.proxy
51
- err_msg += " with proxy #{config.proxy}: "
52
- proxy = "--config \"http.proxy=#{config.proxy}\" --config \"https.proxy=#{config.proxy}\""
53
- clone_cmd.push(proxy)
54
- end
55
-
47
+ def self.clone_and_read_file(url, ref, config)
56
48
  Dir.mktmpdir(nil, config.clone_dir) do |dir|
57
- clone_cmd.push("--branch=#{ref}") if ref != 'HEAD'
58
- clone_cmd.push(url, dir)
59
- out, err_out, process = ::PuppetfileResolver::Util.run_command(clone_cmd)
60
- err_msg += out
61
- raise err_msg unless process.success?
49
+ clone = ['git', 'clone', url, dir]
50
+ clone += ['--config', "http.proxy=#{config.proxy}", '--config', "https.proxy=#{config.proxy}"] if config.proxy
51
+
52
+ bare_clone = clone + ['--bare', '--depth=1']
53
+ bare_clone.push("--branch=#{ref}") unless ref == 'HEAD'
54
+
55
+ # Try to clone a bare repository. If that fails, fall back to a full clone.
56
+ # Cloning might fail because the repo does not exist or is otherwise
57
+ # inaccessible, but it can also fail because cloning a bare repository from
58
+ # a commit/SHA1 fails. Falling back to a full clone ensures that we support
59
+ # commits/SHA1s like Puppetfile does.
60
+ _stdout, _stderr, process = ::PuppetfileResolver::Util.run_command(bare_clone)
61
+
62
+ unless process.success?
63
+ _stdout, stderr, process = ::PuppetfileResolver::Util.run_command(clone)
64
+
65
+ unless process.success?
66
+ msg = if config.proxy
67
+ "Cloning #{url} with proxy #{config.proxy} failed: #{stderr}"
68
+ else
69
+ "Cloning #{url} failed: #{stderr}"
70
+ end
71
+ raise msg
72
+ end
73
+ end
74
+
62
75
  Dir.chdir(dir) do
63
- content, err_out, process = ::PuppetfileResolver::Util.run_command(['git', 'show', "#{ref}:#{file}"])
64
- raise 'InvalidContent' unless process.success? && content.length > 2
76
+ content, stderr, process = ::PuppetfileResolver::Util.run_command(['git', 'show', "#{ref}:#{METADATA_FILE}"])
77
+ raise "Could not find #{METADATA_FILE} for ref #{ref} at #{url}: #{stderr}" unless process.success?
65
78
  return content
66
79
  end
67
80
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PuppetfileResolver
4
- VERSION ||= '0.6.1'
4
+ VERSION ||= '0.6.2'
5
5
  end
@@ -23,8 +23,7 @@ describe PuppetfileResolver::SpecSearchers::Git::GClone do
23
23
  expect(JSON.parse(content)['name']).to eq('puppetlabs-powershell')
24
24
  end
25
25
 
26
- context 'with ref' do
27
-
26
+ context 'with tag' do
28
27
  let(:puppetfile_module) do
29
28
  PuppetfileModule.new(remote: url, ref: '2.1.2')
30
29
  end
@@ -34,6 +33,29 @@ describe PuppetfileResolver::SpecSearchers::Git::GClone do
34
33
  expect(JSON.parse(content)['name']).to eq('puppetlabs-powershell')
35
34
  end
36
35
  end
36
+
37
+ context 'with commit' do
38
+ let(:puppetfile_module) do
39
+ PuppetfileModule.new(remote: url, ref: '9276de695798097e8471b877a18df27f764eecda')
40
+ end
41
+
42
+ it 'reads metadata' do
43
+ content = subject.metadata(puppetfile_module, Logger.new(STDERR), config)
44
+ expect(JSON.parse(content)['name']).to eq('puppetlabs-powershell')
45
+ end
46
+ end
47
+
48
+ context 'with invalid ref' do
49
+ let(:puppetfile_module) do
50
+ PuppetfileModule.new(remote: url, ref: '8f7d5ea3ef49dadc5e166d5d802d091abc4b02bc')
51
+ end
52
+
53
+ it 'errors gracefully' do
54
+ expect { subject.metadata(puppetfile_module, Logger.new(STDERR), config) }.to raise_error(
55
+ /Could not find metadata\.json for ref .* at .*/
56
+ )
57
+ end
58
+ end
37
59
  end
38
60
 
39
61
  context 'invalid url' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppetfile-resolver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Glenn Sarti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-23 00:00:00.000000000 Z
11
+ date: 2022-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: molinillo
@@ -131,14 +131,14 @@ signing_key:
131
131
  specification_version: 4
132
132
  summary: Dependency resolver for Puppetfiles
133
133
  test_files:
134
- - spec/fixtures/proxy.rb
135
- - spec/fixtures/modulepath/test_module/README.md
136
- - spec/fixtures/modulepath/test_module/metadata.json
137
- - spec/unit/puppetfile-resolver/puppetfile/parser/r10k_eval_spec.rb
134
+ - spec/unit/puppetfile-resolver/spec_searchers/git/gclone_spec.rb
138
135
  - spec/unit/puppetfile-resolver/puppetfile/document_spec.rb
136
+ - spec/unit/puppetfile-resolver/puppetfile/parser/r10k_eval_spec.rb
139
137
  - spec/unit/puppetfile-resolver/resolver_spec.rb
140
- - spec/unit/puppetfile-resolver/spec_searchers/git/gclone_spec.rb
141
- - spec/spec_helper.rb
142
138
  - spec/integration/proxy_spec.rb
143
139
  - spec/integration/kitchensink_spec.rb
144
140
  - spec/integration/deprecation_spec.rb
141
+ - spec/spec_helper.rb
142
+ - spec/fixtures/modulepath/test_module/metadata.json
143
+ - spec/fixtures/modulepath/test_module/README.md
144
+ - spec/fixtures/proxy.rb