python / python/blurb_it

Automatically remove non CPython repo installation

Open
#13 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
33
Forks
22
Avg merge
23m
Merged PRs (30d)
2

Description

Blurb_it is meant to be used for CPython only.
While it hasn't happened yet, it is quite possible for people to install blurb_it on other repos.

Perhaps blurb_it can be proactive and refuse to be installed on repos other than username/CPython. So if someone tries installing it elsewhere, just remove it.

Using this endpoint, we can remove a repo from installation: https://developer.github.com/v3/apps/installations/#remove-repository-from-installation

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the GitHub App installations documentation at the linked removal endpoint and trace how blurb_it receives installation events. Define how to detect repositories other than python/CPython and verify that the app removes those installations; done means non-CPython installations are rejected or removed without affecting CPython.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.