-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'pre-release' into stable
- Loading branch information
Showing
21 changed files
with
824 additions
and
311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
|
||
------------------------------ | ||
Making a Release of MetPX-sr3c | ||
------------------------------ | ||
|
||
Release Targets: | ||
|
||
* hpc: intel and powerpc | ||
* launchpad: whatever platforms it builds for (ARM would be cool.) | ||
* upload packages to github, which acts as central node for release notifications. | ||
|
||
* See `Build <Build.rst>`_ for instructions on local building. | ||
|
||
Pre-Rrelease QA/Validation | ||
-------------------------- | ||
|
||
Finalize the changes: | ||
|
||
- update debian/changelog appropriately for the release. | ||
- in debian/changelog, Set the version on the first line correctly. This version will determine the label on the built packages, regardless of git tag. (perhaps use dch on debian/ubuntu system.) | ||
- Compile once with -DSR_DEBUG_LOGS to verify that no msg_log calls have errors (compiler will report) | ||
- make trust_but_verify | ||
examine results, which include a valgrind run. | ||
|
||
Once that is clean, proceed to the Pre-Release Porting: | ||
|
||
Pre-Release Porting | ||
~~~~~~~~~~~~~~~~~~~ | ||
|
||
Development is mostly done on new operating systems. The most important platforms | ||
for deployment, however, are pretty old. | ||
|
||
Prior to doing a full release, should install on all platforms and run tests. on Github, | ||
these tests are done by Actions automatically, so one just has to review results for | ||
ubuntu 20.04, 22.04, and 24.04. However one must run the tests manually on the following | ||
platforms: | ||
|
||
for each of: | ||
|
||
* redhat8 | ||
* redhat9 | ||
* ubuntu18 | ||
|
||
do: | ||
|
||
* https://github.com/MetPX/sarrac/blob/development/BUILD.rst#testing | ||
* then install the package locally: either | ||
|
||
* https://github.com/MetPX/sarrac/blob/development/BUILD.rst#build-a-debian-package or | ||
* https://github.com/MetPX/sarrac/blob/development/BUILD.rst#build-a-debian-package | ||
|
||
* install them... | ||
|
||
* rpm -ivh or dpkg -i ... | ||
|
||
* then run the python flow_tests. as per the python package documentation: | ||
|
||
* https://metpx.github.io/sarracenia/Contribution/Release.html#pre-release-overview | ||
|
||
|
||
Release Process | ||
--------------- | ||
|
||
To note changes: | ||
|
||
- install package so that it is used for flow tests on at least one platform. | ||
- find redhat8 (with local disk) and run make test_shim | ||
|
||
- on redhat8, edit Makefile to add -DINTERCEPT_SYSCALL to CFLAGS. | ||
|
||
- find ubuntu18 (with local disk) and run make test_shim. | ||
- dch, and touch up your points if need be. | ||
- when ready to release, edit UNRELEASED to an appropriate status, usually unstable. | ||
- git commit #what you need to commit... | ||
- git tag <release> -m <release> | ||
- git push | ||
- git push origin <release> | ||
|
||
- go to Launchpad, and import source `here <https://code.launchpad.net/~ssc-hpc-chp-spc/metpx-sarrac/+git/master>`_. | ||
- go to launchpad, find the recipe and Request Build `here <https://code.launchpad.net/~ssc-hpc-chp-spc/+recipe/metpx-sr3c-pre-release>`_. | ||
- go to an hpc account (on an intel node) | ||
* mkdir ~/Sarracenia; cd ~/Sarracenia | ||
* git clone https://github.com/MetPX/sarrac metpx-sr3c | ||
* edit Makefile to add -DINTERCEPT_SYSCALL to CFLAGS. | ||
* cd metpx-sr3c | ||
* make rpm_rhel7 | ||
* rpm -ivh ~/rpmbuild/RPMS/_platform_/*version*.rpm (if upgrading, -Uvh) | ||
|
||
- go to a hpc account on a powerpc node | ||
* cd Sarracenia/metpx-sr3c | ||
* make clean | ||
* make rpm_rhel7 | ||
* rpm -ivh ~/rpmbuild/RPMS/_platform_/*version*.rpm | ||
|
||
The rpm build targets run *rpmbuild* which places the packages in a standard tree in the user account: | ||
~/rpmbuild/RPMS/<arch>/..rpm on each arch the rpm will be created in the appropriate directory. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
metpx-sr3c (3.24.02) unstable; urgency=medium | ||
metpx-sr3c (3.24.07) unstable; urgency=medium | ||
|
||
* fix #154 rename ignored when one end is outside tree being watched with inotify. | ||
* support #147 coreutils using syscall instead of renameat2 on redhat8 and | ||
ubuntu 18. | ||
* fix #148 sr3_cpost posting messages with corrupt topics if relPath blank. | ||
* fix #141 sr3_cpost in a tree being mirrored (conflict with shim) | ||
* tests: fix for link modification times cannot be preserved. | ||
* test fixes for changes in python side. | ||
* README revised to reflect that cpump is not resilient to failure. | ||
* fix #133 read some non-utf8 fields (instead of erroring.) | ||
* last tx/rx should be cumulative, reset less often. | ||
* fix SR_DEBUG_LOGS being broken by addition of context to api signature | ||
* tests working on RedHat 8 and 9 | ||
|
||
-- peter <[email protected]> Tue, 15 Jan 2024 08:26:22 -0500 | ||
-- Reid Sunderland <[email protected]> Mon, 12 Aug 2024 15:06:22 -0600 | ||
|
||
metpx-sr3c (3.23.11p3) unstable; urgency=medium | ||
|
||
|
Oops, something went wrong.