mantisbt-plugins / source-integration

Source control integration plugin framework for MantisBT, including support for Github, Gitlab, Bitbucket, Gitea, Gitweb, Cgit, Subversion, Mercurial and more
http://noswap.com/projects/source-integration/
MIT License
181 stars 130 forks source link

Post-commit with checkin.php or import.php? #289

Closed pedwik closed 5 years ago

pedwik commented 5 years ago

After submitting a changeset to our SVN repo, a post-commit will be added to that the Mantis is also updated. What is the difference between checkin.php and import.php?

Setup: MantisBT 2.19, Source Control Integration 2.1.5 Windows IIS 10

dregad commented 5 years ago

import.php is triggered manually, its purpose is to initialize the repository on the MantisBT side. checkin.php meant to be called via a hook on from the version control system, so that the plugin's data is automatically kept up to date.