misc/vote: new port -- a simple, transparent git based voting system

Teams like core and portmgr regularly hold votes on certain topics.
In the past these votes were held via email. This script tries to
lessen the burden of the secretary of those teams.

Vote's can be created using:
> vote create <vote topic> <due date in YYYYMMDD> <some more text>

People can vote using
> vote vote <vid> <yes/no/abstain>

People can also vote in-stead of other people
> vote votefor <vid> <yes/no/abstain> <whom>

All votes and results are neatly tracked inside a git repository.
This commit is contained in:
Tobias C. Berner 2022-11-11 20:44:43 +01:00
parent ee9ee2d99d
commit a0ff809a2b
4 changed files with 21 additions and 0 deletions

View file

@ -544,6 +544,7 @@
SUBDIR += vifm SUBDIR += vifm
SUBDIR += visp SUBDIR += visp
SUBDIR += viz SUBDIR += viz
SUBDIR += vote
SUBDIR += vxl SUBDIR += vxl
SUBDIR += wego SUBDIR += wego
SUBDIR += whichman SUBDIR += whichman

16
misc/vote/Makefile Normal file
View file

@ -0,0 +1,16 @@
PORTNAME= vote
DISTVERSION= 1.1
CATEGORIES= misc
MASTER_SITES= https://codeberg.org/tcberner/${PORTNAME}/archive/
MAINTAINER= tcberner@FreeBSD.org
COMMENT= Transparent git based voting system
NO_BUILD= yes
PLIST_FILES= bin/vote
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/vote/vote ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>

3
misc/vote/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1668195518
SHA256 (vote-1.1.tar.gz) = de2ad0d28cf777239fdb7e6c7c44a5dda528283bef6b807ade5ca02246497705
SIZE (vote-1.1.tar.gz) = 5196

1
misc/vote/pkg-descr Normal file
View file

@ -0,0 +1 @@
Transparent git-based vote tool for FreeBSD's teams.