-
Notifications
You must be signed in to change notification settings - Fork 22
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
Better patch for #13, #14, #15 #24
Conversation
…ta migration. Fixes trac-hacks#13
How can I copy this into my trac server to test -- am keen to use the code-commenting but need to have #14 fixed before we can use it in our team (multiple repositories!) Thanks! -Craig (We're an SVN shop here - not had much git exposure, so be gentle :) ) |
@Orio91 thanks for the updated pull request, I will look into the code. @crayfishuk you can download @Orio91's version of the plugin from here: https://github.com/Orio91/trac-code-comments-plugin/zipball/master_clean |
Can't assist with patches. However - upgrade from code_comments db v1 - v3 is broken. Fails with 'No such column: repository'. Suspect that the upgrade from 1->2 needs to not require 'repository' column in schema. Fixed by:-
All appears to be ok - will report if I have any problems during use. Thanks for quick response on this!!! Fab :) |
pass | ||
columns = [c.name for c in schema['code_comments'].columns] | ||
cursor = db.cursor() | ||
values = cursor.execute('PRAGMA INDEX_LIST(`code_comments`)') |
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.
This is not for mysql, could you please provide a solution for mysql?
Thanks
Thanks, @rjollos, you’re right that the plugin is not maintained and thanks for forking the plugin. Let us know if there is a better way to send users your way. |
@nb Would you be willing to transfer the repository to the trac-hacks GitHub org? That way we would get all the open issues and the URL would redirect to the new location. If yes, just let me know and I'll setup so the repository can be transferred. |
@rjollos, sure, transferring sounds good – let’s do it, let me know when you’re done with the setup and I will transfer it. |
Thanks! You should receive an invite to join the trac-hacks organization. Accepting will allow you to execute these steps and transfer the repository. |
@rjollos, unfortunately the transfer cannot be initiated, because of the https://github.com/trac-hacks/trac-code-comments-plugin-2 fork. From the docs:
Maybe you can delete the repo on GitHub, but save the comments locally and replay them on the new remote later when we transfer it? |
Done. Thanks for sorting that out. |
Thanks for the patience and for saving the project, @rjollos 🎉💯 |
This one should be cleaner than #22 :)