Skip to content

Tags: PowerShell/Microsoft.PowerShell.Archive

Tags

v2.01.-preview2

Toggle v2.01.-preview2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Archive module preview 1 PR (#131)

* Add .gitattributes, .gitignore, and README.md.

* Add project files.

* added path helper, archive entry

* updated path helper

* resolved bug where GetEntryName was throwing an ArgumentException

* fixed a bug, started work on zip support

* worked on zip archive support

* added ArchiveFactory class

* imporved zip support

* fixed a bug in tests, added error handling for DestinationPath

* fixed bug in tests where Test-ZipArchive was not working correctly

* added tests for DestinationPath

* added additional tests, added TODOs

* updated tests

* added resx files for messages, refactored code, updated structure, etc.

* refactored PathHelper class

* worked on automatically determining archive format based on DestinationPath's extension

* added support for determining archive format automatically based on DestinationPath's extension

* fixed a bug with archive format warning, added TarArchive file

* renamed Action to WriteMode, fixed bug with compressing directories, added support for tar, added support for overwrite

* fixed bug where the directory structure of directories was not being preserved, fixed bug where error and warning messages were not being shown

* addded exception handling to PathHelper class

* removed files from git, removed tar support for preview release, added psd1 file

* updated build script, updated exception handling in PathHelper

* used FileSystemInfo instead of String to store full path information

* updated checking for the same source path and destination path

* updated build configuration

* updated project version with prelease info, removed tar support after merging branches

* updated CI config, fixed bug with missing error message, fixed tests

* updated CI to build module and run tests across all platforms

* updated CI to run tests, added and reorganized tests, solved a bug where overwriting the working directory could succeed

* used pascal case for ArchiveFormat enum members, refactored some code based on feedback

* fixed formatting for multiple files, updated csproj to generate Messages.Designer.cs and to remove debug symbols in Release config

* fixed missing quotation mark in CI config, updated switch code in ArchiveFactory.TryGetArchiveFormatFromExtension, added another list to keep track of paths from -LiteralPath and -Path seperately

* added assertions to prevent possible null error, added RequiredVersion when installing Pester in tests script, removed default valuesm in parameter attributes, and other minor changes

* added localized messages for Add, Create, and progress bar text, minor formatting changes

* added copyright header, removed usage of DS in tests, minor formatting changes

* updated .gitignore, added explanation for why ArchiveAddition.EntryName is not necessarily equal to FileSystemInfo.Name

* updated Compress-Archive cmdlet to resolve a path one at a time rather than collecting all paths first

* fixed a bug where PathNotFound error was not thrown, fixed a bug when testing invalid paths

* added custom assertions for testing zip archives

* updated CI to run tests using new assertion, updated README with Azure CI status, fixed a bug where a path is determined to be relative to the working directory if the working directory is on a different drive than the path

Co-authored-by: t-ayousuf <t-ayousuf@DESKTOP-SU5OBBS>
Co-authored-by: Abdullah Yousuf <t-ayousuf@microsoft.com>

v2.0.1-preview2

Toggle v2.0.1-preview2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Archive module preview 1 PR (#131)

* Add .gitattributes, .gitignore, and README.md.

* Add project files.

* added path helper, archive entry

* updated path helper

* resolved bug where GetEntryName was throwing an ArgumentException

* fixed a bug, started work on zip support

* worked on zip archive support

* added ArchiveFactory class

* imporved zip support

* fixed a bug in tests, added error handling for DestinationPath

* fixed bug in tests where Test-ZipArchive was not working correctly

* added tests for DestinationPath

* added additional tests, added TODOs

* updated tests

* added resx files for messages, refactored code, updated structure, etc.

* refactored PathHelper class

* worked on automatically determining archive format based on DestinationPath's extension

* added support for determining archive format automatically based on DestinationPath's extension

* fixed a bug with archive format warning, added TarArchive file

* renamed Action to WriteMode, fixed bug with compressing directories, added support for tar, added support for overwrite

* fixed bug where the directory structure of directories was not being preserved, fixed bug where error and warning messages were not being shown

* addded exception handling to PathHelper class

* removed files from git, removed tar support for preview release, added psd1 file

* updated build script, updated exception handling in PathHelper

* used FileSystemInfo instead of String to store full path information

* updated checking for the same source path and destination path

* updated build configuration

* updated project version with prelease info, removed tar support after merging branches

* updated CI config, fixed bug with missing error message, fixed tests

* updated CI to build module and run tests across all platforms

* updated CI to run tests, added and reorganized tests, solved a bug where overwriting the working directory could succeed

* used pascal case for ArchiveFormat enum members, refactored some code based on feedback

* fixed formatting for multiple files, updated csproj to generate Messages.Designer.cs and to remove debug symbols in Release config

* fixed missing quotation mark in CI config, updated switch code in ArchiveFactory.TryGetArchiveFormatFromExtension, added another list to keep track of paths from -LiteralPath and -Path seperately

* added assertions to prevent possible null error, added RequiredVersion when installing Pester in tests script, removed default valuesm in parameter attributes, and other minor changes

* added localized messages for Add, Create, and progress bar text, minor formatting changes

* added copyright header, removed usage of DS in tests, minor formatting changes

* updated .gitignore, added explanation for why ArchiveAddition.EntryName is not necessarily equal to FileSystemInfo.Name

* updated Compress-Archive cmdlet to resolve a path one at a time rather than collecting all paths first

* fixed a bug where PathNotFound error was not thrown, fixed a bug when testing invalid paths

* added custom assertions for testing zip archives

* updated CI to run tests using new assertion, updated README with Azure CI status, fixed a bug where a path is determined to be relative to the working directory if the working directory is on a different drive than the path

Co-authored-by: t-ayousuf <t-ayousuf@DESKTOP-SU5OBBS>
Co-authored-by: Abdullah Yousuf <t-ayousuf@microsoft.com>

v2.0.1-preview1

Toggle v2.0.1-preview1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Archive module preview 1 PR (#131)

* Add .gitattributes, .gitignore, and README.md.

* Add project files.

* added path helper, archive entry

* updated path helper

* resolved bug where GetEntryName was throwing an ArgumentException

* fixed a bug, started work on zip support

* worked on zip archive support

* added ArchiveFactory class

* imporved zip support

* fixed a bug in tests, added error handling for DestinationPath

* fixed bug in tests where Test-ZipArchive was not working correctly

* added tests for DestinationPath

* added additional tests, added TODOs

* updated tests

* added resx files for messages, refactored code, updated structure, etc.

* refactored PathHelper class

* worked on automatically determining archive format based on DestinationPath's extension

* added support for determining archive format automatically based on DestinationPath's extension

* fixed a bug with archive format warning, added TarArchive file

* renamed Action to WriteMode, fixed bug with compressing directories, added support for tar, added support for overwrite

* fixed bug where the directory structure of directories was not being preserved, fixed bug where error and warning messages were not being shown

* addded exception handling to PathHelper class

* removed files from git, removed tar support for preview release, added psd1 file

* updated build script, updated exception handling in PathHelper

* used FileSystemInfo instead of String to store full path information

* updated checking for the same source path and destination path

* updated build configuration

* updated project version with prelease info, removed tar support after merging branches

* updated CI config, fixed bug with missing error message, fixed tests

* updated CI to build module and run tests across all platforms

* updated CI to run tests, added and reorganized tests, solved a bug where overwriting the working directory could succeed

* used pascal case for ArchiveFormat enum members, refactored some code based on feedback

* fixed formatting for multiple files, updated csproj to generate Messages.Designer.cs and to remove debug symbols in Release config

* fixed missing quotation mark in CI config, updated switch code in ArchiveFactory.TryGetArchiveFormatFromExtension, added another list to keep track of paths from -LiteralPath and -Path seperately

* added assertions to prevent possible null error, added RequiredVersion when installing Pester in tests script, removed default valuesm in parameter attributes, and other minor changes

* added localized messages for Add, Create, and progress bar text, minor formatting changes

* added copyright header, removed usage of DS in tests, minor formatting changes

* updated .gitignore, added explanation for why ArchiveAddition.EntryName is not necessarily equal to FileSystemInfo.Name

* updated Compress-Archive cmdlet to resolve a path one at a time rather than collecting all paths first

* fixed a bug where PathNotFound error was not thrown, fixed a bug when testing invalid paths

* added custom assertions for testing zip archives

* updated CI to run tests using new assertion, updated README with Azure CI status, fixed a bug where a path is determined to be relative to the working directory if the working directory is on a different drive than the path

Co-authored-by: t-ayousuf <t-ayousuf@DESKTOP-SU5OBBS>
Co-authored-by: Abdullah Yousuf <t-ayousuf@microsoft.com>

v1.1.0.0

Toggle v1.1.0.0's commit message
Merge pull request #31 from anmenaga/MinorFixesFromPSPS

Minor fixes from PS/PS repo

v1.0.0.0

Toggle v1.0.0.0's commit message
Updated appveyor links