Skip to content
This repository was archived by the owner on May 17, 2026. It is now read-only.

STYLE: Conform to ITK IO module naming convention. - #25

Merged
jhlegarreta merged 1 commit into
InsightSoftwareConsortium:masterfrom
jhlegarreta:ConformToITKModuleNamingConvention
Jan 31, 2019
Merged

jhlegarreta merged 1 commit into
InsightSoftwareConsortium:masterfrom
jhlegarreta:ConformToITKModuleNamingConvention

Conversation

@jhlegarreta

@jhlegarreta jhlegarreta commented Jan 27, 2019 •

Copy link
Copy Markdown
Member

Conform to ITK module naming convention: change module name from
ITKFDFImageIO to ITKIOFDF.

Closes #24.

@jhlegarreta

Copy link
Copy Markdown
Member Author

I do not seem to have the rights to change the CI project names. I'd be grateful if you could do that @thewtex @fbudin69500 @dzenanz .

@thewtex

thewtex commented Jan 27, 2019

Copy link
Copy Markdown
Member

@jhlegarreta all set.

It looks like working_directory may need to be set for CircleCI.

@jhlegarreta
jhlegarreta force-pushed the ConformToITKModuleNamingConvention branch from 1060b49 to caa2a5d Compare January 27, 2019 02:25
@jhlegarreta

Copy link
Copy Markdown
Member Author

Thanks Matt. Let's see if commit caa2a5d does the job.

@jhlegarreta

Copy link
Copy Markdown
Member Author

A few comments:

  • Looks like when reading the documentation from the README.rst itk-module.cmake find some inconvenient syntax:
 Unknown argument [ the
  code was brought up to current ITK standards by `Nicholas Tustison
  <mailto:[email protected]>`_]
Call Stack (most recent call first):
  itk-module.cmake:12 (itk_module)
/Users/kitware/Dashboards/ITK/ITKPythonPackage/standalone-build/ITKs/CMake/
ITKModuleExternal.cmake:92
(include)
  CMakeLists.txt:8 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at
