Re: Not only buffer cache, or portimport gets its own enlargement

2013-08-14 Thread Vadim Zhukov
sthen@ told that it would be nice to have a proof tool that should be used before sending a port to ports@. Maybe portimport is not a very good name for a such tool, but that's a separate case. :) Maybe this should be split in portcheck(1) and portimport(1)... I think of this tool not only as cvs

Re: Not only buffer cache, or portimport gets its own enlargement

2013-08-14 Thread Andres Perera
On Wed, Aug 14, 2013 at 5:15 AM, Vadim Zhukov persg...@gmail.com wrote: Index: bin/portimport === RCS file: /cvs/ports/infrastructure/bin/portimport,v retrieving revision 1.2 diff -u -p -r1.2 portimport --- bin/portimport

Re: Not only buffer cache, or portimport gets its own enlargement

2013-08-14 Thread Juan Francisco Cantero Hurtado
+is_vcs_item() { + [[ $1 == @(.git|.hg|.svn|CVS|.fossil) ]] +} s/.fossil/.fslckout/ Fossil is a little different of other VCSs. The real fossil files (myproject.fossil) are often outside of the source tree. .fslckout is created when you open a fossil repository within a directory. --

Re: Not only buffer cache, or portimport gets its own enlargement

2013-08-14 Thread Vadim Zhukov
2013/8/15 Andres Perera andre...@zoho.com: On Wed, Aug 14, 2013 at 5:15 AM, Vadim Zhukov persg...@gmail.com wrote: + p) + set -f + if [ ${PWD##$OPTARG} == ${PWD} ]; then + cat 2 EOE +${0##*/}: current directory does not seem to be under

Re: Not only buffer cache, or portimport gets its own enlargement

2013-08-14 Thread Andres Perera
On Wed, Aug 14, 2013 at 6:05 PM, Vadim Zhukov persg...@gmail.com wrote: 2013/8/15 Andres Perera andre...@zoho.com: On Wed, Aug 14, 2013 at 5:15 AM, Vadim Zhukov persg...@gmail.com wrote: + p) + set -f + if [ ${PWD##$OPTARG} == ${PWD} ]; then +

Re: Not only buffer cache, or portimport gets its own enlargement

2013-08-12 Thread Juan Francisco Cantero Hurtado
On Mon, Aug 12, 2013 at 06:10:00AM +0400, Vadim Zhukov wrote: 2013/8/12 Juan Francisco Cantero Hurtado i...@juanfra.info: On Mon, Aug 12, 2013 at 12:44:08AM +0400, Vadim Zhukov wrote: This patch adds the following functionality to portimport(1): * More checks to catch some common cases:

Re: Not only buffer cache, or portimport gets its own enlargement

2013-08-12 Thread Stuart Henderson
On 2013/08/12 06:10, Vadim Zhukov wrote: 2013/8/12 Juan Francisco Cantero Hurtado i...@juanfra.info: On Mon, Aug 12, 2013 at 12:44:08AM +0400, Vadim Zhukov wrote: This patch adds the following functionality to portimport(1): * More checks to catch some common cases: UPDATE and TODO

Re: Not only buffer cache, or portimport gets its own enlargement

2013-08-12 Thread Stuart Henderson
On 2013/08/12 10:23, Juan Francisco Cantero Hurtado wrote: On Mon, Aug 12, 2013 at 06:10:00AM +0400, Vadim Zhukov wrote: 2013/8/12 Juan Francisco Cantero Hurtado i...@juanfra.info: On Mon, Aug 12, 2013 at 12:44:08AM +0400, Vadim Zhukov wrote: This patch adds the following functionality to

Not only buffer cache, or portimport gets its own enlargement

2013-08-11 Thread Vadim Zhukov
This patch adds the following functionality to portimport(1): * More checks to catch some common cases: UPDATE and TODO files, *.core files, REVISIONs being set, SHARED_LIBS containing non-0.0 items, Mercurial repo directories. * Support for importing a subtree with Makefile.inc at

Re: Not only buffer cache, or portimport gets its own enlargement

2013-08-11 Thread Juan Francisco Cantero Hurtado
On Mon, Aug 12, 2013 at 12:44:08AM +0400, Vadim Zhukov wrote: This patch adds the following functionality to portimport(1): * More checks to catch some common cases: UPDATE and TODO files, *.core files, REVISIONs being set, SHARED_LIBS containing non-0.0 items, Mercurial repo

Re: Not only buffer cache, or portimport gets its own enlargement

2013-08-11 Thread Vadim Zhukov
2013/8/12 Juan Francisco Cantero Hurtado i...@juanfra.info: On Mon, Aug 12, 2013 at 12:44:08AM +0400, Vadim Zhukov wrote: This patch adds the following functionality to portimport(1): * More checks to catch some common cases: UPDATE and TODO files, *.core files, REVISIONs being set,