Why pkglint?
PR pkg/46570 infelicities in pkglint
"A good start would be rewriting it not in perl."
"A good start would be rewriting it not in perl."
"A good start would be rewriting it not in perl."
"When you throw away code and start from scratch, you are throwing away all that knowledge. All those collected bug fixes. Years of programming work."
"A good start would be rewriting it not in perl."
"When you throw away code and start from scratch, you are throwing away all that knowledge. All those collected bug fixes. Years of programming work."
"It's important to remember that when you start from scratch there is absolutely no reason to believe that you are going to do a better job than you did the first time."
git
$ echo .git >> ~/.cvsignore
$ echo CVS >> ~/.gitignore_global
$ cd $PKGSRCDIR/pkgtools/pkglint
$ git init
$ git add .
$ git commit -am 'Add pkglint to git for offline hacking.'
$ git checkout -b rehab
$ cd $PKGSRCDIR/pkgtools/pkglint
$ git checkout master
$ cvs update
$ git commit -am 'Track upstream changes from pkgsrc CVS.'
$ git checkout rehab
$ git rebase master
$ vi files/pkglint.t files/pkglint.pl && make test && make clean
$ git commit -am 'More cool stuff on my branch.'
TDD leads to code that looks like it was written by someone careful, skillful, and tasteful.
Whether or not we decide to rewrite pkglint, first we have to understand and document its current behavior.
Never too late to test first. Just a bit more difficult.
pkgsrc-current
make test
(just barely)Approved-by: wiz
git
make test
(no custom settings needed)if/elsif/else
block to dispatch tablePlanning to merge to pkgsrc
. In the meantime, see
GitHub.
pkgsrc/mk
ispkgsrc/mk
isGradually...
pkgsrc
specialpkgsrc
forward