[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] linefeeds in state.db



On 27/09/11 12:01, George Shuklin wrote:
> Good day.
>
> May be I'm saying strange thing, but current state.db for xapi not very
> suited for editing. I know at least two well-known cases, when editing
> by hand is proposed as 'quick fix' and I have few own cases when vi
> state.db was useful.
>
> But now state.db is one VERY long line, so editing is very
> discomforting. I use tidy (with -xml option) to clean up text, edit it
> and put back as state.db.
>
> I thinking: may be few linefeeds in state.db will improve situation? 
>

Well, we really don't want people to edit state.db by hand, so I don't
think it will be a priority to make it more human-readable. Whenever we
need to hand-edit a state.db, we just run it through 'xmllint --format'
first, which seems to work well.

Mike

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.