-
Notifications
You must be signed in to change notification settings - Fork 143
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
[format] Use thousands separator to improve readability #222
Conversation
7660e69
to
224a945
Compare
Any more changes suggested? |
No, but the CI is broken. It appears to be running on your CircleCI instance, which isn‘t useful since yours doesn‘t have all the secret deploy keys etc. |
Ping? |
Yes, what can I do? |
The CI is broken, because it runs on your CircleCI instance. Not sure why. |
I think this is the default as it is still my branch and not (yet) part of github.com/modm-io/modm. You could pull the branch from me and then push it to modm-io. Then modm-io's CircleCI instance will build it. Alternatively, you probably could have a read here. |
224a945
to
7941a1b
Compare
I meanwhile rebased to current develop |
7941a1b
to
06e1082
Compare
So what is happening with CircleCI? I have an account with CircleCI, so my branches from Github are built with CircleCI, even without me having opened a PR here at Github. These jobs are named after my Github branches: In a PR, Github is reusing these jobs to avoid rerunning the same jobs again. I assume: For PRs from contributors without a CircleCI account, the jobs are created in the modm-io account of CircleCI, like with #228 https://circleci.com/gh/modm-io/modm/11870 As modm's CircleCI config instructs CircleCI to run the @salkinium How to deal with it? What was the motivation to build docs only for branches with name beginning with |
There are two docs related jobs, the I utterly disagree with github/circleci that they should be reusing build jobs from another account, that makes absolutely no sense and is a complete liability. I’ve never heard of a CI where the user provides the passing checks. I cannot check the environment of your instance, neither should I need to check your instance for conformity. And I am most certainly not sharing the commit key to modm.io. There must be a setting for this, I just haven‘t found it yet. |
@@ -354,9 +354,6 @@ workflows: | |||
- stm32g0-compile-all | |||
- stm32l4-compile-all | |||
- build-docs: | |||
filters: | |||
branches: | |||
only: /^pull\/.*$/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No.
Might this enable building the PRs inside of the Still a very interesting config. What if I PR'ing something with Questions, questions, questions ... |
It's set to On otherwise it would build no pull requests at all (yes I've tested this).
The access to modm.io is done via SSH key. From the docs:
Lolwut? I guess anyone can just echo out the private key?
Why do I even bother with this shit? |
13af77b
to
4d12d13
Compare
I'm just going to ignore this CI issue for now… *pouts* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
A better condition for |
4d12d13
to
986a50d
Compare
@salkinium Would you accept the reformulated condition for the pull request in CircleCI? |
There is no guarantee that PR branches in CircleCI are called /pull/*
986a50d
to
f35807d
Compare
I think the canonical fix would be to change the branch regex to include feature/ and fix/ name prefixes, or to use the negated version, ie. run iff not develop (which I couldn‘t get to work, probably too dumb for it). |
Specifically, I could not get the |
Could you describe when the |
The build-doc could be run in parallel to the compile all jobs, except for develop where it must run last in order to NOT push to modm.io in case something does fail in compile all. It‘s a last defense in that sense. I like the way it is now, since the build docs jobs is visually separated from the compile all jobs but still runs in parallel. It‘s a matter of defining the right dependencies, which can only be done with two separate jobs. |
Btw, is the
Shall we have the Then no condition for |
Yes the branch check is redundant. You cannot share state or data across jobs, due to the container thing. So you still have to build even if you only upload. |
There are artifacts and workspaces. Let me take a look soon. |
I'm going to merge the PR without your changes to the CI, since you can work on that independently of the (code) changes in this PR. |
Merged manually. |
After looking too long for a 10x error in frequency, I discovered this nice new feature.
How to deal with the inconsistency in the comment of vl53l0.hpp?