Skip to content

bot: Use Mercurial with Python 3 #365

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

Merged
merged 3 commits into from
Jan 10, 2020
Merged

Conversation

marco-c
Copy link
Collaborator

@marco-c marco-c commented Jan 7, 2020

Fixes #332

@marco-c marco-c requested a review from La0 January 7, 2020 15:36
@marco-c
Copy link
Collaborator Author

marco-c commented Jan 7, 2020

From ~104 MB to ~83,5 MB.

Copy link
Contributor

@La0 La0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works

lao@excalibur:~ docker load -i Downloads/code-coverage-bot\(1\).tar 
965ae6d92530: Loading layer [==================================================>]  4.022kB/4.022kB
7bf898e6c3e0: Loading layer [==================================================>]   23.2kB/23.2kB
2244af031428: Loading layer [==================================================>]  12.88MB/12.88MB
64f80685524a: Loading layer [==================================================>]  3.667MB/3.667MB
12691c5e5835: Loading layer [==================================================>]  10.88MB/10.88MB
The image registry.hub.docker.com/mozilla/code-coverage:bot-dev already exists, renaming the old one with ID sha256:6aa64f7b9ccc8d327fb03440408044f31998898961ded6f982cd46813ce93d0c to empty string
Loaded image: registry.hub.docker.com/mozilla/code-coverage:bot-dev
Loaded image: registry.hub.docker.com/mozilla/code-coverage:bot-fbef2590182c0b6f20a2235351f5977fc0ed3524
lao@excalibur:~ docker run -it registry.hub.docker.com/mozilla/code-coverage:bot-dev bash
root@ef0950872fec:/# hg version
Mercurial Distributed SCM (version 5.2)
(see https://mercurial-scm.org for more information)

Copyright (C) 2005-2019 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
root@ef0950872fec:/# python2
bash: python2: command not found
root@ef0950872fec:/# python
Python 3.7.6 (default, Jan  3 2020, 23:35:31) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 

@marco-c
Copy link
Collaborator Author

marco-c commented Jan 7, 2020

robustcheckout doesn't work yet though, so we need to wait for it to be fixed before being able to merge this.

@La0
Copy link
Contributor

La0 commented Jan 7, 2020

@marco-c
Copy link
Collaborator Author

marco-c commented Jan 10, 2020

The bug has been fixed!

@marco-c marco-c merged commit 3078849 into mozilla:master Jan 10, 2020
@marco-c marco-c deleted the mercurial_python_3 branch January 10, 2020 15:16
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

Successfully merging this pull request may close these issues.

Switch Mercurial to Python 3
2 participants