Merged PR 1666: Update for pytool 0.12

Update for pytool 0.12
This commit is contained in:
Sean Brogan 2019-11-03 00:06:16 +00:00 коммит произвёл Matthew Carlson
Родитель 04801b4abe
Коммит d8247cec52
13 изменённых файлов: 315 добавлений и 74 удалений

Просмотреть файл

@ -43,8 +43,8 @@ class Settings(CiBuildSettingsManager, CiSetupSettingsManager, UpdateSettingsMan
"MsCorePkg",
"MsGraphicsPkg",
"MsWheaPkg",
"SharedCryptoPkg",
"PcBdsPkg",
"SharedCryptoPkg",
"UefiTestingPkg",
"XmlSupportPkg",
"ZeroTouchPkg"
@ -115,7 +115,7 @@ class Settings(CiBuildSettingsManager, CiSetupSettingsManager, UpdateSettingsMan
def GetActiveScopes(self):
''' return tuple containing scopes that should be active for this process '''
scopes = ("corebuild", "project_mu")
scopes = ("corebuild", "project_mu", "cibuild")
self.ActualToolChainTag = shell_environment.GetBuildVars().GetValue("TOOL_CHAIN_TAG", "")
@ -161,8 +161,10 @@ class Settings(CiBuildSettingsManager, CiSetupSettingsManager, UpdateSettingsMan
}
]
def GetRequiredRepos(self):
''' Required Submodules to be populated '''
def GetRequiredSubmodules(self):
''' return iterable containing RequiredSubmodule objects.
If no RequiredSubmodules return an empty iterable
'''
return []

Просмотреть файл

@ -1,16 +1,21 @@
##
# CI configuration for DfciPkg
#
# Copyright (c) Microsoft Corporation
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
## options defined ci/Plugin/CompilerPlugin
"CompilerPlugin": {
"DscPath": "DfciPkg.dsc"
},
"HostUnitTestCompilerPlugin": {
#"DscPath":
},
"HostUnitTestDscCompleteCheck": {
"IgnoreInf": []
},
## options defined ci/Plugin/CharEncodingCheck
"CharEncodingCheck": {
"IgnoreFiles": []
},
## options defined ci/Plugin/DependencyCheck
"DependencyCheck": {
"AcceptableDependencies": [
"MdePkg/MdePkg.dec",
@ -36,18 +41,57 @@
],
"IgnoreInf": []
},
## options defined ci/Plugin/DscCompleteCheck
"DscCompleteCheck": {
"IgnoreInf": [],
"DscPath": "DfciPkg.dsc"
"IgnoreInf": [],
"DscPath": "DfciPkg.dsc"
},
## options defined ci/Plugin/GuidCheck
"GuidCheck": {
"IgnoreGuidName": [],
"IgnoreGuidValue": [],
"IgnoreFoldersAndFiles": [],
"IgnoreDuplicates": []
},
## options defined ci/Plugin/LibraryClassCheck
"LibraryClassCheck": {
"IgnoreLibraryClass": [],
"IgnoreHeaderFile": []
},
## options defined ci/Plugin/SpellCheck
"SpellCheck": {
"IgnoreStandardPaths": [ # Standard Plugin defined paths that should be ignore
],
"IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files
],
"ExtendWords": [ # words to extend to the dictionary for this package
"unconfigure",
"unenroll",
"unenrolling",
"OKCANCEL",
"IDCANCEL",
"IDIGNORE",
"IDYES",
"IDTRYAGAIN",
"IDCONTINUE",
"IDRESTART",
"IDRETRY",
"intune",
"redfish",
"gitignore",
"DFCIPKG",
"Outlandia",
"TENANTID",
"aabbccdd", # describes bytes of guid
"kkllmmnnoopp", # describes bytes of guid
"DFCIs",
"DDTHH",
"uefis"
],
"AdditionalIncludePaths": [] # Additional paths to spell check relative to package root (wildcards supported)
}
}

