Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mercurial support #30

Closed
prologic opened this issue Aug 23, 2013 · 4 comments
Closed

Mercurial support #30

prologic opened this issue Aug 23, 2013 · 4 comments

Comments

@prologic
Copy link

$ coveralls 
Submitting coverage to coveralls.io...
Traceback (most recent call last):
  File "/Users/s2092651/bin/coveralls", line 9, in <module>
    load_entry_point('coveralls==0.2', 'console_scripts', 'coveralls')()
  File "/Users/s2092651/lib/python2.7/site-packages/coveralls/cli.py", line 48, in main
    result = coverallz.wear()
  File "/Users/s2092651/lib/python2.7/site-packages/coveralls/api.py", line 72, in wear
    data = self.create_data()
  File "/Users/s2092651/lib/python2.7/site-packages/coveralls/api.py", line 112, in create_data
    self._data.update(self.git_info())
  File "/Users/s2092651/lib/python2.7/site-packages/coveralls/api.py", line 146, in git_info
    'id': gitlog('%H'),
  File "/Users/s2092651/lib/python2.7/site-packages/coveralls/api.py", line 162, in gitlog
    return str(git('--no-pager', 'log', "-1", pretty="format:%s" % format))
  File "/Users/s2092651/lib/python2.7/site-packages/sh.py", line 726, in __call__
    return RunningCommand(cmd, call_args, stdin, stdout, stderr)
  File "/Users/s2092651/lib/python2.7/site-packages/sh.py", line 291, in __init__
    self.wait()
  File "/Users/s2092651/lib/python2.7/site-packages/sh.py", line 295, in wait
    self._handle_exit_code(self.process.wait())
  File "/Users/s2092651/lib/python2.7/site-packages/sh.py", line 309, in _handle_exit_code
    self.process.stderr
sh.ErrorReturnCode_128: 

  RAN: '/usr/local/bin/git --no-pager log -1 --pretty=format:%H'

  STDOUT:


  STDERR:
fatal: Not a git repository (or any of the parent directories): .git
@coagulant
Copy link
Contributor

Only projects hosted on Github are supported.

I'll be happy to see pull requests with hg support, in case coveralls.io supports it.

@prologic
Copy link
Author

Bit silly to only support Github/Git. There are other tools and services
that developers use and prefer! Ill look into this more...
Mercurial/Bitbucket support would be awesome!

Sent from my iPad

On 23/08/2013, at 17:25, Ilya Baryshev notifications@github.com wrote:

Only projects hosted on Github are supported.
I'll be happy to see pull requests with hg support, in case
coveralls.iosupports it.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/30#issuecomment-23147583
.

@coagulant
Copy link
Contributor

Bit silly to only support Github/Git.

I suppose, since hg users are clearly a minority, coveralls devs haven't supported bitbucket yet.
However, I think we can forge commit data as if it came from git and not mercurial, so I'll label this issue as "Accepting PR" feature.

As for bitbucket support, please open a ticket in LemurHeavy feedback tracker, maybe they'll add integration someday https://github.com/lemurheavy/coveralls-public/issues?state=open

@coagulant
Copy link
Contributor

Closing this, as this can't be done at this moment (no support for bitbucket on coveralls.io part).
Feel free to reopen when and if such support appears.

Current workaround is to maintain a mercurial mirror on github.

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

No branches or pull requests

2 participants