[pull-*-source] is too noisy

Bug #845787 reported by Stefano Rivera
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
Fix Released
Low
Stefano Rivera

Bug Description

Right, rather than file this as a bug, I'm asking here to see what can be done. I've recently joined Kubuntu to start rebuilding and packaging stuff for them, and I've encountered a rather unfortunate problem which is interfering with my work.

I've suffered from Photosensitive Epilepsy for about 19 years, and I'm also sensitive to rapidly repeating images. The problem I've encountered is that when I use pull-lp-source, while it's downloading stuff, it continuously fills my terminal with an enormous amount of repeating periods, which physically makes me feel sick to the extent that I have to minimize my terminal, or risk having a seizure while it's open.

I'd like to ask if it's possible to have an option to either hide the periods while it's downloading, or possibly reformat the progress into a normal counter, like [10.5%] - that kind of format would be much easier, and much less nausea inducing for people like myself to use.

The problem with minimizing the terminal, is I have no idea when it's finished downloading and I can get to work - the only way I can find out is to open the terminal, and risk having the issue start again.

Any help or support I can find from within Ubuntu / Kubuntu would be much appreciated.

Thank you.

Revision history for this message
Stefano Rivera (stefanor) wrote :

Thanks for the report. This certainly is a bug, and there's no easy solution except to fix it :)

Only workaround I can think of is
$ pull-lp-source foo | sponge

Those progress dots were always meant to be replaced with something better.

Revision history for this message
Stefano Rivera (stefanor) wrote :

Thorsteinn: Can you try the version in lp:~stefanor/ubuntu-dev-tools/progressbar-845787 ?
Is that quiet enough?

I've added an option to entirely silence downloading, but haven't hooked it up to pull-*-source.

Benjamin: We may need more verbosity levels in devscripts.logger. And you may want to implement this progress bar there.

Changed in ubuntu-dev-tools (Ubuntu):
assignee: nobody → Stefano Rivera (stefanor)
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Thorsteinn A. Malmjursson (lightningstrike35) wrote :

Unfortunately, Stefano, I'm unable to test that version from the bzr branch, as I have a feeling I'm running a different version to what the repair was built for. I should have been more specific, and for not having told you, I apologize most sincerely.

I'm on Kubuntu 11.04 (Natty Narwhal) - and when I apply this to the current install of ubuntu-dev-tools, I get the error you see here: http://paste.ubuntu.com/686159/ when trying to use pull-lp-source.

Do I have to go up to oneiric ocelot to apply this?

Revision history for this message
Benjamin Drung (bdrung) wrote :

You need to backport distro-info and devscripts from oneiric for the latest ubuntu-dev-tools version. We have a daily build PPA [1], which you can use.

[1] https://launchpad.net/~udt-developers/+archive/daily

Revision history for this message
Thorsteinn A. Malmjursson (lightningstrike35) wrote :

Ok, this I have done, Benjamin. The fix works brilliantly, no more periods (yay!) and I'm able to work as normal now. Thanks to Stefano for responding to this so quickly, the bug is resolved in my eyes. As long as the periods have gone, I'm happy :)

Revision history for this message
Benjamin Drung (bdrung) wrote :

Yes, it's a huge improvement.

Revision history for this message
Stefano Rivera (stefanor) wrote :

Merged into trunk

Changed in ubuntu-dev-tools (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-dev-tools - 0.131

---------------
ubuntu-dev-tools (0.131) unstable; urgency=low

  [ Stefano Rivera ]
  * doc/requestsync.1: Correct default value for REQUESTSYNC_SMTP_SERVER
    (LP: #844992)
  * import-bug-from-debian: Bugs are filed against source packages in Ubuntu.
    (LP: #844734)
  * Debian source publication records are all Published now, not pending
    (LP: #845487)
  * requestsync:
    - Add nice error messages to gpg-signing code, rather than simple
      assertions (LP: #537288)
    - Extract current Ubuntu delta from changelog entries and provide for
      editing (LP: #547925)
  * submittodebian:
    - Don't parse the entire changelog, to avoid bumping into past illegal
      version numbers (LP: #727314)
    - Iterate over changelog blocks rather than using Changelog's private
      _blocks list.
  * LP: #806633:
    - ubuntutools.update_maintainer: Don't use strict changelog parsing
    - sponsor-patch: Perform strict validation on the first changelog entry.
  * setup-packaging-environment:
    - Software Sources isn't on the Administration menu, post Gnome 2
      (LP: #841975)
    - Use apt-get rather than aptitude.
  * Removed get-build-deps, mk-build-deps -ir is equivalent (LP: #158108)
  * ubuntutools.archive:
    - Add quiet option to silence downloading.
    - Use wget-style progress bar (fixed width) (LP: #845787)
  * Bump python-debian B-D and Depends to 0.1.20 for unicode Changelog
    reading.
  * backportpackage: Use absolute path of workdir when test-building.

  [ Colin Watson ]
  * syncpackage: Fix typo.

  [ Benjamin Drung ]
  * ubuntutools/requestsync: Follow PEP 8 naming conventions.

 -- Stefano Rivera <email address hidden> Sat, 10 Sep 2011 16:48:23 +0200

Changed in ubuntu-dev-tools (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.