Re: [Apache Bloodhound] #85: Rename default wiki page folder to Guide/ and drop Trac* from page names
#85: Rename default wiki page folder to Guide/ and drop Trac* from page names +--- Reporter: jdreimann | Owner: gjm Type: defect | Status: closed Priority: major | Milestone: Release 5 Component: dashboard |Version: Resolution: fixed | Keywords: +--- Changes (by gjm): * status: review = closed * resolution: = fixed Comment: At this point we appear to have the Guide/* pages and legacy Trac* pages - if we need to remove these, it can be done in a different ticket. -- Ticket URL: https://issues.apache.org/bloodhound/ticket/85#comment:12 Apache Bloodhound https://issues.apache.org/bloodhound/ The Apache Bloodhound (incubating) issue tracker
Re: [Apache Bloodhound] #85: Rename default wiki page folder to Guide/ and drop Trac* from page names
#85: Rename default wiki page folder to Guide/ and drop Trac* from page names +--- Reporter: jdreimann | Owner: gjm Type: defect | Status: review Priority: major | Milestone: Release 4 Component: dashboard |Version: Resolution: | Keywords: +--- Comment (by peter): Replying to [comment:9 rjollos]: I haven't been tracking this work, but I'm seeing a traceback after r1360279: {{{ Traceback (most recent call last): File /home/user/Workspace/bloodhound/trac/trac/loader.py, line 68, in _load_eggs entry.load(require=True) File /home/user/Workspace/bloodhound/installer/bloodhound/local/lib/python2.7 /site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py, line 1989, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File /home/user/Workspace/bloodhound/bloodhound_dashboard/bhdashboard/macros.py, line 28, in module from bhdashboard.admin import GUIDE_NAME ImportError: cannot import name GUIDE_NAME }}} The GUIDE_NAME was moved from admin.py to wiki.py. I have fixed the import in r1422769 -- Ticket URL: https://issues.apache.org/bloodhound/ticket/85#comment:10 Apache Bloodhound https://issues.apache.org/bloodhound/ The Apache Bloodhound (incubating) issue tracker
Re: [Apache Bloodhound] #85: Rename default wiki page folder to Guide/ and drop Trac* from page names
#85: Rename default wiki page folder to Guide/ and drop Trac* from page names +--- Reporter: jdreimann | Owner: gjm Type: defect | Status: review Priority: major | Milestone: Release 4 Component: dashboard |Version: Resolution: | Keywords: +--- Comment (by rjollos): I haven't been tracking this work, but I'm seeing a traceback after r1360279: {{{ Traceback (most recent call last): File /home/user/Workspace/bloodhound/trac/trac/loader.py, line 68, in _load_eggs entry.load(require=True) File /home/user/Workspace/bloodhound/installer/bloodhound/local/lib/python2.7 /site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py, line 1989, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File /home/user/Workspace/bloodhound/bloodhound_dashboard/bhdashboard/macros.py, line 28, in module from bhdashboard.admin import GUIDE_NAME ImportError: cannot import name GUIDE_NAME }}} -- Ticket URL: https://issues.apache.org/bloodhound/ticket/85#comment:9 Apache Bloodhound https://issues.apache.org/bloodhound/ The Apache Bloodhound (incubating) issue tracker
Re: [Apache Bloodhound] #85: Rename default wiki page folder to Guide/ and drop Trac* from page names
#85: Rename default wiki page folder to Guide/ and drop Trac* from page names +--- Reporter: jdreimann | Owner: gjm Type: defect | Status: review Priority: major | Milestone: Release 3 Component: dashboard |Version: Resolution: | Keywords: +--- Changes (by olemis): * status: accepted = review * owner: olemis = gjm -- Ticket URL: https://issues.apache.org/bloodhound/ticket/85#comment:8 Apache Bloodhound https://issues.apache.org/bloodhound/ The Apache Bloodhound (incubating) issue tracker
Re: [Apache Bloodhound] #85: Rename default wiki page folder to Guide/ and drop Trac* from page names
#85: Rename default wiki page folder to Guide/ and drop Trac* from page names +- Reporter: jdreimann | Owner: olemis Type: defect | Status: accepted Priority: major | Milestone: RC1 for initial release Component: dashboard |Version: Resolution: | Keywords: +- Comment (by jdreimann): @gjm, will this script update the links in #32 too? -- Ticket URL: https://issues.apache.org/bloodhound/ticket/85#comment:6 Apache Bloodhound https://issues.apache.org/bloodhound/ The Apache Bloodhound (incubating) issue tracker
Re: [Apache Bloodhound] #85: Rename default wiki page folder to Guide/ and drop Trac* from page names
#85: Rename default wiki page folder to Guide/ and drop Trac* from page names +- Reporter: jdreimann | Owner: olemis Type: defect | Status: accepted Priority: major | Milestone: RC1 for initial release Component: dashboard |Version: Resolution: | Keywords: +- Comment (by gjm): Yes, this should not be a problem. Your suggestion for #32 was framed with the correct links at the time of writing. -- Ticket URL: https://issues.apache.org/bloodhound/ticket/85#comment:7 Apache Bloodhound https://issues.apache.org/bloodhound/ The Apache Bloodhound (incubating) issue tracker
Re: [Apache Bloodhound] #85: Rename default wiki page folder to Guide/ and drop Trac* from page names
#85: Rename default wiki page folder to Guide/ and drop Trac* from page names +- Reporter: jdreimann | Owner: olemis Type: defect | Status: accepted Priority: major | Milestone: RC1 for initial release Component: dashboard |Version: Resolution: | Keywords: +- Comment (by gjm): r1360726 adds a modified version of the patch from Olemis to add an option to the initenv command to stop the initial wiki pages being put into the database I changed it to a --nowiki option so that we don't need to worry about number of arguments logic too much. In each of the examples in comment:3, instead of adding 'no' to the command, you would add --nowiki where you want to inhibit the behaviour. -- Ticket URL: https://issues.apache.org/bloodhound/ticket/85#comment:5 Apache Bloodhound https://issues.apache.org/bloodhound/ The Apache Bloodhound (incubating) issue tracker
Re: [Apache Bloodhound] #85: Rename default wiki page folder to Guide/ and drop Trac* from page names
#85: Rename default wiki page folder to Guide/ and drop Trac* from page names +- Reporter: jdreimann | Owner: olemis Type: defect | Status: accepted Priority: major | Milestone: RC1 for initial release Component: dashboard |Version: Resolution: | Keywords: +- Comment (by olemis): Previous patch adds an extra argument to initenv admin command . If set to something different to ''yes'' then default wiki pages are not loaded at environment creation and initialization time . Supported scenarios explained below 1. `trac-admin /path/to/env initenv Project name db_cnx vcs repos_path no` will create a new env as usual and will not add default wiki pages . If ''yes'' is set rather than ''no'' then wiki pages will be added anyway. 2. `trac-admin /path/to/env initenv Project name db_cnx vcs repos_path` will create a new env as usual and will add default wiki pages . 3. `trac-admin /path/to/env initenv Project name db_cnx no` will create a new env as usual (i.e. no repository) and will not add default wiki pages . If ''yes'' is set rather than ''no'' then wiki pages will be added anyway. 4. `trac-admin /path/to/env initenv Project name db_cnx` will create a new env as usual (i.e. no repository) and will add default wiki pages . 5. `trac-admin /path/to/env initenv` will ask the user some questions in interactive mode in order to create a new env as usual. The difference will be that user will be able decide whether wiki pages will be added or not . -- Ticket URL: https://issues.apache.org/bloodhound/ticket/85#comment:3 Apache Bloodhound https://issues.apache.org/bloodhound/ The Apache Bloodhound (incubating) issue tracker
Re: [Apache Bloodhound] #85: Rename default wiki page folder to Guide/ and drop Trac* from page names
#85: Rename default wiki page folder to Guide/ and drop Trac* from page names +- Reporter: jdreimann | Owner: olemis Type: defect | Status: accepted Priority: major | Milestone: RC1 for initial release Component: dashboard |Version: Resolution: | Keywords: +- Comment (by gjm): r1355067 applies something similar with corrections and the ability to ignore or choose different names for pages This is a very good start I think. I'll have a think about how much further we should take this. Thanks Olemis! -- Ticket URL: https://issues.apache.org/bloodhound/ticket/85#comment:2 Apache Bloodhound https://issues.apache.org/bloodhound/ The Apache Bloodhound (incubating) issue tracker
Re: [Apache Bloodhound] #85: Rename default wiki page folder to Guide/ and drop Trac* from page names
#85: Rename default wiki page folder to Guide/ and drop Trac* from page names +- Reporter: jdreimann | Owner: olemis Type: defect | Status: accepted Priority: major | Milestone: RC1 for initial release Component: dashboard |Version: Resolution: | Keywords: +- Changes (by olemis): * owner: nobody = olemis * status: new = accepted Comment: [attachment:t85_r1352517_bh_wiki_guide.diff Attached patch] implements an admin command able to perform requested changes . Command line invocation should look like shown below {{{ #!sh $ trac-admin /path/to/env wiki bh-upgrade }}} Please apply it against r1352517 and try it . -- Ticket URL: https://issues.apache.org/bloodhound/ticket/85#comment:1 Apache Bloodhound https://issues.apache.org/bloodhound/ The Apache Bloodhound (incubating) issue tracker