buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor Hugo Borja (JIRA)" <>
Subject [jira] Reopened: (BUILDR-57) Implement our own progress bar for download/upload
Date Wed, 02 Apr 2008 00:41:24 GMT


Victor Hugo Borja reopened BUILDR-57:

The new progressbar is not working on my environment (Buildr trunk, JRuby 1.1RC3, Gentoo Linux)

$ jruby -S buildr artifacts
JRuby limited openssl loaded. gem install jruby-openssl for full support.
(in /home/vic/tmp/foo, development)
Downloading org.apache.ant:ant:jar:1.7.0
stty: standard input: Invalid argument
undefined method `-' for nil:NilClass
rake aborted!
Failed to download org.apache.ant:ant:jar:1.7.0, tried the following repositories:

(See full trace by running task with --trace)

The problem seems to be on line 33 of progressbar.rb, this may be a bug with highline+jruby:

$ ~/opt/jruby-1.1RC3/bin/jruby -rubygems -e 'require "highline/import"; p $terminal.output_cols'
stty: standard input: Invalid argument

> Implement our own progress bar for download/upload
> --------------------------------------------------
>                 Key: BUILDR-57
>                 URL:
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Assaf Arkin
>            Assignee: Assaf Arkin
>             Fix For: 1.3
> Since we decided to get rid of Facets, we can no longer use its progressbar implementation.
 There exists a progressbar gem, but it's doesn't render as smartly as we'd like it to.  A
newer version of that code base (still not perfect) is available, but not as a gem, and due
to licensing can't be included in the code base.
> So this is an opportunity to write a progressbar implementation that:
> a)  Only does what we need it to.
> b)  Without the patches (see transports.rb) required to make it work.
> c)  And can depend on Highline to figure out screen resolution.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message