fastlane-plugin-dynatrace 2.1.4 → 2.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84f39a46046595216fd893700dbb1c9f71c019bda35dd6e12e65ed9ace9c237e
4
- data.tar.gz: 89f383b81eb06b0a0e42b0179640b46546d3676ac9cdd61720f99870a114e991
3
+ metadata.gz: 9770d34d1a479c9089be9d074425b84148bbfc919b58ca308ed2c49b927f7510
4
+ data.tar.gz: 1a41b2889503804a4597a57d54e951bb52ba2ce9b4ac1d4fb0c05cad662a514d
5
5
  SHA512:
6
- metadata.gz: 8c3b8ac3e9fa52d6ad2857b462240e5e47d781b6f895a60431cb49d5f7b8a94fc4519061b4f996e9ba1d88c17000c3e0611a5287821a593b6299575ccec37a6e
7
- data.tar.gz: 53ac85091327cae59cf78698e0ddf9a69579d5515f120d0414668ce6d9f5d9b8173286d21d3f195a3212fbcf642c35bb690f4baef57d488f46e9f5f42a718664
6
+ metadata.gz: f4224f92075ff27e38c0fc7610ba8857b9e87abe5076a490433ebd47533167f19021fce61914be35db4e15461dfff00abbc9d52237e190d607f1b1f302243b9e
7
+ data.tar.gz: 24ca4e5ff44a012292d2dabd78b931674b89a4e256217108ad50e182b9a588058668b952056b77d9866e233bb0057eaeb0c8ddbf3b0d3421a36b680ce4d376d2
data/README.md CHANGED
@@ -52,9 +52,10 @@ Now, when you run fastlane, the Dynatrace plugin will manage the symbol files of
52
52
  | server | The API endpoint for the Dynatrace environment (e.g. `https://environmentID.live.dynatrace.com` or `https://dynatrace-managed.com/e/environmentID`). | |
53
53
  | cleanBuildArtifacts | Clean build artifacts after processing. | `false` |
54
54
  | tempdir | (OPTIONAL) Custom temporary directory for the DTXDssClient. **The plugin does not take care of cleaning this directory.** | |
55
- | debugMode | Enable debug logging. | `false` |
56
- | customLLDBFrameworkPath | (OPTIONAL) Custom path to the LLDB framework used as runtime dependency by DTXDssClient (e.g. `/Users/test/Documents/LLDB.framework`). | |
57
- | autoSymlinkLLDB | (OPTIONAL) Automatically find and create a symlink to the LLDB framework into the DTXDssClient's temporary folder. | `true` |
55
+ | debugMode | (OPTIONAL) Enable debug logging. | `false` |
56
+ | customLLDBFrameworkPath | *(iOS/tvOS only)* (OPTIONAL) Custom path to the LLDB framework used as runtime dependency by DTXDssClient (e.g. `/Users/test/Documents/LLDB.framework`). | |
57
+ | autoSymlinkLLDB | *(iOS/tvOS only)* (OPTIONAL) Automatically find and create a symlink to the LLDB framework into the DTXDssClient's temporary folder. | `true` |
58
+ | maxSymbolSize | *(iOS/tvOS only)* (OPTIONAL) Limits the maximum length (characters) of the demangled symbols. Can be disabled by setting it to 0. | `5000` |
58
59
 
59
60
  ## Example
60
61
  Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
@@ -82,6 +82,15 @@ module Fastlane
82
82
  end
83
83
  end
84
84
 
85
+ maxSymbolSize = params[:maxSymbolSize]
86
+ if maxSymbolSize && maxSymbolSize < 0
87
+ UI.user_error!("Invalid value for maxSymbolSize: must be 0 or greater.")
88
+ end
89
+
90
+ # Use default 5000 when value is nil, 0 means unlimited
91
+ effectiveMaxSymbolSize = maxSymbolSize.nil? ? 5000 : maxSymbolSize
92
+ UI.message "Maximum symbol size: #{effectiveMaxSymbolSize}"
93
+
85
94
  # start constructing the command that will trigger the DTXDssClient
86
95
  command = []
87
96
  command << "#{dtxDssClientPath}"
