• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

chaoss / grimoirelab-perceval / 1793
98%
master: 92%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/pyjwt-2.12.0
DEFAULT BRANCH: master
Ran 08 Apr 2020 05:26PM UTC
Jobs 2
Files 39
Run time 13s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1793

Pull #648

travis-ci

web-flow
[github] Fetch issue/pull request events

This code adds a new category to fetch the
following event types from issues and pull
requests:
- ADDED_TO_PROJECT_EVENT
- MOVED_COLUMNS_IN_PROJECT_EVENT
- REMOVED_FROM_PROJECT_EVENT
- CROSS_REFERENCED_EVENT
- LABELED_EVENT
- UNLABELED_EVENT

Due to the limitation of not fetching events
after a given date from the endpoint `timeline`
of GitHub v3, the events are fetched via
the GitHub v4 (based on GraphQL).

The events are fetched in the following way. The
issues of a given tracker are retrieved in
ascending order based on the last time they
were updated. For each issue, its events (optionally
from/to a given date) are collected using a GraphQL call.
Each event is returned by Perceval together with
the corresponding issue (available in `data.issue`).

No user information beyond the `login` is included in
data returned by Perceval for this category. Thus,
the filter classified support has no effect when
fetching events.

The backend can be executed in the following way:
```
perceval github chaoss grimoirelab-toolkit
--category event -t xxx
--sleep-for-rate
--no-archive
--from-date 2019-01-01
```

Tests have been added accordingly.
Backend version is now 0.26.0
Pull Request #648: [github] Fetch issue/pull request events

6910 of 7068 relevant lines covered (97.76%)

0.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1793.1 08 Apr 2020 05:26PM UTC 0
97.76
Travis Job 1793.1
2 1793.2 08 Apr 2020 05:26PM UTC 0
97.76
Travis Job 1793.2
Source Files on build 1793
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1793
  • Pull Request #648
  • PR Base - master (#1792)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc