Commit graph

87 commits

Author SHA1 Message Date
Andrew Stanton-Nurse
066bebcc6c bootstrap using nuget instead of dnx 2016-01-26 23:25:37 -08:00
Piotr Puszkiewicz
9e8f101ae3 Merge pull request #976 from jhendrixMSFT/rel/1.0.0
The dotnet MSI doesn't properly set ALLUSERS property.
2016-01-26 01:22:21 -08:00
Bryan Thornbury
4a8b4116aa Fix Nuget package creation arg passing 2016-01-23 16:56:22 -08:00
Livar Cunha
91fcb62611 Introducing a separate script that initializes the projects that are going to be packaged, so that it can be shared between build and pack. 2016-01-22 23:08:49 -08:00
Livar Cunha
fdea0b87e0 Making some of the testbase methods protected.
Renaming variables according to code review comments. Adding the folder logic to the builder tests. Creating a separate compilation folder during the build.
2016-01-22 15:22:45 -08:00
Livar Cunha
b459c3665e Passing the configuration parameter to dotnet pack in the windows package script 2016-01-22 15:22:44 -08:00
Livar Cunha
ac2d0e36a9 Changing multiple dotnet commands to be aware of $configuration/$tfm folder structure under the --output path option.
Changing the build scripts to copy files over from debug\dnxcore and to check for the folders existence before trying that.
Making the build command aware of the subfolders and making E2E tests aware of subfolders.
Fixing compiler tests to look for the xml in the right plae taking into consideration the configuration and tfm.
Modifying publish tests to not take into consideration the runtime. This is a temporary change. will bring it back once the commands all understand rid.
Making the packaging step work by placing binaries where dotnet pack expects.
2016-01-22 15:22:44 -08:00
Joel Hendrix
bea47e6675 The dotnet MSI doesn't properly set ALLUSERS property.
The dotnet installer writes content under %ProgramFiles% which is
machine-wide and requires elevation. The Package@InstallScope attribute
must be set to perMachine in this case and will ensure that the Burn
bootstrapper prompts for elevation during install.
2016-01-22 13:53:39 -08:00
Zlatko Knezevic
76527424b2 Merge pull request #880 from blackdwarf/pkgosxfix
Add a custom conclusion file
2016-01-19 15:17:15 -08:00
Andrew Stanton-Nurse
3d493f7d9d switch from DNX to cross-plat NuGet! 2016-01-19 11:43:09 -08:00
Zlatko Knezevic
ae1ed900c6 Responding to PR feedback pt. 2 2016-01-18 08:54:20 -08:00
Zlatko Knezevic
2ed9c2a727 Responding to PR feedback 2016-01-18 08:31:31 -08:00
Piotr Puszkiewicz
cc54048e74 Merge pull request #872 from brthor/fix_dotnet-nightly
Resolve dotnet-nightly cannot find coreclr issue
2016-01-15 17:09:38 -08:00
Zlatko Knezevic
fb7733951e Add a custom conclusion file
Add a custom conclusion file that lists out the need for the user to install
OpenSSL 1.0.1/1.0.2.

Solves a bit #647
2016-01-15 17:00:15 -08:00
Sridhar Periyasamy
43b63d499c Merge pull request #856 from Sridhar-MS/msi-upgrade
Prevent upgrades between 'nightly' and 'release' builds of Dotnet CLI.
2016-01-15 13:57:48 -08:00
Bryan Thornbury
31f27c9c93 Resolve dotnet-nightly cannot find coreclr issue 2016-01-15 20:22:15 +00:00
Zlatko Knezevic
bc8fdaf38a Moving PKG postinstall to use the path
Since we are still waiting for the fix in CoreCLR to resolving
symlinks, moving the PKG postinstall to add dotnet bin dir
to systemwide path using /etc/paths.d/dotnet file.

Fix #786, #771, #841
2016-01-15 11:06:44 -08:00
Sridhar Periyasamy
4b433af7fe Update variables.wxi
Fix typo in error message.
2016-01-14 16:39:10 -08:00
Sridhar Periyasamy
fc8c6666fd Prevent upgrades between 'nightly' and 'release' builds of Dotnet CLI.
Set a new registry 'BuildType' when installing. Check for this reg key
when upgrading to a newer version. Show error message and exit
if the previous installation does not have the same 'BuildType'.
2016-01-14 15:03:32 -08:00
schellap
b4b482006b Fix host name, debuggability and embed CRT 2016-01-14 12:06:18 -08:00
Sridhar Periyasamy
f2ac0d341b Merge pull request #836 from Sridhar-MS/msi-upgrade
Enable build-to-build major upgrades for MSI.
2016-01-14 11:36:03 -08:00
Andrew Stanton-Nurse
845f2c56e6 let RID detection do its thing
also:
* fix up pjvalidate to handle versionless deps
* fix up package-command-test
2016-01-14 09:06:13 -08:00
Zlatko Knezevic
1a7a971d4b Merge pull request #831 from blackdwarf/pkgosxfix
Adding more symlinks to postinstall
2016-01-13 16:33:14 -08:00
Sridhar Periyasamy
1308e27a74 Enable build-to-build major upgrades for MSI.
Encode the CLI version into MSI supported ProductVersion documented here -
https://msdn.microsoft.com/en-us/library/windows/desktop/aa370859(v=vs.85).aspx
Example: CLI Version - 1.0.0.000930 is encoded in MSI as 4.0.930

