Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Consider using chocolatey's checksum.exe instead of Get-FileHash in order to reduce version of Posh dependency #17

Closed
majkinetor opened this issue Aug 27, 2016 · 4 comments

Comments

@majkinetor
Copy link
Owner

AU currently uses Get-FileHash to calculate/verify checksums. Consider using checksum.exe in order to reuduce the dependency to Posh from v4+ to v3.

@ComFreek
Copy link
Contributor

What about using Get-Hash from PSCX: http://pscx.codeplex.com/SourceControl/latest#Trunk/Src/Pscx/Commands/IO/GetHashCommand.cs

I don't know whether the license could be an issue, though: http://pscx.codeplex.com/license

@majkinetor
Copy link
Owner Author

@ComFreek Chocoloatey's checksum.exe is already at place. Using PSCX requires me to manage this and compile it etc..

@majkinetor
Copy link
Owner Author

I am probably abandoning this because I am planning to use Powershell 5 in the future to refactor AU to use Posh5 classes which makes the code way more readable and generally easier to maintain.

@majkinetor majkinetor changed the title Consider using chocolatey's checksum.exe instead of Get-FileHash in order to reduce version of Posh dependency Consider using chocolatey's checksum.exe instead of Get-FileHash in order to reduce version of Posh dependency Oct 22, 2016
@majkinetor
Copy link
Owner Author

AU version is rised to 5 so this is something that now can't be done. Abandoning.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants