Skip to main content

Which online repositories does my system rely on?

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

checkyoself-0.0.3.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

checkyoself-0.0.3-py3-none-any.whl (32.2 kB view details)

Uploaded Python 3

File details

Details for the file checkyoself-0.0.3.tar.gz.

File metadata

  • Download URL: checkyoself-0.0.3.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.4.9 CPython/3.10.6

File hashes

Hashes for checkyoself-0.0.3.tar.gz
Algorithm Hash digest
SHA256 3a0af7cfdfa69c7a743fa74e948a32b6f4db1a118cd419b7aba3a3c9da8270bf
MD5 f6c8a534caae4e595982fbea761fb369
BLAKE2b-256 209f406908cfa69fc65f1c67f83416e476634848482f82bc7f49dba6d883cd0c

See more details on using hashes here.

File details

Details for the file checkyoself-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: checkyoself-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 32.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.4.9 CPython/3.10.6

File hashes

Hashes for checkyoself-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bb77242cf7335457d9503d0cd3db70b18706b4c37550dec6ef439d7713cf2afa
MD5 107e6d3d7cbaf9bd9b3de99ebb044972
BLAKE2b-256 a0de93af02c2eb274d800e2aa09c0dac5ed33f7777f2b389a434b6a7350d9dd0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page