[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[GSOC]Show progress output

From: Hao Zhang <bigzhanghao_at_gmail.com>
Date: Wed, 25 Mar 2009 08:07:21 -0700 (PDT)

Hi, all. I'm a postgraduate on CS. I would like to pick up the subject 'Show progress output' as my GSOC project.

After using SVN for nearly two years, I would love to do some contribution to the good VCS. I have collect some information about this feature, wish for some advice and comments.

As the Issue #901 mentioned, when update, check in or out a huge bytes, users can just see a lot of dots or a long list of files. This is a bit dull. If a progress indicator gives a percentage of the total size to transmit, or the total number of files to transmit, users will be happy.

A.What info available for this feature.

As to this feature, its function is in some degree determined by what information we can get from the context. Some discussions before shows us:
1. Amount of files to transmit is known.
2. Amount of all data to transmit is unknown.
3. Amount of data per file is known by Neon.
4. Amount of data what has been transmitted per file is certainly known.
5. Amount of data what has been transmitted altogether is certainly known.

As the discussions I found is a bit old, some were created years ago. I don't know what's the situation in the newest version, wish for your comments about them, or show me where to found more info. Oh, I have found the struct svn_client_ctx_t in svn_client.h, but the more, the better!

B. My Initial ideas

1. The progress bar should be launched after a threshold time (several seconds).
2. Show a sub-progress indicator per file to suite huge files or weak network access.
3. Some kind of callback function should be defined to simplify third party GUI tools to use.
4. survey to collect system information and user requirement, write test cases, do the coding.

C.Besides the feature, I also need some advice about getting familiar with source code of SVN, wish for some useful links or documents.

Wish for your instructions!

Regards
Hao Zhang

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1416409
Received on 2009-03-25 17:48:45 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.