Граф коммитов

1079 Коммитов

Автор SHA1 Сообщение Дата
npuvvada b5ab4138fa
Custom ADO pipeline task for AVD AppAttach (#602)
* Update CODEOWNERS

Adding  @microsoft/MSIX-ENG-IDC to pipelines-task project

* Add custom pipeline task for MSIX AVD AppAttach

* Refer AppAttachFramework through nupkg and added telemetry

* Updated readme

* changes for Review comments and other UX changes

* pascal case nomenclature for ps1 files. publishAVD.ps1

* Address review comments for AppAttachFramework source details

* install AppAttach framework on building dependencies

* Review comments Incorporation

* Review comments incorporation

* Review comments incorporation for separate nuget install

* better handling for storage account id parsing

* Update AppAttachFramework nupkg and remove node-fetch dependencies accross project as no more required

* Add more code owners for misx-packaging repo

* Use winget install only for local installation of nuget as production build already contains nuget installed

* git ignore appattachFramework installed artifacts(DLLs)
2023-12-27 10:58:23 +05:30
kyelamarthi1 eb3add86ec
Converted 1ES pipelines (#606) 2023-11-24 14:16:41 +05:30
npuvvada 460004e62f
Update CODEOWNERS (#601)
Adding  @microsoft/MSIX-ENG-IDC to pipelines-task project
2023-10-25 10:23:22 +05:30
vishmicrosoft fae9d57e62
Reverting to v141 Platform Toolset (#591)
* Reverting to v141 Platform Toolset
2023-07-18 18:47:49 +05:30
pratiksinha07 c38b11373d
Added code changes for Improving the Error Messages being outputted and to resolve the Github Bug (#590)
* Added related files for Telemetry Logging

* Added changes for Telemetry to the msixmgr.cpp file

* Added code changes for ErrorCode and ErrorDesc

* Added changes related to Additional Parameter in Commands

* Added Code Comments for CorrelationId and SourceApplicationId

* Added changes to Code comments

* Changed the Operation name to comply with the actual commands, also removed the check for Operation Type for SourceApplicationId and CorrelationID

* Changed the casing for Local variables and parameters. Added OutputImageType to be captured in Telemetry

* Changed the casing of Local Variables, extracting OperationType from Command Line

* Changed the msixmgrTraceLogging from .h file to a .hpp and added a .cpp file for that. Also, removed unnecessary #defines from msixmgrTelemetry.hpp file

* Changed the ErrorDesc to comply with the existing Error Messages being displayed on the Console

* Removed the Telemetry Logging when VHDSize is 0 as it is not needed anymore

* Changed a telemetry logging statement for unpacking int VHD(X)/Folder

* Removed TraceLoggingOptionGroupValue with dummy value

* [Task - 43152318] - Added Comments and Description in the Code for newly added files

* [Task-43971224] Added code changes for Error Code Improvement

* Added few changes to capture no. of failed files during unpack

* [Task - 43971224] Added change to incorporate a change related to indexes being outputted in Console Output

* Removed the code changes related to Github Bug

* [Task - 43971224] Made the Output more descriptive when the failure occurs for VHD Size paramater

* [Task - 43971224] Added code changes to have separate if-else case for CIM and VHD(X) in VHDSize error message

* [Task - 43971224] Changed the ErrorMessageHelper function to handle exceptions using try-catch

* [Task - 43971224] Fixed the code for Exception Handling for ErrorMessageHelper.cpp

* [Task - 43971224] Added the description for the ErrorMessageHelper.cpp file

* [Task - 44528959] Added code changes to resolve the Github Bug
2023-07-18 17:48:57 +05:30
anarvekar-msft a50b022b82
Update SUPPORT.md (#589)
* Update SUPPORT.md

* Update SUPPORT.md
2023-07-10 14:03:34 -07:00
microsoft-github-policy-service[bot] a73bf548ac
Onboarding to GitOps.ResourceManagement (#585)
Onboarding to GitOps.ResourceManagement
2023-06-19 08:57:08 -07:00
Flor Chacón e63f16baed
[AzDO extension] Update tasks dependencies, code analysis tasks and add SBOM validation (#583) 2023-06-12 14:23:57 -07:00
microsoft-github-policy-service[bot] c230a51c16
Microsoft mandatory file (#581)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2023-06-02 15:31:12 -07:00
ravishroshanms fd75558af3
Fixed debug build errors while running from Visual studio for msixmgr project. (#556) 2023-05-23 16:07:01 +05:30
Madhusudhan-MSFT 1ab062496a
Merge pull request #579 from Madhusudhan-MSFT/user/masudars/update_openssl_1_1_1t
User/masudars/update openssl 1 1 1t
2023-04-28 12:14:50 -07:00
Madhusudhan Gumbalapura Sudarshan 52c5da520d Updated README.md OpenSSL subtree link to point to OpenSSL_1_1_1t release 2023-04-28 11:40:07 -07:00
Madhusudhan Gumbalapura Sudarshan 8dcd188800 LNK error fix: Adding crypto/bn/rsa_sup_mul.c to the crypto_sources.cmake what appears to contain definition for ossl_bn_rsa_do_unblind causing a linker error in build pipeline 2023-04-28 11:01:18 -07:00
Madhusudhan Gumbalapura Sudarshan 9746bf37ec Merge commit '258895008088e68f27ae9c0c44afa2bdc9e6d177' as 'lib/openssl' 2023-04-27 16:43:57 -07:00
Madhusudhan Gumbalapura Sudarshan 2588950080 Squashed 'lib/openssl/' content from commit 830bf8e1e4
git-subtree-dir: lib/openssl
git-subtree-split: 830bf8e1e4749ad65c51b6a1d0d769ae689404ba
2023-04-27 16:43:57 -07:00
Madhusudhan Gumbalapura Sudarshan c05e21fd45 Removing OpenSSL_1_1_1j from the repo 2023-04-27 16:43:27 -07:00
pratiksinha07 7adc5aed67
[Task-43152318] - Added Telemetry Logging to MSIXMGR Tool for Capturing Useful Metrics (#573)
* Added related files for Telemetry Logging

* Added changes for Telemetry to the msixmgr.cpp file

* Added code changes for ErrorCode and ErrorDesc

* Added changes related to Additional Parameter in Commands

* Added Code Comments for CorrelationId and SourceApplicationId

* Added changes to Code comments

* Changed the Operation name to comply with the actual commands, also removed the check for Operation Type for SourceApplicationId and CorrelationID

* Changed the casing for Local variables and parameters. Added OutputImageType to be captured in Telemetry

* Changed the casing of Local Variables, extracting OperationType from Command Line

* Changed the msixmgrTraceLogging from .h file to a .hpp and added a .cpp file for that. Also, removed unnecessary #defines from msixmgrTelemetry.hpp file

* Changed the ErrorDesc to comply with the existing Error Messages being displayed on the Console

* Removed the Telemetry Logging when VHDSize is 0 as it is not needed anymore

* Changed a telemetry logging statement for unpacking int VHD(X)/Folder

* Removed TraceLoggingOptionGroupValue with dummy value

* [Task - 43152318] - Added Comments and Description in the Code for newly added files
2023-04-11 14:15:50 +05:30
vishmicrosoft 2a124e3185
[Task-43152318] - Add MSIX-ENG-IDC team to MSIXCore CodeOwners (#577)
* [Task-43591819] - Add logic to use recommended vhdSize when vhdSize is not provided by user

* [Task-43591819] - Update comment

* [Task-43152318] - Add MSIX-ENG-IDC team to MSIXCore CodeOwners
2023-04-11 14:08:37 +05:30
vishmicrosoft bd561a86dd
[Task-43591819] - Add logic to use recommended vhdSize when vhdSize is not provided by user (#571)
* [Task-43591819] - Add logic to use recommended vhdSize when vhdSize is not provided by user

* [Task-43591819] - Update comment
2023-03-21 10:02:55 -07:00
Derek Morris 39821d184e
Roll Catch2 to 2.13.10 (#563)
* Roll Catch2 to 2.13.10

This rolls to the release available at
https://github.com/catchorg/Catch2/releases/tag/v2.13.10, and notably
picks up a fix for non-constexpr MINSIGSTKSZ.

* conditionally link in llog on AOSP builds with catch2
2023-03-01 12:05:59 -08:00
Derek Morris 1249f18a9d
Explicity import <memory> in PackSample.cpp (#564)
It looks like earlier, this was depending on one of the headers it
imports to import <memory> to provide unique_ptr; however, this is not
necessarily the case, so it needs to be explicitly imported.
2023-02-23 09:48:01 -08:00
vishmicrosoft 1bd93f6cf3
Add logic to allow pseudo locales in AppxBundleManifest.xml file of .msixbundle packages (#562) 2023-02-15 11:54:57 -08:00
Dmitri 8f4eaf40ab
SignatureOrigin::Windows for OpenSSL-based SignatureValidator (#561)
* Fix GCC build issues

* Add SignatureOrigin::Windows validation to OpenSSL-based SignatureValidator
2023-02-02 09:12:22 -08:00
Flor Chacón 01db228f02
Update Utils test project to .NET6 (#555) 2023-01-10 10:27:27 -08:00
Flor Chacón 744424acc7
Update dependencies for AzDO tasks (#551) 2022-12-12 13:30:10 -08:00
Flor Chacón ae1773fcfc
Update CODEOWNERS file (#549) 2022-12-12 11:28:25 -08:00
Flor Chacón 7e04a5a411
Update dependencies for pipeline tasks (#542) 2022-11-29 12:05:39 -08:00
Flor Chacón a0a916b265
Fix typo in author name in package.json (#526) 2022-07-12 13:20:07 -07:00
msftbot[bot] 26e9695b67
Add `.github/fabricbot.json` (#520)
Co-authored-by: msftbot[bot] <48340428+msftbot[bot]@users.noreply.github.com>
2022-07-11 15:13:49 -07:00
Flor Chacón 466584ebcb
Update Microsoft.NET.Test.Sdk dependency (#525) 2022-07-11 13:27:13 -07:00
Sayan Chaliha c4c9221d9e
Fix memory leaks ZipObject.cpp (#519)
* CentralDirectoryFileHeader and LocalFileHeader uses MsDosDateAndTime.
* MsDosDateAndTime is allocated (`new`) and not deallocated (`delete`).
* MsDosDateAndTime doesn't need to be allocated in the heap.
2022-06-30 14:54:51 -07:00
Ruben Guerrero f7605582d3
Disable AOSP tests (#523)
* Disable AOSP tests

* Delete old MSIXResource.hpp
2022-06-30 13:58:53 -07:00
Madhusudhan-MSFT 88a81569aa
Merge pull request #513 from Madhusudhan-MSFT/user/masudars/zlib_version_update
Zlib Subtree dependency has been updated to v1.2.12
2022-05-09 15:24:27 -07:00
Madhusudhan Gumbalapura Sudarshan c038a541bd Commenting cmake_minimum_required(VERSION 2.4.4) check to align last commit history.
- Commented out cmake requirement check to align with last commit history
  https://github.com/microsoft/msix-packaging/pull/395/files
2022-05-09 14:55:22 -07:00
Madhusudhan Gumbalapura Sudarshan 8bbd278fa8 Updated README.md document such that ZLib dependency now points to v1.2.12 & corresponding commit 2022-05-09 14:33:11 -07:00
Madhusudhan Gumbalapura Sudarshan 76cef4e0a9 Merge commit '9f61bd26f813b687727ea440d44e132ba8c47eef' as 'lib/zlib' 2022-05-09 13:19:12 -07:00
Madhusudhan Gumbalapura Sudarshan 9f61bd26f8 Squashed 'lib/zlib/' content from commit 21767c65
git-subtree-dir: lib/zlib
git-subtree-split: 21767c654d31d2dccdde4330529775c6c5fd5389
2022-05-09 13:19:12 -07:00
Madhusudhan Gumbalapura Sudarshan e3b96cf0c4 Remove zlib v1.2.11 folder from the repo.
- The next commit will pull zlib v1.2.12 to repo as subtree
2022-05-09 13:16:13 -07:00
Chacón abbe208769
Add scheduled weekly builds for MSIX SDK, MSIX.Utils, and the AzDO tasks extension (#512)
Adding weekly builds so that we can run static code analysis and get new detections even if there are no code changes.
2022-05-05 14:15:37 -07:00
Chacón 02029f659b
Add definition of pipeline to create NuGet packages for MSIX SDK (#505)
Adding a definition of a pipeline to produce NuGet packages for the MSIX SDK.

Moved the definitions of each platform-specific job in the build pipelines to a template which is used by the respective pipeline, and added a new pipeline that uses all of these jobs and then creates the packages in a new stage. The new stage is based on an existing internal release pipeline, with minor changes (replaced build artifacts by pipeline artifacts, enabled generation for Linux, added a step to produce the SBoM manifest)
2022-04-04 16:24:23 -07:00
Chacón 89baf01121
Use latest pool images in pipelines (#503)
This includes several changes related to the pipelines for MSIX SDK.
* The pipelines for iOS, aosp and Linux builds were not running as we were using an outdated VM image that is no longer available. This updates all pipelines to a more recent image.
  + The update of the image used for iOS involved an update to the version of XCode used, from 11 to 12. On XCode 12 there is now support for the simulator running on arm64, and by default running the simulator will try to use that. This would cause an error when trying to run the tests for x86_64 as we were not building the msix library for arm64. To prevent it, I'm explicitly excluding arm64 on the test project when building for the simulator.
* The Windows pipeline was using the `windows-latest` image, which will soon change from `windows-2019` to `windows-2022`. I'm changing the image we use to `-2022` so we are sure that the change in `-latest` will not affect us.
* Some tests were failing on Windows builds; seemingly due to an OS update. I'm disabling those tests while I investigate.
2022-02-18 12:07:48 -08:00
Chacón aeca8e2c6c
Update AzDO extension dependencies (#504) 2022-02-10 14:05:19 -08:00
Chacón 5f050fcb8a
Add code security analysis tasks to AzDO Extension build pipelines (#502)
Changes to the build pipelines for the AzDO extension:
* Added CredScan and Semmle code security analysis tasks.
* Factored out the common steps between the PR and release build pipelines.
* Moved to use a custom agent pool.
2022-02-03 14:41:52 -08:00
Chacón bceb97162e
Add SBoM manifest generation (#501)
Add generation of SBoM manifest to the AzDO extension as required for compliance.
2022-01-27 15:23:25 -08:00
Chacón b209ac6631
Update AzDO extension dependencies (#500)
Updating dependencies per npm audit.

Also updated MSBuildHelpers copied from azure-pipelines-task-lib to latest, which includes detection for MSBuild 17, and fixed project URL on package.json files.
2022-01-27 15:23:03 -08:00
dependabot[bot] e3afaa96a3
Bump shelljs from 0.8.4 to 0.8.5 in /tools/pipelines-tasks (#498)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)

---
updated-dependencies:
- dependency-name: shelljs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 13:12:04 -08:00
Ruben Guerrero 36cc33f419
Use MS-DOS time in LFH and CDH (#477)
* Use MS-DOS time in LFH and CDH

* Add unittests
2021-09-24 11:48:15 -07:00
Ruben Guerrero 791dcd998d
Prevent XXE attacks (#482) 2021-09-22 15:09:40 -07:00
Ruben Guerrero be2ac7e539
Fix AppxPackaging.hpp for modern clang (#479)
* Move MSIX_INTERFACE out of extern C

* Move SDK exclusive interface to proper place and add extern C. Remove tabs

* Missing IUnknown
2021-09-22 13:42:40 -07:00
Ruben Guerrero e268cbce07
Remove submodules (#480) 2021-09-22 13:42:17 -07:00