Prevent downgrading by failing installation with error message.
Also display the original CLI version in the ProductName.
2016-01-13 15:48:45 -08:00
Bryan
8fb2537e87 Remove -O option from curl invocation to ensure file is named consistently in test_package.bats 2016-01-13 14:34:16 -08:00
Bryan Thornbury
bfde94528c Enable Debian package upgrade tests. 2016-01-13 14:34:12 -08:00
Zlatko Knezevic
ccba7ac397 Adding more symlinks to postinstall
Adding symlinks for the following commands:

* dotnet-dnx
* csc

Also adding symlink for libclihost.dylib because it is needed
for the corehost.

Fix #823, #786
2016-01-13 13:52:24 -08:00
Zlatko Knezevic
4879d27d45 Merge pull request #830 from dotnet/linkdnx
link dotnet-dnx
2016-01-13 13:46:48 -08:00
Glenn Condron
a446bb220c link dotnet-dnx
link dotnet-dnx so that `dotnet restore` works when installed from pkg
2016-01-13 12:02:37 -08:00
Bryan
7011f9e604 update everything to DOTNET_CLI_VERSION
Some package_tool fixes
2016-01-13 02:22:53 -08:00
Bryan
797e436547 Package Tool Changes to support versioning changes.
1. Support CONFLICTS in debian packages
2. Associated Build Changes
3. Better cmd line option support in package_tool
2016-01-13 02:22:47 -08:00
Piotr Puszkiewicz
1e423d4f1b Merge pull request #798 from piotrpMSFT/piotrpMSFT/issue797/emptyNuget
Fix empty NuGets
2016-01-13 00:32:02 -08:00
piotrp
ce34927dfb Fixes issue #797
Builds all to-be-packaged assemblies, fixes packaging script.
2016-01-12 14:32:51 -08:00
Bryan Thornbury
93ce6af677 Add dotnet-build and dotnet-dnx to the debian package
Fixes #778
2016-01-11 18:17:29 -08:00
Krzysztof Wicher
acac8d0063 exclude symbols packages from upload 2016-01-11 13:53:47 -08:00
Livar
770026eef7 Merge pull request #734 from livarcocc/pack_input_folder
Adding an input folder param to dotnet pack.
2016-01-08 12:13:04 -08:00
Livar Cunha
ae7ec0427c Changing the input parameter to basepath to match nuget pack 2016-01-07 23:09:37 -08:00
Bryan Thornbury
51d5b5baef Merge pull request #731 from brthor/manpage_fixes
Fix Manpages in Debian Package
2016-01-07 13:30:15 -08:00
Livar Cunha
d2e06f0ebf Adding an input folder param to dotnet pack. If this param is present, pack does not do a build and instead tries to get the contents of the package from the input folder. Also refactored a bunch, separating the concerns in different classes and making just program just handle the arguments and invokes the builders. 2016-01-07 10:24:07 -08:00
Pavel Krymets
5216a9e839 Add DependencyModel to packages output 2016-01-07 09:34:00 -08:00
Bryan Thornbury
f77cdb9c36 Fix Iteration over bash arrays so manpages are packed properly in package_tool. 2016-01-06 21:19:23 +00:00
Piotr Puszkiewicz
4b217db9c0 Clean up build scripts
Decompose into self-contained granular components
Provide reasonable defaults for cross cutting concerns, allowing for independent execution of steps
Start unifying Windows/Bash architecture

fix Bash CI scripts

dockerbuild.sh _common.sh path

Add missing restore-packages.sh

Copy/paste issues

Quote $SOURCE
fix .gitignore

PR Feedback

Merge in @SridarMS's work to avoid redownloading DNX

enabling build of dotnet-build

merge in @SridharMS's CentOS changes

Enable building FSC

enable restoring specific subdirectories

Fix dnx version check

Add missed dependency

Fix pathing to tests

Match Linux build version to Windows, fixing linux tests as a side effect.

workaround for coreclr#2215

fix pathing issue

disable building in docker

BUILD_IN_DOCKER was set, somehow...

fix headers
2015-12-29 01:59:02 -08:00
Piotr Puszkiewicz
d1a257bff7 Merge pull request #625 from cdmihai/buildCommandWithSafetyChecks
Introduce --build-profile flag and precondition checking in the Build command
2015-12-28 10:46:27 -08:00
Enrico Sada
d52bc92155 add command dotnet-compile-fsc
used with "compilerName": "fsc" in project.json
2015-12-24 11:26:09 +01:00
Mihai Codoban
110b30ccdc Extract build from compile
Build becomes the new compile. It decides which project to compile and how. It checks for incremental preconditions
Compile's resonsibility is trimmed down to only knowing how to invoke the compiler on a project
2015-12-23 17:31:47 -08:00
Zlatko Knezevic
91990d3b37 Responding to PR feedback 2015-12-15 20:35:21 -08:00
Zlatko Knezevic
5ef832ee94 Fix the PKG permission issue and change the install location
A temporary fix for the PKG permission issue by using chmod -R 755 in the postinstall
script. Change the install location to remove the "cli" part of the path. Also
change the corehost to reflect this change.

Fixes #492 and #390
2015-12-15 15:24:50 -08:00
Krzysztof Wicher
9fe0df1a3f add dev to debian package name 2015-12-09 16:28:02 -08:00
Krzysztof Wicher
aed194acda add creating package for Microsoft.DotNet.ProjectModel.Loader 2015-12-09 00:53:00 -08:00
PiotrP
8fa642d424 PR Feedback 2015-12-08 10:54:03 -08:00