Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Add intertrac links to josm trac #3685

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 7 comments
Closed

Add intertrac links to josm trac #3685

openstreetmap-trac opened this issue Jul 23, 2021 · 7 comments

Comments

@openstreetmap-trac
Copy link

Reporter: stoecker
[Submitted to the original trac issue database at 2.02pm, Thursday, 14th April 2011]

Hello, please add intertrac links to josm, so we are able to refer to josm bug reports in SVN checkins.

In trac.ini add something like:

[intertrac]
j = josm
josm.title = JOSM Trac
josm.url = http://josm.openstreetmap.de

P.S. Calling "trac-admin" and then "wiki upgrade" seems to be recommended to update the Trac wiki pages, so the users are possible to see these links in formating description.

Also I suggest to switch to Trac 0.12 :-) It has a lot of advantages.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 2.52pm, Thursday, 14th April 2011]

I would love to switch to trac 0.12 but it's not available in the current Ubuntu LTS release

@openstreetmap-trac
Copy link
Author

Author: stoecker
[Added to the original trac issue at 2.59pm, Thursday, 14th April 2011]

I installed the "normal" ubuntu trac and then used easy_install for the python stuff:

easy_install

  • Babel
  • Genshi
  • trac

In this order or language stuff wont work.

@openstreetmap-trac
Copy link
Author

Author: stoecker
[Added to the original trac issue at 3.00pm, Thursday, 14th April 2011]

Sorry, the lines got mangled. You need to call easy_install for each individually.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 3.06pm, Thursday, 14th April 2011]

We don't use unpackaged software unless there's a very good reason - it would be nice is certainly not enough... It's just so much easier if there is one system able to tell you everything that is installed.

Plus if we installed it outside apt like that then all hell would probably break loose when we upgraded to a version of Ubuntut that does have out.

@openstreetmap-trac
Copy link
Author

Author: stoecker
[Added to the original trac issue at 7.14pm, Saturday, 16th April 2011]

Well, easy_install is really easy. It simply creates 1 directory per package in /usr/local/lib/python2.6/dist-packages/. Easy to cleanup in case you update to a .deb package later - simply delete directory.

But all this does not really relate to the target of this ticket. Both (the intertrac link as well as cleanup of the docs) don't depend on version of trac.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 8.35pm, Saturday, 16th April 2011]

I've added intertrac links under josm (not j though - that seems a little overly terse for my liking).

The wiki upgrade thing doesn't work though - it seems to look for a "wiki" directory but looks in the wrong place (under the current working directory for some reason). I suspect the one that it really wants is /usr/share/pyshared/trac/wiki or something, but that comes from the apt package and won't be writable by the trac user (and shouldn't be altered anyway).

@openstreetmap-trac
Copy link
Author

Author: stoecker
[Added to the original trac issue at 8.59pm, Sunday, 17th April 2011]

Whether /usr/share/pyshared/trac/wiki is writable by trac or not is not important, as it only needs to be read. The "trac-admin" command needs be called with the trac directory of osm (the one, where the db directory is inside).

The "wiki upgrade" then copies the current trac wiki help pages into the database, so that e.g. [wiki:WikiFormatting] corresponds to the really installed version. If this does not work, the deb package is broken.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant