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

Create branch release-4.10 #132

Open
2 tasks done
jcfr opened this issue Sep 21, 2020 · 12 comments
Open
2 tasks done

Create branch release-4.10 #132

jcfr opened this issue Sep 21, 2020 · 12 comments
Assignees

Comments

@jcfr
Copy link
Contributor

jcfr commented Sep 21, 2020

To support VTK >= 8.90, we will have to apply specific changes.

Considering the current rate of fixes integrated in this project (few commits per year), I don't think it makes sense to increase the complexity of the code base to support building against both Slicer + VTK 8.2 and Slicer + VTK >= 8.90.

For this reason, I suggest to:

@jcfr
Copy link
Contributor Author

jcfr commented Sep 21, 2020

cc: @tashrifbillah @pieper

@tashrifbillah tashrifbillah self-assigned this Sep 21, 2020
@tashrifbillah
Copy link
Collaborator

Are you aware that we use VTK 7?


similar to the existing release-4.8

We don't have any release from GitHub yet. Where do you get that?

@jcfr
Copy link
Contributor Author

jcfr commented Sep 22, 2020

Are you aware that we use VTK 7?

This version of VTK is used only when building the project standalone and not when building as an extension.

Few questions:

  • Does it make sense to continue maintain the standalone version of this tool ?
    • If yes, is there resources to setup continuous integration and releases of the tool ?
  • Should it be only distributed as a Slicer modules ?

We don't have any release from GitHub yet. Where do you get that?

See https://github.com/pnlbwh/ukftractography/tree/release-4.8

This is a convenient branch that was used to build the extension against Slicer 4.8 while allowing ukftractography master branch to diverge

@tashrifbillah
Copy link
Collaborator

Few questions

We shall continue to maintain the standalone version but we may not be able to set up CI as of now.

@tashrifbillah
Copy link
Collaborator

Would you like the branch release-4.10 to be made after merging PR #133 ?

@tashrifbillah
Copy link
Collaborator

This version of VTK is used only when building the project standalone

Have you tested building the project standalone after affecting your proposed change? If yes, in which platforms and do they include CentOS 7?

@tashrifbillah
Copy link
Collaborator

Waiting on my question ...

@jcfr
Copy link
Contributor Author

jcfr commented Sep 29, 2020

Have you tested building the project standalone after affecting your proposed change?

No.

And it turns out that I will not have the bandwidth to do before Oct 12th

Considering that the standalone version of the project is relying on now obsolete dependency, I suggest to update the dependencies:

  • VTK7 -> VTK9
  • ITK 4,11 to ITK 5.1
  • ...

The migration guides available here may be helpful. See https://www.slicer.org/wiki/Documentation/Nightly/Developers/Tutorials/MigrationGuide

If you can tackle this, I could review pull requests.

If yes, in which platforms and do they include CentOS 7?

We use Centos7 to build the Slicer linux package to ensure it will run a broad set of linux distribution. It is inspired from what is done for python wheels. See https://www.python.org/dev/peps/pep-0571/

@tashrifbillah
Copy link
Collaborator

Shall I make release-4.10 branch from the current master now?

@tashrifbillah
Copy link
Collaborator

Ping @jcfr

pieper added a commit to Slicer/ExtensionsIndex that referenced this issue Oct 21, 2020
Add 4.11 branch so master can be updated for vtk 9

Hold this until corresponding branch is created in UKF  (see pnlbwh/ukftractography#132)
@pieper
Copy link
Contributor

pieper commented Oct 21, 2020

@tashrifbillah we use the release-X.Y branch name convention to indicate which version of the code should be used to generate Slicer extensions. Currently, Slicer's stable is 4.11.20200930, so we want to use a release-4.11 branch of the extensions that will be kept as the corresponding stable version of the extension (see Slicer/ExtensionsIndex#1743).

At the same time, the Slicer nightly version is being upgraded to vtk9, and that may have ripple effects on the various extensions that we can fix in the master branches of the extensions. These will be the ones that correspond to the master branch of Slicer and are linked by the scmrevision field of the s4ext file that is in the master branch of the extension index. The vtk9 version will eventually become Slicer-5.0 when it is released.

The master branch of the ukf repository can also be used to build outside of Slicer if that works. Ideally we only need one or maybe two dedicated branches to handle these transitions, but sometimes branches are easier than ifdefs and cmake flags to manage the differences.

@tashrifbillah
Copy link
Collaborator

Thank you @pieper , created https://github.com/pnlbwh/ukftractography/tree/release-4.11

tashrifbillah added a commit to tashrifbillah/ExtensionsIndex that referenced this issue Oct 22, 2020
jamesobutler pushed a commit to Slicer/ExtensionsIndex that referenced this issue Nov 12, 2020
Add 4.11 branch so master can be updated for vtk 9

Hold this until corresponding branch is created in UKF  (see pnlbwh/ukftractography#132)
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

No branches or pull requests

3 participants