RTEMS | waf: Fix handling of the VERSION file in a release (!257)

Gedare Bloom (@gedare) gitlab at rtems.org
Fri Oct 25 23:48:30 UTC 2024




Gedare Bloom started a new discussion on cpukit/include/rtems/version.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/257#note_113789

 >    return key[ 0 ] != '\0';
 >  }
 >  
 > +/**
 > + * @brief Returns the revision label for the current version of code
 > + * that has been built.
 > + *
 > + * The release label is a string of characters. Only the RTEMS project
 > + * released sources can have an empty release label.
 > + *
 > + * Use rtems_version_release_label_is_valid() to check if the release label
 > + * is valid.
 > + *
 > + * @return The release label.
 > + */
 > +const char *rtems_version_release_label( void );

please use a verb in API function calls, I suggest `rtems_version_get_release_label` -- we might not have this documented, but it is preferred.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/257#note_113789
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241025/d2c0a4c2/attachment.htm>


More information about the bugs mailing list