sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 8099] Can't scribe add rsync grimoire, wrong percent bar
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 8099] Can't scribe add rsync grimoire, wrong percent bar
- Date: Fri, 28 Jan 2005 14:50:37 -0800 (PST)
http://bugs.sourcemage.org/show_bug.cgi?id=8099
------- Additional Comments From vlmarek AT volny.cz 2005-01-28 14:50 -------
url_rsync_run_rsync:
...
let TOTAL=$(find $2 -type f 2>/dev/null | wc -l)
if [ "$TOTAL" -lt 2 ] ; then
# this is a hack to handle the case of a brand new tree
# we dont want the progress bar to be too short
let TOTAL=100
else
...
later:
progress_bar $COUNT $TOTAL 50
In libmisc, function progress_bar:
...
# Can't make a bar because there's no total, or the length isn't
# long enough, or if there is no length
if [ $# -lt 2 ] || [ $len -lt 8 ] ; then
message -n "."
return 0
fi
...
How difficult would be have another variable in url_rsync_run_rsync, so that
it
would feed progress_bar with empty string instead of $total, and it would
output
dots ?
But as I said, it's just a minor cosmetic problem.
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-
[SM-Sorcery-Bugs] [Bug 8099] Can't scribe add rsync grimoire, wrong percent bar,
bugzilla-daemon, 01/26/2005
- <Possible follow-up(s)>
- [SM-Sorcery-Bugs] [Bug 8099] Can't scribe add rsync grimoire, wrong percent bar, bugzilla-daemon, 01/27/2005
- [SM-Sorcery-Bugs] [Bug 8099] Can't scribe add rsync grimoire, wrong percent bar, bugzilla-daemon, 01/28/2005
- [SM-Sorcery-Bugs] [Bug 8099] Can't scribe add rsync grimoire, wrong percent bar, bugzilla-daemon, 01/28/2005
- [SM-Sorcery-Bugs] [Bug 8099] Can't scribe add rsync grimoire, wrong percent bar, bugzilla-daemon, 01/28/2005
- [SM-Sorcery-Bugs] [Bug 8099] Can't scribe add rsync grimoire, wrong percent bar, bugzilla-daemon, 01/28/2005
- [SM-Sorcery-Bugs] [Bug 8099] Can't scribe add rsync grimoire, wrong percent bar, bugzilla-daemon, 01/28/2005
- [SM-Sorcery-Bugs] [Bug 8099] Can't scribe add rsync grimoire, wrong percent bar, bugzilla-daemon, 01/28/2005
- [SM-Sorcery-Bugs] [Bug 8099] Can't scribe add rsync grimoire, wrong percent bar, bugzilla-daemon, 01/28/2005
- [SM-Sorcery-Bugs] [Bug 8099] Can't scribe add rsync grimoire, wrong percent bar, bugzilla-daemon, 01/28/2005
Archive powered by MHonArc 2.6.24.