patchAVR Downloader/UploaDEr - Patches: patch #7699, Read additional config files

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #7699: Read additional config files

Submitter:  Rene Liebscher <rliebscher>
Submitted:  Fri 06 Jan 2012 12:00:50 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  rliebscher Open/Closed:  Closed

Tue 10 Jan 2012 06:08:21 PM UTC, comment #2: 

Integrated in svn revision 1038

Rene Liebscher <rliebscher>
Group Member
Fri 06 Jan 2012 08:06:50 PM UTC, comment #1: 

I'm fine with the idea of -C +<filename>.

Joerg Wunsch <joerg_wunsch>
Group administrator
Fri 06 Jan 2012 12:00:50 PM UTC, original submission:  

For creating and testing new config entries it is useful to be able to read additional config files.

The normal -C option always requires a complete (patched) copy of the original config file.

This patch allows to specify additional config files to be read after the system wide file, by writing -C +filename at the command line. (Is this change acceptable for this option?)

For example I use this as follows:

./avrdude -C avrdude.conf -C +../conf/o-link.conf -C +../conf/pwm316.conf ....

This change implies that you cannot simply specify any filename starting with '+' as replacement for the system configuration file. The workaround would be to use a path as -C ./+abc (in case anyone uses such filenames).

As this patch allows to  load single config entries, new patches for new parts and programmers might provide the changes also as single files in config format. This can be added at svn integration somewhere in the system wide file or be used directly from the patch tracker by any user who wants to test/use this new entry (without to patch its config file)

May be we get so more patches for new parts as people do not need to use diff tools for creating patch files.

Rene Liebscher <rliebscher>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by rliebscher (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-01-10 rliebscher StatusNone Done
        Open/ClosedOpen Closed
    2012-01-06 rliebscher Attached File- Added additional_config_files.diff, #24748

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code