close
The Wayback Machine - https://web.archive.org/web/20201205055025/https://github.com/github/github-services/pull/966
Skip to content
This repository has been archived by the owner. It is now read-only.

Improve xmpp filter branch #966

Merged
merged 9 commits into from Dec 11, 2014
Merged

Conversation

@lloydwatkin
Copy link
Contributor

@lloydwatkin lloydwatkin commented Nov 7, 2014

Allow partial matches on branch name

@@ -11,4 +11,7 @@ commit list, instead of tweeting all commits individually with their message and
Check "Short format" to omit the repository and commiter's names from the tweet to get more
space for the commit message.

If you would like to restrict to a branch then add the name, otherwise blank means 'all'.

This comment has been minimized.

@kdaigle

kdaigle Nov 14, 2014
Member

Can you clarify this? Maybe: If you would like to only receive messages for a specific branch, add the name (or partial name) to the "Filter branch" option. Otherwise, leave the field blank to receive messages for all branches.

@lloydwatkin
Copy link
Contributor Author

@lloydwatkin lloydwatkin commented Nov 14, 2014

updated :)

@@ -33,6 +33,7 @@ def receive_event
return false if event.to_s =~ /pull_/ && !data['notify_pull']

build_message(event, payload)
return true

This comment has been minimized.

@kdaigle

kdaigle Nov 24, 2014
Member

Not sure this return true is needed here. This just accidental or was it not working without it?

This comment has been minimized.

@lloydwatkin

lloydwatkin Nov 24, 2014
Author Contributor

Added so I could use the result in unit tests, i.e. everything ok I get 'true' in return.

Lloyd Watkin and others added 4 commits Nov 27, 2014
…ve-xmpp-filter-branch

Conflicts:
	docs/twitter
…ithub-services into improve-xmpp-filter-branch

Conflicts:
	docs/twitter
@@ -21,6 +21,9 @@ This service will connect to an XMPP MUC room with the provided details and then
5. **Notify issues** - Get notifications on issues
6. **Notify pull requests** - Get notifications of pull requests

If you would like to only receive messages for a specific branch, add the name (or partial name) to
-the "Restrict to Branch" option. Otherwise, leave the field blank to receive messages for all branches.

This comment has been minimized.

@kdaigle

kdaigle Dec 11, 2014
Member

Is there a reason for this dash here? Sorry to be pedantic but I found it confusing.

@lloydwatkin
Copy link
Contributor Author

@lloydwatkin lloydwatkin commented Dec 11, 2014

@kdaigle no reason, removed. Pedantry isn't a problem :)

kdaigle added a commit that referenced this pull request Dec 11, 2014
Improve xmpp filter branch
@kdaigle kdaigle merged commit 05205ac into github:master Dec 11, 2014
1 check passed
1 check passed
continuous-integration/travis-ci The Travis CI build passed
Details
@kdaigle
Copy link
Member

@kdaigle kdaigle commented Dec 11, 2014

🍰 Will get this out in the next day or two!

@lloydwatkin
Copy link
Contributor Author

@lloydwatkin lloydwatkin commented Dec 11, 2014

\o/ Thanks
On 11 Dec 2014 18:21, "Kyle Daigle" notifications@github.com wrote:

[image: 🍰] Will get this out in the next day or two!


Reply to this email directly or view it on GitHub
#966 (comment)
.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.