Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant improvements to the Debian packaging for the RockPi Penta SATA Hat software, enhancing its organization, maintainability, and compliance with packaging standards.
The changes address the need for a more consistent and well-structured Debian packaging process, allowing for easier integration and potential contributions to platforms like Armbian.
Key Improvements:
New Repository Structure: The application source code and Debian packaging scripts are now separated into distinct directories for better organization.
Debian Packaging:
debhelper
scripts to enhance the clarity and organization of thedebian
directory.changelog
file to track changes over time.copyright
file detailing the licenses for the main application and resources.Filesystem Hierarchy Standard (FHS) Compliance:
rockpi-penta.conf
and environment settings) have been moved to/etc/rockpi-penta/
./usr/share/rockpi-penta/
to align with FHS best practices, though further optimization is possible in this area.Improved Post-installation and Pre-removal Scripts: The
postinst
andprerm
scripts have been enhanced to ensure idempotency, allowing for more reliable installations and removals.New .gitignore File: Updated to reflect the recent structural and procedural changes in the repository.
GitHub Workflow Updates:
Consolidation of Development Branches:
dev
branch, consolidating them into themaster
branch (now commonly referred to as main in modern repositories). This restructuring encourages the use of a single primary branch for development and aligns with current best practices, simplifying the development workflow and repository management.These changes aim to improve the maintainability and clarity of the RockPi Penta SATA Hat software, aligning with packaging standards and enhancing the overall development experience.