Accepting request 876001 from home:mgerstner:branches:editors
- vim-changelog.sh: * use https:// URL for authenticity. For this URL needs to be changed to nluugl.nl which is the actual server behind this and the SSL certificate only works for this URL. * Check for number of arguments. * Maintain leading zeroes in version arguments, otherwise things like `vim-changelog.sh 0007 0010` fail to work. OBS-URL: https://build.opensuse.org/request/show/876001 OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=651
This commit is contained in:
parent
c6d85ad3bb
commit
d614f5a310
@ -1,10 +1,15 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
directory=http://ftp.vim.org/pub/vim/patches
|
||||
directory=https://ftp.nluug.nl/pub/vim/patches/
|
||||
version=8.2
|
||||
|
||||
if [ $# -ne 2 ]; then
|
||||
echo "usage: $0 <old-minor-version> <new-minor-version>" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Updated to version $version.$(echo $2 | sed 's/^*//'), fixes the following problems"
|
||||
for i in $(seq $1 $2); do
|
||||
for i in $(seq -w $1 $2); do
|
||||
curl $directory/$version/$version.$i -s | grep -v "Binary file (standard input) matches" | \
|
||||
tr -d '\n' | grep -oP "Problem:.*Solution:" | sed s,"Problem: "," * ", | sed s,"Solution:",, | \
|
||||
tr '\t' '\n' | sed s,' ','', | fmt -w 80
|
||||
|
11
vim.changes
11
vim.changes
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 1 13:45:17 UTC 2021 - Matthias Gerstner <matthias.gerstner@suse.com>
|
||||
|
||||
- vim-changelog.sh:
|
||||
* use https:// URL for authenticity. For this URL needs to be changed to
|
||||
nluugl.nl which is the actual server behind this and the SSL certificate
|
||||
only works for this URL.
|
||||
* Check for number of arguments.
|
||||
* Maintain leading zeroes in version arguments, otherwise things
|
||||
like `vim-changelog.sh 0007 0010` fail to work.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 18 16:44:25 UTC 2021 - Ludwig Nussel <lnussel@suse.de>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user