Skip to content

Commit

Permalink
Better download progress
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Jan 12, 2019
1 parent 26b8a4f commit eab4789
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
15 changes: 15 additions & 0 deletions CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Contributor Code of Conduct

As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.

We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.

Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.

This code of conduct applies both within project spaces and in public spaces when an individual is representing the project or its community.

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.

This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.1.0, available at [http://contributor-covenant.org/version/1/1/0/](http://contributor-covenant.org/version/1/1/0/)
15 changes: 15 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Contributing

:tada: First off, thanks for taking the time to contribute! :tada:

## How can I contribute?

Contributors are expected to follow the [Collective Code of Construction Contract (C4)](https://rfc.zeromq.org/spec:42/C4/). You should read the document before making a pull request.

Chime in on [the forum](http://community.opendronemap.org) to find out how you can help, or take a look at the list of [open issues](issues).

## Code of Conduct

This project adheres to the [Contributor Covenant](CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to the project maintainers.


2 changes: 1 addition & 1 deletion internal/odm/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func (n Node) TaskDownload(uuid string, asset string, outputFile string) error {
if showProgress {
bar = pb.New64(totalBytes).SetUnits(pb.U_BYTES).SetRefreshRate(time.Millisecond * 10)
bar.Start()
bar.Prefix("[" + out.Name() + "]")
bar.Prefix("[" + asset + "]")
}

writer := io.MultiWriter(out, bar)
Expand Down

0 comments on commit eab4789

Please sign in to comment.