Skip to content

Commit

Permalink
[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 <animuz111@gmail.com>
  • Loading branch information
animeshk08 committed May 26, 2020
1 parent fe383ed commit a6e883a
Show file tree
Hide file tree
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
Expand Up @@ -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
Expand Down Expand Up @@ -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/'
Expand Down
1 change: 1 addition & 0 deletions bin/perceval
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit a6e883a

Please sign in to comment.