-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ncreated/RUMM-610-optimize-memory-usage-wh…
…en-doing-intensive-logging # Conflicts: # DatadogSDK.podspec # DatadogSDKObjc.podspec # Sources/Datadog/Datadog.swift
- Loading branch information
Showing
247 changed files
with
13,519 additions
and
2,514 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
name: Compilation Issue | ||
about: Having a Cocoapods / Carthage / SPM problem when linking the SDK? | ||
title: '' | ||
labels: compilation issue | ||
assignees: '' | ||
|
||
--- | ||
|
||
### The issue | ||
|
||
📝 Give us the error message you receive, describe the problem and answer the questions. | ||
|
||
--- | ||
|
||
#### Datadog SDK version: | ||
|
||
_Which version of the Datadog SDK causes this problem? e.g. `1.2.0`_ | ||
|
||
#### Last working Datadog SDK version: | ||
|
||
_What is the last Datadog SDK version where this problem didn't occur? e.g. `1.1.0`_ | ||
|
||
#### Dependency Manager: | ||
|
||
_Which dependency manager do you use? e.g. Cocoapods / Carthage / SPM / ..._ | ||
|
||
#### Other toolset: | ||
|
||
_Do you use additional tools with your dependency manager? e.g. [CarthageCache](https://github.com/Wolox/carthage_cache)_ | ||
|
||
#### Xcode version: | ||
|
||
_e.g. `Xcode 11.5 (11E608c)`_ | ||
|
||
#### Swift version: | ||
|
||
_e.g. `5.1`_ | ||
|
||
#### Deployment Target: | ||
|
||
_What is the Deployment Target of your app? e.g. `iOS 12`, `iPhone` + `iPad`_ | ||
|
||
#### macOS version: | ||
|
||
_e.g. `macOS Catalina 10.15.5 (19F96)`_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
name: Crash | ||
about: Noticed the SDK crash? | ||
title: '' | ||
labels: crash | ||
assignees: '' | ||
|
||
--- | ||
|
||
### The crash | ||
|
||
📝 Give us the crash report or stack trace, describe the problem in details and answer the questions. | ||
|
||
--- | ||
|
||
#### Datadog SDK versions: | ||
|
||
_Which version(s) of the Datadog SDK you see this crash happening in?_ | ||
|
||
#### Last stable Datadog SDK version: | ||
|
||
_What is the last Datadog SDK version where this crash doesn't happen?_ | ||
|
||
#### Volume: | ||
|
||
_What % of your app sessions is impacted with this crash?_ | ||
|
||
#### OS version: | ||
|
||
_Which iOS versions does this crash happen on?_ | ||
|
||
#### Deployment Target: | ||
|
||
_What is the Deployment Target of your app? e.g. `iOS 12`, `iPhone` + `iPad`_ | ||
|
||
#### Device version: | ||
|
||
_Which devices does this crash happen on? e.g. `iPhone X` only or various iPads_ | ||
|
||
#### Environment: | ||
|
||
_Do you notice any environment correlation in crash reports? e.g. low battery, no internet connection, memory pressure_ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
name: Other | ||
about: Noticed a bug, having a question or a feature request? | ||
title: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
### The thing | ||
|
||
Tell us the thing 🙂 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Trigger all-platform tests | ||
|
||
on: | ||
pull_request: | ||
types: [opened] | ||
issue_comment: | ||
types: [created] | ||
|
||
jobs: | ||
trigger-all-platform-tests: | ||
|
||
# Only certain repository members can run it | ||
if: github.actor == 'ncreated' || github.actor == 'buranmert' || github.actor == 'nachoBonafonte' | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Look for a keyword triggering the build on Bitrise | ||
id: check-keyword-trigger | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
uses: khan/pull-request-comment-trigger@014b821 | ||
with: | ||
trigger: '@test-all-platforms' | ||
reaction: rocket | ||
- name: Trigger Bitrise build | ||
if: steps.check-keyword-trigger.outputs.triggered == 'true' | ||
env: | ||
BITRISE_APP_SLUG: ${{ secrets.BITRISE_APP_SLUG }} | ||
BITRISE_TOKEN: ${{ secrets.BITRISE_TOKEN }} | ||
CURRENT_PR_SOURCE_BRANCH: ${{ github.head_ref }} | ||
COMMENT_BODY: ${{ github.event.comment.body }} | ||
shell: bash | ||
run: | | ||
if [[ -z "${CURRENT_PR_SOURCE_BRANCH}" ]]; then | ||
# when running on Pull Request comment (get the branch name from comment's body) | ||
SANITIZED_COMMENT=${COMMENT_BODY//[^a-zA-Z0-9@ -\/]/} # sanitize the user input | ||
BRANCH_NAME_REGEXP='[a-zA-Z0-9-]*\/[a-zA-Z0-9-]*' | ||
CURRENT_BRANCH=$(echo "${SANITIZED_COMMENT}" | grep -oe '@test-all-platforms '$BRANCH_NAME_REGEXP | grep -oe $BRANCH_NAME_REGEXP) | ||
else | ||
# when running due to opening a Pull Request | ||
CURRENT_BRANCH="${CURRENT_PR_SOURCE_BRANCH}" | ||
fi | ||
echo "Calling Bitrise API to run build for branch: $CURRENT_BRANCH" | ||
curl -X POST "https://api.bitrise.io/v0.1/apps/${BITRISE_APP_SLUG}/builds" \ | ||
-H "accept: application/json" \ | ||
-H "Authorization: ${BITRISE_TOKEN}" \ | ||
-H "Content-Type: application/json" \ | ||
-d "{ \"build_params\": { \"branch\": \"${CURRENT_BRANCH}\", \"workflow_id\": \"trigger_all_platform_tests\" }, \"hook_info\": { \"type\": \"bitrise\" }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.