GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Enable macOS launcher by thezim · Pull Request #5291 · PowerShell/PowerShell Conversation
|
|
Can you go to https://travis-ci.org/profile/thezim?offset=0 and enable your repo then do another push? This will trigger a build with packaging. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Verified packaged correctly here: https://travis-ci.org/thezim/PowerShell/builds/296027725 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
||
| # Set permissions. | ||
| Start-NativeExecution { | ||
| find $macosapp | xargs chmod 755 |
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can you undo this when it's finished? Or remove the folder when it's done?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sure thing, good catch, commit added. I realized that 755 wasn't needed for everything so I only set what was absolutely needed and then restore to a default state post fpm.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can we not leave files with altered permission laying around?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
packaging built correctly here: https://travis-ci.org/thezim/PowerShell/jobs/296567451 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
relaunched AppVeyor due to myget failure.. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| $newPackagePath = Join-Path $createdPackage.DirectoryName $newPackageName | ||
| $createdPackage = Rename-Item $createdPackage.FullName $newPackagePath -PassThru -Force:$Force | ||
| } | ||
| if($pscmdlet.ShouldProcess("Cleanup macOS launcher")) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Should this cleanup code be moved to the if ($Environment.IsMacOS) block in the finally above?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I would agree. Since fpm is in a try, if it fails the next fatal error would be here leaving it in a bad state. I'll go ahead and move it.
As an aside I'm not unsure if the try should even be there for the fpm call. I would think you would want the build point of failure reported at the fpm call and not a dependancy later in the code.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Packaging build passed here: https://travis-ci.org/thezim/PowerShell/jobs/297030200 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@PowerShell/powershell-maintainers Joey Aiello (@joeyaiello) Steve Lee (@SteveL-MSFT) Since this previously regressed after working, I would consider this at least moderately risky. Do we want to take this for 6.0.0? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
We should ensure if #5323 merges first that we include the UTI update to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
#5323 was merged. I updated the title so we don't accidentally merge until the PR is updated. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
UTI updated. Packaging build passed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Travis Plunk (@TravisEz13) I agree that we should take this fix for 6.0.0, since the beta.9 macOS package already had the macOS launcher change. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I agree we should take this change.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.