@@ -97,6 +106,7 @@ module Fastlane
97
106
  command << "DTXLogLevel=ALL -verbose" if params[:debugMode] == true
98
107
  command << "forced=1" # if the file already exists
99
108
  command << "tempdir=\"#{params[:tempdir]}\"" if params[:tempdir]
109
+ command << "maxSymbolSize=\"#{effectiveMaxSymbolSize}\""
100
110
 
101
111
  # Create the full shell command to trigger the DTXDssClient
102
112
  shell_command = command.join(' ')
@@ -223,22 +233,30 @@ module Fastlane
223
233
 
224
234
  FastlaneCore::ConfigItem.new(key: :debugMode,
225
235
  env_name: "FL_UPLOAD_TO_DYNATRACE_DEBUG_MODE",
226
- description: "Enable debug logging",
236
+ description: "(OPTIONAL) Enable debug logging",
227
237
  default_value: false,
228
238
  is_string: false,
229
239
  optional: true),
230
240
 
231
241
  FastlaneCore::ConfigItem.new(key: :customLLDBFrameworkPath,
232
242
  env_name: "FL_UPLOAD_TO_DYNATRACE_LLDB_PATH",
233
- description: "Custom path to the LLDB framework used as runtime dependency by DTXDssClient",
243
+ description: "(iOS/tvOS only) (OPTIONAL) Custom path to the LLDB framework used as runtime dependency by DTXDssClient",
234
244
  optional: true),
235
245
 
236
246
  FastlaneCore::ConfigItem.new(key: :autoSymlinkLLDB,
237
247
  env_name: "FL_UPLOAD_TO_DYNATRACE_AUTO_LINK_LLDB",
238
- description: "Automatically find and create a symlink to the LLDB framework into the DTXDssClient's temporary folder",
248
+ description: "(iOS/tvOS only) (OPTIONAL) Automatically find and create a symlink to the LLDB framework into the DTXDssClient's temporary folder",
239
249
  type: Boolean,
240
250
  default_value: true,
241
- optional: true)
251
+ optional: true),
252
+
253
+ FastlaneCore::ConfigItem.new(key: :maxSymbolSize,
254
+ env_name: "FL_UPLOAD_TO_DYNATRACE_MAX_SYMBOL_SIZE",
255
+ description: "(iOS/tvOS only) (OPTIONAL) Limits the maximum length (characters) of the demangled symbols (0 means unlimited, default is 5000)",
256
+ default_value: 5000,
257
+ optional: true,
258
+ type: Integer)
259
+
242
260
  ]
243
261
  end
244
262
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Dynatrace
3
- VERSION = "2.1.4"
3
+ VERSION = "2.1.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-dynatrace
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
4
+ version: 2.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dynatrace LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-06-25 00:00:00.000000000 Z
10
+ date: 2025-08-05 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: pry
@@ -52,6 +51,20 @@ dependencies:
52
51
  - - ">="
53
52
  - !ruby/object:Gem::Version
54
53
  version: '0'
54
+ - !ruby/object:Gem::Dependency
55
+ name: abbrev
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ type: :development
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
55
68
  - !ruby/object:Gem::Dependency
56
69
  name: rspec_junit_formatter
57
70
  requirement: !ruby/object:Gem::Requirement
@@ -234,7 +247,6 @@ dependencies:
234
247
  - - ">="
235
248
  - !ruby/object:Gem::Version
236
249
  version: '0'
237
- description:
238
250
  email: mobile.agent@dynatrace.com
239
251
  executables: []
240
252
  extensions: []
@@ -251,7 +263,6 @@ homepage: https://github.com/Dynatrace/fastlane-plugin-dynatrace
251
263
  licenses:
252
264
  - Apache 2.0
253
265
  metadata: {}
254
- post_install_message:
255
266
  rdoc_options: []
256
267
  require_paths:
257
268
  - lib
@@ -266,8 +277,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
266
277
  - !ruby/object:Gem::Version
267
278
  version: '0'
268
279
  requirements: []
269
- rubygems_version: 3.5.4
270
- signing_key:
280
+ rubygems_version: 3.6.2
271
281
  specification_version: 4
272
282
  summary: This action processes and uploads your symbol files to Dynatrace
273
283
  test_files: []