Просмотреть файл

@ -1,16 +1,21 @@
##
# CI configuration for MsCorePkg
#
# Copyright (c) Microsoft Corporation
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
## options defined ci/Plugin/CompilerPlugin
"CompilerPlugin": {
"DscPath": "MsCorePkg.dsc"
},
"HostUnitTestCompilerPlugin": {
#"DscPath":
},
"HostUnitTestDscCompleteCheck": {
"IgnoreInf": []
},
## options defined ci/Plugin/CharEncodingCheck
"CharEncodingCheck": {
"IgnoreFiles": []
},
## options defined ci/Plugin/DependencyCheck
"DependencyCheck": {
"AcceptableDependencies": [
"MdePkg/MdePkg.dec",
@ -33,18 +38,35 @@
],
"IgnoreInf": []
},
## options defined ci/Plugin/DscCompleteCheck
"DscCompleteCheck": {
"IgnoreInf": [],
"DscPath": "MsCorePkg.dsc"
},
## options defined ci/Plugin/GuidCheck
"GuidCheck": {
"IgnoreGuidName": [],
"IgnoreGuidValue": [],
"IgnoreFoldersAndFiles": [],
"IgnoreDuplicates": []
},
## options defined ci/Plugin/LibraryClassCheck
"LibraryClassCheck": {
"IgnoreLibraryClass": [],
"IgnoreHeaderFile": []
},
## options defined ci/Plugin/SpellCheck
"SpellCheck": {
"IgnoreStandardPaths": [ # Standard Plugin defined paths that should be ignore
],
"IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files
],
"ExtendWords": [ # words to extend to the dictionary for this package
],
"AdditionalIncludePaths": [] # Additional paths to spell check relative to package root (wildcards supported)
}
}

Просмотреть файл

@ -77,10 +77,10 @@
MuTelemetryHelperLib|MsWheaPkg/Library/MuTelemetryHelperLib/MuTelemetryHelperLib.inf
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
!if $(TARGET) == DEBUG
#if debug is enabled provide StackCookie support lib so that we can link to /GS exports
RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
NULL|MdePkg/Library/BaseBinSecurityLibRng/BaseBinSecurityLibRng.inf
!endif

Просмотреть файл

@ -1,16 +1,21 @@
##
# CI configuration for MsGraphicsPkg
#
# Copyright (c) Microsoft Corporation
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
## options defined ci/Plugin/CompilerPlugin
"CompilerPlugin": {
"DscPath": "MsGraphicsPkg.dsc"
},
"HostUnitTestCompilerPlugin": {
#"DscPath":
},
"HostUnitTestDscCompleteCheck": {
"IgnoreInf": []
},
## options defined ci/Plugin/CharEncodingCheck
"CharEncodingCheck": {
"IgnoreFiles": []
},
## options defined ci/Plugin/DependencyCheck
"DependencyCheck": {
"AcceptableDependencies": [
"MdePkg/MdePkg.dec",
@ -30,18 +35,35 @@
],
"IgnoreInf": []
},
## options defined ci/Plugin/DscCompleteCheck
"DscCompleteCheck": {
"IgnoreInf": [],
"DscPath": "MsGraphicsPkg.dsc"
},
## options defined ci/Plugin/GuidCheck
"GuidCheck": {
"IgnoreGuidName": [],
"IgnoreGuidValue": [],
"IgnoreFoldersAndFiles": [],
"IgnoreDuplicates": []
},
## options defined ci/Plugin/LibraryClassCheck
"LibraryClassCheck": {
"IgnoreLibraryClass": [],
"IgnoreHeaderFile": []
},
## options defined ci/Plugin/SpellCheck
"SpellCheck": {
"IgnoreStandardPaths": [ # Standard Plugin defined paths that should be ignore
],
"IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files
],
"ExtendWords": [ # words to extend to the dictionary for this package
],
"AdditionalIncludePaths": [] # Additional paths to spell check relative to package root (wildcards supported)
}
}

