Moving from trac to a single redmine

Craig Comstock craig_comstock at yahoo.com
Sun Sep 25 13:22:27 UTC 2016


I am working on fernvale-nuttx-bb (fernvale-nuttx + gnutoo's nuttx-bb) and wanted to check the osmocom bb on nuttx-bb. It seems all the links are broken in the redmine version of things and the trac URLs redirect to redmine so the content is "gone"?
Can you help me resurrect pages like http://osmocom.org/projects/baseband/wiki/Nuttx-bbcompile?parent=Nuttx-bb
Thanks,Craig


      From: Sylvain Munaut <246tnt at gmail.com>
 To: Holger Freyther <holger at freyther.de> 
Cc: "osmocom-sdr at lists.osmocom.org" <osmocom-sdr at lists.osmocom.org>; baseband-devel <baseband-devel at lists.osmocom.org>; OpenBSC Mailing List <openbsc at lists.osmocom.org>; gmr at lists.osmocom.org
 Sent: Saturday, September 24, 2016 9:01 AM
 Subject: Re: Moving from trac to a single redmine
   
Hi,


> * not modify trac sites but use redirect of nginx

I've just put this in place for 'openbsc.osmocom.org' :

rewrite ^/trac/wiki/(.*)/(.*)$
$scheme://osmocom.org/projects/openbsc/wiki/$1$2 redirect;
rewrite ^/trac/wiki(.*)$ $scheme://osmocom.org/projects/openbsc/wiki$1 redirect;

This seems to work fairly well. I'm sure there are some exceptions to
those regexps, but I couldn't find any immediately. If we uncover them
we can try to tweak them or just handle them manually.

I've set them to temporary (302) redirects for now. Once we're a
little more confident that this works well, this can be changed to
301s and extended to all the other old domains.

If you find any case where those fails, please report.


Cheers,

    Sylvain


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gmr/attachments/20160925/f00d42be/attachment.html>


More information about the gmr mailing list