Skip to content

Add v1 code back#139

Closed
ayousuf23 wants to merge 47 commits intoPowerShell:masterfrom
ayousuf23:preview1-pr
Closed

Add v1 code back#139
ayousuf23 wants to merge 47 commits intoPowerShell:masterfrom
ayousuf23:preview1-pr

Conversation

@ayousuf23
Copy link
Contributor

@ayousuf23 ayousuf23 commented Aug 11, 2022

PR Summary

This PR adds back the v1 code, tests, build scripts, and yaml files to the Archive_v1 folder. It updates the required PowerShell version for the v2.0.1 module to PowerShell v7.3.0

PR Context

See above.

t-ayousuf and others added 30 commits July 12, 2022 11:02
…added support for tar, added support for overwrite
…preserved, fixed bug where error and warning messages were not being shown
ayousuf23 added 12 commits July 28, 2022 17:31
…ges.Designer.cs and to remove debug symbols in Release config
…hiveFactory.TryGetArchiveFormatFromExtension, added another list to keep track of paths from -LiteralPath and -Path seperately
…n when installing Pester in tests script, removed default valuesm in parameter attributes, and other minor changes
…me is not necessarily equal to FileSystemInfo.Name
…e 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
@ayousuf23 ayousuf23 changed the title Preview1 pr Add v1 code back Aug 11, 2022
@ayousuf23
Copy link
Contributor Author

/azp run PowerShell.Microsoft.PowerShell.Archive

@azure-pipelines
Copy link

Pull request contains merge conflicts.

@daxian-dbw
Copy link
Member

@ayousuf23 Thanks for getting to this promptly!
Can you please add the build scripts and ymal files related to v1 to the Archive_v1 folder as well?

@ayousuf23
Copy link
Contributor Author

@daxian-dbw Sure, I'll add those as well

@ayousuf23
Copy link
Contributor Author

@daxian-dbw I added the build scripts and yaml files. I'm waiting for the tests to run and then it can be merged.

Copy link
Member

@daxian-dbw daxian-dbw left a comment

Choose a reason for hiding this comment

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

LGTM

@ayousuf23
Copy link
Contributor Author

@daxian-dbw The tests passed. You can merge it now

@ayousuf23
Copy link
Contributor Author

I don't have permission to merge.

@daxian-dbw
Copy link
Member

I don't have permission to merge.

Me neither 😄. @SteveL-MSFT can you please merge?

@iSazonov
Copy link

Why not preserve a clean history and create new repository PowerShell/Microsoft.PowerShell.Archive.V2?

@SeeminglyScience
Copy link
Collaborator

Talked this over with everyone and we're gonna go with creating a branch off the old code in case it's needed for servicing.

@SeeminglyScience
Copy link
Collaborator

SeeminglyScience commented Aug 12, 2022

FYI servicing

Copyright = '(c) Microsoft. All rights reserved.'
Description = 'PowerShell module for creating and expanding archives.'
PowerShellVersion = '7.2.5'
PowerShellVersion = '7.3.0'
Copy link
Member

Choose a reason for hiding this comment

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

@ayousuf23 Please open a new PR for this version change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants