You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

108 lines
3.4 KiB

10 years ago
@{
RootModule = 'NTFSSecurity.psm1'
ModuleVersion = '5.0.0'
7 years ago
GUID = 'cd303a6c-f405-4dcb-b1ce-fbc2c52264e9'
7 years ago
Author = 'Raimund Andree'
7 years ago
CompanyName = 'Raimund Andree'
7 years ago
Copyright = '2018'
Description = 'PowerShell module for managing file and folder security on NTFS volumes. NTFSSecurity will be archived; its successor is WindowsAccessControl.'
PowerShellVersion = '5.1'
7 years ago
CompatiblePSEditions = 'Core', 'Desktop'
7 years ago
DotNetFrameworkVersion = '4.5.2'
7 years ago
ScriptsToProcess = @('NTFSSecurity.Init.ps1')
7 years ago
TypesToProcess = @('NTFSSecurity.types.ps1xml')
7 years ago
FormatsToProcess = @()
7 years ago
NestedModules = @('NTFSSecurity.dll')
7 years ago
AliasesToExport = '*'
7 years ago
CmdletsToExport = 'Add-NTFSAccess',
'Clear-NTFSAccess',
'Get-NTFSAccess',
'Get-NTFSEffectiveAccess',
'Get-NTFSOrphanedAccess',
'Get-NTFSSimpleAccess',
'Remove-NTFSAccess',
#----------------------------------------------
7 years ago
'Add-NTFSAudit',
'Clear-NTFSAudit',
'Get-NTFSAudit',
'Get-NTFSOrphanedAudit',
'Remove-NTFSAudit',
#----------------------------------------------
7 years ago
'Disable-NTFSAccessInheritance',
'Disable-NTFSAuditInheritance',
'Enable-NTFSAccessInheritance',
'Enable-NTFSAuditInheritance',
'Get-NTFSInheritance',
'Set-NTFSInheritance',
#----------------------------------------------
7 years ago
'Get-NTFSOwner',
'Set-NTFSOwner',
#----------------------------------------------
7 years ago
'Get-NTFSSecurityDescriptor',
'Set-NTFSSecurityDescriptor',
#----------------------------------------------
7 years ago
'Disable-Privileges',
'Enable-Privileges',
'Get-Privileges',
#----------------------------------------------
7 years ago
'Copy-Item2',
'Get-ChildItem2',
'Get-Item2',
'Move-Item2',
'Remove-Item2',
#----------------------------------------------
7 years ago
'Test-Path2',
#----------------------------------------------
7 years ago
'Get-NTFSHardLink',
'New-NTFSHardLink',
'New-NTFSSymbolicLink',
#----------------------------------------------
7 years ago
'Get-DiskSpace',
'Get-FileHash2'
fix(help): ship the generated help file so Get-Help works (#93) * fix(help): ship the generated help file so Get-Help works Get-Help showed only the syntax of the cmdlets: the module shipped a pre-4.x MAML file for the old command names under the wrong name (NTFSSecurity-Help.xml), while PowerShell looks for en-US\NTFSSecurity.dll-Help.xml. - Generate en-US\NTFSSecurity.dll-Help.xml from Docs/Cmdlets with New-ExternalHelp and commit it. The csproj copies it to the output, so every build ships it, including the local Debug builds that releases are published from. - List all runtime files, including the help file, in FileList. - Remove the stale NTFSSecurity-Help.xml and the unused help editor project NTFSSecurity\Help\NTFSSecurity.Help.pshproj. - Add Tests\Help.Tests.ps1 (Pester 5): Get-Help shows the synopsis, parameters, examples, and online link of every page, and Get-Help -Online resolves to the GitHub page. - Reword six sentences in five cmdlet pages so that each link ends its sentence: platyPS drops the space after a link in the help text. - CI regenerates the help file and fails when it differs from the committed file, then runs the Pester tests. - Document the regeneration step and the link rule in the contributor guide. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: AI Assistant <ai@example.com> * ci: report each Pester test once on AppVeyor AppVeyor build 54834154 passed all 218 Pester tests but listed 870 on its Tests tab: the NUnit import files a Pester 5 test under every block that contains it (Pester, test file, Describe, and Context). Report the results through the build worker API instead (POST api/tests/batch): one entry per test with its outcome, duration, and error message. Outside AppVeyor, and when no test ran, the step sends nothing. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: AI Assistant <ai@example.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: AI Assistant <ai@example.com>
4 weeks ago
FileList = @(
'NTFSSecurity.psd1'
'NTFSSecurity.psm1'
'NTFSSecurity.Init.ps1'
'NTFSSecurity.dll'
'Security2.dll'
'PrivilegeControl.dll'
'ProcessPrivileges.dll'
'AlphaFS.dll'
'NTFSSecurity.types.ps1xml'
'NTFSSecurity.format.ps1xml'
'en-US\NTFSSecurity.dll-Help.xml'
)
7 years ago
PrivateData = @{
EnablePrivileges = $true
GetInheritedFrom = $true
GetFileSystemModeProperty = $true
7 years ago
ShowAccountSid = $false
IdentifyHardLinks = $true
7 years ago
PSData = @{
ci: publish releases from CI on a version tag, starting with 5.0.0-rc1 Pushing a tag such as 5.0.0 or 5.0.0-rc1 on master now publishes the package that the build job built and tested to the PowerShell Gallery and creates the GitHub release with NTFSSecurity.zip. - New-ModulePackage.ps1 copies only the FileList files of the Release build, so no debug symbols, XML documentation, or copy of System.Management.Automation.dll ship. It builds the nupkg with Compress-PSResource and adds the command tags (PSIncludes_Cmdlet, PSCmdlet_*, PSCommand_*) that PSResourceGet leaves out and that the Gallery uses to list cmdlets and that Find-Command searches. Every CI run builds and uploads the packages. - Get-ReleaseInfo.ps1 returns the version and release notes: a dated CHANGELOG section for a release, the [Unreleased] section for a prerelease. - The release job checks that the tag matches the manifest version and points to a commit on master, reads the API key from the environment powershell-gallery, and skips steps already done, so a rerun is safe. - The manifest gets the prerelease label rc1 and a release notes link; the 5.0.0 changelog entries move back to [Unreleased] until the final release. - Tests/Release.Tests.ps1 covers both scripts and the packages; the changelog check moves there from Manifest.Tests.ps1. - Docs/Contributing/05-Releasing.md describes the one-time setup and the release steps; Docs/README.md explains -AllowPrerelease. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: AI Assistant <ai@example.com>
4 weeks ago
Tags = @('AccessControl', 'ACL', 'DirectorySecurity', 'FileSecurity', 'FileSystem', 'FileSystemSecurity', 'NTFS', 'Module', 'AccessRights')
LicenseUri = 'https://github.com/raandree/NTFSSecurity/blob/master/LICENSE'
ProjectUri = 'https://github.com/raandree/NTFSSecurity'
ReleaseNotes = 'https://github.com/raandree/NTFSSecurity/blob/master/CHANGELOG.md'
# Remove the prerelease label for the final release, see Docs/Contributing/05-Releasing.md
Prerelease = 'rc6'
}
}
10 years ago
}