Mantis - mgar
Viewing Issue Advanced Details
4834 regular use minor always 2011-09-25 12:56 2011-09-25 13:25
skayser  
skayser  
normal  
assigned  
open  
none    
none  
0004834: mgar doesn't assert SPKG_PACKAGER / SPKG_EMAIL
When using mgar for the first time you might not have taken care of your ~/.garrc. When you then execute e.g. mgar package, mgar will just trigger GAR which in turn will complain loudly (but not fail hard) with each invocation.

...
        ==> Trying file://files/COPYING [^]
/home/skayser/mgar/pkg/.buildsys/v2/gar//gar.pkg.mk:175: Please set SPKG_PACKAGER in your .garrc file to your name
/home/skayser/mgar/pkg/.buildsys/v2/gar//gar.pkg.mk:180: Please set SPKG_EMAIL in your .garrc file to your email address
...

Let mgar assert these settings and provide a template ~/.garrc that's displayed to the user if the settings are missing.
$ mgar -V
0.94-dev (r557)
Issue History
2011-09-25 12:56 skayser New Issue
2011-09-25 12:57 skayser Status new => assigned
2011-09-25 12:57 skayser Assigned To => skayser
2011-09-25 13:11 skayser Note Added: 0009302
2011-09-25 13:25 skayser Note Added: 0009303

Notes
(0009302)
skayser   
2011-09-25 13:11   
Also consider to disable Git patching in the ~/.garrc template (NOGITPATCH=1) so that new users don't need to set the git config bits (user.email, user.name) right away, but can do so, once they start creating patches.
(0009303)
skayser   
2011-09-25 13:25   
Slightly related. Include ENABLE_CHECK=0 in ~/.garrc template (for off-buildfarm usage) to spare people from checkpkg setup requirements.