Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(TotalCommander) v10 is not published #1708

Closed
CWempe opened this issue Sep 2, 2021 · 9 comments
Closed

(TotalCommander) v10 is not published #1708

CWempe opened this issue Sep 2, 2021 · 9 comments
Assignees
Labels
Bug Outdated Package doesn't provide the latest software version Pending closure

Comments

@CWempe
Copy link

CWempe commented Sep 2, 2021

A few month ago v10 of Total Commander was officially released.
https://www.ghisler.com/whatsnew.htm

According to this commit, somebody tried(?) to update the chocolatey package.
But somehow the package is still at v9.51.

Can anybody fix this?
There has been no response to the Disqus comments.

Thanks.

@majkinetor majkinetor added Bug Outdated Package doesn't provide the latest software version labels Sep 3, 2021
@majkinetor
Copy link
Contributor

majkinetor commented Sep 3, 2021

https://community.chocolatey.org/packages/totalcommander/10.0

Failed verifcation:

https://gist.github.com/choco-bot/0fce3f8f2b217175ed63c94611b16cfa#file-install-txt-L1000

Looks like the problem is env var expansion: %TotalcmdDefaultDir%\totalcmd64.exe and core extension should handle it, fixing core extension should fix the package.

@majkinetor majkinetor changed the title (TotalCommander) v10 is not active (TotalCommander) v10 is not published Sep 3, 2021
@majkinetor
Copy link
Contributor

TC10 changed the installer and that is the reason it fails:

@majkinetor majkinetor self-assigned this Sep 3, 2021
@majkinetor majkinetor removed their assignment Sep 3, 2021
@majkinetor majkinetor self-assigned this Sep 3, 2021
majkinetor added a commit that referenced this issue Sep 3, 2021
@majkinetor
Copy link
Contributor

majkinetor commented Sep 4, 2021

I fixed it using new installer features, but it failed validation because of the method used (env vars):

The reason for this kind of code is that there is a bug in choco:

In "$silentArgs $additionalInstallArgs" space is added to silent args which makes TC installation fail to set up folder so I had to use this as a workaround:

https://github.com/chocolatey-community/chocolatey-coreteampackages/blob/0a7332f2ad972850d197d5f7b706eb904c45b314/automatic/totalcommander/tools/chocolateyInstall.ps1#L8-L9

I can obfuscate this line to not trigger the validator but its better to fix a bug (/cc @gep13 @ferventcoder ) or at least tool excluded from validation. I am quite surprised that nobody else detected it, but tools don't usually consider command line whitespace as relevant.

I created issue here: chocolatey/choco#2345

@TheCakeIsNaOH
Copy link
Member

Version 10.0.0.20210903 has been approved.

@majkinetor
Copy link
Contributor

Thx @TheCakeIsNaOH. Looks like we might have the same problem on next version ?

@TheCakeIsNaOH
Copy link
Member

Yup, every individual version would have to be exempted until either this issue is fixed (and released) or until another workaround that does not trigger the validator is found.

@gep13
Copy link
Member

gep13 commented Oct 7, 2021

@majkinetor apologies, I had it on my list to come back to you on this one, but looks like it fell off my radar 😢

It currently isn't possible to provide a permanent exemption from package-validator (this is only possible with package-verifier) but this is by-design, and there aren't any plans to change that.

While we wait until the bug is addressed in Chocolatey (which should hopefully be included in the next release) which would prevent the need for the current workaround, @TheCakeIsNaOH has suggested that we get you added as a maintainer on the TotalCommander package. That way, if/when you notice that it has failed package-validator, you can request an exemption from one of the moderators.

I am going to go ahead and add you as a maintainer on the package, but if this is not something that you want, let us know, and we can cancel the request to get you added.

@github-actions
Copy link

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue will be closed in 14 days if it continues to be inactive.

@AdmiringWorm
Copy link
Member

I am looking over a few old issues, and noticed this issue do not seem to be relevant anymore.

As the 10.x version of totalcommander is available on the Chocolatey Community Repository, I'll close this issue now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Outdated Package doesn't provide the latest software version Pending closure
Projects
None yet
Development

No branches or pull requests

5 participants