Commit Graph
5657 Commits
Author SHA1 Message Date
Travis Plunk ef6e762771 MSI: remove the version from the product name (#6415)
MSI: remove the version from the product name

During patching the original MSI information is displayed.
This makes installing a patch for an MSI with a specific version very confusing.
2018-04-07 12:40:55 -07:00
Travis Plunk 8a8b75f4c0 migrate the mac offical binary build to VSTS mac hosted preview (#6363)
create a PowerShellPackage...ps1 that works with these VMs (vs our custom VM)
create a script to create the \powershell folder with correct permissions
a YML VSTS build definition
2018-04-07 12:40:33 -07:00
Travis Plunk 36b71ba39e Update date of 6.0.2 release v6.0.2 2018-03-15 10:34:06 -07:00
Aditya Patwardhan 666b26aecb Merged PR 1846: Removed version forcing code from nuget package generation
Removed version forcing code from nuget package generation
2018-03-14 00:36:34 +00:00
Travis Plunk 9a45660470 Merged PR 1845: Update version to 6.0.2 in docs and scripts
Also, add function to update version
2018-03-13 23:20:09 +00:00
Dongbo Wang a7bfc8f5c4 Fix the link configuration for Linux packaging
# Conflicts:
#	tools/packaging/packaging.psm1
2018-03-13 16:00:58 -07:00
Aditya Patwardhan 97989168f6 Removed version forcing code from nuget package generation 2018-03-13 15:57:37 -07:00
Aditya Patwardhan 2f8f30a9d9 Add scripts to generate unified Nuget package (#6167)
Remove the functions which generated Nuget packages for Windows.
Add function New-UnifiedNugetPackage to generate nuget packages for each assembly with unix and windows runtimes.
Add function New-NuSpec and New-ReferenceAssembly for creating the required items forNew-UnifiedNugetPackage.
Add a sample for cross platform project with conditional compilation for Linux.
Add function Publish-NugetToMyGet to publish nuget packages to powershell.myget.or
# Conflicts:
#	tools/packaging/packaging.psm1
2018-03-13 15:51:19 -07:00
Travis Plunk baaf422197 Merged PR 1842: changelog for 6.0.2
changelog for 6.0.2
2018-03-13 21:05:16 +00:00
Travis Plunk a04536a5ce Merged PR 1837: fix filenames per architecture
fix filenames per architecture
2018-03-13 18:00:47 +00:00
Travis Plunk d607f207b9 update to DotNet Core 2.0.6 2018-03-13 10:41:45 -07:00
Travis Plunk 334ea4629d fix filenames per architecture 2018-03-13 10:41:32 -07:00
Travis Plunk 87521b4976 Add no appimage build 2018-03-13 09:22:54 -07:00
Travis Plunk c2f005428f suppress ice82 error, already fixed in 6.1 2018-03-12 18:34:25 -07:00
Travis Plunk 2640d66ace Clean the intermediate artifact 'psoptions.json' from build (#6356) 2018-03-12 17:35:56 -07:00
Dongbo Wang b3464ebbfc Build: Remove two unneeded lines from 'Invoke-AppveyorFinish' (#6344)
# Conflicts:
#	tools/appveyor.psm1
2018-03-12 17:35:56 -07:00
Travis Plunk 717d7dd9b6 Clean build during daily build to ensure MSI package is generate correctly (#6334)
Clean build during the daily build to ensure MSI package is generated correctly
- Do another clean build directly before packaging to clean up files that test has added
# Conflicts:
#	tools/appveyor.psm1
2018-03-12 17:35:55 -07:00
Travis Plunk 3f73749d99 MSI: Make sure that file components are patchable (#6303)
MSI: Make sure that file components are patchable
- avoid changing names and guids of components between builds as this prevents patch generation
- This required submitting the file generated by heat
- add code to make sure the generated file is not out of date

# Conflicts:
#	assets/Product.wxs
2018-03-12 17:35:55 -07:00
Travis Plunk 1cb55a0d88 change the artifact count for wixpdb (#6254) 2018-03-12 17:35:55 -07:00
Travis Plunk 22b1f11de1 fix MSI creation errors, and capture wixpdb for later patch creation (#6221)
- add `wixpdb` output when creating `MSI` package
- capture `wixpdb` in official build
- clean up anything left behind from previous MSI builds before starting MSI build to prevent using dirty files.
- make sure MSI creation fails if there is an error
- ignore `.wixpdb` files in git
- Add functionality to `Start-NativeExecution` to
    - only display output if there is an error
    - log caller information
- WXS validation error fixes
    - Remove unused `ExitDialog` to fix ICE82
    - Add KeyPath to `SetPath` to fix ICE18
    - Use `HKMU` which translates to `HKLM` to runtime to fix various validation errors about creating the shortcut
- Suppress Validation errors
    - suppress ICE61, which is about same version upgrades being allowed
    - suppress ICE57, caused by the shortcut not being installed per user
# Conflicts:
#	assets/Product.wxs
2018-03-12 17:35:55 -07:00
Travis Plunk 579be2eab2 Refactor new-msipackage into packaging.psm1 (#6208)
Refactor new-msipackage and related function into packaging.psm1

# Conflicts:
#	build.psm1
2018-03-12 17:35:55 -07:00
Christoph Bergmeister 4741be9237 Packaging: simplify building an installable package for Windows (#5871)
This is the continuation of PR 5499 that had to be abandoned due to a fatal merge conflict and I did not want to risk accidentally reverting recent fixes.

    Remove unnecessary/unused default for productGuid because it always gets a new Guid when being called from Start-PSPackage
    Add defaults for required files but also add extra path validation attribute
    Rename ProductGuid to ProductCode

# Conflicts:
#	assets/Product.wxs
2018-03-12 17:35:55 -07:00
Travis Plunk 379313918e change the registry version detection value to semver from the default value (#6192)
change the registry version detection value to semanticversion from the default value
fixes #6171
2018-03-12 17:35:55 -07:00
Travis Plunk 8dd179599e When doing daily/test build in a non-release branch use the branch name as the preview name (#6355) 2018-03-12 17:35:50 -07:00
Travis Plunk a2d8a94376 use add instead of invoke web request in nanoserver docker file (#6255) 2018-03-12 16:40:29 -07:00
Travis Plunk ea4ec0a373 use powershell windowsservercore docker image for release builds (#6226) 2018-03-12 16:40:02 -07:00
Travis Plunk 4aafe5b0ac fix spelling failures in CI (#6191)
This fixes spelling failures in CI. It appears to be caused by a change in the tool used to test spelling
This change:

-Updates the dictionary for new and words which are detected differently
-updates markdown where it is more appropriate
-adds one file to the markdown tests.
# Conflicts:
#	test/common/markdown/markdown.tests.ps1
2018-03-12 16:39:23 -07:00
Travis Plunk d1d37dd1f7 fix errors in start-psbootstrap during release builds (#6159)
set Debian front end to non-interactive during apt-get commands, to avoid error with prompting
add libffi-dev, which is required for ruby/fpm
let fpm update to the latest
# Conflicts:
#	build.psm1
2018-03-12 16:35:25 -07:00
Mariah fb6cd6a221 Update CimDSCParser to fix Configuration compilation for DSC (#6225)
Update CimDSCParser to fix Configuration compilation for DSC
2018-03-12 16:33:30 -07:00
Travis Plunk 6dce7a62a6 add scripts to set/update the release tag in VSTS (#6107) 2018-02-13 18:40:47 -08:00
Travis Plunk 3d9373ad1e Add registry value for easy detection (#6094)
Add registry value for easy detection. For example, the presence of a single key of 6.0.* x64. This is much faster than MSI detection.

Note there are currently two GUIDs, one for 6.0.* x64 and one for 6.0.* x86.

fixes #6090
2018-02-05 16:27:39 -08:00
Daniel Llewellyn ca9c890dd1 Add Environment Variable override of telemetry (#6063)
Inspired by dotnet cli, and allows for Telemetry opt-out on packaging systems such as AppImage and Snapcraft where the filesystem is immutable.
2018-02-05 16:26:50 -08:00
Christoph Bergmeister 46e476e47f Use HKLM instead of HKCU registry keys since the current installation scope is perMachine. (#5915)
# Conflicts:
#	assets/Product.wxs
2018-02-05 16:26:22 -08:00
Travis Plunk 67c9ae47f8 update date on change log (#6023) v6.0.1 2018-01-25 10:55:17 -08:00
Travis Plunk e49a81fe00 tests: fix function to test for docker OS due to change to use linuxkit for mac (#5843)
* Also, fix syntax issues to allow to work with released Pester
2018-01-23 16:10:45 -08:00
Travis Plunk 9fc7077e11 update 6.0.1 change log (#5937) 2018-01-22 18:33:30 -08:00
Travis Plunk a603cf3867 Update csproj files to the latest version of the package references (#5961)
* Add function which tells you packages which probably need to be updated
2018-01-22 12:06:50 -08:00
Dongbo Wang 4b09a93676 Update docs and scripts for PowerShell 6.0.1 release (#5938) 2018-01-18 15:07:43 -08:00
Ilya b27c6845b9 Update PowerShell to build with .NET Core 2.0.5 (#5903) 2018-01-17 15:11:50 -08:00
Travis Plunk ab9a583516 fix version test to allow not to have a pre-release portion. (#5893) 2018-01-15 09:34:28 -08:00
Dongbo Wang 2f818615be Update ChangeLog.md for PowerShell 6.0.0 GA release (#5835) v6.0.0 2018-01-10 08:50:33 -08:00
Dongbo Wang c4cf1440dd Update docs and scripts for PowerShell 6.0.0 GA release (#5837) 2018-01-09 15:57:38 -08:00
Steve Lee 08c455a4ee Remove sc alias which conflicts with sc.exe (#5827) 2018-01-08 18:09:00 -08:00
Aditya Patwardhan 0687d5a564 Updated Help Uri to point to latest help content for Microsoft.PowerShell.Core module (#5820) 2018-01-08 18:09:00 -08:00
Christoph Bergmeister 087d4acf54 packaging: x86 package gets installed as an x64 component and has the same UpgradeCode as the x64 installer leading to an uninstallation of an x64 installation (and vice versa) (#5812)
Fix bug #5597: x86/x64 installer are uninstalling each other when installing either of them:

-Make x86 installer to be installed as an x86 component (-arch argument to candle.exe, which sets the `sys.BUILDARCH` variable)
-Make the UpgradeCode unique per platform
-Replace `var.ProductTargetArchitecture` variable with sys.BUILDARCH use to have only 1 variable for the architecture
-Additionally, the architecture was appended to the package name to be able to distinguish the installations.

# Conflicts:
#	assets/Product.wxs
2018-01-08 18:09:00 -08:00
Andrew 92e140ad97 Update the installation doc for Raspberry-Pi about supported devices (#5773) 2018-01-08 18:09:00 -08:00
Mark Kraus 9e6115c9c6 Fix a typo and a Markdonw linting error in the Pull Request Template (#5807) 2018-01-08 18:09:00 -08:00
Dongbo Wang 658960e3f9 Move group policy settings and enable policy controlled logging in PowerShell Core (#5791)
Make PowerShell Core reads group policy settings from different registry keys (Windows only) and the configuration files (both Windows and Unix).
- On Windows, move to different GPO registry keys.
- On both Windows and Unix, read GPO related settings from the configuration file `powershell.config.json`.
- On Windows, the policy settings in registry take precedence over the configuration file.
- Enable policy controlled logging and transcription on Unix.
2018-01-08 18:09:00 -08:00
Chris 0f60625879 docs: update submodule documentation for pester removal (#5786)
Since Pester is not a submodule anymore, replace submodule example in git submodule docs/FAQ.md with the only leftover submodule src/libpsl-native/test/googletest
2018-01-05 16:47:07 -08:00
Dan Travison 63b80945a1 remoting: Handle DLLImport failure of libpsrpclient (#5622)
Issue #4029 exposed two problems when failing to load libpsrpclient.

WSManAPIDataCommon.ctor was not identifying the binary that failed DLLImport; hindering diagnosability
PrioritySendDataCollection.Clear() would throw a NullReferenceException when called from the finalizer after an error path.
This change addresses both of the above:

Guard against null arrays in PrioritySendDataCollection.Clear() - called from finalizer in error paths.

Diagnosability: Log the DllNotFoundException in WSManAPIDataCommon ctor and also include it as the internal exception when throwing PSRemotingTransportException.
2018-01-04 17:17:34 -08:00