Opened 10 years ago

Closed 10 years ago

Last modified 3 years ago

#3119 closed defect (invalid)

uci section format change

Reported by: alex@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version:
Keywords: Cc:


The new uci script produce a different <section> name when using "uci show xxx".


this format complicates the possibility to customize by scripts the system configuration. The prior formatting (ie : system.cfg1.xxxx) seems to be more usable because easy to anticipate.

Is it possible to revert to .cfgN. formatting ?

Attachments (0)

Change History (4)

comment:1 Changed 10 years ago by anonymous

Right. Why make it more complicate if the old system *.cfg1.* was ok?

comment:2 Changed 10 years ago by nbd

  • Resolution set to invalid
  • Status changed from new to closed

comment:3 Changed 10 years ago by nbd

17:20 < forum2008_> well,
17:20 < nbd> ah, that
17:20 < nbd> well, the old system was not ok
17:20 < nbd> imagine this:
17:20 < nbd> you have four unnamed sections
17:21 < nbd> one script deletes section 1 without committing
17:21 < nbd> another one deletes section 2 without committing
17:21 < nbd> but if script one ran first
17:21 < nbd> then script two will have accidentally deleted the original section 3 instead of section 2
17:21 < nbd> the name-by-numbers thing is too error prone
17:22 < forum2008_> ok. i see :)
17:22 < nbd> so what my stuff does is when loading the initial config file, it builds a hash out of the section type and it's names/options
17:22 < nbd> and adds the increasing number as well
17:22 < nbd> i'll add this info to the ticket
17:22 < forum2008_> ok. makes sense. please explain this on the ticket :)

comment:4 Changed 3 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.