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

Clean version of Gaurab PR #639 : Unifying the way we report file related errors #669

Merged
merged 8 commits into from
Jun 1, 2018

Conversation

epernod
Copy link
Contributor

@epernod epernod commented May 29, 2018

Unfortunately Gaurab seems to be unreachable those days. As I want to use his good work, here is a quick cherry pick of his PR #639


This PR:

  • builds with SUCCESS for all platforms on the CI.
  • does not generate new warnings.
  • does not generate new unit test failures.
  • does not generate new scene test failures.
  • does not break API compatibility.
  • is more than 1 week old (or has fast-merge label).

Reviewers will merge only if all these checks are true.

@epernod
Copy link
Contributor Author

epernod commented May 29, 2018

[ci-build][with-scene-tests]

@epernod epernod self-assigned this May 29, 2018
@epernod epernod requested a review from damienmarchal May 29, 2018 12:53
@epernod epernod added enhancement About a possible enhancement pr: status to review To notify reviewers to review this pull-request labels May 29, 2018
@@ -130,7 +130,7 @@

#define FILEINFO(filename, line) sofa::helper::logging::FileInfo(filename, line)

#define FILEINFO(filename, line) sofa::helper::logging::FileInfo(filename, line)
#define FILEINFO(filename, line) sofa::helper::logging::FileInfo(filename, line) //rewritten again. delete this?
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe delete it :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done in last commit ee41312

@@ -54,13 +55,12 @@ void MeshTrian::init (std::string filename)
return;
}
FILE *f = fopen(filename.c_str(), "r");
msg_error_when(!f)<<sofa::helper::messaging::FileMessage::UnableToOpenFile(filename.c_str());
Copy link
Contributor

Choose a reason for hiding this comment

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

Unable -> unable

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done in last commit ee41312

@guparan guparan added pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels May 30, 2018
@damienmarchal
Copy link
Contributor

This one is a small PR so maybe we can merge it before the 7 days ?
[ci-build][with-scene-tests]

@epernod
Copy link
Contributor Author

epernod commented May 31, 2018

I would say yes as it is the clean version of a 3 weeks old PR.

@guparan guparan added the pr: fast merge Minor change that can be merged without waiting for the 7 review days label May 31, 2018
@damienmarchal damienmarchal merged commit 9e2b3c3 into sofa-framework:master Jun 1, 2018
@epernod epernod deleted the gaurab_report_PR branch June 1, 2018 08:07
@gaurab4163
Copy link
Contributor

I had been into competitive programming these days and also busy with a small project of mine. Thanks @epernod for making good use of my work. 😄

@epernod
Copy link
Contributor Author

epernod commented Jun 4, 2018

you are welcome. Thanks for your work.

@guparan guparan added this to the v18.06 milestone Jun 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement About a possible enhancement pr: fast merge Minor change that can be merged without waiting for the 7 review days pr: status ready Approved a pull-request, ready to be squashed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants