-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
bug: Large chunks of code missing with remove comments on #55
Comments
Thank you for reporting this! I'll check it out as soon as I get home. |
@KrunchMuffin Thank you for reporting this issue. To help us investigate and resolve the problem, it would be very helpful if you could share the Python file you mentioned. If you don't mind, could you please send the file to me at koukun0120@gmail.com? Thank you again for your help in improving Repopack. |
It appears that f-strings are being inadvertently removed. I'll work on a fix for this issue. |
I've simplified our approach:
This should fix the issue with f-strings. Let us know if you see any other problems. |
This issue has been addressed in v0.1.30. You can find the release notes and update information here: Thank you for your report and patience! |
I did a PR for docstrings. Can you check it out?
…On Aug 24, 2024, 1:23 PM -0400, Kazuki Yamada ***@***.***>, wrote:
This issue has been addressed in v0.1.30. You can find the release notes and update information here:
https://github.com/yamadashy/repopack/releases/tag/v0.1.30
Thank you for your report and patience!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Certainly! I'll check out your PR for docstrings. Thank you for your contribution. |
With the current regex, there seems to be a similar issue in Python where the comment removal algorithm removes part of a string if it has a Example (generated with v0.1.31): I'm currently trying to fix this and the docstring issue in thecurz/repopack@56f88a3 and I also added extra tests in thecurz/repopack@4abd583. It might be better to use a native tool like the I'd appreciate your thoughts on whether I should:
Thanks! |
@thecurz I agree with your assessment about the tokenizer. For now, let's proceed without adding a Python script or implementing a complex tokenizer. Your current approach in TypeScript seems like the best balance between solving the issue and maintaining the project's simplicity. I haven't thoroughly reviewed your changes yet, but I wanted to acknowledge your contribution. Thank you again for your contribution to improving Repopack! |
@yamadashy I just wanted to hear your opinion before proceeding with this solution. Once I get all tests passing I'll get back to you on a PR. Cheers! |
@thecurz Where you able to get it working well? |
@KrunchMuffin I'm sorry for the massive delay, I just submitted a pull request solving this. |
Thank you, @thecurz and @KrunchMuffin, for your contributions to this issue! I have just merged the pull request And released version 0.1.37, which addresses the problem. Thank you again for your effort and contribution! I truly appreciate you taking the time to help with this project. |
Since there have been no new reports after the release of v0.1.37 and the feature appears to be working properly, I'll close this issue. Thank you for reporting and helping resolve this issue! If you encounter similar issues in the future, please feel free to open a new issue. |
this was happening before update to 0.1.27.
I don't really want to post the code here, so if you want to message me or something, then I can send you the files.
The text was updated successfully, but these errors were encountered: