debutils
Utilities to help Debian package maintainers.
This tool is currently very unstable. Feel free to use it, but please report any bugs you find. If you have an idea for a new feature or commands, then please let me know! More info
Table of Contents
Installation
To install from git:
pip install git+https://codeberg.org/Maytha8/debutils.git
# I recommend using pipx instead of pip
To install from pypi:
pip install debutils
# I recommend using pipx instead of pip
Contributing
There are several ways you can contribute to debutils.
Opening issues
If you find any bugs, or have any ideas for new functionality, please don't hesitate to open an issue.
Pull requests
There's a long list of TODOs. Some of them can be found in TODO, and others are strewn throughout the code as TODO comments.
You can help out by taking on one of these tasks and opening a pull request with your changes.
Developing
Clone this repo, and either use hatch run ./main.py or hatch shell && ./main.py to run the CLI. (using hatch run debutils will install debutils
inside the venv, changes to the code aren't applied)
Why
I had a few useful scripts lying around, so I decided to put them together and create debutils. (e.g. itpwriter is now part of debutils.)
Additionally, dh-make-golang's make command failed to work some of the time, leading to me having to manually follow dh-make-golang's source code and assemble a package myself, and the estimate command always failed when I tried it, even when I installed straight from the repo's HEAD.
Acknowledgements
- dh-make-golang - the
gosubcommands are partially based on the work at dh-make-golang
Packaging for Debian
I haven't packaged this for Debian (yet) because there isn't enough interest. AFAIK I'm the only one using this.
If you reckon my work is worth having a package in Debian, feel free to file an RFP at the Debian BTS (and X-Debbugs-CC me), or even better, package this yourself (please add me to uploaders and let me know if you do so).
License
debutils -- Utilities to help Debian package maintainers.
Copyright (C) 2023 Maytham Alsudany <maytha8thedev@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Metadata
Release files for debutils 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| debutils-0.2.2.tar.gz | 43.9 kB | Without provenance | Details for debutils-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| debutils-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for debutils-0.2.2-py3-none-any.whl |
Total release size: 108.3 kB
Release files / debutils-0.2.2.tar.gz
| Download URL | debutils-0.2.2.tar.gz |
|---|---|
| Size | 43.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c22a8ab611dc294dcdadc714bb59e7a3fa224cfd65e75543153862e57112a908
|
|
BLAKE2b-256 checksum How to use checksums |
9cc0425c4671352397f2dce1d73f90743d861b25f91613a6d6ad97087c86a2ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / debutils-0.2.2-py3-none-any.whl
| Download URL | debutils-0.2.2-py3-none-any.whl |
|---|---|
| Size | 64.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
443b25a5421273ee96d95eff1d77b92c4a19417c0b204ab68de34b4c940e84c5
|
|
BLAKE2b-256 checksum How to use checksums |
2350c3d588fd07b09a38b5864fc42544545bfb94f4e3aa7b32f84c3b870f9eea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Security for debutils 0.2.2
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.