-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
samples: migrate includes to contain <zephyr/...> prefix #45388
Merged
carlescufi
merged 1 commit into
zephyrproject-rtos:main
from
teslabs:migrate-zephyr-include-path-samples
May 6, 2022
Merged
samples: migrate includes to contain <zephyr/...> prefix #45388
carlescufi
merged 1 commit into
zephyrproject-rtos:main
from
teslabs:migrate-zephyr-include-path-samples
May 6, 2022
Conversation
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
In order to bring consistency in-tree, migrate all samples to the use the new prefix <zephyr/...>. Note that the conversion has been scripted: ```python from pathlib import Path import re EXTENSIONS = ("c", "h", "cpp", "rst") for p in Path(".").glob("samples/**/*"): if not p.is_file() or p.suffix and p.suffix[1:] not in EXTENSIONS: continue content = "" with open(p) as f: for line in f: m = re.match(r"^(.*)#include <(.*)>(.*)$", line) if (m and not m.group(2).startswith("zephyr/") and (Path(".") / "include" / "zephyr" / m.group(2)).exists()): content += ( m.group(1) + "#include <zephyr/" + m.group(2) +">" + m.group(3) + "\n" ) else: content += line with open(p, "w") as f: f.write(content) ``` Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
gmarull
requested review from
dcpleung,
nashif,
microbuilder,
ceolin,
jfischer-no,
sidcha,
nandojve,
nvlsianpu,
jakub-uC,
nordic-krch,
avisconti,
MaureenHelm,
rlubos,
tbursztyka,
pfalcon,
henrikbrixandersen,
Mani-Sadhasivam,
kgugala,
pgielda,
alexanderwachter,
Navin-Sankar,
jhedberg,
Vudentz,
alwa-nordic and
carlescufi
as code owners
May 5, 2022 14:09
laxiLang
pushed a commit
to laxiLang/zephyr
that referenced
this pull request
May 30, 2022
In order to bring consistency in-tree, migrate all kernel code to the new prefix <zephyr/...>. Note that the conversion has been scripted, refer to zephyrproject-rtos#45388 for more details. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
laxiLang
pushed a commit
to laxiLang/zephyr
that referenced
this pull request
May 30, 2022
In order to bring consistency in-tree, migrate all subsystems code to the new prefix <zephyr/...>. Note that the conversion has been scripted, refer to zephyrproject-rtos#45388 for more details. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
laxiLang
pushed a commit
to laxiLang/zephyr
that referenced
this pull request
May 30, 2022
Linker files were not migrated with the new <zephyr/...> prefix. Note that the conversion has been scripted, refer to zephyrproject-rtos#45388 for more details. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
laxiLang
pushed a commit
to laxiLang/zephyr
that referenced
this pull request
May 30, 2022
Assembler files were not migrated with the new <zephyr/...> prefix. Note that the conversion has been scripted, refer to zephyrproject-rtos#45388 for more details. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
rexut
added a commit
to tiacsys/bridle
that referenced
this pull request
Feb 27, 2023
In order to bring consistency in-tree, migrate Bridle core to the new prefix <zephyr/...>. Note that the conversion has been scripted, refer to zephyrproject-rtos/zephyr#45388 for more details. issues: #60 Signed-off-by: Stephan Linz <linz@li-pro.net>
rexut
added a commit
to tiacsys/bridle
that referenced
this pull request
Feb 27, 2023
In order to bring consistency in-tree, migrate all subsys to the new prefix <zephyr/...>. Note that the conversion has been scripted, refer to zephyrproject-rtos/zephyr#45388 for more details. issues: #60 Signed-off-by: Stephan Linz <linz@li-pro.net>
rexut
added a commit
to tiacsys/bridle
that referenced
this pull request
Feb 27, 2023
In order to bring consistency in-tree, migrate all samples to the new prefix <zephyr/...>. Note that the conversion has been scripted, refer to zephyrproject-rtos/zephyr#45388 for more details. issues: #60 Signed-off-by: Stephan Linz <linz@li-pro.net>
rexut
added a commit
to tiacsys/bridle
that referenced
this pull request
Feb 27, 2023
In order to bring consistency in-tree, migrate all tests to the new prefix <zephyr/...>. Note that the conversion has been scripted, refer to zephyrproject-rtos/zephyr#45388 for more details. issues: #60 Signed-off-by: Stephan Linz <linz@li-pro.net>
rexut
added a commit
to tiacsys/bridle
that referenced
this pull request
Feb 27, 2023
In order to bring consistency in-tree, migrate all Bridle components to the new prefix <bridle/...>. Note that this was done to be in sync with Zephyr, refer to zephyrproject-rtos/zephyr#45388 for more details. issues: #60 Signed-off-by: Stephan Linz <linz@li-pro.net>
rexut
added a commit
to tiacsys/bridle
that referenced
this pull request
Feb 27, 2023
In order to bring consistency in-tree, migrate Bridle core to the new prefix <zephyr/...>. Note that the conversion has been scripted, refer to zephyrproject-rtos/zephyr#45388 for more details. issues: #60 Signed-off-by: Stephan Linz <linz@li-pro.net>
rexut
added a commit
to tiacsys/bridle
that referenced
this pull request
Feb 27, 2023
In order to bring consistency in-tree, migrate all subsys to the new prefix <zephyr/...>. Note that the conversion has been scripted, refer to zephyrproject-rtos/zephyr#45388 for more details. issues: #60 Signed-off-by: Stephan Linz <linz@li-pro.net>
rexut
added a commit
to tiacsys/bridle
that referenced
this pull request
Feb 27, 2023
In order to bring consistency in-tree, migrate all samples to the new prefix <zephyr/...>. Note that the conversion has been scripted, refer to zephyrproject-rtos/zephyr#45388 for more details. issues: #60 Signed-off-by: Stephan Linz <linz@li-pro.net>
rexut
added a commit
to tiacsys/bridle
that referenced
this pull request
Feb 27, 2023
In order to bring consistency in-tree, migrate all tests to the new prefix <zephyr/...>. Note that the conversion has been scripted, refer to zephyrproject-rtos/zephyr#45388 for more details. issues: #60 Signed-off-by: Stephan Linz <linz@li-pro.net>
rexut
added a commit
to tiacsys/bridle
that referenced
this pull request
Feb 27, 2023
In order to bring consistency in-tree, migrate all Bridle components to the new prefix <bridle/...>. Note that this was done to be in sync with Zephyr, refer to zephyrproject-rtos/zephyr#45388 for more details. issues: #60 Signed-off-by: Stephan Linz <linz@li-pro.net>
rexut
added a commit
to tiacsys/bridle
that referenced
this pull request
Feb 27, 2023
In order to bring consistency in-tree, migrate Bridle core to the new prefix <zephyr/...>. Note that the conversion has been scripted, refer to zephyrproject-rtos/zephyr#45388 for more details. issues: #60 Signed-off-by: Stephan Linz <linz@li-pro.net>
rexut
added a commit
to tiacsys/bridle
that referenced
this pull request
Feb 27, 2023
In order to bring consistency in-tree, migrate all subsys to the new prefix <zephyr/...>. Note that the conversion has been scripted, refer to zephyrproject-rtos/zephyr#45388 for more details. issues: #60 Signed-off-by: Stephan Linz <linz@li-pro.net>
rexut
added a commit
to tiacsys/bridle
that referenced
this pull request
Feb 27, 2023
In order to bring consistency in-tree, migrate all samples to the new prefix <zephyr/...>. Note that the conversion has been scripted, refer to zephyrproject-rtos/zephyr#45388 for more details. issues: #60 Signed-off-by: Stephan Linz <linz@li-pro.net>
rexut
added a commit
to tiacsys/bridle
that referenced
this pull request
Feb 27, 2023
In order to bring consistency in-tree, migrate all tests to the new prefix <zephyr/...>. Note that the conversion has been scripted, refer to zephyrproject-rtos/zephyr#45388 for more details. issues: #60 Signed-off-by: Stephan Linz <linz@li-pro.net>
rexut
added a commit
to tiacsys/bridle
that referenced
this pull request
Feb 27, 2023
In order to bring consistency in-tree, migrate all Bridle components to the new prefix <bridle/...>. Note that this was done to be in sync with Zephyr, refer to zephyrproject-rtos/zephyr#45388 for more details. issues: #60 Signed-off-by: Stephan Linz <linz@li-pro.net>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In order to bring consistency in-tree, migrate all samples to the use
the new prefix <zephyr/...>. Note that the conversion has been scripted:
Signed-off-by: Gerard Marull-Paretas gerard.marull@nordicsemi.no