Synfig Issue Tracker
VCSIntegration
Last updated at Fri Dec 07 18:03, by System

VCS Integration  ⇑ top

The Bug Genie includes the VCS Integration module, which allows you to link your projects in The Bug Genie to a source code repository. This allows your commits to update issues, as well as access the repository viewer from The Bug Genie. However, before you can start, you need to set up the module - both globally and for each project using the module.

Please note that the git hook does not support the web access method (explained later), only the direct access method. In addition, a Mercurial hook is available, though it is not included due to license restrictions. Please refer to The Bug Genie website to obtain it.

Setting up  ⇑ top

Global settings  ⇑ top

There are two methods for VCS hooks (the code that interfaces between your source code repository and The Bug Genie) to communicate with your installation. The methods are direct access and http access.

Direct access  ⇑ top

In direct access, the repository exists on the same server as The Bug Genie, or the hook can use SSH or other associated systems to access the server that The Bug Genie is hosted on. Therefore the user that VCS hooks are executed as will need access to The Bug Genie's files, as well as a PHP executable. You will also require the CLI version of PHP installed.

In each hook, you will need to enable direct mode, and set the path to PHP and The Bug Genie's tbg_cli file. You will also need to set the project ID, which can be found on the VCS configuration page. Please refer to each hook's documentation (it may be included in the hook file itself) to see how to do this.

Then, in the VCS Integration general settings tab, on the Configuration page, choose Direct access and click Save. You can then set up your projects.

HTTP access  ⇑ top

Another option would be to use HTTP access, where the hook will use HTTP to access a page on your installation of The Bug Genie, which will cause the checkin to be recorded. Choose this option if you are not able to use the direct method. You will also need this method to interface The Bug Genie with github.

You will need to configure hooks to use this mode, as well as set the project ID and URL to access. Refer to hook documentation for doing this (this may be included in the hook itself). Please also set a secure passkey to prevent unauthorized commits. This will need to be the same for every VCS, and set in each hook.

You will then need to choose HTTP access on the VCS Integration general settings tab. In addition, you will need to enter the passkey you set earlier on this screen.

After saving these settings, you can then set up each project.

Github support  ⇑ top

If you wish to use the github hook, please set up HTTP access as previously discussed. You will then need to set up your Github project's post-receive hook to contact The Bug Genie.

To do this, go to your project's service hooks page on github, and set a Post-recieve URL to point to the following URL:
  http://www.your-tbg-site.com/vcs_integration/report/PROJECTID/github/?passkey=PASSKEY
You will need to set the hostname and path correctly as appropriate, as well as replacing PASSKEY with the passkey you set, and PROJECTID with the ID number of the project, which can be found on the projects tab of VCS Integration configuration.

Any commits which follow the rules for being picked up (see below) will then be recorded against their respective issues on push, though commits which make no changes to the filesystem (i.e. nothing added, removed or modified) will not be recorded in this release of VCS Integration.

Bitbucket support  ⇑ top

If you wish to use the bitbucket hook, please set up HTTP access as previously discussed. You will then need to set up your Bitbucket project's post-receive hook to contact The Bug Genie.

To do this, go to your project's service hooks page on bitbucket, and set a POST URL to point to the following URL:
  http://www.your-tbg-site.com/vcs_integration/report/PROJECTID/bitcucket/?passkey=PASSKEY
You will need to set the hostname and path correctly as appropriate, as well as replacing PASSKEY with the passkey you set, and PROJECTID with the ID number of the project, which can be found on the projects tab of VCS Integration configuration.

Any commits which follow the rules for being picked up (see below) will then be recorded against their respective issues on push, though commits which make no changes to the filesystem (i.e. nothing added, removed or modified) will not be recorded in this release of VCS Integration.

Gitorious support  ⇑ top

If you have a locally hosted Gitorious server, then you can integrate that with The Bug Genie.

Again, set a post-receive hook as per your documentation, the URL for which is:
  http://www.your-tbg-site.com/vcs_integration/report/PROJECTID/gitorious/?passkey=PASSKEY


Please note that the Gitorious support will only create comments and will not record filesystem changes, plus it will not work on the gitorious.com server.

Project settings  ⇑ top

Each project to use VCS Integration will then require configuration. If a project will not be using VCS Integration, then you can leave its repository URL field empty.

To set up each project, you need to specify the repository browser you use. This will be used to build the right URLs to be displayed in The Bug Genie. In the URL to repository browser field, you enter the path to the root of the repository browser (i.e. this may be the page where a list of available repository browsers is shown). Finally you enter the repository name in the final box.

After pressing save, a Source code link will be added to the project dashboard. You can use this link to test to see if the details are correct - if so this link will open the main page of the repository browser for your chosen project.

After doing this, the module can be used by committing details as below, and they will show up in a new tab when viewing an issue, with links to view files, diffs, revision info and other details.

Using the module  ⇑ top

When a commit is made which refers to an issue, then the issue will be updated with the commit log and details of every changed file. The Bug Genie will pick up any commits which contain any of the following words, followed by an issue number:
  bug, issue, ticket, fix, fixes, fixed, fixing, applies to, closes
  references, ref, addresses, re, see, according to, also see


The user assigned to the commit will depends on the user who committed it to the VCS. If you are using a VCS where your committer name is in the form "Joe Bloggs <jbloggs@example.com>", for example, then The Bug Genie will search for users with the email as provided.