/Users/kitware/Dashboards/ITK/ITKPythonPackage/standalone-build/ITKs/CMake/
ITKModuleMacros.cmake:102
(message):
  Unknown argument [

Not sure whether it's the email addresses, or the semi-colon immediately after the mailto.

  • Travis packaging is failing due to transfer.sh being unresponsive
$ curl --upload-file dist.tar.gz https://transfer.sh/dist.tar.gz
curl: (7) Failed to connect to transfer.sh port 443: Connection refused
The command "curl --upload-file dist.tar.gz https://transfer.sh/dist.tar.gz" exited with 7.

Same comment as here.

I remember @thewtex and @dzenanz mentioning in some thread (that I cannot find now) that we will need to eventually transition to another service due to transfer.sh becoming unavailable 😔.

@thewtex

thewtex commented Jan 28, 2019

Copy link
Copy Markdown
Member

A few comments:

* Looks like when reading the documentation from the `README.rst` `itk-module.cmake` find some inconvenient syntax:
 Unknown argument [ the
  code was brought up to current ITK standards by `Nicholas Tustison
  <mailto:[email protected]>`_]
Call Stack (most recent call first):
  itk-module.cmake:12 (itk_module)
/Users/kitware/Dashboards/ITK/ITKPythonPackage/standalone-build/ITKs/CMake/
ITKModuleExternal.cmake:92
(include)
  CMakeLists.txt:8 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at
/Users/kitware/Dashboards/ITK/ITKPythonPackage/standalone-build/ITKs/CMake/
ITKModuleMacros.cmake:102
(message):
  Unknown argument [

Not sure whether it's the email addresses, or the semi-colon immediately after the mailto.

* Travis packaging is failing due to `transfer.sh` being unresponsive
$ curl --upload-file dist.tar.gz https://transfer.sh/dist.tar.gz
curl: (7) Failed to connect to transfer.sh port 443: Connection refused
The command "curl --upload-file dist.tar.gz https://transfer.sh/dist.tar.gz" exited with 7.

Same comment as here.

I remember @thewtex and @dzenanz mentioning in some thread (that I cannot find now) that we will need to eventually transition to another service due to transfer.sh becoming unavailable pensive.

Yes, I think we might need to just use a short summary in itk-module.cmake.

 Unknown argument [ the
  code was brought up to current ITK standards by `Nicholas Tustison
  <mailto:[email protected]>`_]

Side note: I think @ntustison 's email is ntustison vs mtustison.

I remember @thewtex and @dzenanz mentioning in some thread (that I cannot find now) that we will need to eventually transition to another service due to transfer.sh becoming unavailable pensive.

Yes we have experienced repeated issues with transfer.sh 🤕 .

Migrating to Azure Pipelines for builds and artifact uploads should resolve timeout issues, simplify configuration, and increase reliability. I will look into this over the next month and experiment on a few repositories.

@jhlegarreta

Copy link
Copy Markdown
Member Author

Thanks for having a look and for investigating a solution for the transfer.sh isssue @thewtex ! 💯

As for the README.rst short version, although providing a short version seems a fair idea to fix this, I think it is important to keep consistency and re-use either the README.rst file or another file, but to avoid writing the documentation directly in the itk-module.cmake file. Adding another reduced README version file would still be redundant and look somehow odd, though. So another option would be to avoid mailtos (?), write them in plain text, and see if that makes it, or completely remove email addresses (authors are already given credit and I'd dare to say that whoever wants to contact them will be able to find them on the net's resources). I cannot think of a smarter solutions. What do you think?

I'll fix Nick's email address in another patch set if we keep it, either as a mailto or plain text. Thanks for the notice.

@thewtex

thewtex commented Jan 28, 2019

Copy link
Copy Markdown
Member

Removal sounds reasonable to me 👍

@jhlegarreta
jhlegarreta force-pushed the ConformToITKModuleNamingConvention branch from caa2a5d to d847f08 Compare January 28, 2019 22:28
@jhlegarreta

Copy link
Copy Markdown
Member Author

Thanks for sharing your opinion Matt.

d847f08 removes the email addresses. Let's see if the warning goes away.

@jhlegarreta

Copy link
Copy Markdown
Member Author

Although checks are passing, the itk-module.cmake warning seems not to have been solved by removing the mailtos:

CMake Warning (dev) at standalone-x64-build/ITKs/CMake/ITKModuleMacros.cmake:102 (message):

  Unknown argument [ the code was brought up to current ITK

  standards by Nicholas Tustison]
Call Stack (most recent call first):
  itk-module.cmake:12 (itk_module)
  standalone-x64-build/ITKs/CMake/ITKModuleExternal.cmake:92 (include)
  CMakeLists.txt:8 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

@thewtex thewtex left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nicely done @jhlegarreta !

Newer CMake supports Bracket Arguments ... the [ may need to be removed, too.

@jhlegarreta

Copy link
Copy Markdown
Member Author

Not sure where the square brackets are coming into play, though. I may be wrong but I see no such characters in the concerned files. In the mean time, if the email addresses are not the culprit I may roll back and add them back.

Conform to ITK module naming convetion: change module name from
`ITKFDFImageIO` to `ITKIOFDF`.

Closes InsightSoftwareConsortium#24.
@jhlegarreta
jhlegarreta force-pushed the ConformToITKModuleNamingConvention branch from d847f08 to cda34f6 Compare January 30, 2019 21:13
@jhlegarreta

Copy link
Copy Markdown
Member Author

#26 should fix the CMake configuration warnings.

@thewtex thewtex left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🎉 Thanks, @jhlegarreta !

@jhlegarreta
jhlegarreta merged commit 55130c5 into InsightSoftwareConsortium:master Jan 31, 2019
@jhlegarreta
jhlegarreta deleted the ConformToITKModuleNamingConvention branch January 31, 2019 03:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants