Patch #5870

refresh_changeset webservice should also accept the project identifier as possible parameter

Added by Joachim Fritschi over 11 years ago. Updated over 11 years ago.

Status:ClosedStart date:2010-07-12
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


The refresh_changeset webservice should accept the project "identifier" as parameter for refreshing a certain project. Right now only the internal project "id" (database key) is allowed. This is not very intuitive and also make automatic svn integrating a bit complicated.

I have appended a patch that allows for an alternative "identifier" instead of "id" to be submitted in the query. The patch is against 0.9-stable.

This is the current howto to the existing api in the wiki:

fetch_changeset.patch Magnifier (590 Bytes) Joachim Fritschi, 2010-07-12 13:55


#1 Updated by Felix Schäfer over 11 years ago

  • Status changed from New to Closed

You can already pass an identifier to Project.find (it's overridden in the model to allow to pass either an id or an identifier to find) and hence to the id parameter of refresh_changeset, this is also described in the commit message for r3107.

Also available in: Atom PDF