Commit Graph
55 Commits
Author SHA1 Message Date
Andrew a7ce7883ce Added missing changelog for v7.1.0-preview.2 (#12665) 2020-05-19 09:16:11 +05:00
Andrew Menagarishvili 01d3788712 Merged PR 11571: Change log for v7-1-0-preview-3 and a missing preview-2 change log
Preview-3 change log was generated by `Get-ChangeLog -LastReleaseTag 'v7.1.0-preview.2' -ThisReleaseTag 'v7.1.0-preview.3'`
Preview-2 change log was copy-pasted from Gihub's  `tags/v7.1.0-preview.2`
2020-05-18 23:36:18 +00:00
Andrew 0c695376b7 Fix WinCompat module loading to treat Core edition modules higher priority (#12269) 2020-04-16 16:57:55 -07:00
Andrew 14487bf85d Make GetWindowsPowerShellModulePath compatible with multiple PS installations (#12280)
Add additional check for each component of PSModulePath (that is set for WinPS process) - if it is has pwsh.exe in the parent directory, then it is considered another PS Core installation and this location is also filtered out.
2020-04-14 11:08:01 +05:00
Andrew 704b0e74ed Miscellaneous minor updates to WinCompat (#11980)
* Filter PSModulePath when starting PS 5.1. Removing PS-Core-specific paths from PSModulePath of WinCompat process (Windows PS).
* Make implicit WinCompat respect NoClobber and Scope parameters
* Add ErrorAction.Ignore when searching for WinPSCompatSession
2020-03-10 11:31:44 +05:00
Andrew 268afbdb4d Fix MSIX packaging to determine if a Preview release by inspecting the semantic version string (#11991) 2020-03-05 10:59:51 -08:00
Andrew d2cb3c3636 Sync current directory in WinCompat remote session (#11809) 2020-02-11 11:44:30 -08:00
Andrew 43c88a4ff1 Add WinCompat deny list support using a setting in powershell.… (#11726) 2020-02-04 16:33:26 -08:00
Andrew 1cb5f8e943 Mark System32-PSModulePath test as pending (#11576) 2020-01-14 08:39:02 -08:00
Andrew ea48e07c48 Added setting to disable implicit WinPS module loading (#11332) 2020-01-03 10:32:00 -08:00
Andrew 0c46e3e71d Added WindowsPS version check for WinCompat (#11148) 2019-12-10 10:40:13 -08:00
Andrew f8a321ae2b Fix error-reporting in some WinCompat scenarios (#11259) 2019-12-09 15:20:40 -08:00
Andrew e487e10356 Disable the autoloading of modules that define JobSourceAdapter (#11194) 2019-11-26 10:43:35 -08:00
Andrew b218e6f6cc Support using non-compatible Windows PowerShell modules in PowerShell Core (#10973) 2019-11-18 10:44:55 -08:00
Andrew b67e2e347e Updating links in README.md and metadata.json for Preview.5 (#10854) 2019-10-23 12:12:18 -07:00
Andrew Menagarishvili e5a023714b Merged PR 10314: Updated release date in the changelog
Updated release date in the changelog
2019-10-23 16:50:58 +00:00
Andrew Menagarishvili a9ef4b7bf9 Merged PR 10307: Changelog for v7-0-0-preview-5
Changelog for v7-0-0-preview-5
2019-10-22 23:16:52 +00:00
Andrew Menagarishvili 327dfd7e07 Merged PR 10295: Updating PackageReference for PS SDK to preview.5
Updating PackageReference for PS SDK to preview.5
2019-10-21 19:26:13 +00:00
Andrew Menagarishvili 34f1992505 Merged PR 10023: Changelog for v7-0-0-preview-4 2019-09-18 21:58:29 +00:00
Andrew ed29ad1506 Adding PSCore group policy definitions (#10468) 2019-09-12 13:41:59 -07:00
Andrew e3e37a8e35 Merge pull request #9528 from SteveL-MSFT/login-shell
Add support for `-l` to pwsh so that it is compatible with POSIX shell expectations
2019-05-07 11:55:45 -07:00
Andrew 095be4655e Return correct casing of filesystem path during normalization (#9250)
* return correct casing of filesystem path during normalization

* handle UNC case

* handle case to add trailing separator back

* add support for NTFS streams syntax

* add case-sensitive test

* only apply correct casing to directories

* handle 8.3 path syntax

* fix short path processing
2019-04-23 13:31:43 -07:00
Andrew cec4557932 moved fxdependent-dotnetsdk-latest/Dockerfile (#8738) 2019-01-28 15:54:58 -08:00
Andrew 7085d88453 Package validation tests updates (#8714) 2019-01-22 17:38:14 -08:00
Andrew 3bf8d34f58 Package validation tests updates (#8714) 2019-01-22 17:09:39 -08:00
Andrew a1299cd6d4 Adding yml for Windows Release builds (#8374) 2018-12-07 10:59:27 -08:00
Andrew Menagarishvili 42cfa2c0b1 Merged PR 5863: Lowering Pester module version to avoid test infra failures on some Linux systems
Without this change package validation tests fail during Pester module import on some Linux systems.
2018-11-15 21:26:11 +00:00
Andrew 3597d58432 Adding yml for Linux builds (#8168)
As part of improving the build process, the UI build pipeline for Linux Builds was converted to a yml-based pipeline.
2018-11-05 10:35:53 -08:00
Andrew d098e6fd02 Adding fxdependent PS package tests (#7830) 2018-10-18 15:28:43 -07:00
Andrew bc5fe72096 Updating test gallery URL in PackageManagement tests (#7879) 2018-09-27 14:23:10 -07:00
Andrew e725a030d7 Updating ModulePath.Tests for fxdependent package (#7772) 2018-09-17 13:22:00 -07:00
Andrew d1991936c3 Updates to Docker package tests (#7667) 2018-09-05 14:06:10 -07:00
Andrew dba6fc2921 Updates to Docker package tests (#7667) 2018-09-04 10:03:32 -07:00
Andrew d04fef469b Merge Third Party Notices and License updates (#7203)
* Merge Third Party Notices

* Use capital J for 'json'
2018-06-29 11:46:19 -07:00
Andrew e0ee13c699 Updates to fedora27 and kalilinux dockerfiles (#6819)
This PR addresses 2 issues:

fedora27 dockerfiles were missing compat-openssl10 prerequisite that on Linux-based Docker hosts produced error No usable version of the libssl was found during Restore-PSPester.
kalilinux PS package validation is failing because of open issue #5413 , so disabling this config for now.
2018-05-07 13:02:01 -07:00
Andrew 0e8665dfc0 Updated Docker package tests, fixed error on opensuse42 (#6783)
This PR addresses minor issues with PS-package docker tests.

Historically rpm package version string was different from other packages, however, this is no longer the case, so updating tests to account for that (to simplify things - removing RPM-version parameter from dockerfiles because it is no longer used).
Configs that use 'linux-x64.tar.gz' (currently only "opensuse42.2") are failing, so fixing that in the script.
2018-05-01 10:38:43 -07:00
Andrew 9a061457f4 Update Dockerfile test to use ubuntu 17.10 as the base image (#6503) 2018-03-28 09:32:54 -07:00
Andrew acf0dcdc6d Docker package test fix and updates (#6169) 2018-02-22 11:05:07 -08:00
Andrew dc6fe2af29 Update Raspbian installation instructions to create pwsh symlink (#6122)
* Update Raspbian installation instructions to create pwsh symlink
2018-02-09 14:00:29 -08:00
Andrew 92e140ad97 Update the installation doc for Raspberry-Pi about supported devices (#5773) 2018-01-08 18:09:00 -08:00
Andrew 45a2a19abd Update the installation doc for Raspberry-Pi about supported devices (#5773) 2018-01-08 12:21:32 -08:00
Andrew 690e968509 Update the docker based release package tests (#5692) 2017-12-19 11:21:40 -08:00
Andrew 57a4cfcac6 Update the docker based release package tests (#5692) 2017-12-15 13:59:12 -08:00
Andrew 06d3114763 Automation for PS package validation using Docker containers (#5401)
This automation is used for basic validation of PS packages during a release;
Covered configs:

ubuntu14.04
ubuntu16.04
ubuntu17.04
debian.8
debian.9
centos7
fedora25
fedora26
kalilinux
opensuse42.2
During the process Docker files are filled out and executed with Docker build;
During the build PS packages are downloaded onto Docker containers, installed and selected Pester tests from PowerShell Github repo are executed.
2017-11-13 10:25:09 -08:00
Andrew e0af4d96d8 Add example of how to create a .net core cmdlet with Visual Studio (#5096) 2017-10-23 09:35:28 -07:00
Andrew deaa7c9375 Trace-Command tests for code coverage (#4288)
Added tests for Trace-Command that increase code coverage to 80%~85% per class.
2017-09-01 09:08:17 -07:00
Andrew 0b7451bda3 Tests for New-WinEvent (#4384)
* New-WinEvent tests

* PR feedback

* PR feedback 2

* PR feedback 3

* PR feedback 4

* PR feedback 5
2017-08-07 14:24:12 -07:00
Andrew 99236b18bb Make ResourceManagerCache check for alternative resource paths (#4139) 2017-08-04 15:39:26 -07:00
Andrew ecefb50d0d Fixing Import-Module on Linux for special cases of NestedModules/RootModule path format (#4010)
* IPMO fix for some cases of NestedModules/RootModule path syntax

* Added tests for #3693 fix

* Updated tests
2017-06-28 16:35:33 -07:00
Andrew e2e07b1830 Change New-ModuleManifest encoding to UTF8NoBOM on non-Windows platforms (#3940)
* Change New-ModuleManifest encoding to UTF8NoBOM

* Addressed PR feedback

* Fixed test for Travis CI

* Updated tests
2017-06-27 12:48:25 -07:00
Andrew 28ec9a3511 Fix Import-Module to honor 'ScriptsToProcess' when '-Version' is specified (#3897) 2017-06-05 14:19:03 -07:00
Andrew e70e410741 Installation docs update for Debian 8 and RHEL 7 (#3709)
* Debian8 update

* RHEL7 update

* Main page update

* Fixed 'MD024 Multiple headers with the same content'

* Update linux.md

Added explicit text about compatibility of Ubuntu14.04 pkg on Debian8 to avoid confusion about URLs

* Update linux.md
2017-05-09 13:18:01 -07:00
Andrew c0aafdb3d0 Fixing a bug related to ModuleSpec syntax in RequiredModules (#3594)
This fixes issue #2607.
'RequiredModules' is a field in module manifest that can reference other modules using ModuleSpecification format.
The basic version of this format (just module name) was working fine, however, there was a problem when a more detailed version of the format was used (the one that uses module versions or/and GUIDs).
During module import, there is a check for cyclic references through 'RequiredModules' field. The bug was in this check for cyclic references, related to comparison rules for ModuleSpecification objects - as a result, the code was incorrectly reporting 'cyclic reference' error in cases when there was none.
Also, added tests for different ModuleSpecification formats and a test for error when there is actually a cyclic reference.
2017-04-30 17:58:44 -07:00
Andrew 03b00e6522 Updated tags of automounted drives tests (#3290)
Two updates with this PR:
- reclassified automounted drives tests to be 'Feature' instead of 'CI' because this is more accurate;
- fixed failures in tests setup caused by "subst.exe" native utility having problems running as child process of powershell process tree run under "runas.exe /trustlevel:0x20000" (in Start-UnelevatedProcess in build.psm1).
2017-03-08 16:34:39 -08:00
Andrew 1d1cffd0c5 Auto-mounted file system drives correctly created when mounted inside a module (#3034)
Fixes #2442
2017-03-06 16:26:06 -08:00