-
Notifications
You must be signed in to change notification settings - Fork 540
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #546 from norlab-ulaval/dev-refactor-simplify-the-…
…dockerfile-implementation-and-refactor-out-to-NBS-generic-install-logic-NMO-436 Build system improvements and fixes
- Loading branch information
Showing
33 changed files
with
411 additions
and
168 deletions.
There are no files selected for viewing
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,35 @@ | ||
# ================================================================================================= | ||
# | ||
# Set project related environment variables. Those are available for convenience | ||
# and are also required by 'norlab-shell-script-tools' library. | ||
# | ||
# Usage: | ||
# | ||
# Important! Source this file from 'libpointmatcher' repository root | ||
# $ cd <path/to/libpointmatcher/> | ||
# $ set -o allexport && source .env.libpointmatcher && set +o allexport | ||
# | ||
# ================================================================================================= | ||
|
||
PROJECT_PROMPT_NAME='LPM' | ||
|
||
# ....Programaticaly fetch source code information................................................. | ||
PROJECT_GIT_REMOTE_URL="https://github.com/norlab-ulaval/libpointmatcher" | ||
PROJECT_GIT_NAME=$( basename "${PROJECT_GIT_REMOTE_URL}" .git ) | ||
PROJECT_PATH=$( git rev-parse --show-toplevel ) | ||
PROJECT_SRC_NAME="$( basename ${PROJECT_PATH} )" | ||
|
||
# ....Set LPM related environment variable with their own prefix................................... | ||
# Note: Those with "PROJECT_" prefix will get eventualy overiden in the case where N2ST is used | ||
# as a library. Using generic testing logic require that environment variables with | ||
# "PROJECT_" prefix be available. | ||
LPM_PROMPT_NAME="${PROJECT_PROMPT_NAME" | ||
LPM_GIT_REMOTE_URL="${PROJECT_GIT_REMOTE_URL}" | ||
LPM_GIT_NAME="${PROJECT_GIT_NAME}" | ||
LPM_PATH="${PROJECT_PATH}" | ||
LPM_SRC_NAME="${PROJECT_SRC_NAME}" | ||
|
||
# ....Set dependencies path........................................................................ | ||
LPM_BUILD_SYSTEM_PATH="${PROJECT_PATH}/build_system" | ||
N2ST_PATH="${PROJECT_PATH}/build_system/utilities/norlab-shell-script-tools" | ||
NBS_PATH="${PROJECT_PATH}/build_system/utilities/norlab-build-system" |
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -1,13 +1,29 @@ | ||
# ================================================================================================= | ||
# Files or directories with designated code owner. | ||
# Branch with "Require review from Code Owners" will automaticaly trigger a request to a designated code owner | ||
# | ||
# Note: | ||
# - Each line is a file pattern followed by one or more owners. | ||
# - Branch with branch protection rule "Require review from Code Owners" | ||
# will automaticaly trigger a request to a designated code owner | ||
# ================================================================================================= | ||
|
||
# DevOps related | ||
/build_system/ @RedLeader962 | ||
/.github/ @RedLeader962 | ||
/.dockerignore @RedLeader962 | ||
/.gitignore @RedLeader962 | ||
# ....Repository wide code owner................................................................... | ||
# These owners will be the default owners for everything in the repo. | ||
* @pomerlef | ||
|
||
# Core | ||
# ....Core directories and files................................................................... | ||
/README.md @pomerlef | ||
/LICENSE @pomerlef | ||
/pointmatcher @boxanm @simonpierredeschenes @aguenette | ||
/python @boxanm @simonpierredeschenes @aguenette | ||
/utest @boxanm @simonpierredeschenes @aguenette | ||
/.env.libpointmatcher @RedLeader962 | ||
|
||
# ....DevOps related............................................................................... | ||
/.github/ @RedLeader962 | ||
/build_system/ @RedLeader962 | ||
/build_system/utilities @RedLeader962 | ||
/.gitmodules @RedLeader962 | ||
/.gitignore @RedLeader962 | ||
/.dockerignore @RedLeader962 | ||
|
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,47 @@ | ||
# Description | ||
### Summary: | ||
|
||
|
||
|
||
|
||
|
||
|
||
### Changes and type of changes: | ||
|
||
- | ||
- | ||
- | ||
|
||
|
||
--- | ||
|
||
# Checklist: | ||
|
||
### Code related | ||
- [ ] I have made corresponding changes to the documentation (i.e.: function, class, script header, | ||
README.md) | ||
- [ ] I have commented hard-to-understand code | ||
- [ ] I have added tests that prove my fix is effective or that my feature works | ||
- [ ] All tests pass locally with my changes (Check [README.md #Contributing](https://github.com/norlab-ulaval/libpointmatcher/tree/release#contributing) for local testing procedure using _libpointmatcher-build-system_) | ||
|
||
### PR creation related | ||
- [ ] My pull request `base ref` branch is set to the `develop` branch (the _build-system_ won't be triggered otherwise) | ||
- [ ] My pull request branch is up-to-date with the `develop` branch (the _build-system_ will reject it otherwise) | ||
|
||
### PR description related | ||
- [ ] I have included a quick summary of the changes | ||
- [ ] I have included a high-level list of changes and their corresponding type | ||
- Types: `feat` `fix` `docs` `style` `refactor` `perf` `test` `build` `ci` `chore` `revert` | ||
- Breaking changes: `<type>!` | ||
- Reference: | ||
- See [commit_msg_reference.md](https://github.com/norlab-ulaval/libpointmatcher/blob/release/commit_msg_reference.md) in the repository root for details | ||
- https://www.conventionalcommits.org | ||
- [ ] I have indicated the related issue's id with `# <issue-id>` if changes are of type `fix` | ||
|
||
## Note for repository admins | ||
### Release PR related | ||
- Only repository admins have the privilege to `push/merge` on the default branch (ie: `master`) and the `release` branch. | ||
- Keep PR in `draft` mode until all the release reviewers are ready to push the release. | ||
- Once a PR from `release` -> `master` branch is created (not in draft mode), | ||
- it triggers the _build-system_ test | ||
- (in-progress) and it triggers the _semantic release automation_ |
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
4 changes: 2 additions & 2 deletions
4
build_system/.jetbrains_run_config/(HELP) bash lpm_execute_compose._ › --help menu.run.xml
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
17 changes: 0 additions & 17 deletions
17
...m/.jetbrains_run_config/(command version) docker build & run IamBuildSystemTester.run.xml
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
...ns_run_config/(test) lpm_execute_compose_over_build_matrix.bash › build --dry-run.run.xml
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...config/bash lpm_execute_compose_over_build_matrix.bash › build _service_ _popup_.run.xml
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
2 changes: 1 addition & 1 deletion
2
...ompose_over_build_matrix.bash › build dependencies_arm64v8 ci_PR_arm64v8 _popup_.run.xml
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
2 changes: 1 addition & 1 deletion
2
...build_matrix.bash › build dependencies-general dependencies (BUILD MATRIX SUBSET).run.xml
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
2 changes: 1 addition & 1 deletion
2
...h lpm_execute_compose_over_build_matrix.bash › build test_compilation__ (Release).run.xml
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.