Commit graph

3141 commits

Author SHA1 Message Date
Andrew Schwartzmeyer 2abe461992 Refactor to use GetUserFromPid 2016-07-13 15:46:25 -07:00
Andrew Schwartzmeyer 900b46d281 Add GetUserFromPid() to libpsl
And clean up some tests.
2016-07-13 15:46:25 -07:00
Andrew Schwartzmeyer 8ac64286e1 Refactor libpsl to use GetPwUid() 2016-07-13 15:46:25 -07:00
Andrew Schwartzmeyer 6f938bd860 Add regression test for Get-Process -IncludeUserName 2016-07-13 15:46:25 -07:00
Andrew Schwartzmeyer f3328fec5c Add tests for native GetFileOwner 2016-07-13 15:46:25 -07:00
Andrew Schwartzmeyer e6d3cbcce0 Implement Get-Process -IncludeUserName for Linux
So much plumbing. The correct way to identify the owner of a process on
Linux is to get the owner of the /proc/<PID> file. However, .NET Core
has no API to get this information, thus it had to be plumbed through to
the native library.
2016-07-13 15:46:25 -07:00
Andrew Schwartzmeyer 13a82a59ee Add GetFileOwner 2016-07-13 15:46:25 -07:00
Andrew Schwartzmeyer 0b114a3b71 Add GetStat
Wraps stat() with mapped errno.
2016-07-13 15:46:25 -07:00
Andrew Schwartzmeyer c17244eed2 Fix IsAdministrator for Unix 2016-07-13 15:46:25 -07:00
Andy Schwartzmeyer f9c05d4c5e Merge pull request #1360 from PowerShell/andschwa/cache
Enable cache on CI machines
2016-07-13 15:45:56 -07:00
Quoc Truong 67bc478695 Fix test failure for Install-PackageProvider.tests.ps1 on Windows 2016-07-13 15:39:52 -07:00
Indhu Sivaramakrishnan 1f9343ece2 Updated Microsoft.PowerShell.ScheduledJob to have version 3.0.0.0 2016-07-13 15:07:22 -07:00
Manikyam Bavandla MSFT 93227f72f6 Merge pull request #1348 from PowerShell/powershellget
Enabling PowershellGet module on Linux
2016-07-13 14:58:31 -07:00
Manikyam Bavandla bb4eadba1d Corrected a typo in $PSVariable
Corrected a typo in $PSVariable
2016-07-13 14:13:41 -07:00
Manikyam Bavandla 87db56d17f Changes for Get-ChildItem, Select-Object, IsWindows, IsCore and IsLinux
Changes for Get-ChildItem, Select-Object, IsWindows, IsCore and IsLinux
2016-07-13 14:13:41 -07:00
Manikyam Bavandla 076ad7f8e9 Added mapping for $env:TEMP path in Linux.
Added mapping for $env:TEMP path in Linux.
2016-07-13 14:13:41 -07:00
Manikyam Bavandla df271c48cc PowerShellGet changes for Linux 2016-07-13 14:13:41 -07:00
Andrew Schwartzmeyer 281c7cf17a Fix AppVeyor version 2016-07-13 13:56:39 -07:00
Andrew Schwartzmeyer dd2f97c0aa Enable caching of dotnet and NuGet packages on CI 2016-07-13 13:56:25 -07:00
Andy Schwartzmeyer fa80214f22 Merge pull request #1347 from PowerShell/joey/demo
Bring in comment-level demos
2016-07-13 13:22:13 -07:00
Jianyun 9529d42688 Merge pull request #1349 from PowerShell/jianyun/docs
Added Debugging from PS Commandline
2016-07-13 12:58:56 -07:00
Andy Schwartzmeyer a39beee33d Merge pull request #1264 from PowerShell/childitem
Fixing symlink to use absolute paths instead of relative
2016-07-13 12:57:26 -07:00
Raghu Shantha [MSFT] 0d6851ce95 Remove AppxProvider from PowerShell Codebase and builds 2016-07-13 11:21:56 -07:00
quoctruong91 a041c44c5b Fix a test failure where path name is not in the correct case 2016-07-13 01:34:38 -07:00
quoctruong91 8253bb9b85 Fix NuGet.tests.ps1 failure 2016-07-13 01:09:47 -07:00
quoctruong91 987faf03a7 Remove test that requires installing packages that has dependencies 2016-07-13 00:34:43 -07:00
quoctruong91 5ba47748c1 Remove logging for installation from OneGet on Linux 2016-07-12 21:17:11 -07:00
quoctruong91 50c3e5bfc8 Fix Install PackageProvider failure because we are not running on administrator 2016-07-12 21:17:11 -07:00
Quoc Truong c978927947 Fix Nuget tests 2016-07-12 21:17:11 -07:00
Quoc Truong 85955352fe Fix test failures for PackageManagement 2016-07-12 21:17:11 -07:00
PowerShell Team 55b8cd1da6 Import source-depot tests for PackageManagement 2016-07-12 21:17:11 -07:00
Quoc Truong cdb9a96d9d Edit map.json to add in PackageManagement tests 2016-07-12 21:17:11 -07:00
Raghu Shantha [MSFT] f4a8cc1833 Merge pull request #1342 from PowerShell/RaghuS-MSIInstallerBranch
Add ability to perform SxS install in MSI package manifest
2016-07-12 19:53:12 -07:00
Jianyun Tao f3b239510a Merge branch 'master' of https://github.com/PowerShell/PowerShell into jianyun/docs 2016-07-12 19:04:35 -07:00
Jianyun Tao bc62e17384 fixed a link 2016-07-12 19:01:03 -07:00
Jianyun Tao 0f096c96a4 Added debugging from PowerShell commandline 2016-07-12 18:56:36 -07:00
Jianyun 006eb1f734 Merge pull request #1339 from PowerShell/jianyun/docs
Created Learning PowerShell
2016-07-12 18:12:10 -07:00
Joey Aiello 76d8b45a93 Merge pull request #1335 from PowerShell/joey/refactor-docs
Joey/refactor docs
2016-07-12 17:12:39 -07:00
joeyaiello 4619919872 move sample modules into demos 2016-07-12 17:09:55 -07:00
joeyaiello 73dc2fd4d4 add Samples folder 2016-07-12 16:54:08 -07:00
Travis Plunk 6ac0e1afdb Merge pull request #1336 from PowerShell/FixExecutionPolicyForWindows2
Fix execution policy for windows
2016-07-12 16:40:16 -07:00
joeyaiello 0c38f29d68 add comment-level demos
We've signed off on these demos conceptually.
The next step is for them to be implemented
and all blocking engineering work needs to be
enumerated and solved.
2016-07-12 16:01:40 -07:00
Alex Jordan 90defe681d Changing childitem to cope with regex 2016-07-12 15:58:21 -07:00
joeyaiello a4146d2586 add value to PSGet demo 2016-07-12 15:51:03 -07:00
Raghu Shantha [MSFT] 05b350961c Add ability to perform SxS install in MSI package manifest 2016-07-12 15:37:40 -07:00
Travis Plunk bf905966de Fixed comments and white space issues 2016-07-12 14:38:19 -07:00
joeyaiello 0eac00ed0b first pass of contributor docs
Rework of contributor docs to reflect actual flow
for both internal and external developers using
the PowerShell/PowerShell repo for the first time.
Includes updates to issue/PR guidelines, repo 101,
and CONTRIBUTING.md.
2016-07-12 13:39:36 -07:00
Jianyun Tao 062335f47a updated link in readme 2016-07-12 13:27:21 -07:00
Jianyun Tao ecb21e9544 Created Learn PowerShell 2016-07-12 13:21:15 -07:00
Sergei Vorobev 2220692394 Update auth docs for git 2016-07-12 12:53:15 -07:00