PowerShell / PowerShellGetv2

PowerShellGet is the Package Manager for PowerShell
https://www.PowerShellGallery.com
MIT License
431 stars 138 forks source link

Publish-Script add the private functions into the 'Tag' field #10

Closed LaurentDardenne closed 1 year ago

LaurentDardenne commented 8 years ago

This function contains a lots of private functions :

    Edit-String   # MAIN function
    New-Exception
    Test-InputObjectProperty
    ConvertTo-String
    Convert-DictionnaryEntry
    New-ObjectReplaceInfo
    isParameterWellFormed
    BuildList

They are all present into the 'Tags' field :

**Tags**
Replace Regex Template String Edit PSScript PSIncludes_Function PSFunction_Edit-String
PSFunction_New-Exception PSFunction_Test-InputObjectProperty PSFunction_ConvertTo-String PSFunction_Convert-DictionnaryEntry 
PSFunction_New-ObjectReplaceInfo PSFunction_isParameterWellFormed PSFunction_BuildList
PSCommand_Edit-String PSCommand_New-Exception PSCommand_Test-InputObjectProperty
PSCommand_ConvertTo-String PSCommand_Convert-DictionnaryEntry 
PSCommand_New-ObjectReplaceInfo PSCommand_isParameterWellFormed PSCommand_BuildList 

Windows Seven Powershell v 5.0.10586.117 PackageManagement 1.1.0.0

ThomasNieto commented 5 years ago

@LaurentDardenne Can you clarify the request? Are you saying the Publish-Script is currently adding private functions as tags in the NuGet package? Or are you saying it doesn't do that currently and you would like that be a added as a feature?

If you're referring to the former I would like you to see if it happens on the latest version of PowerShellGet. If it's the latter then I would like a little more information why it would be useful to add private functions as tags.

LaurentDardenne commented 5 years ago

Hi, Are you saying the Publish-Script is currently adding private functions as tags in the NuGet package? Yes. With MyGet and here I must test again with the latest version.