Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[backend] Add Rocket.Chat backend
Browse files Browse the repository at this point in the history
This commit adds support to fetch
messages from a Rocket.Chat channel.

The tests have been added accordingly.
The usage docs have been updated.
Release notes have also been added.

Signed-off-by: Animesh Kumar <[email protected]>
animeshk08 committed May 26, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent fe383ed commit a6e883a
Showing 10 changed files with 1,162 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -36,6 +36,7 @@ are:
phabricator Fetch tasks from a Phabricator site
pipermail Fetch messages from a Pipermail archiver
redmine Fetch issues from a Redmine server
rocketchat Fetch messages from a Rocket.Chat channel
rss Fetch entries from a RSS feed server
slack Fetch messages from a Slack channel
stackexchange Fetch questions from StackExchange sites
@@ -321,6 +322,13 @@ $ perceval pipermail 'http://mail-archives.apache.org/mod_mbox/httpd-dev/'
$ perceval redmine 'https://www.redmine.org/' --from-date '2016-01-01' -t abcdefghijk
```

### Rocket.Chat

Rocket.Chat backend needs an API token and a User Id to authenticate to the server.
```
$ perceval rocketchat -t 'abchdefghij' --from-date '2020-05-02' https://open.rocket.chat general 1234abcd
```

### RSS
```
$ perceval rss 'https://blog.bitergia.com/feed/'
1 change: 1 addition & 0 deletions bin/perceval
Original file line number Diff line number Diff line change
@@ -73,6 +73,7 @@ are:
phabricator Fetch tasks from a Phabricator site
pipermail Fetch messages from a Pipermail archiver
redmine Fetch issues from a Redmine server
rocketchat Fetch messages from a Rocket.Chat channel
rss Fetch entries from a RSS feed server
slack Fetch messages from a Slack channel
stackexchange Fetch questions from StackExchange sites
Loading

0 comments on commit a6e883a

Please sign in to comment.