Commit graph

56 commits

Author SHA1 Message Date
Naadir Jeewa 01dfb88e4d Initial Support for Fedora 24 (#2738)
* Initial support for Fedora 24
This commit adds initial support for the Fedora distribution,
starting with Fedora 24.

Whereever possible, build tooling for CentOS has been reused.

Until the next release of PowerShell is compiled against .NET 1.1,
the Docker release image uses the CentOS 7 build, but loads
in the CentOS 7 version of `libicu50` via LD_LIBRARY_PATH.

* Update Dockerfile

Fix typos
2017-01-20 11:05:24 -08:00
Jason Shirk 02b5f357a2 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Mike Richmond 4eb1494442 Revert "Initial Support for Fedora 24" (#2970) 2017-01-06 13:09:40 -08:00
Naadir Jeewa 8262091b3a Initial Support for Fedora 24 (#2738)
* Initial support for Fedora 24
This commit adds initial support for the Fedora distribution,
starting with Fedora 24.

Whereever possible, build tooling for CentOS has been reused.

Until the next release of PowerShell is compiled against .NET 1.1,
the Docker release image uses the CentOS 7 build, but loads
in the CentOS 7 version of `libicu50` via LD_LIBRARY_PATH.

* Update Dockerfile

Fix typos
2017-01-06 10:04:18 -08:00
Christopher Nelson 7388ec960f build: Update build.sh to run fully manual build (#2832)
* build: Update build.sh to run fully manual build
* add ubuntu-16.10-x64 to the list of architectures to build for.w
2016-12-28 13:59:51 -08:00
Naadir Jeewa 32a8601f92 Rebase onto .NET Core 1.1 (#2737)
* Rebase onto .NET Core 1.1

Modify `Build.psm1` and `project.json` files to use .NET Core 1.1.

.NET Core 1.1 ships with an older dotnet/cli than has currently been used,
so we revert to use case-sensitive directory names for dependencies.

.NET Core 1.1 is a pre-requisite for supporting Fedora 24.

* PSReadLine: Bump major version of PSReadline to 6.0.0-*

* Microsoft.PowerShell.Commands.Utility: Bump major version of Microsoft.CodeAnalysis.Csharp

* Microsoft.PowerShell.SDK: Revert attempt to import netcoreapp1.1 instead of dnxcore

* build.psm1: Restore ability to specify version of dotnet-install.sh
2016-12-07 18:29:21 -08:00
Mike Richmond e23b0b2002 Add runtime win7-x86 2016-11-18 16:35:16 -08:00
Aditya Patwardhan b18adb85d4 Add OpenCover PS Module to collect code coverage (#2585)
* Add OpenCover PS Module to collect code coverage

OpenCover PS Module helps is collecting Code Coverage using the OpenCover
toolset. The module helps in comparing two code coverage runs as well.

* Change OpenCover.psd1 to ASCII

* Fix an error in path for OpenCover

Fixed an error on path for OpenCover. Also used ZipFile class instead of
cmdlet as it might not be available on CI system.

* Convert module to be Powershell v4 compliant

Changed implementation from classes to PSObjects and implemented
Expand-ZipArchive.

* Added CodeCoverage as a configuration to project.json files

Added CodeCoverage as the new configuration for all the project.json
files. When Start-PSBuild is executed with configuration as CodeCoverage,
we change the degubType to 'full' as required by OpenCover toolset.

Also made changes to appveyor.psm1 to build a CodeCoverage package on
daily builds and publish it as a zip.

* Addressed code review comments

Changed from Add-Member to use pscustomobject type accelator. Removed
[gc]::collect.

* Added explicit garbage collection

* Addressed code review comments

- Make sure that the build Start-PSPackage gets is not a code coverage
  build
- Add debugType = full for FullCLR
- Remove configurations from PackageManagement files as it is not needed.
- Build CodeCoverage build first in AppVeyor.

* Resolve merge conflict

* Fix indentation

* Fix newline at end of file

* Added command discovery for locating OpenCover.console.exe
2016-11-11 11:12:07 -08:00
Dongbo Wang 2e402cfef1 Update powershell to depend on latest dotnet core packages (preview1-24530-04 from 9/30/2016) 2016-10-14 10:02:44 -07:00
Adam Driscoll c829d9e915 Adding debugType portable to project.json. (#1959)
* Adding debugType portable to project.json.

* Move debugType.

* Update project.json

* Update project.json

* Update project.json

* Update project.json

* Update project.json

* Update project.json

* Update project.json

* Update project.json

* Moving debugType into correct places. Removing from non-core builds.

* Added missed files.

* Fixing project.json debugType placement.
2016-08-23 10:38:25 -07:00
Andrew Schwartzmeyer 09e1683098 Add Ubuntu 16.04 RID 2016-08-05 10:09:40 -07:00
Dongbo Wang 66dcd00d93 Make AssemblyLoadContext a singleton and refactor 2016-06-28 18:31:38 -07:00
Andrew Schwartzmeyer 5e3150f429 Use Start-TypeGen to generate type catalog dynamically 2016-06-28 12:57:44 -07:00
Andrew Schwartzmeyer 3f8fecd0dc Port TypeCatalogGen to .NET Core 2016-06-27 15:30:47 -07:00
Sergei Vorobev cfb8765a6e Merge pull request #1140 from PowerShell/vors/typegen
TypeGen enhancements
2016-06-17 15:05:48 -07:00
Sergei Vorobev b374e2fd06 Add Start-TypeGen
Update Microsoft.PowerShell.CoreCLR.AssemblyLoadContext\project.json
Include Crypto package for new source code
2016-06-17 11:23:29 -07:00
Sergei Vorobev 713ddfdf05 Remove authors section from product project.json 2016-06-16 19:33:19 -07:00
Sergei Vorobev 85e2ecd504 Add new map.json files 2016-06-13 17:39:11 -07:00
Andrew Schwartzmeyer e3056303aa Rename compilationOptions to buildOptions in project.json files
This resolves #928. This is a breaking change in that you *must* be
running a recent version of .NET CLI.
2016-06-10 11:03:56 -07:00
Jan Kotas ef9a37df79 Rename PowerShellAssemblyLoadContext to PowerShellAssemblyLoader
PowerShellAssemblyLoadContext does not inherit from AssemblyLoadContext. Rename
it to avoid confusion.
2016-05-24 09:55:04 -07:00
Andrew Schwartzmeyer b8ffd42051 Make TypeCatalogGen build script quieter 2016-04-21 11:17:59 -07:00
PowerShell Team 78a18c3f70 Revert "Update files from psl-monad"
This reverts commit 9ed2c2a68b.
This commit is here to make source-depot branch a parent of master
2016-04-06 12:03:50 -07:00
PowerShell Team 9ed2c2a68b Update files from psl-monad
This commit uses psl-monad branch source-depot 28156300
And corresponds to [SD:692351]
2016-04-06 11:55:18 -07:00
PowerShell Team 45140c5752 Move files from psl-monad submodule to super-project
This commit uses master branch 860eb5d
2016-03-30 20:01:33 -07:00
Sergei Vorobev fe5bb28fd1 Remove compileFiles and resource sections from project.json files 2016-03-30 17:16:50 -07:00
PowerShell Team 60b3b304f2 Move files from psl-monad submodule to super-project
This commit uses psl-monad branch source-depot 7209cb9
And corresponds to [SD:688741]
2016-03-30 17:16:23 -07:00
Andrew Schwartzmeyer 4f3d778b58 Update type catalog generator build script 2016-03-22 21:16:14 -07:00
Andrew Schwartzmeyer b47cf338a9 Delete Runtime facade
Deprecated with new lockfile parser.
2016-03-22 20:32:50 -07:00
Andrew Schwartzmeyer 75acfaeb88 Bump .NET Core packages to build 23922 2016-03-22 12:21:15 -07:00
Andrew Schwartzmeyer f904be118b Update runtime facade 2016-03-21 14:14:58 -07:00
Andrew Schwartzmeyer 3e5dc14014 Downgrade packages from rc3 to rc2
Since 'rc3' is 'vnext', not just closer to the actual release.
2016-03-21 14:14:58 -07:00
Andrew Schwartzmeyer 4c13f22216 Bump .NET packages to build 23921
- Bumps NETStandard.Library to 1.5.0-rc3, fixes #663.
- Remove reference to Unsupported.Platform.API, fixes #639.
2016-03-21 14:14:58 -07:00
Andrew Schwartzmeyer 3eeda101c3 Bump NETStandard.Library to 1.5.0-rc2-23911
The rc3-23914 version does not restore `System.Private.Uri` correctly,
but this version does. Bug reported to dotnet/corefx#6883.
2016-03-14 17:03:58 -07:00
Andrew Schwartzmeyer 9bd361abe1 Bump .NET package builds to 23914 2016-03-14 16:55:25 -07:00
Andrew Schwartzmeyer 830c6b50d2 Fix runtime facade package versions
These packages had their semantic versions get updated, but the
corresponding packages in the facade were forgotten.
2016-03-14 16:51:05 -07:00
Andrew Schwartzmeyer faec94ffcf Add Microsoft.NETCore.Unsupported.Platform.API package
This package contains the Windows runtime assemblies of packages that
are not actually supported on Linux. The assemblies exist in the Linux
runtime folder. While the code cannot be executed, this allows
PowerShell to use the Windows specific types in its function calls
without crashing (and allows compiling with these types in the first
place). This is *not* an ideal work-around, but we are waiting on a
better package from .NET that contains Linux runtime assemblies that
throw `PlatformNotSupported` exceptions on use.
2016-03-07 14:17:31 -08:00
Andrew Schwartzmeyer e12f5a427e Bump .NET packages to 23907 2016-03-07 13:59:11 -08:00
Andrew Schwartzmeyer 3abbf62428 Fix TypeCatalogGen script 2016-03-01 13:25:31 -08:00
Andrew Schwartzmeyer 855891dc12 Clean up TypeCatalogGen dependencies
Pin to stable packages and use `net45` moniker instead of DNX.
2016-03-01 13:25:31 -08:00
Andrew Schwartzmeyer da9f5068aa Update runtime facade with additional packages
This had gotten out of date since it is a manual process.
2016-03-01 13:25:31 -08:00
Andrew Schwartzmeyer 840c634d5e Bump .NET packages to 23829 2016-03-01 12:26:30 -08:00
Andrew Schwartzmeyer 2518b0ab3f Bump .NET packages to 23826 2016-02-26 12:26:28 -08:00
Andrew Schwartzmeyer 2e90b29cc8 Bump .NET Core packages to rc3-23819
Brings in fix for #546 and so enables the use of the PowerShell in non
xterm terminal emulators (like Tmux and screen).
2016-02-19 09:57:21 -08:00
Andrew Schwartzmeyer e6e4dcafbe Build with new framework and new CLI
All libraries now use the framework `netstandard1.5`, and import the
`dnxcore50` and `portable` frameworks. The app that is published,
Microsoft.PowerShell.Linux.Host, that is, the top-level dependency that
emits an executable, instead targets `netstandardapp1.5` and has a new
`runtimes` key so that .NET CLI's `restore` and `publish` commands know
which runtime implementations to resolve.

When switching to the new CLI, we needed to fix how we specified our
dependencies. In particular, the .NET CLI team helped me figure out how
to download packages that are reference assembly only on Linux, with
implementations on Windows. The result of this is the new `frameworks`
setup.

Additionally, we were incorrectly specifying our build dependencies;
that is, projects we also build (not packages). The solution was much
cleaner. We removed the `type: build` section and replaced it with the
version `1.0.0-*` that all our projects currently use.

The `project.json` files also had their names, descriptions,
indentation, and versions fixed.

The build scripts were simplified.
2016-02-18 10:06:56 -08:00
Andrew Schwartzmeyer ae64f99c25 Bump .NET packages to 23817 2016-02-17 17:17:55 -08:00
Andrew Schwartzmeyer 426e70565a Clean up .gitignore files 2016-02-09 14:06:39 -08:00
Andrew Schwartzmeyer a8be633089 Bump packages to rc3-23729 2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer 735721e902 Bump .NET packages to build rc2-23712
This brings in the previously missing System.Console APIs and the fix for the echo TTY issue, fixing our remaining patches of the runtime.
2016-01-12 12:22:26 -08:00
Andrew Schwartzmeyer 4562121ffa Fix CorePsTypeCatalog for Management dependencies 2015-12-16 16:33:19 -08:00
Andrew Schwartzmeyer 8fe9e98c62 Fix CorePsTypeCatalog
Runtime facade updated with dependencies copied from
System.Management.Automation.
2015-12-16 16:24:33 -08:00