Home
last modified time | relevance | path

Searched +full:github +full:- +full:token (Results 1 – 25 of 31) sorted by relevance

12

/Zephyr-latest/scripts/
Dgithub_helpers.py3 # SPDX-License-Identifier: Apache-2.0
6 Generic GitHub helper routines which may be useful to other scripts.
24 import github
26 def get_github_credentials(ask: bool = True) -> Dict[str, str]:
27 '''Get credentials for constructing a github.Github object.
29 This function tries to get github.com credentials from these
40 api.github.com is rate limited more aggressively than
45 github.Github constructor as **kwargs.
57 auth = nrc.authenticators('github.com')
61 token = os.environ.get('GITHUB_TOKEN')
[all …]
Dset_assignees.py4 # SPDX-License-Identifier: Apache-2.0
11 from github import Github, GithubException
12 from github.GithubException import UnknownObjectException
31 parser.add_argument("-M", "--maintainer-file", required=False, default="MAINTAINERS.yml",
35 group.add_argument("-P", "--pull_request", required=False, default=None, type=int,
36 help="Operate on one pull-request only.")
37 group.add_argument("-I", "--issue", required=False, default=None, type=int,
39 group.add_argument("-s", "--since", required=False,
40 help="Process pull-requests since date.")
41 group.add_argument("-m", "--modules", action="store_true",
[all …]
/Zephyr-latest/scripts/release/
Dbug_bash.py4 # SPDX-License-Identifier: Apache-2.0
6 """Query the Top-Ten Bug Bashers
8 This script will query the top-ten Bug Bashers in a specified date window.
11 ./scripts/bug-bash.py -t ~/.ghtoken -b 2021-07-26 -e 2021-08-07
12 GITHUB_TOKEN="..." ./scripts/bug-bash.py -b 2021-07-26 -e 2021-08-07
21 from github import Github
26 parser.add_argument('-a', '--all', dest='all',
28 parser.add_argument('-t', '--token', dest='tokenfile',
29 …help='File containing GitHub token (alternatively, use GITHUB_TOKEN env variable)', metavar='FILE')
30 parser.add_argument('-s', '--start', dest='start', help='start date (YYYY-mm-dd)',
[all …]
Dlist_backports.py4 # SPDX-License-Identifier: Apache-2.0
8 This script searches for issues referenced via pull-requests in a release
21 -t ~/.ghtoken \
22 -b v2.7-branch \
23 -s 2021-12-15 -e 2022-04-22 \
24 -P 45074 -P 45868 -P 44918 -P 41234 -P 41174 \
25 -j | jq . | tee /tmp/backports.json
29 -b v3.0-branch \
30 -p 43381 \
31 -j | jq . | tee /tmp/backports.json
[all …]
/Zephyr-latest/.github/workflows/
Dscorecards.yml1 # This workflow uses actions that are not certified by GitHub. They are provided
2 # by a third-party and are governed by separate terms of service, privacy
5 name: Scorecards supply-chain security
7 # For Branch-Protection check. Only the default branch is supported. See
8 # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection
11 # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
13 - cron: '43 7 * * 6'
16 - main
18 permissions: read-all
23 runs-on: ubuntu-latest
[all …]
Dmanifest.yml7 runs-on: ubuntu-22.04
10 - name: Checkout the code
14 ref: ${{ github.event.pull_request.head.sha }}
15 fetch-depth: 0
16 persist-credentials: false
18 - name: west setup
20 BASE_REF: ${{ github.base_ref }}
21 working-directory: zephyrproject/zephyr
24 git config --global user.email "you@example.com"
25 git config --global user.name "Your Name"
[all …]
Dissue_count.yml5 - cron: '*/10 * * * *'
9 COMMITTER_EMAIL: actions@github.com
10 COMMITTER_NAME: github-actions
11 COMMITTER_USERNAME: github-actions
15 track-issues:
17 runs-on: ubuntu-22.04
18 if: github.repository == 'zephyrproject-rtos/zephyr'
21 - name: Download configuration file
23 …wget -q https://raw.githubusercontent.com/$GITHUB_REPOSITORY/main/.github/workflows/issues-report-
25 - name: install-packages
[all …]
Dgreet_first_time_contributor.yml11 runs-on: ubuntu-22.04
12 if: github.repository == 'zephyrproject-rtos/zephyr'
15 - uses: actions/checkout@v4
16 - uses: zephyrproject-rtos/action-first-interaction@v1.1.1-zephyr-5
18 repo-token: ${{ secrets.GITHUB_TOKEN }}
20 issue-message: >
21 Hi @${{github.event.issue.user.login}}! We appreciate you submitting your first issue
22 for our open-source project. ��
28 pr-opened-message: >
29 Hello @${{ github.event.pull_request.user.login }}, and thank you very much for your
[all …]
Dcodecov.yaml5 - cron: '25 06,18 * * *'
8 group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
9 cancel-in-progress: true
13 if: github.repository_owner == 'zephyrproject-rtos'
14 runs-on:
15 group: zephyr-runner-v2-linux-x64-4xlarge
17 image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.27.4.20241026
18 options: '--entrypoint /bin/bash'
20 fail-fast: false
24 - platform: 'mps2/an385'
[all …]
/Zephyr-latest/scripts/ci/stats/
Dmerged_prs.py3 # SPDX-License-Identifier: Apache-2.0
11 from github import Github
19 date_format = '%Y-%m-%d %H:%M:%S'
21 def parse_args() -> argparse.Namespace:
25 parser.add_argument('--pull-request', help='pull request number', type=int)
26 …parser.add_argument('--range', help='execute based on a date range, for example 2023-01-01..2023-0…
27 parser.add_argument('--repo', help='github repo', default='zephyrproject-rtos/zephyr')
28 parser.add_argument('--es-index', help='Elasticsearch index')
29 parser.add_argument('-y','--dry-run', action="store_true", help='dry run, do not upload data')
42 …print(f'#{pr.number}: {pr.title} - {pr.comments} Comments, reviews: {reviews.totalCount}, {len(pr.…
[all …]
/Zephyr-latest/doc/develop/west/
Dworkspaces.rst1 .. _west-workspaces:
7 :ref:`west-basics` in more detail.
9 .. _west-manifest-rev:
11 The ``manifest-rev`` branch
14 West creates and controls a Git branch named ``manifest-rev`` in each
16 specified for the project at the time :ref:`west-update` was last run.
17 Other workspace management commands may use ``manifest-rev`` as a reference
19 purposes, the ``manifest-rev`` branch allows the manifest file to use SHAs
22 Although ``manifest-rev`` is a normal Git branch, west will recreate and/or
27 rebase it on top of a new ``manifest-rev``, or merge ``manifest-rev`` into
[all …]
/Zephyr-latest/subsys/lorawan/services/
Dclock_sync.c6 * LoRaMac-node firmware repository https://github.com/Lora-net/LoRaMac-node
9 * SPDX-License-Identifier: Apache-2.0
25 * This implementation only supports TS003-2.0.0, as the previous revision TS003-1.0.0
45 /** Work item for regular (re-)sync requests (uplink messages) */
47 /** Continuously incremented token to map clock sync answers and requests */
70 * @returns number of bytes written or -ENOSPC in case of error
77 return -ENOSPC; in clock_sync_serialize_device_time()
90 /* add +-30s jitter to nominal periodicity as required by the spec */ in clock_sync_calc_periodicity()
91 return K_SECONDS(ctx.periodicity - 30 + sys_rand32_get() % 61); in clock_sync_calc_periodicity()
106 if (sizeof(tx_buf) - tx_pos < MAX_CLOCK_SYNC_ANS_LEN) { in clock_sync_package_callback()
[all …]
/Zephyr-latest/scripts/west_commands/
Dsdk.py3 # SPDX-License-Identifier: Apache-2.0
42 See 'west sdk list --help' for details.
48 See 'west sdk install --help' for details.
82 Set --version option to install a specific version of the SDK.
86 You can specify the installation directory with --install-dir or --install-base.
89 --install-dir and --install-base.
91 Typically, Zephyr SDK archives contain only one directory named zephyr-sdk-<version>
93 … The SDK archive is extracted to the home directory if both --install-dir and --install-base
95 In this case, SDK will install into ${HOME}/zephyr-sdk-<version>.
96 … If --install-base is specified, the archive will be extracted under the specified path.
[all …]
/Zephyr-latest/samples/net/cloud/mqtt_azure/
DREADME.rst1 .. zephyr:code-sample:: mqtt-azure
3 :relevant-api: bsd_sockets mqtt_socket tls_credentials random_api
13 - Acquire a DHCPv4 lease
14 - Establish a TLS connection with Azure Cloud IoT hub
15 - Publish data to the Azure cloud
16 - SOCKS5 supported
17 - DNS supported
25 - Azure Cloud account
26 - Azure IOT Cloud credentials and required information
27 - Freedom Board (FRDM-K64F)
[all …]
/Zephyr-latest/doc/services/crypto/
Dpsa_crypto.rst11 across a wide range of hardware. It is designed to be user-friendly
12 while still providing access to the low-level primitives essential for
20 open-source cryptographic library that provides the underlying
27 special-purpose cryptographic processors that process data with a
28 built-in key, to constrained devices running custom application code,
29 such as microcontrollers, and multi-application devices, such as
52 Future-Proofing
55 practices, enhancing long-term security and compliance.
65 or file-based, with master encryption keys stored inside a key store.
69 for example, for X.509-based authentication or pre-shared keys on
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-2.5.rst27 * CVE-2021-3323: Under embargo until 2021-04-14
28 * CVE-2021-3321: Under embargo until 2021-04-14
29 * CVE-2021-3320: Under embargo until 2021-04-14
37 You can check all currently known issues by listing them using the GitHub
39 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
56 * Changed vcnl4040 dts binding default for property 'proximity-trigger'.
63 * The :c:func:`mqtt_keepalive_time_left` function now returns -1 if keep alive
67 timeout usage must use the new-style k_timeout_t type and not the
82 buffer as the ``token`` argument instead of a pointer to a writable buffer.
87 GPIO-only regulators a devicetree property ``supply-gpios`` is defined as a
[all …]
Dmigration-guide-4.0.rst37 :ref:`native_sim<native_sim>` (:github:`76898`).
39 to define default flash and ram partitioning based on TF-M.
60 specify it using the west ``--runner`` or ``-r`` option. (:github:`75284`)
61 * ADC: Domain clock needs to be explicitly defined if property st,adc-clock-source = <ASYNC> is use…
70 …have been removed because Mbed TLS doesn't support TLS 1.0 and 1.1 anymore since v3.0. (:github:`7…
71 * The following Kconfig symbols were renamed (:github:`76408`):
77 be enabled. (:github:`77657`)
85 Trusted Firmware-M
91 versions larger than ``0.0.1024`` (:github:`78128`).
100 Full release notes at https://github.com/NordicSemiconductor/zcbor/blob/0.9.0/RELEASE_NOTES.md
[all …]
Drelease-notes-3.2.rst13 * Added support for :ref:`bin-blobs` (also see :ref:`west-blobs`).
15 * Converted all supported boards from ``pinmux`` to :ref:`pinctrl-guide`.
31 * CVE-2022-2993: Under embargo until 2022-11-03
33 * CVE-2022-2741: Under embargo until 2022-10-14
56 This definition can be used by third-party code to compile code conditional
58 Therefore, any third-party code integrated using the Zephyr build system will
91 changed from ``-ENETDOWN`` to ``-ENETUNREACH``. A return value of ``-ENETDOWN`` now indicates
129 * Removed support for configuring the CAN-FD maximum DLC value via Kconfig
156 valid for specific bindings to specify like :dtcompatible:`gpio-leds` and
157 :dtcompatible:`fixed-partitions`.
[all …]
Drelease-notes-3.3.rst14 * Introduced :ref:`USB-C <usbc_api>` device stack with PD (power delivery)
17 CMSIS-DSP as the default backend.
30 * CVE-2023-0359: Under embargo until 2023-04-20
32 * CVE-2023-0779: Under embargo until 2023-04-22
66 removed in favor of new :dtcompatible:`zephyr,flash-disk` devicetree binding.
71 * Starting from this release ``zephyr-`` prefixed tags won't be created
82 image states). Use of a truncated hash or non-sha256 hash will still work
88 registration function at boot-up. If applications register this then
93 application code, these will now automatically be registered at boot-up (this
129 This may cause out-of-tree scripts or commands to fail if they have relied
[all …]
Drelease-notes-4.0.rst15 is now the standard way to provide device-specific protection to data at rest. (:github:`76222`)
18 :ref:`ZMS <zms_api>` is a new key-value storage subsystem compatible with all non-volatile storage
25 runtime configuration through vendor specific APIs. Initially the :dtcompatible:`nordic,nrf-comp`,
26 :dtcompatible:`nordic,nrf-lpcomp` and :dtcompatible:`nxp,kinetis-acmp` are supported.
31 Initially implemented drivers include a simple :dtcompatible:`zephyr,gpio-steppers` and a complex
32 sensor-less stall-detection capable with integrated ramp-controller :dtcompatible:`adi,tmc5041`.
50 directory for :zephyr:code-sample-category:`code samples <samples>`.
70 * :cve:`2024-8798`: Under embargo until 2024-11-22
71 * :cve:`2024-10395`: Under embargo until 2025-01-23
72 * :cve:`2024-11263` `Zephyr project bug tracker GHSA-jjf3-7x72-pqm9
[all …]
/Zephyr-latest/scripts/west_commands/completion/
Dwest-completion.fish20 set -l tokens (commandline -opc)
41 set -l tokens (commandline -opc)
42 set -l argc (count $argv)
43 set -l max $argv[1]
44 set -l counter 0
46 if test $argc -eq 1
47 if test (math (count $tokens) - 2) -ge $max
60 if $counter -ge $max
72 # check if a given token is the last one in the command line
74 # return 0 if one of the given argument is the last token
[all …]
Dwest-completion.bash1 # Bash auto-completion for west subcommands and flags. To initialize, run
3 # source west-completion.bash
7 __west_previous_extglob_setting=$(shopt -p extglob)
8 shopt -s extglob
12 # bash_completion - programmable completion functions for bash 3.2+
14 # Copyright © 2006-2008, Ian Macdonald <ian@caliban.org>
15 # © 2009-2010, Bash Completion Maintainers
16 # <bash-completion-devel@lists.alioth.debian.org>
33 # http://bash-completion.alioth.debian.org/
41 # if test "${words_[cword_-1]}" = -w
[all …]
/Zephyr-latest/doc/security/
Dvulnerabilities.rst14 CVE-2017
17 :cve:`2017-14199`
18 -----------------
22 - `Zephyr project bug tracker ZEPSEC-12
23 <https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-12>`_
25 - `PR6158 fix for 1.11.0
26 <https://github.com/zephyrproject-rtos/zephyr/pull/6158>`_
28 :cve:`2017-14201`
29 -----------------
40 - `Zephyr project bug tracker ZEPSEC-17
[all …]
Dsecure-coding.rst6 Traditionally, microcontroller-based systems have not placed much
46 documentation about how security-sensitive issues are handled by the
60 - **Open design** as a design guideline incorporates the maxim that
62 widespread use. Instead of relying on secret, custom-tailored
66 - **Economy of mechanism** specifies that the underlying design of a
71 - **Complete mediation** requires that each access to every object and
75 - **Fail-safe defaults** defines that access is restricted by default
82 - **Separation of privilege** is the principle that two conditions or
86 - **Least privilege** describes an access model in which each user,
92 - **Least common mechanism** specifies that mechanisms common to more
[all …]
/Zephyr-latest/scripts/kconfig/
Dkconfiglib.py1 # Copyright (c) 2011-2019, Ulf Magnusson
2 # SPDX-License-Identifier: ISC
9 from Kconfig (https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt)
12 See the homepage at https://github.com/ulfalizer/Kconfiglib for a longer
27 $ wget -qO- https://raw.githubusercontent.com/ulfalizer/Kconfiglib/master/makefile.patch | git am
28 …$ wget -qO- https://raw.githubusercontent.com/ulfalizer/Kconfiglib/master/makefile.patch | patch -
30 Warning: Not passing -p1 to patch will cause the wrong file to be patched.
42 $ git clone git://github.com/ulfalizer/Kconfiglib.git
43 $ git am Kconfiglib/makefile.patch (or 'patch -p1 < Kconfiglib/makefile.patch')
53 ----------------
[all …]

12