Просмотреть файл

@ -1,16 +1,21 @@
##
# CI configuration for MsWheaPkg
#
# Copyright (c) Microsoft Corporation
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
## options defined ci/Plugin/CompilerPlugin
"CompilerPlugin": {
"DscPath": "MsWheaPkg.dsc"
},
"HostUnitTestCompilerPlugin": {
#"DscPath":
},
"HostUnitTestDscCompleteCheck": {
"IgnoreInf": []
},
## options defined ci/Plugin/CharEncodingCheck
"CharEncodingCheck": {
"IgnoreFiles": []
},
## options defined ci/Plugin/DependencyCheck
"DependencyCheck": {
"AcceptableDependencies": [
"MdePkg/MdePkg.dec",
@ -30,18 +35,35 @@
],
"IgnoreInf": []
},
## options defined ci/Plugin/DscCompleteCheck
"DscCompleteCheck": {
"IgnoreInf": [],
"DscPath": "MsWheaPkg.dsc"
},
## options defined ci/Plugin/GuidCheck
"GuidCheck": {
"IgnoreGuidName": [],
"IgnoreGuidValue": [],
"IgnoreFoldersAndFiles": [],
"IgnoreDuplicates": []
},
## options defined ci/Plugin/LibraryClassCheck
"LibraryClassCheck": {
"IgnoreLibraryClass": [],
"IgnoreHeaderFile": []
},
## options defined ci/Plugin/SpellCheck
"SpellCheck": {
"IgnoreStandardPaths": [ # Standard Plugin defined paths that should be ignore
],
"IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files
],
"ExtendWords": [ # words to extend to the dictionary for this package
],
"AdditionalIncludePaths": [] # Additional paths to spell check relative to package root (wildcards supported)
}
}

Просмотреть файл

@ -1,16 +1,21 @@
##
# CI configuration for PcBdsPkg
#
# Copyright (c) Microsoft Corporation
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
## options defined ci/Plugin/CompilerPlugin
"CompilerPlugin": {
"DscPath": "PcBdsPkg.dsc"
},
"HostUnitTestCompilerPlugin": {
#"DscPath":
},
"HostUnitTestDscCompleteCheck": {
"IgnoreInf": []
},
## options defined ci/Plugin/CharEncodingCheck
"CharEncodingCheck": {
"IgnoreFiles": []
},
## options defined ci/Plugin/DependencyCheck
"DependencyCheck": {
"AcceptableDependencies": [
"MdePkg/MdePkg.dec",
@ -34,18 +39,35 @@
],
"IgnoreInf": []
},
## options defined ci/Plugin/DscCompleteCheck
"DscCompleteCheck": {
"IgnoreInf": [],
"DscPath": "PcBdsPkg.dsc"
},
## options defined ci/Plugin/GuidCheck
"GuidCheck": {
"IgnoreGuidName": [],
"IgnoreGuidValue": [],
"IgnoreFoldersAndFiles": [],
"IgnoreDuplicates": ["gMsBootPolicyFileGuid=MsBootPolicy"]
},
## options defined ci/Plugin/LibraryClassCheck
"LibraryClassCheck": {
"IgnoreLibraryClass": [],
"IgnoreHeaderFile": []
},
## options defined ci/Plugin/SpellCheck
"SpellCheck": {
"IgnoreStandardPaths": [ # Standard Plugin defined paths that should be ignore
],
"IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files
],
"ExtendWords": [ # words to extend to the dictionary for this package
],
"AdditionalIncludePaths": [] # Additional paths to spell check relative to package root (wildcards supported)
}
}

Просмотреть файл

