-
Notifications
You must be signed in to change notification settings - Fork 701
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
When generating Paths
modules, define functions when used
#8220
Conversation
The module you edited is generated, you should edit the source instead. Also please restore the pull request template and address the items |
I saw this mistake when reading the log of the continuous integration, should be fixed now. I also added the pull request template. |
8b39c26
to
a85093c
Compare
I edited the commit message to respect the coding conventions. |
It fixes a bug, so it should have a changelog entry
you could add a test in |
a85093c
to
82ba87f
Compare
I added a changelog file. For the test, my question was more "Do you know what could be a relevant test for this modification?" rather "Where should I add my test?". |
05a7c45
to
f843f7e
Compare
After further exploration, it happens that this bug happens whenever one tries to generate a Paths_ module with the option |
There is some obvious keyword to skip a test on Windows that apparently doesn't support relocatable gizmos. Feel free to use that. |
bf74351
to
c1a98f3
Compare
Is there anything expected from me for this pull request to move forward? |
Unless I'm mistaken, a test was failing previously? If you don't mind I'd rebase and see how it goes now. |
c1a98f3
to
08127b6
Compare
Yes, a test was failing the last time you commented it. I followed your advice and used |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Congrats, it seems to test fine now. Great job, We need a second review to merge.
I guess, @jneira has had a lot of stuff on his plate lately, and haven't got to this yet. And I'm afraid I'm completely out of my depth here, so I don't feel confident approving (I'd love to!). I have a question, though: is this related to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the ping, i totally missed this notification, sorry for the dealy.
The pr code looks good and includes the correlated changelog and tests so lgtm, many thanks for fixing the bug.
I would merge it as is as the pr had to wait more than needed.
It seems the author hit the issue trying some code and the connection with |
@mergify rebase |
❌ Pull request can't be updated with latest base branch changesMergify needs the author permission to update the base branch of the pull request. |
@GuillaumeGen, @tweag (?), could you kindly rebase and/or permit maintainers to update this branch? Thank you! |
@mergify refresh |
✅ Pull request refreshed |
Oh, yes, now I see mergify couldn't merge it due to the missing permissions. |
The functions `splitFileNAme` and `minusFileName` are now defined in the same conditional block, ensuring that they cannot be used without being defined. This fix a bug occurring when generating a Paths_ module with --enable-relocatable.
08127b6
to
6c79621
Compare
Thanks a lot for making this go forward! |
@mergify refresh |
✅ Pull request refreshed |
I think it's not enough to enable mergify to take care of the PR, but enough for me to now merge manually. Thank you again for the PR! |
Thanks a lot! |
This addresses #8219
Please include the following checklist in your PR:
Please also shortly describe how you tested your change. Bonus points for added tests!