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

addLogGroup Depricated #5511

Merged
merged 14 commits into from
Nov 14, 2024
Merged

Conversation

acpaquette
Copy link
Collaborator

@acpaquette acpaquette commented Jun 1, 2024

Description

Depricates the addLogGroup method on the PvlObject in favor of AppendAndLog in the Application class. This removes the dependency on Application in PvlObject for the pvl_core work and the release of a stand alone ISIS core package.

Related Issue

ISIS I/O

How Has This Been Validated?

Validated through passing tests

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Documentation change (update to the documentation; no code change)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Infrastructure change (changes to things like CI or the build system that do not impact users)

Checklist:

  • I have read and agree to abide by the Code of Conduct
  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation and I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • I have added myself to the .zenodo.json document.
  • I have added my user impacting change to the CHANGELOG.md document.

Licensing

This project is mostly composed of free and unencumbered software released into the public domain, and we are unlikely to accept contributions that are not also released into the public domain. Somewhere near the top of each file should have these words:

This work is free and unencumbered software released into the public domain. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain.

  • I dedicate any and all copyright interest in this software to the public domain. I make this dedication for the benefit of the public at large and to the detriment of my heirs and successors. I intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.

@amystamile-usgs amystamile-usgs added the breaking API breaking change label Jul 16, 2024
Copy link
Contributor

@amystamile-usgs amystamile-usgs left a comment

Choose a reason for hiding this comment

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

Tests are passing for this PR.

Copy link

The build and test suite have started for your pull request.

To view your build log, please reference the build with source version: "PR_5511".

Additionally, check the latest "dev" source version to identify existing test failures. Please note that you are not responsible for the test failures that exist on both your PR and the dev branch.

@amystamile-usgs
Copy link
Contributor

Looks like my recent changes to photomet is causing this PR to error:

/codebuild/output/src1348226225/src/ISIS3/isis/src/base/apps/photomet/photomet.cpp:811:11: error: 'class Isis::Pvl' has no member named 'addLogGroup'; did you mean 'addGroup'? | 
/codebuild/output/src1348226225/src/ISIS3/isis/src/base/apps/photomet/photomet.cpp:1119:11: error: 'class Isis::Pvl' has no member named 'addLogGroup'; did you mean 'addGroup'? | 
/codebuild/output/src1348226225/src/ISIS3/isis/src/base/apps/photomet/photomet.cpp:1623:11: error: 'class Isis::Pvl' has no member named 'addLogGroup'; did you mean 'addGroup'? | 
/codebuild/output/src1348226225/src/ISIS3/isis/src/base/apps/photomet/photomet.cpp:1655:13: error: 'class Isis::Pvl' has no member named 'addLogGroup'; did you mean 'addGroup'?

Copy link

The build and test suite have started for your pull request.

To view your build log, please reference the build with source version: "PR_5511".

Additionally, check the latest "dev" source version to identify existing test failures. Please note that you are not responsible for the test failures that exist on both your PR and the dev branch.

@amystamile-usgs amystamile-usgs merged commit 14c8162 into DOI-USGS:dev Nov 14, 2024
2 checks passed
AustinSanders pushed a commit to AustinSanders/ISIS3 that referenced this pull request Nov 14, 2024
* Fixed app logging for all call able apps

* Exposed error formatting and file line reporting flags on preference class

* Updates IException to use the exposed Preference flags

* Application handles adding program name to error

* Initial round of test fixes

* Fixed last 3 failing gtests

* Fixed AppendAndLog function uses

* Caught another missused AppendAndLog call

* Fixed last failing gtest

* Fixed output from getsn

* Fixed mosrange test failures

* Removed depricated method from PvlObject

* Update recent app conversions to use the new function

* Fixed additional addLogGroup calls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking API breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants