From a09ea1f3acb16e0b7f972b36f42c515a50cbce09 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 19 May 2023 05:20:05 -0400 Subject: sbolint: move old change-comments to a new file. --- ChangeLog.sbolint.old | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ sbolint | 49 ------------------------------------------------- 2 files changed, 48 insertions(+), 49 deletions(-) create mode 100644 ChangeLog.sbolint.old diff --git a/ChangeLog.sbolint.old b/ChangeLog.sbolint.old new file mode 100644 index 0000000..3fb55d1 --- /dev/null +++ b/ChangeLog.sbolint.old @@ -0,0 +1,48 @@ +# old pre-git ChangeLog: + +# 0.5.2 20220702 bkw: if SlackBuild doesn't exist, skip other checks. + +# 0.5.1 20220702 bkw: only check junk files if checking a tarball. + +# 20220513 bkw: starting with 0.5, moved to sbo-maintainer-tools repo. + +# 0.4 20220314 bkw: add -a option to check all builds in the git repo. + +# 0.3 20200420 bkw: +# - Check github URLs for validity. + +# 0.2 20200103 bkw: +# - Use "git rev-parse" to decide if we're in a git repo, because +# "git status" traverses the whole repo looking for untracked files. +# It does this even if you use -uno (it won't *print* the untracked +# files, but it still searches for them). Thanks to alienBOB for cluing +# me in to using rev-parse for this. +# - Skip the junkfiles check when we're in a git repo. It's more +# annoying than it is useful. +# - Allow possible -e/-u arguments in the shebang. +# - Avoid false positives when the script does a "cd $PKG" and then +# uses relative paths for install/*. +# - Require VERSION= to appear within the first 10 non-comment/non-blank +# lines, and don't check it anywhere else in the script. +# - Allow scripts to skip lint checks via ###sbolint on/off comments. + +# 0.1 20141114 bkw, Initial release. + +# This script is meant to be fairly self-contained, prefer not to +# require a huge pile of perl module dependencies. In some cases this +# means using system() or backticks or such (e.g. to run tar, instead of +# using Archive::Tar). Please don't "improve" the script by using a ton +# of modules. The POSIX module ships with perl, not afraid of using that. + +# future options: +# -l list packages with errs/warnings, don't give details +# possibly some way to selectively disable the checks (does anyone +# really need this?) + +# future ideas for checks: +# - REQUIRES= packages have to exist? annoying if you're working on a batch +# of stuff to be submitted together. +# - Validate images, e.g. icon.png or .xpm or such. ImageMagick's identify +# command can tell a non-image or a wrong-format image (a .jpg filename +# that's actually a PNG image), but it doesn't detect truncated images. +# Also we have to parse its stdout/stderr, it returns 0. diff --git a/sbolint b/sbolint index d418d5a..00d39d9 100755 --- a/sbolint +++ b/sbolint @@ -3,55 +3,6 @@ # Don't edit the next line; use "make version" instead. $VERSION="0.8.0"; -# old pre-git ChangeLog: - -# 0.5.2 20220702 bkw: if SlackBuild doesn't exist, skip other checks. - -# 0.5.1 20220702 bkw: only check junk files if checking a tarball. - -# 20220513 bkw: starting with 0.5, moved to sbo-maintainer-tools repo. - -# 0.4 20220314 bkw: add -a option to check all builds in the git repo. - -# 0.3 20200420 bkw: -# - Check github URLs for validity. - -# 0.2 20200103 bkw: -# - Use "git rev-parse" to decide if we're in a git repo, because -# "git status" traverses the whole repo looking for untracked files. -# It does this even if you use -uno (it won't *print* the untracked -# files, but it still searches for them). Thanks to alienBOB for cluing -# me in to using rev-parse for this. -# - Skip the junkfiles check when we're in a git repo. It's more -# annoying than it is useful. -# - Allow possible -e/-u arguments in the shebang. -# - Avoid false positives when the script does a "cd $PKG" and then -# uses relative paths for install/*. -# - Require VERSION= to appear within the first 10 non-comment/non-blank -# lines, and don't check it anywhere else in the script. -# - Allow scripts to skip lint checks via ###sbolint on/off comments. - -# 0.1 20141114 bkw, Initial release. - -# This script is meant to be fairly self-contained, prefer not to -# require a huge pile of perl module dependencies. In some cases this -# means using system() or backticks or such (e.g. to run tar, instead of -# using Archive::Tar). Please don't "improve" the script by using a ton -# of modules. The POSIX module ships with perl, not afraid of using that. - -# future options: -# -l list packages with errs/warnings, don't give details -# possibly some way to selectively disable the checks (does anyone -# really need this?) - -# future ideas for checks: -# - REQUIRES= packages have to exist? annoying if you're working on a batch -# of stuff to be submitted together. -# - Validate images, e.g. icon.png or .xpm or such. ImageMagick's identify -# command can tell a non-image or a wrong-format image (a .jpg filename -# that's actually a PNG image), but it doesn't detect truncated images. -# Also we have to parse its stdout/stderr, it returns 0. - =pod =head1 NAME -- cgit v1.2.3