-
Notifications
You must be signed in to change notification settings - Fork 579
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
Allow extra information in bear-requirements.yaml #2444
Comments
I don't understand the |
Nevermind, understood the first part of the description :) |
I will be sending in the PR soon, testing it on my fork travis takes too long as the build takes 2 hours :( |
ya, you need to test these things locally, and then hope for the best with the PR. |
The extra information will not be a part of the requirements right? I mean do both the update and check need to be shallow or deep?
|
This commits updates the script to use ruamel.yaml which is better fork of PyYaml. Add Update and Check mode for diffing and updating Bear-Requirments yaml. Closes coala#2444
TODO: break into commits. This commits updates the script to use ruamel.yaml which is better fork of PyYaml. Add Update and Check mode for diffing and updating Bear-Requirments yaml. Closes coala#2444
This commits updates the script to use ruamel.yaml which is better fork of PyYaml. Also adds Update and Check mode for diffing and updating Bear-Requirements yaml. Closes coala#2444
This commits updates the script to use ruamel.yaml which is better fork of PyYaml. Also adds Update and Check mode for diffing and updating Bear-Requirements yaml. Closes coala#2444
This commits updates the script to use ruamel.yaml which is better fork of PyYaml. Also adds Update and Check mode for diffing and updating Bear-Requirements yaml. Closes coala#2444
This commits updates the script to use ruamel.yaml which is better fork of PyYaml. Also adds Update and Check mode for diffing and updating Bear-Requirements yaml. Closes coala#2444
This commits updates the script to use ruamel.yaml which is better fork of PyYaml. Also adds Update and Check mode for diffing and updating Bear-Requirements yaml. Closes coala#2444
This commits updates the script to use ruamel.yaml which is better fork of PyYaml. Also adds Update and Check mode for diffing and updating Bear-Requirements yaml. Closes coala#2444
This commits updates the script to use ruamel.yaml which is better fork of PyYaml. Also adds Update and Check mode for diffing and updating Bear-Requirements yaml. Closes coala#2444
This commits updates the script to use ruamel.yaml which is better fork of PyYaml. Also adds Update and Check mode for diffing and updating Bear-Requirements yaml. Closes coala#2444
This commits updates the script to use ruamel.yaml which is better fork of PyYaml. Also adds Update and Check mode for diffing and updating Bear-Requirements yaml. Closes coala#2444
This commits updates the script to use ruamel.yaml which is better fork of PyYaml. Also adds Update and Check mode for diffing and updating Bear-Requirements yaml. Closes coala#2444
This commits updates the script to use ruamel.yaml which is better fork of PyYaml. Also adds Update and Check mode for diffing and updating Bear-Requirements yaml. Closes coala#2444
This commits updates the script to use ruamel.yaml which is better fork of PyYaml. Also adds Update and Check mode for diffing and updating Bear-Requirements yaml. Closes coala#2444
This commits updates the script to use ruamel.yaml which is better fork of PyYaml. Also adds Update and Check mode for diffing and updating Bear-Requirements yaml. Closes coala#2444
This commits updates the script to use ruamel.yaml which is better fork of PyYaml. Also adds Update and Check mode for diffing and updating Bear-Requirements yaml. Closes coala#2444
This commits updates the script to use ruamel.yaml which is better fork of PyYaml. Also adds Update and Check mode for diffing and updating Bear-Requirements yaml. Closes coala#2444
This commits updates the script to use ruamel.yaml which is better fork of PyYaml. Also adds Update and Check mode for diffing and updating Bear-Requirements yaml. Closes coala#2444
.ci/generate_bear_requirements.py
currently overwritesbear-requirements.yaml
, removing any information that was in it.It should load the yaml, and have
an
--update
mode which modifies only the information which needs to be modified. This can be achieved using https://pypi.org/project/ruamel.yaml/ 's RoundTrip functionality.a
--check
mode which reports any differences in a helpful way, tells the user to run in--update
mode and commit and re-push, with a non-zero exit status when differences were found.In travis, we would
--check
and--update
, so that any yaml output differences will be caught bygit diff --exit-code
even if--check
doesnt report dependency differences.To test this,
overrides: coala-build.yaml
should be moved to the top ofbear-requirements.yaml
, and a comment added at the top of the file, and travis shouldnt report any differences.The text was updated successfully, but these errors were encountered: