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

1088 Коммитов

Автор SHA1 Сообщение Дата
zinniaa 37e79a25fc
Fixing failing Azure pipeline and updated README.md (#652)
Updated Zlib Subtree dependency to v1.3.1 to fix failing AOSP pipeline
Updated the README.md with correct version, commit & release link for Zlib v1.3.1
Updated README.md by removing Build Status of old pipelines

---------

Co-authored-by: Zinnia Mazumder <zmazumder@microsoft.com>
2024-10-28 11:08:13 +05:30
zinniaa f915d97a90
Changes to migrate azure pipelines (#650)
Co-authored-by: Zinnia Mazumder <zmazumder@microsoft.com>
2024-10-23 12:26:20 +05:30
st-gr 17d3b6fd0d
Fix inconsistent zip structure in .appx files created by makemsix.exe (#622)
This commit resolves issue #619 by ensuring that the central directory in .appx files created by makemsix.exe is sorted in the same order as MakeAppx.exe. The fix involves tracking the sequence of file names during the creation of the zip file and sorting the central directory entries accordingly before writing them to the stream.

- Add a vector to track the sequence of file names in ZipObjectWriter.
- Sort central directory entries based on the tracked file name sequence
  before writing them to the zip file.

Resolves: #619

Co-authored-by: st-gr <>
2024-05-15 10:50:16 -07:00
Ruben Guerrero d375318f01
Fix pipelines (#628)
Fix pipelines for all platforms by updating the cmake version and agent image.
Remove new warnings for xerces.
Update android build with a newer sdk and ndk.
2024-05-08 17:24:08 -07:00
Arnab Saha 95cb918dcc
[Task 48751920] Added IMessageHandler implementation in PS Script for logging in avdpublish-task (#617)
Added IMessageHandler implementation in PS Script for logging.
--------
Co-authored-by: Arnab Saha <arnabsaha@microsoft.com>
2024-02-28 16:36:28 +05:30
zinniaa dac79c2b8f
Migrating pipeline to 1ES Pipeline Template (1ESPT) (#614)
* Changes to migrate pipeline to 1ES Pipeline Templates (1ESPT)

---------

Co-authored-by: Zinnia Mazumder <zmazumder@microsoft.com>
2024-02-09 11:30:33 +05:30
npuvvada d6097a07b4
Update build-vsix.yml for Azure Pipelines (#612) 2024-01-11 14:01:26 +05:30
Sushant Bansal a4b0e7a05a
Update overview.md (#611)
Added documentation for publish MSIX app attach to AVD
2024-01-11 13:56:44 +05:30
npuvvada 8ff56edd2e
Test cases for AVD App Attach task (#609)
* Test cases for AVD App Attach task

* Changes to address review comments

* Remove unused pipeline variable

* Use correct json input field names when fetching pipeline variable names

* Fix pipeline variables not initialized error

* Address review comments

* Exceptions are captured through pipeline task telemetry rather than appattach framework telemetry. Using AppAttachFramework telemetry exposes the APIs which makes it sensitive.
2024-01-11 10:11:59 +05:30
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