OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004834 [mgar] regular use minor always 2011-09-25 12:56 2011-09-25 13:25
Reporter skayser View Status public  
Assigned To skayser
Priority normal Resolution open  
Status assigned  
Summary 0004834: mgar doesn't assert SPKG_PACKAGER / SPKG_EMAIL
Description 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.
Additional Information $ mgar -V
0.94-dev (r557)
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0009302)
skayser (administrator)
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 (administrator)
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.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker