Commit Graph

7 Commits

Author SHA1 Message Date
supechicken
2f24f701cc downloader: Fix endless download (#7933) 2023-02-13 15:51:27 -05:00
supechicken
43381ba173 lib/downloader: Fix progress bar length on older CrOS terminals (#7482)
* Fix progress bar on older CrOS terminals

* Make rubocop happy

* Use new color code functions

* Make rubocop happy

* Align variables

* Fix typo

* Remove extra space
2022-10-14 11:43:44 -05:00
Maximilian Downey Twiss
b5e4cedb0d Re-enable And/Or cop, lint tree (#7457) 2022-10-05 20:16:53 -05:00
Maximilian Downey Twiss
de24923ee8 Add Rubocop CI (#7083)
* Rename IgnoredPatterns to AllowedPatterns.

* Exclude docopt.rb (not our code) from Rubocop

* Disable Style/RedundantReturn

* Disable Style/MutableConstant

* Disable Style/NumericLiterals

* Set Layout/IndentationStyle to spaces

* Temporarily disable various cops.

* Add Rubocop CI via Octocop

* Lint tree with rubocop -A -c .rubocop.yml

Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2022-08-22 13:31:25 -04:00
supechicken
777e9177f0 lib/progress_bar: Fix non-interactive terminal fallback logic (#7276) 2022-08-16 15:41:44 -04:00
supechicken
de5bf96d41 lib/downloader: Add fix for invalid file size recieved from server (#7271)
* Add fix for github raw links

* lib/downloader: Add fix for github raw links

* Update comment
2022-08-14 13:02:32 -05:00
supechicken
64ba6d7ab5 lib/downloader: New progress bar style, disappear after download complete (#7270)
* lib/downloader: New progress bar design, with more info

* Reduce progress bar update time

* Clear progress bar when success only

* Update progress_bar.rb

* Update downloader.rb
2022-08-14 09:53:36 -05:00