trac-hacks / tracdocs Goto Github PK
View Code? Open in Web Editor NEWSubversion-backed wiki plugin for Trac.
Home Page: http://trac-hacks.org/wiki/TracDocsPlugin
License: Other
Subversion-backed wiki plugin for Trac.
Home Page: http://trac-hacks.org/wiki/TracDocsPlugin
License: Other
Collision detection incorrectly uses subversion last-revision-id instead of the page's last-revision-id.
Hi,
I'm an administrator for trac-hacks.org. We've created an organization on GitHub and are inviting authors of trac-hacks plugins to join the organization. Your repository could be transferred into the organization as described in the GitHub docs. You'd retain full control over the repository, but the hope is that it will be easier for users on GitHub to fine trac-hacks plugins, including yours, by viewing the trac-hacks organization.
In the future, if you choose to no longer maintain the plugin, the organization would be able to provide commit access to new developers. This would only be done with your permission, as has been the policy for plugins hosted on trac-hacks.org. If you've already decided to no longer maintain the plugin, we would particularly appreciate you transferring the plugin to the trac-hacks organization so that we can help find new maintainers for it.
Finally, creating the trac-hacks organization is a work in progress. I appreciate if you have any suggestions on how to best support the community of trac plugin developers on GitHub. I'll be writing a blog post soon with more information and will follow-up here with a link to that post.
Kind regards,
Editing through the web page sometimes creates an incorrect subversion diff, showing the entire page as having changed when only a small part actually did.
This might have to do with line endings and DOS versus Unix convention?
at tracdocs/web_ui.py:
repos = self.env.get_repository(req.authname)
requires that repository named login_name exists. No check is made if there is any, so Trac bails out with an error.
You can remove this requirement with
--- tracdocs.git/tracdocs/web_ui.py (revision 21)
+++ tracdocs.git/tracdocs/web_ui.py (working copy)
@@ -34,7 +34,7 @@
return
root = self.config.get('docs', 'root', '')
- repos = self.env.get_repository(req.authname)
+ repos = self.env.get_repository()
node = repos.get_node(root, None)
if not isinstance(query, list):
@@ -136,7 +136,8 @@
data = {}
data['title'] = title
- repos = self.env.get_repository(authname=req.authname)
+ authname = req.authname
+ repos = self.env.get_repository()
node = repos.get_node(path, None)
if node.isdir:
or you can document this behaviour
Syntax highlighting "guesses" the correct language to highlight and thus occassionally highlights a little strangely in literal-blocks. (Mostly only applies to blocks that contain numbers).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.