Home
last modified time | relevance | path

Searched +full:commit +full:- +full:message (Results 1 – 25 of 49) sorted by relevance

12

/Zephyr-latest/scripts/gitlint/
Dzephyr_commit_rules.py1 # SPDX-License-Identifier: Apache-2.0
4 The classes below are examples of user-defined CommitRules. Commit rules are gitlint rules that
5 act on the entire commit at once. Once the rules are discovered, gitlint will automatically take ca…
6 to the entire commit. This happens exactly once per commit.
8 A CommitRule contrasts with a LineRule (see examples/my_line_rules.py) in that a commit rule is onl…
9 an entire commit. This allows commit rules to implement more complex checks that span multiple line…
22 name = "body-min-line-count"
24 # A rule MUST have an *unique* id, we recommend starting with UC (for User-defined Commit-rule).
28 … options_spec = [IntOption('min-line-count', 1, "Minimum body line count excluding Signed-off-by")]
30 def validate(self, commit): argument
[all …]
/Zephyr-latest/.github/workflows/
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@7e6446f8439d8b4399169880c36a3a12b5747699 # v1.…
18 repo-token: ${{ secrets.GITHUB_TOKEN }}
20 issue-message: >
22 for our open-source project. ��
28 pr-opened-message: >
33commit messages and code, and you are expected to address any failures by updating the PR.
34 …se take a look at [our commit message guidelines](https://docs.zephyrproject.org/latest/contribute…
[all …]
/Zephyr-latest/doc/contribute/
Dguidelines.rst6 As an open-source project, we welcome and encourage the community to submit
52 https://github.com/zephyrproject-rtos/zephyr/blob/main/LICENSE
54 .. _GitHub repo: https://github.com/zephyrproject-rtos/zephyr
66 https://www.zephyrproject.org/faqs/#1571346989065-9216c551-f523
69 https://www.whitesourcesoftware.com/whitesource-blog/top-10-apache-license-questions-answered/
92 See :ref:`external-contributions` for more information about
112 .. code-block:: C
117 https://www.linuxfoundation.org/blog/copyright-notices-in-open-source-software-projects/
129 developer. In the commit message of the contribution, (described more fully
130 later in this document), the developer simply adds a ``Signed-off-by``
[all …]
Dcontributor_expectations.rst1 .. _contributor-expectations:
10 - Reviewed more quickly and reviewed more thoroughly. It's easier for reviewers
14 - Less wasted work if reviewers or maintainers reject the direction of the
17 - Easier to rebase and merge. Smaller PRs are less likely to conflict with other
20 - Easier to revert if the PR breaks functionality.
32 - Smaller PRs should encompass one self-contained logical change.
34 - When adding a new large feature or API, the PR should address only one part of
38 - PRs should include tests or samples under the following conditions:
40 - Adding new features or functionality.
42 - Modifying a feature, especially for API behavior contract changes.
[all …]
Dmodifying_contributions.rst19 * a developer cherry-picks commits submitted by other contributors into their
37 A developer who intends to cherry-pick and potentially modify patches sent by
40 * clarify in their pull request the reason for cherry-picking the patches,
45 A developer who intends to force-push to a branch or pull request of
54 :ref:`development processes and tools <dev-environment-and-tools>`
60 the original sign-off line and author identity, or
62 *own* sign-off line and author identity). In this case, the developer
63 shall identify in the commit message(s) the original source the
/Zephyr-latest/.github/
Ddependabot.yml3 - package-ecosystem: "github-actions"
7 commit-message:
11 actions-deps:
13 - "*"
/Zephyr-latest/tests/subsys/logging/log_link_order/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
84 zassert_equal(msg->log.hdr.timestamp, exp_timestamp, "%d: got:%d, exp:%d", in check_msg()
85 line, (int)msg->log.hdr.timestamp, exp_timestamp); in check_msg()
98 log1->hdr.desc.type = Z_LOG_MSG_LOG; in ZTEST()
99 log1->hdr.desc.package_len = 0; in ZTEST()
100 log1->hdr.desc.data_len = 0; in ZTEST()
102 /* Commit local message. */ in ZTEST()
115 CHECK_MSG(-1); in ZTEST()
123 /* Get timestamp for second message before first. Simulate that it is in ZTEST()
130 log1->hdr.desc.package_len = 0; in ZTEST()
[all …]
/Zephyr-latest/scripts/footprint/
Dcompare_footprint3 # SPDX-License-Identifier: Apache-2.0
9 The scripts take 2 optional args COMMIT and BASE_COMMIT, which tell the scripts
10 which commit to use as current commit and as base for comparing, respectively.
11 The script can take any SHA commit recognized for git.
13 COMMIT is the commit to compare against BASE_COMMIT.
17 BASE_COMMIT is the commit used as base to compare results.
21 HEAD~1 if we don't have changes and we have default COMMIT.
22 COMMIT~1 if we have a valid COMMIT.
44 proc = subprocess.Popen('git rev-parse --is-inside-work-tree',
62 format = logging.Formatter('%(levelname)-8s: %(message)s')
[all …]
Dpack_as_twister.py5 # SPDX-License-Identifier: Apache-2.0
16 with the corresponding sub-directories.
18 For example, an input path `./**/*v3.6.0-rc3-*/footprints/**/frdm_k64f/` will be
19 expanded by bash to all sub-directories with the 'footprints' data `v3.6.0-rc3`
22 `shopt -s globstar`.
29 This scripts has `--test-name` parameter to customize how to compose test names
48 VERSION_COMMIT_RE = re.compile(r".*-g([a-f0-9]{12})$")
71 console.setFormatter(logging.Formatter('%(asctime)s - %(levelname)-8s - %(message)s'))
95 parser.add_argument('-p', '--plan', metavar='PLAN_FILE_CSV', required=True,
100 parser.add_argument('-o', '--output-fname', metavar='OUTPUT_FNAME', required=False,
[all …]
/Zephyr-latest/
D.gitlint2 # Zephyr-specific defaults are located in scripts/gitlint/zephyr_commit_rules.py
4 ignore=title-trailing-punctuation, T3, title-max-length, T1, body-hard-tab, B3, B1
5 # verbosity should be a value between 1 and 3, the commandline -v flags take precedence over this
8 ignore-merge-commits=false
9 ignore-revert-commits=false
10 ignore-fixup-commits=false
11 ignore-squash-commits=false
15 # Set the extra-path where gitlint will search for user defined rules
17 extra-path=scripts/gitlint
19 [title-max-length-no-revert]
[all …]
/Zephyr-latest/include/zephyr/logging/
Dlog_internal.h4 * SPDX-License-Identifier: Apache-2.0
33 /** @brief Indicate to the log core that one log message has been dropped.
35 * @param buffered True if dropped message was already buffered and it is being
36 * dropped to free space for another message. False if message is being dropped
104 /** @brief Initialize module for handling logging message. */
107 /** @brief Commit log message.
109 * @param msg Message.
113 /** @brief Get pending log message.
120 /** @brief Free message.
122 * @param msg Message.
[all …]
/Zephyr-latest/include/zephyr/sys/
Dspsc_pbuf.h4 * SPDX-License-Identifier: Apache-2.0
74 MAX(0, Z_SPSC_PBUF_DCACHE_LINE - (int)sizeof(struct spsc_pbuf_common))
102 * is encapsulated to a message (with length header).
125 return pb->common.len - sizeof(uint32_t); in spsc_pbuf_capacity()
159 * -EINVAL, if len == 0.
160 * -ENOMEM, if len is bigger than the buffer can fit.
171 * a commit is not needed.
189 * @retval non-negative Amount of space that got allocated. Can be equal or smaller than %p len.
190 * @retval -EINVAL if @p len is forbidden.
195 * @brief Commit packet to the buffer.
[all …]
Dmpsc_pbuf.h4 * SPDX-License-Identifier: Apache-2.0
174 /** @brief Commit a packet.
243 /** @brief Check if there are any message pending.
248 * @retval false if no message is pending.
267 * retval -ENOTSUP if Collecting utilization data is not supported.
/Zephyr-latest/doc/services/logging/
Dcs_stm.rst3 Multi-domain logging using ARM Coresight STM
6 The Arm CoreSight SoC-400 is a comprehensive library of components for the creation of debug and
8 is integrated into a CoreSight system, designed primarily for high-bandwidth trace of
9 instrumentation embedded into software. This instrumentation is made up of memory-mapped writes to
26 capture the data (e.g. J-Trace PRO).
40 Data from ETR is handled on the device. It can be forwarded as-is to the host (e.g. using UART),
41 where a host tool is decoding the data or data can be decoded on-chip to output the data in human r…
50 whole message is written to that STMESP. Limited pool of sets is used leaving most of channels for
68 * :c:func:`log_frontend_stmesp_tp` - It accepts single argument - index. Index is between
70 * :c:func:`log_frontend_stmesp_tp_d32` - It accepts two arguments - index and user data.
[all …]
/Zephyr-latest/tests/lib/spsc_pbuf/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
17 * 212 - sizeof(struct spsc_pbuf) - 1 = 199.
18 * -1 because internal rd/wr_idx is reserved to mean the buffer is empty.
30 static uint8_t message[20] = {'a'}; in test_spsc_pbuf_flags() local
35 (sizeof(memory_area) - offsetof(struct spsc_pbuf, ext.cache.data)) : in test_spsc_pbuf_flags()
36 (sizeof(memory_area) - offsetof(struct spsc_pbuf, ext.nocache.data))) - in test_spsc_pbuf_flags()
46 zassert_equal(rlen, -EINVAL); in test_spsc_pbuf_flags()
48 zassert_equal(rlen, -EINVAL); in test_spsc_pbuf_flags()
52 zassert_equal(rlen, -ENOMEM); in test_spsc_pbuf_flags()
59 wlen = spsc_pbuf_write(ib, message, sizeof(message)); in test_spsc_pbuf_flags()
[all …]
/Zephyr-latest/scripts/west_commands/
Dpatch.py3 # SPDX-License-Identifier: Apache-2.0
30 WEST_PATCH_SCHEMA_PATH = Path(__file__).parents[1] / "schemas" / "patch-schema.yml"
57 See "west patch apply --help" for details.
62 See "west patch clean --help" for details.
67 See "west patch list --help" for details.
71 Run "west patch gh-fetch" to fetch patches from Github.
72 See "west patch gh-fetch --help" for details.
76 The patches.yml syntax is described in "scripts/schemas/patch-schema.yml".
79 - path: zephyr/kernel-pipe-fix-not-k-no-wait-and-ge-min-xfer-bytes.patch
84 date: 2020-04-20
[all …]
Dzcmake.py3 # SPDX-License-Identifier: Apache-2.0
54 # CMake sends the output of message() to stderr unless it's STATUS
80 :param build_directory: runs "cmake --build build_directory"
82 these come after "--build <build_directory>"
85 Any additional keyword arguments are passed as-is to run_cmake().
91 index = extra_args.index('--') + 1
93 build_opt_parser.add_argument('-j', '--jobs')
94 build_opt_parser.add_argument('-v', '--verbose', action='store_true')
107 pass # Ignore, no presence of '--' so nothing to do.
109 return run_cmake(['--build', build_directory] + extra_args, env=cmake_env, **kwargs)
[all …]
/Zephyr-latest/doc/develop/west/
Drelease-notes.rst1 .. _west-release-notes:
11 - New ``west grep`` command for running a "grep tool" in your west workspace's
18 .. code-block:: console
25 .. list-table::
27 * - ``git grep --untracked``
28 - ``west grep --untracked foo``
29 * - ``ripgrep``
30 - ``west grep --tool ripgrep foo``
31 * - ``grep --recursive``
32 - ``west grep --tool grep foo``
[all …]
Dmanifest.rst1 .. _west-manifests:
8 ``west.manifest`` module, see :ref:`west-apis-manifest`. For a more general
9 introduction and command overview, see :ref:`west-basics`.
16 .. _west-mr-model:
25 .. figure:: west-mr-model.png
27 :alt: West multi-repo history
28 :figclass: align-center
30 West multi-repo history
34 using solid arrows. The plane below contains the Git commit history of the
36 rectangle. Parent/child commit relationships in each repository are also shown
[all …]
/Zephyr-latest/doc/develop/
Dmodules.rst7 order to avoid reinventing the wheel and to reuse as much well-established,
14 modules, an external project is required to have its own life-cycle outside
29 - Debugger integration
30 - Silicon vendor Hardware Abstraction Layers (HALs)
31 - Cryptography libraries
32 - File Systems
33 - Inter-Process Communication (IPC) libraries
36 references to optional :ref:`binary blobs <bin-blobs>`.
41 .. _modules-vs-projects:
47 <west-workspace>`. In fact, modules :ref:`do not require west
[all …]
/Zephyr-latest/doc/_extensions/zephyr/kconfig/static/
Dkconfig.mjs3 * SPDX-License-Identifier: Apache-2.0
27 * Show an error message.
28 * @param {String} message Error message.
30 function showError(message) { argument
36 admonitionTitle.className = 'admonition-title';
45 const admonitionContentText = document.createTextNode(message);
50 * Show a progress message.
51 * @param {String} message Progress message.
53 function showProgress(message) { argument
58 const pText = document.createTextNode(message);
[all …]
/Zephyr-latest/doc/develop/tools/
Dcoccinelle.rst13 tree-wide patches and detection of problematic programming patterns.
22 which are provided by Coccinelle version 1.0.0-rc11 and above.
29 .. rst-class:: rst-columns
49 .. code-block:: console
57 .. code-block:: console
76 ``coccicheck`` checker is the front-end to the Coccinelle infrastructure
80 ``org``. The mode to use is specified by setting ``--mode=<mode>`` or
81 ``-m=<mode>``.
86 file:line:column-column: message
89 diff-like style.Lines of interest are indicated with ``-``.
[all …]
/Zephyr-latest/scripts/ci/
Dtest_plan.py2 # SPDX-License-Identifier: Apache-2.0
29 # however, pylint complains that it doesn't recognized them when used (used-before-assignment).
34 logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.INFO)
70 # return search(). (?:) is a non-capturing group.
139 cmd = [f"{zephyr_base}/scripts/twister", "-c"] + options + ["--save-tests", fname ]
141 cmd += ["--no-detailed-test-id"]
144 cmd+=["-T", root]
146 cmd.append("--integration")
149 cmd += ["--quarantine-list", q]
164 old_manifest_content = repo_to_scan.git.show(f"{args.commits[:-2]}:west.yml")
[all …]
Dcheck_compliance.py5 # SPDX-License-Identifier: Apache-2.0
56 f"{cp.stdout.decode('utf-8')}\n"
58 f"{cp.stderr.decode('utf-8')}\n")
60 return cp.stdout.decode("utf-8").rstrip()
69 return git('rev-list',
70 f'--max-count={-1 if "." in refspec else 1}', refspec).split()
73 filter_arg = (f'--diff-filter={filter}',) if filter else ()
74 paths_arg = ('--', *paths) if paths else ()
75 out = git('diff', '--name-only', *filter_arg, COMMIT_RANGE, *paths_arg)
124 the message that gets printed when running the test.
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-1.6.rst7 release introduces the unified Kernel replacing the separate nano- and
8 micro-kernels and simplifying the overall Zephyr architecture and programming
10 Support for the ARM Cortex-M0/M0+ family was added and board support for
11 Cortex-M was expanded.
22 * Added support for several ARM Cortex-M boards
34 * Added DLIST to operate in all elements of a doubly-linked list.
40 * Changed memory pool, memory maps, message queues and event handling APIs.
52 * ARM: Added support for ARM Cortex-M0/M0+.
55 * x86: Changed IRQ controller to return -1 if cannot determine source vector.
99 * Added raw HCI API to enable physical HCI transport for a Controller-only build.
[all …]

12