If a user can not be found, or if there is no email, then The Bug Genie will take the name part (or username) and search against the Full Name field. Failing that, we then search against the friendly name and then finally the user name. If still no user can be found then no user will be recorded for the commit.

Links on the project dashboard to view the source code repository is added upon set up, and each commit will have a link to view the commit details, a log of commits, diffs and links to view files.


Categories: Help

Article comments (21)

#1
Comment posted by
 delhi se0
May 27, 00:52
Prices offered by our website is cheap as compare to any other csgo account selling website
csgo smurf
gta 5 accounts
#2
Comment posted by
 HeidiChapman
Jun 05, 12:07
A bug identified mechanism and all such tools are preferred for the removal of the bugs. The value of the essay writing help is increased for all students. The removal of the bug is needed and required by all persons who are using the technology for the documents.
#3
Comment posted by
 MichaelArturo
Nov 23, 09:00
Thanks for including important details about VCS integration here. I'd like to know your opinion on the https://www.bestessaytips.com/pendrago-com-review/ post now. If you share this, I would be grateful to you.

#4
Comment posted by
 tiagomartins
Jan 10, 09:46
Welcome to the horror world of poppy playtime unblocked game. The game takes place in an abandoned toy factory Playtime Co.
#5
Comment posted by
 jasonmartin231864
Feb 07, 15:58
Do you have some information regarding new platforms because it is really unique, I will say that our new project has helped so many students you can check some hook essay examples for more information and it would be a great way if you throw a light on such subjects, I like your mindset.
#6
Comment posted by
 jasonmartin231864
Feb 24, 12:19
I hate coding because you never know what a minor error you will get after writing thousands of the lines of complex codes, anyway, I have downloaded parental control app for my children that will definitely give you an idea about the tracking system, you need to check it right now.
#7
Comment posted by
 musasi
Mar 10, 03:36
Pretty good post. I have just stumbled upon your blog and enjoyed reading your blog posts very much. I am looking for new posts to get more precious info. Big thanks for the useful info. 안전놀이터

#8
Comment posted by
 sian8754
Apr 02, 05:52
Sports Toto is divided into Private Toto and Batman Toto, Korean online betting sites. Major Toto sites are defined as safety playgrounds and serve the mobile betting environment for sports betting users. It is the most useful website for sports analysts who use Toto and Protobetting. 토토사이트 바카라사이트 안전놀이터
#9
Comment posted by
 pipahaha
Apr 29, 02:33
Where the hook will use HTTP to access a page on your installation of The Bug Genie, word counter which will cause the checkin to be recorded. Choose this option if you are not able to use the direct method. You will also need this method to interface The Bug Genie with github.
#10
Comment posted by
 Devan Barton
Jun 02, 11:15
I am very glad to read this informative article. https://www.google.com
#11
Comment posted by
 alexpadovani
Jun 09, 04:41
There's nothing better than gaining trillions of cookies in cookie clicker 2 game. You may find it way too simple and boring at first. But as you gain more cookies, you start to feel satisfied by accomplishing and unlocking new achievements. And this time it becomes addicting.
#12
Comment posted by
 AlanLuiz
Sep 15, 17:02
I had a similar error when working on the custom scholarship essay writing service page. It was very difficult to find what was wrong. Then the senior developer solved it.
#13
Comment posted by
 weebdynasty
Sep 23, 18:21
Weebpedia's sexy white pants are a comfy pant that offers clients a great value.
#14
Comment posted by
 CookII
Oct 24, 13:03
What medical services are considered to be up-to-date? Without a doubt, these should be services that directly establish quick contact between the doctor and the patient and the provision of assistance if necessary. If you need to find out exactly how you can improve the work of your medical institution, then this link https://cookiedev.com/blog/medical-service is for you. Discover the world of modern medical applications so that your patients are closer to you and receive more care and a high level of wellness service, even online.

#15
Comment posted by
 Devan Barton
icon_reply.pngDec 28, 10:52, in reply to comment #14
I am very glad to read this informative article. <a href="https://www.google.com">google</a>
#16
Comment posted by
 Devan00
Dec 28, 11:36
I am very glad to read this informative article.
#17
Comment posted by
 Kelly Shepherd
Apr 03, 08:59
Your article is fantastic. Continue to write new content. dino game
#18
Comment posted by
 alliswell24
Sep 06, 15:38
Looking for a girl who can provide amazing call girl services? Look no further than All is well 24. With beautiful girls and amazing call girl services, you are sure to have an unforgettable experience! https://alliswell24.com/
#19
Comment posted by
 dash
Sep 28, 07:51
Playing video games online at run 3 is one of the ways that we get to show off our muscles to all of our new friends that we have made all across the world. It is possible to become addicted to it, and I believe that parents have a lot of responsibility in making sure that things go more smoothly in this regard.

#20
Comment posted by
 drewbinsky
Jan 31, 07:22
I followed these instructions carefully to effectively set up retro bowl and use the VCS Integration module in The Bug Genie.
#21
Comment posted by
 AlanLuiz
Mar 14, 13:06
It's important to note that while professional writing services can provide convenience and support, it raises ethical considerations regarding academic integrity. Submitting a purchased research paper as one's own work without proper citation or acknowledgment constitutes plagiarism, which is a serious academic offense.