Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

assembla and github [closed]

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

like image 977
Lizard Avatar asked Nov 15 '10 16:11

Lizard


People also ask

How do I upload a private repository to GitHub?

In the upper-right corner of any page, click , and then click Import repository. Under "Your old repository's clone URL", type the URL of the project you want to import. Choose your personal account or an organization to own the repository, then type a name for the repository on GitHub.

Is it safe to use GitHub?

Platform. We keep GitHub safe, secure, and free of spam and abuse so that this can be the platform where developers come together to create. We do this through significant investments in platform security, incident response, and anti-abuse.


1 Answers

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.

like image 132
VonC Avatar answered Sep 22 '22 07:09

VonC