this was created in an effort to do more programming (due to the lack thereof (website does not count)), and to fill in the gaps of synapse on wikidata with the software version identifier section (it's like, a bit less than a year behind as of 2022-05-18).
this is intended for big gaps, not new releases. you can use the wikidata interface to add a single new release too.
go install git.sr.ht/~jacksonchen666/quick_statement_generator_for_software_version_identifier/cmd/QSGSVI@latest
go build ./cmd/QSGSVI/
-help for command arguments.
a github project must be specified, and a wikidata item must be specified.
if there are some differences in interpretation (like
rc means release candidate for version type), please modify the source code yourself.
note: the output is sorted from the newest release at the top, to the oldest at the bottom, and it will match on wikidata after adding it.
to reverse the output, i'd suggesting using the
tac command like it's
cat (see man page for more info)
quickstatments are on stdout, everything else stderr.
copy the output of the program, import as v1 commands, and do not use "batch mode" or "run in background" because that won't work and will break everything.
QSGSVI. Generates quickstatements for missing software versions. Copyright (C) 2022 JacksonChen666 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.