[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Draft ballot



Kurt Roeckx writes ("Re: Draft ballot"):
> As far as I know, devotee checks the text. But I have no idea if
> it supports resorting. If you want to know, I suggest you just
> look at the source.

The vote.d.o page had a link to this
  https://vote.debian.org/~secretary/devotee.git/
which I looked at.

The code iterates over the lines of the message body.  The key part
looks like this:

      next unless /\[\s*([[:alnum:]])\s*\]\s*(Choice\s+([[:alnum:]]):\s*(.*))$/;

      my $orig_rank = $1;
      my $option = $2;
      my $orig_candidate = $3;

It doesn't count lines from the start, or anything like that.
So yes, I think it works the way we would hope.

Thanks,
Ian.

-- 
Ian Jackson <ijackson@chiark.greenend.org.uk>   These opinions are my own.

If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.


Reply to: