Project

General

Profile

Actions

Patch #5870

closed

refresh_changeset webservice should also accept the project identifier as possible parameter

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

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2010-07-12
Due date:
% Done:

0%

Estimated time:

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

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

Updated by Felix Schäfer over 13 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.

Actions

Also available in: Atom PDF