Hi Matthew,

On Fri, Jan 10, 2020 at 4:50 AM Matthew Fernandez
<[email protected]> wrote:
>
> Hello mentors,

I am not a mentor, but being mentored. Still, I will try to answer
your questions and I might be wrong.

>
> While slowly improving my first Debian package [0] I’m trying to understand 
> the debian/control Vcs-Git field. IIUC the docs [1] tell me to point it at 
> the branch used for packaging, in my case ‘packaging/debian’. I realised 
> vcswatch uses this to decide when to prompt you for a new release [2]. I had 
> been expecting vcswatch to look at ‘master’ and prompt me that it was X 
> commits ahead of my packaging branch, and maybe it was time to merge and 
> release. Is this just a misunderstanding of mine or should I actually be 
> pointing my Vcs-Git at ‘master’?

iiuc, vcswatch looks at master branch or debian/sid branch for debian
releases. But it will also look for tags which are by default of the
format "debian/". It might be better to have the debian packaging
branch as master but that might not be possible in all cases,
specially if you are also tracking the upstream repo from that same
repo. If you are using any non-standard branch name then it might be
better to mention the branch name with "-b"  in Vcs-Git field.

-- 
Regards
Sudip

Reply via email to