@ -1,16 +1,21 @@
##
# CI configuration for SharedCryptoPkg
#
# Copyright (c) Microsoft Corporation
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
## options defined ci/Plugin/CompilerPlugin
"CompilerPlugin": {
"DscPath": "SharedCryptoPkg.dsc"
},
"HostUnitTestCompilerPlugin": {
#"DscPath":
},
"HostUnitTestDscCompleteCheck": {
"IgnoreInf": []
},
## options defined ci/Plugin/CharEncodingCheck
"CharEncodingCheck": {
"IgnoreFiles": []
},
## options defined ci/Plugin/DependencyCheck
"DependencyCheck": {
"AcceptableDependencies": [
"MdePkg/MdePkg.dec",
@ -30,6 +35,8 @@
],
"IgnoreInf": []
},
## options defined ci/Plugin/DscCompleteCheck
"DscCompleteCheck": {
"IgnoreInf": [
"SharedCryptoPkg/Package/SharedCryptoPkgDxe.DEBUG.inf",
@ -47,14 +54,29 @@
],
"DscPath": "SharedCryptoPkg.dsc"
},
## options defined ci/Plugin/GuidCheck
"GuidCheck": {
"IgnoreGuidName": [],
"IgnoreGuidValue": [],
"IgnoreFoldersAndFiles": [],
"IgnoreDuplicates": []
},
## options defined ci/Plugin/LibraryClassCheck
"LibraryClassCheck": {
"IgnoreLibraryClass": [],
"IgnoreHeaderFile": []
},
## options defined ci/Plugin/SpellCheck
"SpellCheck": {
"IgnoreStandardPaths": [ # Standard Plugin defined paths that should be ignore
],
"IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files
],
"ExtendWords": [ # words to extend to the dictionary for this package
],
"AdditionalIncludePaths": [] # Additional paths to spell check relative to package root (wildcards supported)
}
}

Просмотреть файл

@ -1,16 +1,21 @@
##
# CI configuration for UefiTestingPkg
#
# Copyright (c) Microsoft Corporation
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
## options defined ci/Plugin/CompilerPlugin
"CompilerPlugin": {
"DscPath": ""
},
"HostUnitTestCompilerPlugin": {
#"DscPath":
},
"HostUnitTestDscCompleteCheck": {
"IgnoreInf": []
},
## options defined ci/Plugin/CharEncodingCheck
"CharEncodingCheck": {
"IgnoreFiles": []
},
## options defined ci/Plugin/DependencyCheck
"DependencyCheck": {
"AcceptableDependencies": [
"MdePkg/MdePkg.dec",
@ -34,18 +39,35 @@
],
"IgnoreInf": []
},
## options defined ci/Plugin/DscCompleteCheck
"DscCompleteCheck": {
"IgnoreInf": [],
"DscPath": ""
},
## options defined ci/Plugin/GuidCheck
"GuidCheck": {
"IgnoreGuidName": [],
"IgnoreGuidValue": [],
"IgnoreFoldersAndFiles": [],
"IgnoreDuplicates": []
},
## options defined ci/Plugin/LibraryClassCheck
"LibraryClassCheck": {
"IgnoreLibraryClass": [],
"IgnoreHeaderFile": []
},
## options defined ci/Plugin/SpellCheck
"SpellCheck": {
"IgnoreStandardPaths": [ # Standard Plugin defined paths that should be ignore
],
"IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files
],
"ExtendWords": [ # words to extend to the dictionary for this package
],
"AdditionalIncludePaths": [] # Additional paths to spell check relative to package root (wildcards supported)
}
}

Просмотреть файл

