GithubHelp home page GithubHelp logo

Comments (10)

adracus avatar adracus commented on September 3, 2024

I identified this issue in the git library which I am
using for dart-coveralls. I'll try to reproduce the bug and to fix it as soon as I can.

from dart-coveralls.

devoncarew avatar devoncarew commented on September 3, 2024

Awesome, thanks for taking a look. If you do find an issue in the git library please let Kevin know - it would be fantastic to get code coverage working for our dart projects.

from dart-coveralls.

adracus avatar adracus commented on September 3, 2024

Could you give it a try again? I tried to fix the issue in this commit.

from dart-coveralls.

devoncarew avatar devoncarew commented on September 3, 2024

Sure, I'll give it another shot.

from dart-coveralls.

devoncarew avatar devoncarew commented on September 3, 2024

Hmm, still an unhappy build:

https://travis-ci.org/dart-lang/usage/builds/44379782

Unhandled exception:
Uncaught Error: ProcessException: 
  Command: git show-ref HEAD --heads
Stack Trace:
#0      GitBranch.getCurrent (package:dart_coveralls/git_data.dart:155)
#1      GitData.getGitData (package:dart_coveralls/git_data.dart:177)
#2      CoverallsReport.getReportFromLcovString (package:dart_coveralls/dart_coveralls.dart:309)
#3      ReportPart.execute.<anonymous closure> (http://localhost:57633/src/calculate_and_send_coverage.dart:48)

from dart-coveralls.

devoncarew avatar devoncarew commented on September 3, 2024

(and it is using the latest version of the package - Activated dart_coveralls 0.0.17.)

from dart-coveralls.

adracus avatar adracus commented on September 3, 2024

I've now cloned the repository and am able to completely reproduce the bug. It seems happen because of the detatched head state through travis. I'll dig into this now and finally fix it.

from dart-coveralls.

adracus avatar adracus commented on September 3, 2024

I've fixed the detatched HEAD issue (now, if detatched HEAD state => try to get to the last branch). The issue should be resolved (again, hopefully this time), if I run the dart_coveralls report lokally in a dry-run it suceeds

from dart-coveralls.

devoncarew avatar devoncarew commented on September 3, 2024

OK, I'll give it another go.

from dart-coveralls.

devoncarew avatar devoncarew commented on September 3, 2024

Thanks, I have it working. I'm see some other issues; I'll close this out and file new items.

from dart-coveralls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.