-
Notifications
You must be signed in to change notification settings - Fork 4
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
Update documentation on creating release. #8
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -6,9 +6,43 @@ Updating the CastXML version | |||||
|
||||||
A developer should use the following steps to update the version ``X.Y.Z`` | ||||||
of CastXML associated with the current CastXML python distributions. | ||||||
|
||||||
Available CastXML archives can be found `here <https://data.kitware.com/#folder/57b5de948d777f10f2696370>`_. | ||||||
|
||||||
First, build the artifacts which will be made available for download. | ||||||
|
||||||
Update CastXML files | ||||||
-------------------- | ||||||
|
||||||
Using the `CastXMLSuperbuild <https://github.com/CastXML/CastXMLSuperbuild>`_ | ||||||
repository, create a merge request which will use CI to automatically generate | ||||||
the appropriate binary files for the new version. The version selection is | ||||||
controlled by the ``CastXML_GIT_TAG`` variable. | ||||||
|
||||||
If necessary, update the ``LLVM`` and ``clang`` versions. Both objects have | ||||||
a ``<>_version`` and a ``<>_md5`` variable which need to be be updated at the | ||||||
same time. | ||||||
|
||||||
Once the CI has finished, view the "Details" of each task. Follow the links | ||||||
to view and download the archive files created by each task. After download, | ||||||
extract the contents of the associated archive file. The content of each ZIP | ||||||
file will be uploaded in the next step. | ||||||
|
||||||
Upload files to data.kitware.com | ||||||
-------------------------------- | ||||||
|
||||||
To upload the files generated in the previous step, first create the folder for | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||||||
the new version of CastXML within the CastXML archive. This can be done, after | ||||||
signing in to the instance, by clicking on the folder button in the upper right | ||||||
corner. | ||||||
|
||||||
**Note**: If the only option in the menu is *Download folder*, create an issue | ||||||
in this repository asking for write permission to this folder. | ||||||
|
||||||
Create a folder with the same name as the version of ``CastXML_GIT_TAG`` and | ||||||
upload the files from the previous step. | ||||||
|
||||||
Update links in current repository | ||||||
---------------------------------- | ||||||
1. Install `girder-client`:: | ||||||
|
||||||
$ pip install girder-client | ||||||
|
@@ -30,6 +64,9 @@ Available CastXML archives can be found `here <https://data.kitware.com/#folder/ | |||||
Updating tests/test_distribution.py | ||||||
Updating tests/test_distribution.py - done | ||||||
|
||||||
*Note*: Ensure that the ``Win32_binary`` variables still are set to the | ||||||
content of the ``Win64_binary`` variable. It may be set to NULL. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Instead, let's fix the script: CastXML-python-distributions/scripts/update_castxml_version.py Lines 93 to 94 in 37c6977
In the commit message updating the script, reference issue #5 Suggested change: - set(win32_binary_url "NA") # Windows 32-bit binaries not available
+ set(win32_binary_url "${win64_binary_url}") # See https://github.com/CastXML/CastXML-python-distributions/issues/5
- set(win32_binary_sha512 "NA")
+ set(win32_binary_sha512 "${win64_binary_sha512}") For some more context, see e03b460#diff-aa166f56653254a5ea3d6db905d61992 |
||||||
|
||||||
3. Create a topic named `update-to-castxml-X.Y.Z` and commit the changes. | ||||||
For example:: | ||||||
|
||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's move this directly into https://github.com/CastXML/CastXMLSuperbuild/blob/master/README.rst adding a section like