Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ichard26/next-pr-number
Get the number the next pull request will be assigned for a public GitHub repository.
https://github.com/ichard26/next-pr-number
github-api-v3 github-pages issues pull-requests tool
Last synced: 3 days ago
JSON representation
Get the number the next pull request will be assigned for a public GitHub repository.
- Host: GitHub
- URL: https://github.com/ichard26/next-pr-number
- Owner: ichard26
- License: mit
- Created: 2021-03-30T00:38:10.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-26T21:12:10.000Z (4 months ago)
- Last Synced: 2024-10-14T14:00:02.223Z (3 months ago)
- Topics: github-api-v3, github-pages, issues, pull-requests, tool
- Language: HTML
- Homepage: https://ichard26.github.io/next-pr-number/
- Size: 84 KB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Next PR Number
Next PR Number is a web tool that allows you to quickly and easily know what number
your PR will be assigned before opening it. Forget guessing the number or checking
afterhand.**Features:**
- **Sharable URLs that autofill the repository** - Want your project's contributors to
use Next PR Number? Give them a link that autofills and queries your repository for
them for a seamless experience. [Here's an example.][example]
- **Lightweight** - Next PR Number is built with pure HTML, JS, CSS. There's no
dependencies that slow down page load (except for analytics provided by a self-hosted
Plausible instance)In all seriousness, this exists to make changelog entry enforcement easier
and a smoother experience for everyone. When I maintained [black] and [bandersnatch],
writing a release changelog takes time, time that could've been better spent elsewhere.
So a policy was introduced where (substantial) PRs must have an
changelog entry... and the PR number. While that reduced the administrative workload,
it merely pushed the workload onto the contributors, who must now get the PR number
somehow.This website was created to give contributors a fast and painless way to get that PR
number so they can focus on writing good code.**Note: Next PR Number only supports public GitHub repositories**
## Privacy statement
Next PR Number to subject to the [privacy statement on my personal website][privacy].
## Contributing
Contributions of all sorts are welcomed, even feedback if it's constructive! Opening
an issue to check with me before working on a changeset is highly recommended.In terms of technical tips, I recommend that you use Python's built-in webserver to test
locally while iterating on your changes:```console
example-user@example-desktop:~$ cd next-pr-number
example-user@example-desktop:~/next-pr-number$ python -m http.server 4000
Serving HTTP on 0.0.0.0 port 4000 (http://0.0.0.0:4000/) ...
```Please note that this project to also my excuse to learn web development. So I'm sure
I'm doing a ton of things wrong in this project :) I'm open to feedback in this regard
too.Finally, don't forget to add yourself to the AUTHORS list below. You made a contribution
and you deserve the thanks!### SQLite3 Schema
```sql
CREATE TABLE "queries" (
"datetime" TEXT PRIMARY KEY NOT NULL,
"owner" TEXT NOT NULL,
"name" TEXT NOT NULL,
"result" INTEGER NOT NULL
);
```## Authors
Glued together by Richard Si ([@ichard26](https://github.com/ichard26)).
- Jaap Roes
- Marc Mueller ([@cdce8p](https://github.com/cdce8p))
- *your name here perhaps?*[bandersnatch]: https://github.com/pypa/bandersnatch
[black]: https://github.com/psf/black
[example]: https://ichard26.github.io/next-pr-number/?owner=ichard26&name=next-pr-number
[privacy]: https://ichard26.github.io/privacy/