Skip to content

Conversation

mbland
Copy link
Owner

@mbland mbland commented Jan 18, 2017

While beginning to write my first plugin for the framework, I found myself writing utilities to fetch remote files and repositories that I thought would be useful to add to the core builtins. They depend on external programs, but that's par for the course.

While beginning to write my first plugin for the framework, I found
myself writing utilities to fetch remote files and repositories that I
thought would be useful to add to the core builtins. They depend on
external programs, but that's par for the course.
@mbland mbland added this to the v1.4.0 milestone Jan 18, 2017
@mbland mbland self-assigned this Jan 18, 2017
The first fix for the `get file` test involves matching `wget` smart
quotes using a regex rather than an exact match, since the quote
characters appear to vary across systems or `wget` versions.

The second fix for the `get git-repo` test involves creating a proper
test repo instead of relying on Travis's clone of the framework repo,
since it makes a shallow clone of the framework repo but its stock
Ubuntu Precise image contains an ancient version of git (1.8) that can't
handle cloning shallow repos.

See: https://travis-ci.org/mbland/go-script-bash/builds/193181544
@mbland
Copy link
Owner Author

mbland commented Jan 18, 2017

Hit a couple of interesting corner cases, per usual. See the message from commit 2908c65 for details.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 95.336% when pulling 0b65659 on get into 53e61be on master.

Another failure from #114, this time because the test repo needs to
configure its identity before committing files.

See: https://travis-ci.org/mbland/go-script-bash/builds/193200003
@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 95.295% when pulling 2908c65 on get into 53e61be on master.

@mbland
Copy link
Owner Author

mbland commented Jan 18, 2017

Pushed another fix in commit 20f3711, because the test repo needs to configure its identity before committing files.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 95.295% when pulling 20f3711 on get into 53e61be on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants