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

Fixed a bunch of rename issues, including Charlie Zender's reported problem... #755

Conversation

edhartnett
Copy link
Contributor

@edhartnett edhartnett commented Jan 1, 2018

This PR is the result of additional testing for nc4var.c to increase code coverage in the tests.

It includes a fix for Charlie Zender's rename issue (#597), as well as another important rename issue.

It also include some less-critical fixes which prevent segfaults for strings and fill values.

Also much more testing and internal documentation. @WardF I suspect you might want to include this in 4.6.0 due to the fix for the rename issues. If so, I suggest you do the other PRs first and let me adjust this one against any merge issues as you proceed. Then when you are ready to merge it, there will be no conflicts.

Fixes #758.
Fixes #757.
Fixes #750.
Fixes #749.
Fixes #746.
Fixes #743.
Fixes #741.
Fixes #738.
Fixes #736.
Fixes #732.
Fixes #727.
Part of #702.
Part of #597.

@WardF
Copy link
Member

WardF commented Jan 1, 2018

This pull request fixes 3 alerts - view on lgtm.com

fixed alerts:

  • 1 for Missing header guard
  • 1 for Duplicate include guard
  • 1 for Wrong number of arguments to formatting function

Comment posted by lgtm.com

@WardF
Copy link
Member

WardF commented Jan 1, 2018

This pull request fixes 3 alerts - view on lgtm.com

fixed alerts:

  • 1 for Missing header guard
  • 1 for Duplicate include guard
  • 1 for Wrong number of arguments to formatting function

Comment posted by lgtm.com

@WardF
Copy link
Member

WardF commented Jan 2, 2018

This pull request fixes 3 alerts - view on lgtm.com

fixed alerts:

  • 1 for Missing header guard
  • 1 for Duplicate include guard
  • 1 for Wrong number of arguments to formatting function

Comment posted by lgtm.com

@DennisHeimbigner
Copy link
Collaborator

I think we need to hold off on this pr.
I think it causes major conflicts with my proposed
performance improvements branch (newhash.dmh).

@edhartnett
Copy link
Contributor Author

@DennisHeimbigner do your merge first and I will adjust the PR...

@WardF WardF self-assigned this Jan 2, 2018
@WardF WardF modified the milestones: 4.6.0, future Jan 2, 2018
@WardF
Copy link
Member

WardF commented Jan 2, 2018

I'll bump this back down to 4.6.0 when the issue between @DennisHeimbigner branch and this are resolved; I tagged it future to minimize the chances I'll accidentally merge it in the meantime. Thanks! :).

@DennisHeimbigner
Copy link
Collaborator

Ed- what is the git clone argument for the
NetCDF-World-Domination-Council
repository. I cannot locate it on github.

@edhartnett
Copy link
Contributor Author

edhartnett commented Jan 2, 2018 via email

@WardF
Copy link
Member

WardF commented Jan 2, 2018

@DennisHeimbigner @edhartnett Is your (Dennis) branch ready to be merged?

@DennisHeimbigner
Copy link
Collaborator

Apparently I do not have read access to that repo.

@edhartnett
Copy link
Contributor Author

@DennisHeimbigner it is a public repo:
https://github.com/NetCDF-World-Domination-Council/netcdf-c

You can't see the code from there?

@DennisHeimbigner
Copy link
Collaborator

I got it; it was a ssh key problem.

@WardF
Copy link
Member

WardF commented Jan 3, 2018

This pull request fixes 3 alerts - view on lgtm.com

fixed alerts:

  • 1 for Missing header guard
  • 1 for Duplicate include guard
  • 1 for Wrong number of arguments to formatting function

Comment posted by lgtm.com

@edhartnett
Copy link
Contributor Author

I'm going to take this PR down and let you guys catch up a little bit.

When 4.6.0 is closer to release I will see if I can isolate some of my changes in a way that don't disrupt Dennis' work. I will keep an eye on the repo and jump back in sometime later this week or next week, when you have done some merges.

@edhartnett edhartnett closed this Jan 3, 2018
gsjaardema added a commit to gsjaardema/netcdf-c that referenced this pull request Jan 31, 2018
Remove test code that uses the version 2 API if the version 2 API code is not being activated in the build.

This was originally proposed in Unidata#656 with a better fix in Unidata#755 which was removed.
@edhartnett edhartnett deleted the ejh_fill_values branch February 26, 2018 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment