You download the mercurial hook for btnet python file that I have modified to clarify and enhance the functionality OR you can open file “ BUGTRACKER_INSTALLATION_PATH\mercurial\hg_hook_for_btnet.py” and edit the values for “ btnet_username“, “ btnet_password“, “ hg_path“, “ btnet_url“, “ this_repository_url” (If you are using file that I have modified, you don’t need to change the value of this variable), Open Web.config file from “ BUGTRACKER_INSTALLATION_PATH/If you don’t want to change the username using which Mercurial access Bug Tracker Website, leave the “ MercurialHookUsername” as “ admin” or change it as per what you want.įrom “ BUGTRACKER_INSTALLATION_PATH\mercurial“, copy the file “map-cmdline.btnet” into “ MERCURIAL_INSTALLATION_PATH\templates” directory For Bug Tracker, you may want to customize connection string and smtp server value I am not elaborating more on this because it should be a straight forward installation. Here comes a step by step guide to integrate Mercurial and BugTracker.NET You may also create your own script or a little exe/PowerShell script to mimic the same logic and it would work with this tutorial without any problem. To integrate BugTracker and Mercurial, you need to install Python in order to utilize the python script developed by BugTracker author which comes with the installation. Please note that bugtracker is installed on E drive but Mercurial and Python are installed on C drive. Python Windows X86-64 MSI Installer (2.7.5) Mercurial 2.7.2 Inno Setup installer – 圆4 Windows – does not require admin rights Mercurial – 2.7.2 (64 bit) with TortoiseHg 2.9.1 Windows Server 2008 R2 Standard Service Pack 1 (64 bit) After lots of trials and errors, I finally have it working so I am presenting a full guide that worked for me. On the internet I could not find a single place where I could find a comprehensive guide to integrate both the systems. Recently I had a need to integrate Mercurial and BugTracker.NET so that I can view all the bugs and changeset information at one place.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |