LANDIS-II-Foundation / Extension-PnET-Succession

The PnET Succession extension
https://landis-ii-foundation.github.io/Extension-PnET-Succession/
Apache License 2.0
2 stars 9 forks source link

Warning : Will surely need to edit the PnET Cohort Library v2.0 to account for a recent fix in v1.0 #14

Open Klemet opened 4 hours ago

Klemet commented 4 hours ago

As per the recommendation of @brmiranda , I've proposed a fix to the PnET Cohort Library to fix the faulty computation of a variable (see https://github.com/LANDIS-II-Foundation/Library-PnET-Cohort/pull/2 ).

I wanted to re-compile PnET Succession and upgrade the PnET Succession installer so that the latest version can take into account this fix (to avoid problems of wrong versions of the same library overwriting each other during the install of PnET Succession and PnET Biomas Output, for example).

However, I've seen that the current files of the repo call for a version 2.0 of the PnET Cohort Library...which does not exist currently in the PnET Cohort Library repo as of right now. I imagine that one of you has made the PnET Cohort Library 2.0 library locally for testing, on a fork; but has then referenced this non-available library into the main PnET Succession branch. Maybe @aruzicka555 ?

So, I'm a bit at a loss.

I propose to make the following actions as soon as possible to avoid further issues :

brmiranda commented 4 hours ago

Clement,

Thanks for making these changes and thinking about how the updated dll needs to be carried into the installers for the extensions. The PnET Cohort Library v2 can be found in the 'v8' branch of the Library-PnET-Cohort repository (v8 for the change to core version 8). I agree that these changes should be applied to v2 of the library. When compiled, this fixed v2 dll should also be pushed to the Support-Library-Dlls-v8 repository, and it should be referenced from there into new compiles of PnET-Succession and PnET-Output. The Support-Library-Dlls-v8 repository serves as the common location for official versions of shared libraries.

Cheers, -Brian

[Forest Service Shield] Brian Miranda (he/him) Senior Analyst Eastern Planning Service Group Forest Service Eastern and Southern Regions 608-461-2966 @.**@.> La Crosse, WI www.fs.usda.govhttp://www.fs.usda.gov/ [USDA Logo]https://usda.gov/ [Forest Service Twitter] https://twitter.com/forestservice [USDA Facebook] https://www.facebook.com/pages/US-Forest-Service/1431984283714112 Caring for the land and serving people

