Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Synchronize pull requests #18

Closed
notriddle opened this issue Jan 9, 2017 · 1 comment
Closed

Synchronize pull requests #18

notriddle opened this issue Jan 9, 2017 · 1 comment

Comments

@notriddle
Copy link
Member

Code needs to be implemented that fetches a list of open pull request from GitHub. Using this list, the code should do this:

  1. For every open pull request that GitHub returns, if there is no corresponding patch in bors's database, create the patch.
  2. For every patch that was not processed as part of step 1, mark it as closed.

This code should run when a repository is added, so that people can immediately start reviewing pull requests that existed before bors was added. In this case, step 2 shouldn't do anything.

A button to do this should also be added to the repository dashboard. This is a workaround in case a webhook is dropped. Unlike homu, this button should not also poll the batches, because we already do that on an automatic schedule.

The synchronization should ideally be done in a background process, because it's going to take awhile, and the UI can be kept up-to-date with a Phoenix channel. The initial implementation doesn't need to do this, but it should be structured in a way that doing so is feasible.

@Arzte
Copy link

Arzte commented Feb 16, 2017

This is closed as of #77

bors bot added a commit that referenced this issue Sep 19, 2018
465: Bump clean-css-brunch from 2.0.0 to 2.10.0 r=notriddle a=dependabot[bot]

Bumps [clean-css-brunch](https://github.com/brunch/clean-css-brunch) from 2.0.0 to 2.10.0.
<details>
<summary>Commits</summary>

- [`3517524`](brunch/clean-css-brunch@3517524) Release 2.10.0.
- [`a012b48`](brunch/clean-css-brunch@a012b48) Refactor tests ([#21](https://github-redirect.dependabot.com/brunch/clean-css-brunch/issues/21))
- [`c1728c8`](brunch/clean-css-brunch@c1728c8) Use eslint-config-brunch ([#19](https://github-redirect.dependabot.com/brunch/clean-css-brunch/issues/19))
- [`0369e48`](brunch/clean-css-brunch@0369e48) Use latest Node.js in Travis ([#20](https://github-redirect.dependabot.com/brunch/clean-css-brunch/issues/20))
- [`6e83584`](brunch/clean-css-brunch@6e83584) Rewrite examples in CoffeeScript to JS ([#18](https://github-redirect.dependabot.com/brunch/clean-css-brunch/issues/18))
- [`6ef25cf`](brunch/clean-css-brunch@6ef25cf) Link to CleanCSS repo API options ([#17](https://github-redirect.dependabot.com/brunch/clean-css-brunch/issues/17))
- [`69a58ec`](brunch/clean-css-brunch@69a58ec) Fix brunch/brunch#1486 ([#16](https://github-redirect.dependabot.com/brunch/clean-css-brunch/issues/16))
- [`d33089b`](brunch/clean-css-brunch@d33089b) Merge pull request [#14](https://github-redirect.dependabot.com/brunch/clean-css-brunch/issues/14) from brunch/eslint2
- [`62f5220`](brunch/clean-css-brunch@62f5220) Update ESLint to 2.1.0
- [`3fc3d30`](brunch/clean-css-brunch@3fc3d30) Add travis.
- Additional commits viewable in [compare view](brunch/clean-css-brunch@2.0.0...2.10.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=clean-css-brunch&package-manager=npm_and_yarn&previous-version=2.0.0&new-version=2.10.0)](https://dependabot.com/compatibility-score.html?dependency-name=clean-css-brunch&package-manager=npm_and_yarn&previous-version=2.0.0&new-version=2.10.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: dependabot[bot] <support@dependabot.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants