Added by Cheyenne Wills over 12 years ago
Is there a way to have the Repository.fetch_changesets process accept a project identifier and restrict the processing to just that project?
I may have figured out a way to do this..
simply run:
redmine/script/runner "Project.find('..projname..').repository.fetch_changesets" -e production
Will probably have to add some additional logic around the post-commit to ensure all changes are picked up in the case of a back-to-back commit (fetch_changesets doesn't complete before 2nd commit happens)
You can also use wget
and the sys URL and specify project by passing an extra id parameter, see RedmineRepositories examples.