Skip to main content

Utilities to help Debian package maintainers.

Project description

debutils

PyPI - Version PyPI - Python Version

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 go subcommands 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/>.

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

debutils-0.2.2.tar.gz (43.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

debutils-0.2.2-py3-none-any.whl (64.4 kB view details)

Uploaded Python 3

File details

Details for the file debutils-0.2.2.tar.gz.

File metadata

  • Download URL: debutils-0.2.2.tar.gz
  • Upload date:
  • Size: 43.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for debutils-0.2.2.tar.gz
Algorithm Hash digest
SHA256 c22a8ab611dc294dcdadc714bb59e7a3fa224cfd65e75543153862e57112a908
MD5 a7a079ce03b1fd09a4806cd479b70a1a
BLAKE2b-256 9cc0425c4671352397f2dce1d73f90743d861b25f91613a6d6ad97087c86a2ed

See more details on using hashes here.

File details

Details for the file debutils-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: debutils-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 64.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for debutils-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 443b25a5421273ee96d95eff1d77b92c4a19417c0b204ab68de34b4c940e84c5
MD5 77b2a0ae3d8afbd27611fe1768bf5d5e
BLAKE2b-256 2350c3d588fd07b09a38b5864fc42544545bfb94f4e3aa7b32f84c3b870f9eea

See more details on using hashes here.

Supported by

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