@ -1,16 +1,21 @@
##
# CI configuration for XmlSupportPkg
#
# Copyright (c) Microsoft Corporation
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
## options defined ci/Plugin/CompilerPlugin
"CompilerPlugin": {
"DscPath": "XmlSupportPkg.dsc"
},
"HostUnitTestCompilerPlugin": {
#"DscPath":
},
"HostUnitTestDscCompleteCheck": {
"IgnoreInf": []
},
## options defined ci/Plugin/CharEncodingCheck
"CharEncodingCheck": {
"IgnoreFiles": []
},
## options defined ci/Plugin/DependencyCheck
"DependencyCheck": {
"AcceptableDependencies": [
"MdePkg/MdePkg.dec",
@ -33,18 +38,35 @@
],
"IgnoreInf": []
},
## options defined ci/Plugin/DscCompleteCheck
"DscCompleteCheck": {
"IgnoreInf": [],
"DscPath": "XmlSupportPkg.dsc"
},
## options defined ci/Plugin/GuidCheck
"GuidCheck": {
"IgnoreGuidName": [],
"IgnoreGuidValue": [],
"IgnoreFoldersAndFiles": [],
"IgnoreDuplicates": []
},
## options defined ci/Plugin/LibraryClassCheck
"LibraryClassCheck": {
"IgnoreLibraryClass": [],
"IgnoreHeaderFile": []
},
## options defined ci/Plugin/SpellCheck
"SpellCheck": {
"IgnoreStandardPaths": [ # Standard Plugin defined paths that should be ignore
],
"IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files
],
"ExtendWords": [ # words to extend to the dictionary for this package
],
"AdditionalIncludePaths": [] # Additional paths to spell check relative to package root (wildcards supported)
}
}

Просмотреть файл

@ -0,0 +1,59 @@
##
# CI configuration for ZeroTouchPkg
#
# Copyright (c) Microsoft Corporation
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
{
## options defined ci/Plugin/CompilerPlugin
"CompilerPlugin": {
},
## options defined ci/Plugin/CharEncodingCheck
"CharEncodingCheck": {
"IgnoreFiles": []
},
## options defined ci/Plugin/DependencyCheck
"DependencyCheck": {
"AcceptableDependencies": [
"MdePkg/MdePkg.dec",
"MdeModulePkg/MdeModulePkg.dec",
"MsUnitTestPkg/MsUnitTestPkg.dec",
"DfciPkg/DfciPkg.dec",
"ZeroTouchPkg/ZeroTouchPkg.dec"
],
"IgnoreInf": []
},
## options defined ci/Plugin/DscCompleteCheck
"DscCompleteCheck": {
"IgnoreInf": [],
"DscPath": "ZeroTouchPkg.dsc"
},
## options defined ci/Plugin/GuidCheck
"GuidCheck": {
"IgnoreGuidName": [],
"IgnoreGuidValue": [],
"IgnoreFoldersAndFiles": [],
"IgnoreDuplicates": []
},
## options defined ci/Plugin/LibraryClassCheck
"LibraryClassCheck": {
"IgnoreLibraryClass": [],
"IgnoreHeaderFile": []
},
## options defined ci/Plugin/SpellCheck
"SpellCheck": {
"IgnoreStandardPaths": [ # Standard Plugin defined paths that should be ignore
],
"IgnoreFiles": [ # use gitignore syntax to ignore errors in matching files
],
"ExtendWords": [ # words to extend to the dictionary for this package
],
"AdditionalIncludePaths": [] # Additional paths to spell check relative to package root (wildcards supported)
}
}

Просмотреть файл

@ -1,18 +0,0 @@
{
"CompilerPlugin": {
"IgnoreInf": []
},
"DependencyCheck": {
"AcceptableDependencies": [
"MdePkg/MdePkg.dec",
"MdeModulePkg/MdeModulePkg.dec",
"MsUnitTestPkg/MsUnitTestPkg.dec",
"DfciPkg/DfciPkg.dec",
"ZeroTouchPkg/ZeroTouchPkg.dec"
],
"IgnoreInf": []
},
"DSCCheck": {
"IgnoreInf": []
}
}

Просмотреть файл

@ -1,2 +1,2 @@
edk2-pytool-library==0.10.*
edk2-pytool-extensions==0.10.*
edk2-pytool-extensions==0.12.*