http://bugzilla.moblin.org/show_bug.cgi?id=9759
--- Comment #3 from pohly <patrick.ohly(a)intel.com> 2010-02-26 01:23:51 PST ---
Patch below in "pohly" branch. Yongsheng, can you review? Does that solve the
problem well enough so that we can close this issue?
commit b5ed5ec60a5f5b97a8eacafa9d25235730b05117
Author: Patrick Ohly <patrick.ohly(a)intel.com>
Date: Fri Feb 26 10:08:02 2010 +0100
LogDir: use a-z instead of number to make session dirs unique (MB #9759)
Using numbers 1..9..10.. as suffix had the problem that sorting
puts -10 in front of -2. Because we use hh-mm as base name, this
limited us to 9 sessions per minute, which is easily reached
when doing local testing.
By switching to -a to -z as suffix, we get 27 sessions per minute
before moving on to less nice characters (possible, but might
make file names unusuable eventually). That should be enough.
In local tests I got as far as -q.
With this change, the LogDir expire tests can be merged back
into one function.
An additional benefit is that the suffix is visually different
from the base name, which makes it a bit easier to identify
yyyy-mm-dd-hh-mm manually.
--
Configure bugmail:
http://bugzilla.moblin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.