Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bayeswave-master-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
John Sullivan
bayeswave-master-dev
Commits
72e96d76
Commit
72e96d76
authored
5 years ago
by
James Alexander Clark PhD
Browse files
Options
Downloads
Patches
Plain Diff
Updating docs to include release instructions
parent
a0e7be6f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/build.sh
+1
-0
1 addition, 0 deletions
doc/build.sh
doc/conf.py
+1
-1
1 addition, 1 deletion
doc/conf.py
doc/releasing.md
+58
-0
58 additions, 0 deletions
doc/releasing.md
with
60 additions
and
1 deletion
doc/build.sh
100644 → 100755
+
1
−
0
View file @
72e96d76
...
...
@@ -15,6 +15,7 @@ cat >> index.rst << EOF
quickstart
running
examples
releasing
EOF
# run sphinx
...
...
This diff is collapsed.
Click to expand it.
doc/conf.py
+
1
−
1
View file @
72e96d76
...
...
@@ -22,7 +22,7 @@ copyright = '2019, Neil J. Cornish, Tyson B. Littenberg'
author
=
'
Neil J. Cornish, Tyson B. Littenberg
'
# The full version, including alpha/beta/rc tags
release
=
'
1.0.
4
'
release
=
'
1.0.
3
'
# -- General configuration ---------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
doc/releasing.md
0 → 100644
+
58
−
0
View file @
72e96d76
# Preparing A Release
Procedure:
1.
[
Create a tag
](
#create-a-tag
)
1.
[
Build A Release Tarball
](
#build-a-release-tarball
)
## Create a tag
Tag the state of the repository you'd like to release:
[
create new tag in
gitlab
](
https://git.ligo.org/lscsoft/bayeswave/-/tags/new
)
. See
[
previous
tags
](
https://git.ligo.org/lscsoft/bayeswave/-/tags
)
for examples of notes and
the semantic version name used (e.g. vX.Y.Z)
## Build A Source Tarball
LSC software is released by uploading a source tarball to the
[
software.ligo.org
](
software.ligo.org
)
software repository. This tarball can
then be unpacked and built by package managers. At this time, BayesWave can be
managed by the following systems:
*
`conda`
, in which case the BayesWave release will eventually show up in the
[
LIGO conda reference environments
](
https://docs.ligo.org/lscsoft/conda/
)
.
*
`yum`
, in which case BayesWave can be installed directly from the LSCSoft
SL7 repositories.
The easiest way to enter a suitable build environment is to use the BayesWave
dependencies docker image. Assuming we're starting at the root of the
BayesWave repository:
```
$ docker run -it -u $(id -u):$(id -g) -w $PWD -v /home:/home containers.ligo.org/lscsoft/bayeswave/dependencies:el7
$ mkdir dist
$ pushd dist
$ cmake3 ..
$ cmake3 --build . --target package_source
```
(Noting that the Cmake executable in the BayesWave dependencies image is called
`cmake3`
).
On success, this should produce a compressed tarball
`bayeswave-X.Y.Z.tar.xz`
,
where
`X.Y.Z`
is your tag version.
## Upload Source Tarball
Acquire the upload script
`lscsrc_new_file.sh`
from Adam Mercer. If using
linux (rather than OSX), make sure you change the call to
`gmktemp`
to
`mktemp`
:
```
#SKTFILE=`gmktemp --dry-run`
SKTFILE=`mktemp --dry-run`
```
Run the script to upload the tarball:
```
$ sh ~/Downloads/lscsrc_new_file.sh bayeswave-X.Y.Z.tar.xz
```
## Open SCCB Request
Full instructions available
[
here
](
https://docs.ligo.org/sccb/requests/
)
. Briefly:
1.
[
Open a ticket
](
https://git.ligo.org/sccb/requests/issues/new
)
1.
Invite your reviewer to post a comment indicating review sign-off.
## Deployment
The process now leaves the BayesWave team's hands and packages will be built
and deployed using the provided tarball, pending SCCB approval.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment