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

mvnd 0.9.0 "destroys" the console #884

Open
OLibutzki opened this issue Sep 15, 2023 · 8 comments
Open

mvnd 0.9.0 "destroys" the console #884

OLibutzki opened this issue Sep 15, 2023 · 8 comments

Comments

@OLibutzki
Copy link

OLibutzki commented Sep 15, 2023

After running any mvnd command with 0.9.0 arrow-up doesn't work anymore to get the history commands. Instead of the previous command, ^[[A is printed.

The problem does not exist in the latest 1.0.0 milestone and in 0.8.2.

OS: Windows 10 & 11

@GitPopcorn
Copy link

GitPopcorn commented Sep 16, 2023

I got the same issue, and in fact this problem was solved after 1.0-m6-39/40, seems it only affect in the version range 0.9.0 to 1.0.0-m4.

Maybe you can solve this by update your mvnd.

If for a short time usage to mvnd 0.9.0 or 1.0.0-m4, you can manually run Ctrl + C to clear the wrong print like '^[[A', and then run CMD or bash or sh to restore the command line after this issue happended.

@OLibutzki
Copy link
Author

OLibutzki commented Sep 18, 2023

Yes, I can use 1.0.0. Usally I use Chocolatey to install mvnd. Is it possible to install 1.0.0 milestones with choco, too?

@GitPopcorn
Copy link

GitPopcorn commented Sep 18, 2023

Yes, I can use 1.0.0. Usally I use Chocolatey to install mvnd. Is it possible to install 1.0.0 milestones with choco, too?

Em... I tried it but could only install mvnd up to 0.9.0 with Chocolatey...
Maybe the team just publish release version to Chocolatey repository, not the milestone versions.
That does bother.
I think downgrading to 0.8.2 is the best solution in this situation. In fact, I did use 0.8.2 before upgrading to 1.0-m6 for a long time.

@gnodet
Copy link
Contributor

gnodet commented Oct 18, 2023

@OLibutzki @GitPopcorn The release process has changed a bit with recent releases. If someone can provide a script that would automatically publish the release to chocolatey somehow, it could be integrated in https://github.com/apache/maven-mvnd/blob/master/build/release-publish.sh

@OLibutzki
Copy link
Author

OLibutzki commented Oct 30, 2023

Afaik, @johanjanssen provided the choco packages so far. Maybe he can help?

The scripts are located here: https://github.com/johanjanssen/ChocolateyPackages/tree/master/mvndaemon

Maybe @aalmiray (JReleaser) can help, too...

@johanjanssen
Copy link

I think Chocolatey doesn't support beta/milestone version information in their tags. So to solve this I think I would need to create a new Chocolatey package with a different id, something like mvnd-beta. Or are there other ways?

Next to that I already indicated that I want to stop maintaining the Chocolatey package, as I don't use them myself anymore. So if someone wants to take over, let me know. I'm happy to maintain it until the end of the year, but after that I won't do it anymore.

@OLibutzki
Copy link
Author

In my opinion the best option is to include the choco publication in the mvnd release process - similar to homebrew and sdkman.

@aalmiray
Copy link
Contributor

JReleaser can certainly help. As @johanjanssen mentioned the use of tags is tricky. I know for a fact that M and RC are treated specially, don't know about BETA and ALPHA.

Moreover, as Johan has states he'll no longer support the choco package someone else must take on the task.

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

No branches or pull requests

5 participants