django / code.djangoproject.com

Configuration for Django's Trac instance (code.djangoproject.com)
BSD 3-Clause "New" or "Revised" License
47 stars 40 forks source link

Removed /xmlrpc endpoint #198

Closed bmispelon closed 2 months ago

bmispelon commented 3 months ago

This endpoint doesn't seem to be used in practice (3 hits in the access logs in the past ~2 months). It also introduces a maintenance burden, and the instructions it gives don't actually work.

claudep commented 3 months ago

I would be OK for this change. However, it would be great to know what motivated its introduction in the first place to ensure the use case is now obsolete. Did you find anything in its history?

bmispelon commented 3 months ago

I would be OK for this change. However, it would be great to know what motivated its introduction in the first place to ensure the use case is now obsolete. Did you find anything in its history?

As far as I can tell, the xmlrpc plugin has been installed since initial release of the site. I did find a page on the wiki (last edited 11 years ago) that mentions it: https://code.djangoproject.com/wiki/OpenData#trac-s-rpc-interface So it seems it may have been installed as a way to give the community access to the trac data (I contacted Jacob a few months back to get some details but haven't heard back).

I think having a regular database dump would be a better way. It's something I've had in the back of my TODO list for a few months, but it's not as straightforward as I'd hoped (mostly because some of the data needs to be anonymized/sanitized before we can make it public).