-
-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4,250 changed files
with
60,579 additions
and
34,109 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Empty file modified
0
external_imported/sentry-native/external/crashpad/infra/config/main.star
100644 → 100755
Empty file.
Empty file modified
0
...ry-native/external/crashpad/third_party/mini_chromium/mini_chromium/build/ios/sdk_info.py
100644 → 100755
Empty file.
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
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
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 |
---|---|---|
|
@@ -9,23 +9,15 @@ on: | |
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
# fetch-depth 50 tries to ensure we capture the whole history of the branch | ||
fetch-depth: 50 | ||
|
||
- uses: actions/cache@v2 | ||
id: cache | ||
with: | ||
path: | | ||
./vcpkg | ||
key: ${{ runner.os }}-${{ hashFiles('scripts/bootstrap*') }} | ||
|
||
- name: bootstrap | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: ./bootstrap-vcpkg.sh | ||
|
||
- name: Save PR number | ||
|
@@ -38,8 +30,14 @@ jobs: | |
git config user.email github-actions | ||
git config user.name [email protected] | ||
git --version | ||
export VCPKG_ROOT=. | ||
git diff --name-status --merge-base HEAD^ HEAD --diff-filter=MAR -- '*portfile.cmake' | sed 's/[MAR]\t*//' | while read filename; do grep -q -E '(vcpkg_install_cmake|vcpkg_build_cmake|vcpkg_configure_cmake|vcpkg_fixup_cmake_targets)' "$filename" && echo " - \`$filename\`" || true; done > .github-pr.deprecated-cmake | ||
git diff --name-status --merge-base HEAD^ HEAD --diff-filter=MAR -- '*vcpkg.json' | sed 's/[MAR]\t*//' | while read filename; do grep -q -E '"license": ' "$filename" || echo " - \`$filename\`" || true; done > .github-pr.missing-license | ||
git diff --name-status --merge-base HEAD^ HEAD --diff-filter=MAR -- '*vcpkg.json' | sed 's/[MAR]\t*//' > .github-pr.changed-manifest-files | ||
cat .github-pr.changed-manifest-files | while read filename; do grep -q -E '"license": ' "$filename" || echo " - \`$filename\`" || true; done > .github-pr.missing-license | ||
cat .github-pr.changed-manifest-files | while read filename; do match=$(grep -oiP '"license": ".*\K(AGPL-1\.0|AGPL-3\.0|BSD-2-Clause-FreeBSD|BSD-2-Clause-NetBSD|bzip2-1\.0\.5|eCos-2\.0|GFDL-1\.1|GFDL-1\.2|GFDL-1\.3|GPL-1\.0|GPL-1\.0\+|GPL-2\.0|GPL-2\.0\+|GPL-2\.0-with-autoconf-exception|GPL-2\.0-with-bison-exception|GPL-2\.0-with-classpath-exception|GPL-2\.0-with-font-exception|GPL-2\.0-with-GCC-exception|GPL-3\.0|GPL-3\.0\+|GPL-3\.0-with-autoconf-exception|GPL-3\.0-with-GCC-exception|LGPL-2\.0|LGPL-2\.0\+|LGPL-2\.1|LGPL-2\.1\+|LGPL-3\.0|LGPL-3\.0\+|Nunit|StandardML-NJ|wxWindows)(?=[ "])' "$filename" || true); if [ ! -z "$match" ]; then echo " - \`$filename\` (has deprecated license \`$match\`)" ; fi ; done > .github-pr.deprecated-license | ||
./vcpkg format-manifest --all --convert-control | ||
git diff > .github-pr.format-manifest | ||
git add -u | ||
|
@@ -63,6 +61,7 @@ jobs: | |
const format = (await fs.readFile('.github-pr.format-manifest', 'utf8')).trim() | ||
const cmake = (await fs.readFile('.github-pr.deprecated-cmake', 'utf8')).trim() | ||
const missing_license = (await fs.readFile('.github-pr.missing-license', 'utf8')).trim() | ||
const deprecated_license = (await fs.readFile('.github-pr.deprecated-license', 'utf8')).trim() | ||
let approve = true; | ||
var output = '' | ||
|
@@ -112,13 +111,19 @@ jobs: | |
output += `The following files are affected:\n${cmake}\n` | ||
output += "</details>\n\n" | ||
} | ||
if (missing_license !== "") { | ||
output += 'You have modified or added at least one vcpkg.json where a "license" field is missing.\n' | ||
if (missing_license !== "" || deprecated_license !== "") { | ||
output += 'You have modified or added at least one vcpkg.json where you should check the `license` field.\n' | ||
output += "<details>\n\n" | ||
output += 'If you feel able to do so, please consider adding a "license" field to the following files:\n' | ||
output += missing_license | ||
output += "\n\nValid values for the license field can be found in the [documentation](https://github.com/microsoft/vcpkg/blob/master/docs/maintainers/manifest-files.md#license)\n" | ||
if (missing_license !== "") { | ||
output += 'If you feel able to do so, please consider adding a "license" field to the following files:\n' | ||
output += missing_license | ||
output += "\n\nValid values for the license field can be found in the [documentation](https://github.com/microsoft/vcpkg/blob/master/docs/maintainers/manifest-files.md#license)\n\n" | ||
} | ||
if (deprecated_license !== "") { | ||
output += 'If you feel able to do so, please consider replacing the deprecated license identifiers in the following files:\n' | ||
output += deprecated_license | ||
output += "\n\nDeprecated and non deprecated license identifiers can be found [here](https://spdx.github.io/spdx-spec/SPDX-license-list/#a3-deprecated-licenses)\n" | ||
} | ||
output += "</details>\n\n" | ||
} | ||
|
54 changes: 54 additions & 0 deletions
54
external_imported/vcpkg/.github/workflows/validateDocs.yml
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,54 @@ | ||
name: Doc Validation | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'docs/**' | ||
|
||
jobs: | ||
validate: | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
path: vcpkg | ||
|
||
- name: Checkout Website | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: vcpkg/vcpkg.github.io | ||
ref: '8ee5cacc91b6e017b5e4236940d9f385c1563598' | ||
path: vcpkg.github.io | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-node- | ||
- run: npm ci | ||
working-directory: vcpkg.github.io | ||
|
||
- name: Purge existing html files | ||
run: rm -rf en | ||
working-directory: vcpkg.github.io | ||
|
||
# The current navbar embeds a link to integration.md which no longer exists | ||
- name: Ignore navbar | ||
run: echo "" > templates/navbar.html | ||
working-directory: vcpkg.github.io | ||
|
||
- name: Generate Core Pages | ||
run: node scripts/generatePages.js | ||
working-directory: vcpkg.github.io | ||
|
||
- name: Generate Docs Pages | ||
run: node scripts/generateDocs.js ../vcpkg/docs | ||
working-directory: vcpkg.github.io | ||
|
||
- name: Check Links | ||
run: VCPKG_VALIDATE_LINKS_ONLY_DOCS=1 node scripts/validateLinks.js | ||
working-directory: vcpkg.github.io |
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
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
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
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.