From: Clement Hardy @.> Sent: Thursday, October 10, 2024 3:41 PM To: LANDIS-II-Foundation/Extension-PnET-Succession @.> Cc: Miranda, Brian - FS, WI @.>; Mention @.> Subject: [LANDIS-II-Foundation/Extension-PnET-Succession] Warning : Will surely need to edit the PnET Cohort Library v2.0 to account for a recent fix in v1.0 (Issue #14)

As per the recommendation of @brmirandahttps://github.com/brmiranda , I've proposed a fix to the PnET Cohort Library to fix the faulty computation of a variable (see LANDIS-II-Foundation/Library-PnET-Cohort#2https://github.com/LANDIS-II-Foundation/Library-PnET-Cohort/pull/2 ).

I wanted to re-compile PnET Succession and upgrade the PnET Succession installer so that the latest version can take into account this fix (to avoid problems of wrong versions of the same library overwriting each other during the install of PnET Succession and PnET Biomas Output, for example).

However, I've seen that the current files of the repo call for a version 2.0 of the PnET Cohort Library...which does not exist currently in the PnET Cohort Library repo as of right now. I imagine that one of you has made the PnET Cohort Library 2.0 library locally for testing, on a fork; but has then referenced this non-available library into the main PnET Succession branch. Maybe @aruzicka555https://github.com/aruzicka555 ?

So, I'm a bit at a loss.

I propose to make the following actions as soon as possible to avoid further issues :

- Reply to this email directly, view it on GitHubhttps://github.com/LANDIS-II-Foundation/Extension-PnET-Succession/issues/14, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACHE7AYRUPL4I2CRLQ6RNFLZ23Q5FAVCNFSM6AAAAABPXSWGYCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU3TSNZZHA2DSNI. You are receiving this because you were mentioned.Message ID: @.**@.>>

This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.

aruzicka555 commented 3 hours ago

Please submit this as a pull request to the branch Brian mentioned. I'm in the process of making some major updates to the repo for the new climate library. Don't worry about building and pushing to the support repo, I will do that when I finish.

On Thu, Oct 10, 2024, 2:05 PM Brian Miranda @.***> wrote:

Clement,

Thanks for making these changes and thinking about how the updated dll needs to be carried into the installers for the extensions. The PnET Cohort Library v2 can be found in the 'v8' branch of the Library-PnET-Cohort repository (v8 for the change to core version 8). I agree that these changes should be applied to v2 of the library. When compiled, this fixed v2 dll should also be pushed to the Support-Library-Dlls-v8 repository, and it should be referenced from there into new compiles of PnET-Succession and PnET-Output. The Support-Library-Dlls-v8 repository serves as the common location for official versions of shared libraries.

Cheers, -Brian

[Forest Service Shield] Brian Miranda (he/him) Senior Analyst Eastern Planning Service Group Forest Service Eastern and Southern Regions 608-461-2966 @.**@.> La Crosse, WI www.fs.usda.govhttp://www.fs.usda.gov/ [USDA Logo]https://usda.gov/ [Forest Service Twitter] < https://twitter.com/forestservice> [USDA Facebook] < https://www.facebook.com/pages/US-Forest-Service/1431984283714112> Caring for the land and serving people

From: Clement Hardy @.> Sent: Thursday, October 10, 2024 3:41 PM To: LANDIS-II-Foundation/Extension-PnET-Succession @.> Cc: Miranda, Brian - FS, WI @.>; Mention @.> Subject: [LANDIS-II-Foundation/Extension-PnET-Succession] Warning : Will surely need to edit the PnET Cohort Library v2.0 to account for a recent fix in v1.0 (Issue #14)

As per the recommendation of @brmirandahttps://github.com/brmiranda , I've proposed a fix to the PnET Cohort Library to fix the faulty computation of a variable (see LANDIS-II-Foundation/Library-PnET-Cohort#2< https://github.com/LANDIS-II-Foundation/Library-PnET-Cohort/pull/2> ).

I wanted to re-compile PnET Succession and upgrade the PnET Succession installer so that the latest version can take into account this fix (to avoid problems of wrong versions of the same library overwriting each other during the install of PnET Succession and PnET Biomas Output, for example).

However, I've seen that the current files of the repo call for a version 2.0 of the PnET Cohort Library...which does not exist currently in the PnET Cohort Library repo as of right now. I imagine that one of you has made the PnET Cohort Library 2.0 library locally for testing, on a fork; but has then referenced this non-available library into the main PnET Succession branch. Maybe @aruzicka555https://github.com/aruzicka555 ?

So, I'm a bit at a loss.

I propose to make the following actions as soon as possible to avoid further issues :

This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.

— Reply to this email directly, view it on GitHub https://github.com/LANDIS-II-Foundation/Extension-PnET-Succession/issues/14#issuecomment-2406035955, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFNKIXR3MJOYVFV3B2TEIHTZ23TZXAVCNFSM6AAAAABPXSWGYCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBWGAZTKOJVGU . You are receiving this because you were mentioned.Message ID: <LANDIS-II-Foundation/Extension-PnET-Succession/issues/14/2406035955@ github.com>

Klemet commented 3 hours ago

Thank you very much for the pointers, both of you ! I'm sorry that I didn't look at the v8 branch.

I'll get right at it !

Klemet commented 1 hour ago

I've done the pull requests for the Cohort library (https://github.com/LANDIS-II-Foundation/Library-PnET-Cohort/pull/3) and for the support libraries (https://github.com/LANDIS-II-Foundation/Support-Library-Dlls-v8/pull/13) ; but I'm unable to compile PnET because of the following error :

image