This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Issue 57324] The configuration system should be able to generate anequivalent of diff files.


http://bugzilla.ecoscentric.com/show_bug.cgi?id=57324


Bart Veer <bartv@ecoscentric.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|minor                       |enhancement
             Status|REOPENED                    |ASSIGNED
            Summary|.ecm files can't represent  |The configuration system
                   |removed packages            |should be able to generate
                   |                            |an equivalent of diff files.




--- Comment #5 from Bart Veer <bartv@ecoscentric.com>  2009-01-08 19:08:53 ---
The actual problem is that there are three distinct uses for .ecm-style files.

1) a compact version of a .ecc savefile, suitable for attaching to a bug report
or for archiving. That is what libcdl generates. It does not really make sense
to import this into anything except an empty configuration. Existing common
usage such as "ecosconfig import <path>/redboot_RAM.ecm" just happens to work
most of the time because it only involves adding packages and setting options,
not removing anything.

2) as a convenient way of setting a number of options, when creating a commonly
used configuration that does not exactly match one of the standard templates.
That sort of thing should really be handled by CDL scripting as per comment #3.

3) as the equivalent of a diff file, with "ecosconfig import" acting as the
equivalent of patch. The diff is relative to the target/template combination.
libcdl does not currently have any support for generating such a file, although
it should have all the necessary information in memory or fairly readily
available. Note that, as with diff and patch, many complications are possible
and the operation will not always be successful.

Current .ecm files work as designed, i.e. they provide the functionality for
(1).Problem (2), CDL scripting, is the subject of other bugzilla issues. I am
renaming this bugzilla issue to reflect problem (3).


-- 
Configure issuemail: http://bugzilla.ecoscentric.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the issue.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]