I have gotten my first patch to the Pidgin AppArmor profile accepted upstream. One of my mentors thus suggested that I’d patch the updated profile in the Debian package myself. This is fairly easy and requires simply that one knows how to use Git.
If you want to get write access to the apparmor-profiles-extra package in Debian, you first need to request access to the Collaborative Maintenance Alioth project, collab-maint in short. This also requires setting up an account on Alioth.
Once all is set up, one can export the apparmor-profiles-extra Git repository.
If you simply want to submit a patch, it’s sufficient to clone this repository anonymously.
Otherwise, one should use the “–auth” parameter with “debcheckout”. The “debcheckout” command is part of the “devscripts” package:
debcheckout --auth apparmor-profiles-extra
Go into the apparmor-profiles-extra folder and create a new working branch:
git branch workingtitle git checkout workingtitle
Get the latest version of profiles from upstream. In “profiles”, one can edit the profiles.
The debian/README.Debian file should be edited: add what relevant changes one just imported from upstream.
Then, one could either push the branch to collab-maint:
git commit -a git push origin workingtitle
or simply submit a patch to the Debian Bug Tracking System against the apparmor-profiles-extra package.
The Debian AppArmor packaging team mailing list will receive a notification of this commit. This way, commits can be peer reviewed and merged by the team.