Skip to main content

Check yo' self (dibbity deb remix)

Which online repositories does my system rely on?

Status

Very early prototype.

Usage

Usage: checkyoself [OPTIONS]

  Before you wreck yo' self. Cause unknown sources are bad for your health.

  Returns a list of online repositories that your system relies on. Verbose
  mode additionally lists the software that uses them.

Options:
  --help  Show this message and exit.

Sample output

These are the repositories that your system might download additional components from.

* deb.debian.org
* dl.flathub.org
* http://ppa.launchpad.net
* pypi.org

Sample output (verbose)

These are the sources that might access the repositories:

* deb.debian.org
   * /etc/apt/sources.list.d/buster-backports.list
* dl.flathub.org
   * flatpak
* http://ppa.launchpad.net
   * /etc/apt/sources.list.d/micahflee-ubuntu-ppa-bionic.list
   * /etc/apt/sources.list.d/papirus.list
* pypi.org
   * apt:python3-pip

Scope

  • Packages installed by apt [1]
  • Knowledge base limited to packages found in Debian stable, PureOS stable and/or Ubuntu LTS [1]
  • Best effort. We don't know what we don't know.
  • No advisory stance (libre? security practices? domain owner?)
  • Packages with hard-coded repositories or default configurations, not packages like wget that perform arbitrary downloads or packages like telnet that perform arbitrary communication.
  • Known default repositories only [2]
Exceptions and additions
  • [1] We report on the online repositories of non-deb packages from very significant software authors. For example aws from Amazon relies on aws.amazon.com
  • [2] We report on the configuration values of apt and flatpak, not just their defaults.

Additional notes

  • Inspired by, but not quite the same as, vrms

  • Not a substitute for inspecting which domains your machine is actually connecting to.

  • Intended to inspire recording this information at the time of packaging, and alerting the user at the time of installation: "foo relies on bar.com, do you want to install it? Y/N"

Development environment

Install prerequisites

  • Python 3.10
  • pdm
  • make

Instructions

  • Fork the upstream repository.
  • git clone [fork-url]
  • cd [project-folder]
  • Run make develop to initialise your development environment.

You can use any text editor or IDE that supports virtualenv / pdm. See the Makefile for toolchain details.

Please make test and make lint before submitting changes.

Make targets

USAGE: make [target]

help    : Show this message.
develop : Set up Python development environment.
run     : Run from source.
clean   : Remove all build artefacts.
test    : Run tests and generate coverage report.
lint    : Fix or warn about linting errors.
build   : Clean, test, lint, then generate new build artefacts.
publish : Upload build artefacts to PyPI.

Sharing and contributions

Check yo' self (dibbity deb remix)
https://lofidevops.neocities.org
Copyright 2020 David Seaward and contributors
SPDX-License-Identifier: AGPL-3.0-or-later

Shared under AGPL-3.0-or-later. We adhere to the Contributor Covenant 2.1, and certify origin per DCO 1.1 with a signed-off-by line. Contributions under the same terms are welcome.

Submit security and conduct issues as private tickets. Sign commits with git commit --signoff. For a software bill of materials run reuse spdx. For more details see CONDUCT, COPYING and CONTRIBUTING.

Metadata

Release files for checkyoself 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for checkyoself 0.1.4
File Size Uploaded Provenance Actions
checkyoself-0.1.4.tar.gz 34.5 kB Without provenance Details for checkyoself-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for checkyoself 0.1.4
File Interpreter ABI Platform Actions
checkyoself-0.1.4-py3-none-any.whl Python 3 none any Details for checkyoself-0.1.4-py3-none-any.whl

Total release size: 78.2 kB

Release files / checkyoself-0.1.4.tar.gz

Download URL checkyoself-0.1.4.tar.gz
Size 34.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cb5e35e1cb784234a680253a2400bd3192b9a3d29132507966051979688e144d
BLAKE2b-256 checksum
How to use checksums
2ce80c4abfa14014880c2d46b9722f737002ecc09f19e2d160ef7ed1b0b07096
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.5.2 CPython/3.10.6

Release files / checkyoself-0.1.4-py3-none-any.whl

Download URL checkyoself-0.1.4-py3-none-any.whl
Size 43.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf0fb8f2a7b379d7b3beb175fdd3c0f131c24e95d9ddde5dc1ab75e27673b2f5
BLAKE2b-256 checksum
How to use checksums
3d7ff3b946b69ee9a7f31bff3b8d5fc527c6c7e795ac0bedd29e6edf9b20c7b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.5.2 CPython/3.10.6

Security for checkyoself 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page