FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add `MacPorts` support to the build system · Pull Request #10736 · PowerShell/PowerShell · GitHub

Add MacPorts support to the build system - #10736

Merged
Travis Plunk (TravisEz13) merged 3 commits into
masterfrom
unknown repository
Oct 9, 2019
Merged

Add MacPorts support to the build system#10736
Travis Plunk (TravisEz13) merged 3 commits into
masterfrom
unknown repository

Conversation

Deleted user (ghost) commented Oct 8, 2019
edited by ghost
Loading

Copy link
Copy Markdown

PR Summary

Add MacPorts support to the build system

PR Context

MacPorts is one of the "Missing package managers for OS X".
The original build scripts only supported Homebrew and it is inadvised to have
both installed on a same system.
This change makes the build script use whatever package manager is currently
installed, or direct the user to download one of them if neither is present.
The build documentation has been updated to reflect that another package
manager is now also supported.

PR Checklist

MacPorts is one of the "Missing package managers for OS X".
The original build scripts only supported Homebrew and it is inadvised to have
both installed on a same system.
This change makes the build script use whatever package manager is currently
installed, or direct the user to download one of them if neither is present.

Microsoft Contribution License Agreements (msftclas) commented Oct 8, 2019
edited
Loading

Copy link
Copy Markdown


All CLA requirements met.

Comment thread build.psm1 Outdated

Travis Plunk (TravisEz13) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

See comments

ghost added the Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept label Oct 8, 2019
ghost removed the Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept label Oct 8, 2019

Copy link
Copy Markdown
Member

There is a spelling error.

Here is my function to test spelling.

function Test-Spelling
{
    param(
        [string[]]
        $Paths,
        [switch]
        $Fix

    )

    if(!(Get-Command mdspell -ErrorAction SilentlyContinue))
    {
        brew install yarn
        sudo yarn global add 'markdown-spellcheck@0.11.0'
    }

    $fileList = @()

    foreach($path in $Paths)
    {
        if($path -match '^\.[/\\]')
        {
            $fileList += ($path -replace '^\.[/\\]')
        }
        else {
            $fileList += $path
        }
    }

    $extraParams = @()

    if(!$Fix.IsPresent)
    {
        $extraParams += '--report'
    }

    Write-Verbose "Testing spelling for $fileList" -Verbose
    mdspell $fileList --ignore-numbers --ignore-acronyms @extraParams --en-us --no-suggestions
}

Deleted user (ghost) commented Oct 8, 2019
edited by ghost
Loading

Copy link
Copy Markdown
Author

There is a spelling error.

The script only complains about the words "2.x" (referring to the required .net core version) and "MacPorts". Looks like false positives to me.

Travis Plunk (TravisEz13) commented Oct 8, 2019
edited
Loading

Copy link
Copy Markdown
Member

Spelling errors must be fixed for the PR to be accepted. Please run the tool and add the words to the dictionary. There is a fix switch in my script which will prompt you to add it to the dictionary

Travis Plunk (TravisEz13) added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Oct 8, 2019

Copy link
Copy Markdown
Member

There was a random failure verifying a URL. I retried that task.

Copy link
Copy Markdown
Member

PoshChan-Bot (@PoshChan) Please remind me in 1 hour

Travis Plunk (TravisEz13) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Hold for compliance review

ghost added the Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept label Oct 8, 2019
Travis Plunk (TravisEz13) removed the Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept label Oct 8, 2019

Copy link
Copy Markdown
Member

@Lucius-Q-User To explain what triggered the review, MacPorts license is not clearly declared on GitHub (image below). So, I'm waiting on a manual review of the use of this software in our project. They don't give me a specific ETA.

MacPro License

MIT License

Copy link
Copy Markdown
Collaborator

Travis Plunk (@TravisEz13), this is the reminder you requested 1 hour ago

Copy link
Copy Markdown
Member

@Lucius-Q-User I'm monitoring the compliance review and I'd expect an answer within a week at this point. Ping me if we don't get an answer by that time.

Travis Plunk (TravisEz13) changed the title Add MacPorts support to the build system Add MacPorts support to the build system Oct 9, 2019
Travis Plunk (TravisEz13) merged commit 273b4ab into PowerShell:master Oct 9, 2019

Copy link
Copy Markdown

🎉v7.0.0-preview.5 has been released which incorporates this pull request.:tada:

Handy links:

Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj/PowerShell that referenced this pull request Aug 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL