Pergunta

I am using assembla and github and I have set up the correct Post-Receive URLs (Service hooks) to link the two services together and use powerful commit messages. I have the following issue.

I have have 3 spaces with Post-Receive URLs (Service hooks) set up on github, all 3 spaces successfully receive the commit messages. But only 1 space successfully associates the commit messages with the appropriate ticket.

e.g. I have set up a ticket in each space called "Test Commits" Using the commit message "Test Commit Re #1" Each space will pick up the commit and I can see it in the Stream. But only 1 space associates the commit with the ticket.

The only thing I can tell is different is the 2 that don't work have commits against a branch and the 1 that does work has a commit against the master.

Any suggestions?

Thanks

Foi útil?

Solução

Strange, since the branch shouldn't be a factor.

If it is reproducible, that can be a good start for a trac Assembla ticket.
(which the OP Lizard did: issue 654)


It appears to be an issue on Assembla side:

At the moment we are not processing commit message if commit were located in non-main branch (in git, master).
As you've mentioned this topic, we decided to review our decision, and process all comments.

... and this ticket is now solved. The git-tool page (accessed through login only) mentions:

How to update Assembla tickets from git commits

  • Use Closes #4 to close ticket 4.
    closed, close, fix, fixed, and fixes will also close a ticket.
  • Test #4 will mark the ticket as "Ready to Test".
  • Re #4, references, refs and see will add a comment to the target ticket but leave it untouched.

And this now works on every branches, not just master.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top