Description
Jeff Mahoney created a pair of Python tools 13 years ago for generating patches from upstream commits, in a format that is useful for updating the SUSE kernel.
I helped him a little bit in the beginning because he was busy and I love Python. So I've kept my interest in Python in general and these tools in particular.
But Python has changed quite a bit in the 13 years in many ways, such as:
- Python 2 to Python 3 changes (which are numerous), including:
- The typing of functions and there parameters is now more common
- Python installation has changed, and now doesn't easily support direct install of scripts
- There are much better ''lint'' tools now, for checking proper syntax
This will require technical work as well as coordination with the community that uses these tools.
Goals
The goal is to update or work towards updating, as time allows, the patchtools repository, to address the issues mentioned.
This may include:
- Ability to work with Python version up to 3.13
- Changing how the scripts and code are laid out, using modern techniques, such as having a mostly-empty script that just calls a Python library function
- Adding a ''project.toml'' to support modern installs
- May have to target Python 3.6 so it'll work on older kernels
- Adding some unit test (using PyUnit?)
Resources
Just me, for now. Others welcome.
No Hackers yet
Looking for hackers with the skills:
Nothing? Add some keywords!
This project is part of:
Hack Week 25
Comments
Be the first to comment!
Similar Projects
This project is one of its kind!