You don’t actually commit to Debian branch. Therefore, do once:
git branch -D debian
git push yourgithubusername :debian
Then.
git remote add adre https://github.com/adrelanos/annealmail-2.0.git
git fetch adre
git checkout adre/debian
Create local debian branch.
git branch debian
Checkout.
git checkout debian
Not sure that works, I use git so much that I can make sense of any output and error messages but I guess that’s it.
One commit on top by me.
https://github.com/adrelanos/annealmail-2.0/tree/debian
Cannot test to build it for security reasons. I don’t speak the language. Cannot say if there is nothing malicious in the source code. Cannot even gpg verify the code by upstream since it is not signed (issue referenced above). Even if I did speak the language or if it is simple, it is just too much to review.
debian/copyright needs fixing. Debian will be adamant about this. Some examples:
bindp debian/copyright
corridor debian/copyright
whonix-ws-kde-desktop-conf debian/copyright
Also lintian --pedantic will complain if debian/copyright is not ok.
${shlibs:Depends},
${misc:Depends},
${xpi:Depends},
Recommends:
pinentry-x11,
${xpi:Recommends},
Provides:
${xpi:Provides},
Enhances:
${xpi:Enhances},
Breaks:
${xpi:Breaks},
Any ones that can be removed without lintian complaining? If lintian complains, keep, otherwise, please remove.
Will these be actually substituted with something? ${xpi:Breaks}
etc are variables substituted by debheper. When you unpack the created .deb.
package, look at that debian/control (and others files) for actual result.