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

Fix windows builds #30

Merged
merged 5 commits into from
Nov 23, 2019
Merged

Fix windows builds #30

merged 5 commits into from
Nov 23, 2019

Conversation

Prince213
Copy link
Contributor

This should solve #29 and have no side-effects on non-Windows OSes.

Copy link
Collaborator

@JJ JJ left a comment

Choose a reason for hiding this comment

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

I don't see anything wrong, but Travis seems to. Can you please check anyway?

lib/Linenoise.pm6.in Outdated Show resolved Hide resolved
Copy link
Collaborator

@JJ JJ left a comment

Choose a reason for hiding this comment

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

OK, I found it :-) Can you please check that?

@JJ
Copy link
Collaborator

JJ commented Nov 22, 2019

It's still erroring in Travis, which is a non-windows build: https://travis-ci.org/hoelzro/p6-linenoise/builds/615296812?utm_source=github_status&utm_medium=notification

@JJ
Copy link
Collaborator

JJ commented Nov 22, 2019

Same problem, I'm afraid... I'm not sure it's your patch's fault, though. It might be related to #29. Did you test it in Windows?

@Prince213
Copy link
Contributor Author

Yes, It installs on Windows without error.

@JJ
Copy link
Collaborator

JJ commented Nov 22, 2019 via email

@Prince213
Copy link
Contributor Author

It should work now. I have tested on my Manjaro machine with a fresh build of rakudo version 2019.07.1 and no error occured.

@Prince213
Copy link
Contributor Author

@JJ Done.

@Prince213 Prince213 requested a review from JJ November 23, 2019 08:04
@JJ JJ merged commit 76f4b2d into raku-community-modules:master Nov 23, 2019
@ugexe
Copy link
Member

ugexe commented Nov 23, 2019

This PR is wrong and should have not been merged. Also just because it “installs on windows” does not mean it works on windows.

@JJ
Copy link
Collaborator

JJ commented Nov 23, 2019 via email

@ugexe
Copy link
Member

ugexe commented Nov 23, 2019

If you want help then don’t merge code you do not understand or hasn’t been reviewed by someone who does. Just merging whatever feels good doesn’t actually help and actually makes it harder to find the root cause. I’d get reprimanded for that at a job. I mean you merged code that does

my constant foo = do { my constant foo = ... }

so obviously it was not reviewed at all beyond looking at what Travis says. Speaking of, have you checked to see what the actual tests getting run are to see if that is even a valid benchmark for judging the merit of this code? Because loading the module is not a real test and shouldn’t be considered all that’s needed for a go/no-go. Did anyone actually use this on windows and verified it worked?

@JJ
Copy link
Collaborator

JJ commented Nov 23, 2019 via email

@ugexe
Copy link
Member

ugexe commented Nov 23, 2019

I didn’t merge or leave a review — it doesn’t apply to me. When you do nonsense like this (it’s not the first time) it discourages me from doing anything — I have no desire to be associated with that type of sloppy dev behavior. Fucking things up more is NOT a way to garner my help.

@JJ
Copy link
Collaborator

JJ commented Nov 23, 2019 via email

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.

3 participants