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 liketelnet
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 onaws.amazon.com
- [2] We report on the configuration values of
apt
andflatpak
, 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file checkyoself-0.1.4.tar.gz
.
File metadata
- Download URL: checkyoself-0.1.4.tar.gz
- Upload date:
- Size: 34.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.5.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb5e35e1cb784234a680253a2400bd3192b9a3d29132507966051979688e144d |
|
MD5 | 0e38cf4ae71002fb6aec679206709bbe |
|
BLAKE2b-256 | 2ce80c4abfa14014880c2d46b9722f737002ecc09f19e2d160ef7ed1b0b07096 |
File details
Details for the file checkyoself-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: checkyoself-0.1.4-py3-none-any.whl
- Upload date:
- Size: 43.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.5.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf0fb8f2a7b379d7b3beb175fdd3c0f131c24e95d9ddde5dc1ab75e27673b2f5 |
|
MD5 | 131a75c0ca924b53fbcbe253e5131e98 |
|
BLAKE2b-256 | 3d7ff3b946b69ee9a7f31bff3b8d5fc527c6c7e795ac0bedd29e6edf9b20c7b6 |