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

SlicerDMRI extension is not updating for 5.6.1 #7531

Open
pieper opened this issue Jan 10, 2024 · 11 comments
Open

SlicerDMRI extension is not updating for 5.6.1 #7531

pieper opened this issue Jan 10, 2024 · 11 comments

Comments

@pieper
Copy link
Member

pieper commented Jan 10, 2024

Summary

Even though the repository has been updated Dec 15, 2023, the DMRI extension offered for 5.6.1 is still from Dec 12, 2023. The s4ext file points to the master branch of SlicerDMRI for both 5.6 and the master branch of the extension index. The SlicerPreview versions correctly offer a newer build with the most recent SlicerDMRI.

Steps to reproduce

Try to install dmri in 5.6.1 and you are offered the older version.

5.6.1:

image

Nightly:

image

Environment

For reference: #7530

Possibly related to: AIM-Harvard/SlicerRadiomics#80, but different because there is no superbuild for SlicerDMRI so the same fix does not apply.

@lassoan do you have any suggestions?

@lassoan
Copy link
Contributor

lassoan commented Jan 10, 2024

The "published" date is when the extension package was uploaded to Girder. That is a new date for each Slicer version. It is different from last update time. See details of the macOS Slicer-5.6.1 SlicerDMRI package here: https://slicer-packages.kitware.com/#item/657844c683a3201b44d52d8b

Interestingly, the last update is December 30, which is neither the last SlicerDMRI update date (Dec 15) nor the latest extension package date (yesterday).

Created on December 12, 2023 at 6:32:22
Updated on December 30, 2023 at 9:23:27

The yellow icon on the dashboard is there for all builds, but recent ones cannot be downloaded (file not found on girder):

https://slicer.cdash.org/index.php?project=SlicerStable&begin=2023-12-05&end=2024-01-09&filtercount=1&showfilters=1&field1=buildname&compare1=63&value1=DMRI

Since the latest available package corresponds to the latest SlicerDMRI update (Dec 15) I'm not sure if there is anything wrong. It may be a valid behavior not to update packages if there was no change in the source repository.

Maybe you could update something in the SlicerDMRI extension and see if the changes show up in the extensions catalog the next day?

pieper added a commit to SlicerDMRI/SlicerDMRI that referenced this issue Jan 10, 2024
Small change to see if a new package becomes available for the 5.6.1 release of Slicer.

See: Slicer/Slicer#7531
@pieper
Copy link
Member Author

pieper commented Jan 11, 2024

Maybe you could update something in the SlicerDMRI extension and see if the changes show up in the extensions catalog the next day?

Tried this but it didn't result in a new DMRI being offered.

After doing an update to SlicerDMRI yesterday, a new package was built last night, but the older December 12 version of the DMRI extension is still being offered in the Extension manager for SlicerStable (5.6.1).

The package appears to be in girder but it's not being detected somehow.

@jamesobutler
Copy link
Contributor

As of https://discourse.slicer.org/t/many-extensions-are-not-getting-updates-for-slicer-stable-release/34343/4, the macOS delivery of SlicerDMRI should be working for Slicer Stable (5.6.1). See https://slicer.cdash.org/builds/3308587.

@pieper can confirm prior to closing this issue.

@pieper
Copy link
Member Author

pieper commented Feb 19, 2024

It looks good to me but it would be great if @jhlegarreta or @ljod could doublecheck.

@ljod
Copy link
Contributor

ljod commented Feb 21, 2024

Hi I am getting a Dec 30 version of SlicerDMRI on Mac when I install it in Slicer 5.6.1. Is that what we expect? Or do we expect something from Jan 11?

@ljod
Copy link
Contributor

ljod commented Feb 21, 2024

Hi again. I see two different dates, Dec 12 in the extension itself and Dec 30 in the Extension manager info webpage thing. I am not sure why this is. See screenshots. This is after uninstalling and reinstalling SlicerDMRI today using Slicer 5.6.1 on Mac. It seems it is not updated. Please advise.

Screenshot 2024-02-21 at 3 57 21 PM Screenshot 2024-02-21 at 3 56 36 PM

@jcfr
Copy link
Member

jcfr commented Feb 21, 2024

Thanks for the report, while the extension was successfully build1 against the latest Stable build tree, there is any issue uploading the package.

We are investigating and will report back.

Footnotes

  1. https://slicer.cdash.org/index.php?project=SlicerStable&date=2024-02-21&filtercount=1&showfilters=1&field1=buildname&compare1=63&value1=DMRI

@jamesobutler
Copy link
Contributor

jamesobutler commented Feb 21, 2024

When I go to https://extensions.slicer.org/catalog/All/32438/macosx?q=slicerdm, SlicerDMRI for macOS is downloading 32438-macosx-amd64-SlicerDMRI-gitb4357b9-2023-12-15.tar.gz which seems to match what is at https://slicer-packages.kitware.com/#item/657844c683a3201b44d52d8b. It appears the database entry is what was created on 12-12 and updated on 12-30.
image

b4357b9 in the extension package appears to match SlicerDMRI/SlicerDMRI@b4357b9 which is the latest commit for SlicerDMRI.

image

@jcfr
Copy link
Member

jcfr commented Feb 21, 2024

After further analysis, I confirm @jamesobutler conclusion.

@jamesobutler
Copy link
Contributor

jamesobutler commented Feb 21, 2024

https://slicer.cdash.org/index.php?project=SlicerStable&begin=2023-12-10&end=2023-12-31&filtercount=2&showfilters=1&filtercombine=and&field1=buildname&compare1=63&value1=SlicerDMRI&field2=site&compare2=63&value2=computron

image

It appears that the database entry was updated on December 30th instead of December 15th/16th when the latest commit was pushed because there were some build errors that ultimately got resolved.

Whether the extensions manager web page should say the date of the commit that was last built successfully instead of when the database was updated with the new uploaded package is another thing. Maybe it would reduce confusion @jcfr ?

Screenshot 2024-02-21 at 3 57 21 PM

^ If after install on macOS it is indicating a commit other than SlicerDMRI/SlicerDMRI@b4357b9, that would still be an open issue to look into.

On Windows it is weird in that it states the commit is SlicerDMRI/SlicerDMRI@a23fcbb from SlicerDMRI/SlicerDMRI#234, however that commit was later force-pushed off of the master branch there. I'm not sure how the extensions manager is supposed to perform if commits are picked off. Is a new package that is technically an older commit then supposed to get uploaded as the one to use? On Windows should it actually be reporting a version that matches latest SlicerDMRI commit SlicerDMRI/SlicerDMRI@b4357b9?
image

@jcfr
Copy link
Member

jcfr commented Feb 21, 2024

In the meantime, this is intended to display the revision:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants