>> Now every repository has to be added in mantis. With the older checkin >> script that was not necessary, all the needed information was given from >> svn to the hook to mantis. So this demands more work than the older >> solution, especially with many repositories. Or is there a way to create >> and configure all repositories via scripts? > >Not out of the box, sorry.
So it would be a script to call internal commands? >> The recommended link updates all information: >> curl >> "http://host.domain.tld/mantisbt/plugin.php?page=Source/import&id=all&api_key=<YOUR_API_KEY>" >> >> Can this be adjusted to only get the informationen of the used repository, >> and only import the latest data? I guess the id= can determine the >> repository, >> but I couldn't find documentation about it. I'd like to keep the server load >> as low as possible. > >This is generally used for initial import of the repository. The >preferred method is to rely on hooks to trigger the import of new >changesets as they are committed / pushed. > >In any case, the full import script stops once it reaches a commit that >has already been processed. I'm already using hooks with the above command. If this is not the best way to do it, what other command should I call from my svn post-commit hook? Thanks bye Fabi ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ mantisbt-help mailing list mantisbt-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mantisbt-help