Re: [Fink-devel] How to use the package validator

2002-01-26 Thread David R. Morrison

Could I suggest adding fink check and/or fink validate to the list
of commands that one sees when running fink --help?  (Or else to the
man page... or both!)  That will help us remember where to find this
later.

  Thanks,
  Dave


Max Horn [EMAIL PROTECTED] wrote:

 Sorry, should have mentioned this in the last post.
 
 The validator can validate .info and .deb files (though .deb checking 
 isn't doing much currently). You have to specify a concret file. E.g.
 
fink check myfoo-1.0-1.info
 
 or
fink validate /sw/fink/debs/myfoo-1.0-1_darwin-powerpc.deb
 
 
 If you want to check all .info files in a given directory, you could use this:
 
find -name *.info | xargs fink -q check
 
 The -q will activate quiet mode, which gives you a shorter output, 
 and also doesn't warn about description fields longer than 45 chars 
 (though it still will warn if the description takes more than 60 
 chars).
 
 
 Of course it is is not perfect, sometimes it generates invalid 
 warnings (e.g. it warned me because package align had the word 
 align in its desc, but in general is no way around that)
 
 

___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



Re: [Fink-devel] How to use the package validator

2002-01-26 Thread Max Horn

At 17:12 Uhr -0500 26.01.2002, David R. Morrison wrote:
Could I suggest adding fink check and/or fink validate to the list
of commands that one sees when running fink --help?  (Or else to the
man page... or both!)  That will help us remember where to find this
later.

Hey hey, I am just a man, not a machine :)

Feel free to add them right away, or wait time N till I do it. Though 
i think it should only be in the man page, and in the Usage file 
(read: usage.xml in the web module), not in --help.



Cheers,

Max
-- 
---
Max Horn
Software Developer

email: mailto:[EMAIL PROTECTED]
phone: (+49) 6151-494890

___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel