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

3.1.0 update #2812

Closed
wants to merge 582 commits into from
Closed

3.1.0 update #2812

wants to merge 582 commits into from

Conversation

Lestropie
Copy link
Member

This draft PR will show the set of changes to be applied as the 3.1.0 update, and track progress of manual integration of updates into that changeset.

The plan is that 3.1.0 will contain the set of changes currently on dev, as well as a number of active PRs not yet merged to dev; however it will not include the transition to cmake in #2689. This may mean that it will also omit the clang-format changes in #2652, though I'll need to bear this out.

Here's what I think the process will look like:

  1. Initial tip of the dev_sans_cmake branch is 8672d5b; this is the merge of PR remove TIFF support from core library #2720. I determined this by looking at the parents of merge commit 05878e5, which was the acceptance of Change build system to CMake #2689.

  2. Identify set of PRs that have been merged onto dev following the merge of Change build system to CMake #2689.

  3. For each of the items in the list determined from point 2 above:

    1. Do a merge onto the dev_sans_cmake branch.
  4. For currently open PRs targeting dev:

    1. Resolve against dev.
    2. Merge to dev.
    3. Manually merge to dev_sans_cmake.

bjeurissen and others added 30 commits October 25, 2022 15:25
python library: tweak execute to work with VS Code #2472
Specifically, remove the options mentioned in the log:

testing/pylint.rc:1:0: E0015: Unrecognized option found: argument-name-hint, attr-name-hint, class-attribute-name-hint, class-name-hint, const-name-hint, function-name-hint, inlinevar-name-hint, method-name-hint, module-name-hint, variable-name-hint, no-space-check (unrecognized-option)
testing/pylint.rc:1:0: R0022: Useless option value for '--disable', 'bad-whitespace' was removed from pylint, see pylint-dev/pylint#3577. (useless-option-value)
This is to address this warning:

    grep: warning: stray \ before /
…drift_fix

population_template initialisation and drift correction fixes
@Lestropie Lestropie added this to the 3.1.0 updates milestone Feb 20, 2024
@Lestropie
Copy link
Member Author

It looks as though the base commit I chose does include the clang-format changes. #2652 was merged via 5b0ec65 2023-08-24, while #2689 was merged via 05878e5 2023-10-19. This is the opposite order to what I had expected. I think this probably gives weight to inclusion of clang-format changes in 3.1.0, given this may also make the various manual merges from dev to dev_sans_cmake easier.

@Lestropie
Copy link
Member Author

Lestropie commented Feb 20, 2024

List below is relevant PRs merged onto dev since #2689 at time of posting.
Found by creating proposal PR from dev to dev_sans_cmake, looking for merge commits, omitting anything cmake-related.
Can tick off checkboxes as they are manually merged into dev_sans_cmake.

Unsure whether clang-tidy can be utilised in the absence of cmake:

@Lestropie
Copy link
Member Author

I have addressed the list of PRs merged to dev subsequently to #2689 using cherry-picking. It's possible that instead doing this using rebasing may be preferable from the perspective of cleanliness of commit history for 3.2.0, when dev will be getting merged to master and that will include the contents of dev_sans_cmake after this PR is merged. However I'm inexperienced with rebasing. I'll give it a go and see if I can make it work, and if so this pranch can be force-pushed.

- Remove code within cmd/mrview.cpp that originates from 6417a52 as part of #2689, which was erroneously added in 39240ad.
- Fix compilation of src/gui/mrview/file_open.cpp to coincide with changes in #2764; these were omitted from cherry-picks 39240ad and 0afe37b due to that file having already been removed during the course of #2689.
Resolves changes made to cmd/mrmath.cpp in #2784 to prevent memory leak against removal of MR::vector in #2689.
Resolves changes made to fix unfreed memory in mrmath in #2784 against removal of MR::vector in #2764.
Construction of a 3.1.0 release involves taking features on the development branch and separating them from the adoption of cmake in #2689. Some of these changes involve the use of C++17 features. However the transition to defaulting to C++17 was performed exclusively within the cmake ecosystem. This commit modifies the legacy "configure" script to reflect the increment to use of C++17.
@tclose
Copy link
Contributor

tclose commented Feb 25, 2024

What is the reasoning behind dropping cmake from this release?

@Lestropie
Copy link
Member Author

Reasoning included regular ongoing issues on dev, requirement to change Python executable script handling (#2741), desire to alter packaging for distribution (#2807), possibility of further reorganisation of filesystem structure, lack of solution for external "projects" / "extensions" (ie. C++ code that compiles against the shared library / Python scripts that execute against the API). However it looks like we are now aborting this prospect and are going to include cmake in 3.1.0.

@Lestropie Lestropie closed this Feb 26, 2024
@Lestropie Lestropie deleted the dev_sans_cmake branch June 22, 2024 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants