Patch #5870
closedrefresh_changeset webservice should also accept the project identifier as possible parameter
0%
Description
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:
http://www.redmine.org/wiki/redmine/HowTo_setup_automatic_refresh_of_repositories_in_Redmine_on_commit
Files
Updated by Felix Schäfer over 14 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.