-
Notifications
You must be signed in to change notification settings - Fork 16
Feature: Updated LPE Packager with Auto-version update publish support + misc. improvements #313
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
653bf4f
Feature: Updated Packager with Auto-version update in Publish paths
kjohn-msft 61701ba
Feature: Updated Packager with Auto-version update in Publish paths
kjohn-msft c829ccc
Additional required changes and test updates
kjohn-msft bc7137b
Gitignore update
kjohn-msft c6421a4
Merge branch 'master' into kjohn-packager
kjohn-msft 5e3f8f4
Additional changes to tests
kjohn-msft 2be6119
Parking ExtStatusAsserter changes
kjohn-msft 7738cb8
Merge branch 'master' into kjohn-packager
kjohn-msft 4c37bff
Additional changes
kjohn-msft 9a72d23
Merge branch 'master' into kjohn-packager
kjohn-msft e02fd8d
More test helper changes
kjohn-msft 0317dd9
Improved ExtStatusAsserter
kjohn-msft 3c58025
Park changes
kjohn-msft bee9b66
Merged master
kjohn-msft 1140c1c
Reverting renames that complicate the code
kjohn-msft b2441bd
Updating git ignore
kjohn-msft 3e6dda5
Removing traces of older code
kjohn-msft 04a90dd
Fixed tests
kjohn-msft d16a34b
Merge branch 'master' into kjohn-packager
kjohn-msft d70c5e3
Multi-version support
kjohn-msft fce13c3
Map versions
kjohn-msft cc203f5
Final cleanup
kjohn-msft 3217728
Merge conflicts
kjohn-msft 8e165b4
Merge branch 'master' into kjohn-packager
kjohn-msft b9e55a7
Merge branch 'master' into kjohn-packager
kjohn-msft 33c0386
Merge branch 'master' into kjohn-packager
kjohn-msft c601924
Merge branch 'master' into kjohn-packager
kjohn-msft 3fd7139
Edited Readme.md to match path
kjohn-msft 71e35ea
Merge branch 'kjohn-packager' of https://github.com/Azure/LinuxPatchE…
kjohn-msft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,2 @@ | ||
| @echo off | ||
| python tools\packager\Package-All.py |
This file contains hidden or 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 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| # Copyright 2025 Microsoft Corporation | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # | ||
| # Requires Python 2.7+ | ||
|
|
||
| COMMAND="tools/packager/Package-All.py" | ||
|
|
||
| function find_python(){ | ||
| local python_exec_command=$1 | ||
|
|
||
| # Check if there is python defined. | ||
| for p in python3 /usr/share/oem/python/bin/python3 python python2 /usr/libexec/platform-python /usr/share/oem/python/bin/python; do | ||
| if command -v "${p}" ; then | ||
| eval ${python_exec_command}=${p} | ||
| return | ||
| fi | ||
| done | ||
| } | ||
|
|
||
| find_python PYTHON | ||
|
|
||
| ${PYTHON} "${COMMAND}" | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,3 @@ | ||
| @echo off | ||
| python tools\packager\Publish.py | ||
| git status |
This file contains hidden or 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 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| # Copyright 2025 Microsoft Corporation | ||
|
kjohn-msft marked this conversation as resolved.
|
||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # | ||
| # Requires Python 2.7+ | ||
|
|
||
| COMMAND="tools/packager/Publish.py" | ||
|
|
||
| function find_python(){ | ||
| local python_exec_command=$1 | ||
|
|
||
| # Check if there is python defined. | ||
| for p in python3 /usr/share/oem/python/bin/python3 python python2 /usr/libexec/platform-python /usr/share/oem/python/bin/python; do | ||
| if command -v "${p}" ; then | ||
| eval ${python_exec_command}=${p} | ||
| return | ||
| fi | ||
| done | ||
| } | ||
|
|
||
| find_python PYTHON | ||
|
|
||
| ${PYTHON} "${COMMAND}" | ||
Binary file not shown.
This file contains hidden or 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.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.