Commit 558e3ddd authored by Branson Stephens's avatar Branson Stephens

packaging changes for gracedb 1.13

parent 444d3b47
ligo-gracedb (1.13-1) unstable; urgency=low
* Fixed renegotiation regression. Issue 951
-- Brian Moe <brian.moe@ligo.org> Fri, 28 Jun 2013 13:15:26 -0500
ligo-gracedb (1.12-1) unstable; urgency=low
* Changed client to use REST API exclusively.
* Extended REST API to include all API functionality.
......
Packaging procedure:
1. alter these files w/new version/release numbers:
debian/changelog (timestamp comes from relevant git hash)
setup.py
ligo/gracedb/__init__.py
ligo/gracedb/cli.py
(in other words, whatever has GIT_TAG in it).
2. check that the package is good
3. push changes to the repo:
git tag -a YOUR_GIT_TAG
git push --tags
4. generate the source tarball to put into the repo
python setup.py sdist
*. to generate .deb and .rpm for testing.
python setup.py bdist_rpm
some arcane debian stuff, then pick through the 17 files it spews out to find your .deb.
debuild -i -us -uc -S
5. put source dist into repo:
https://www.lsc-group.phys.uwm.edu/daswg/download/software/source/
( located at: /home/htdocs/uwmlsc/root/daswg/download/software/source/ )
eg: gsiscp dist/ligo-gracedb-1.2.tar.gz marlin.phys.uwm.edu:/home/htdocs/uwmlsc/root/daswg/download/software/source/
6. Send mail to daswg+announce@gravity.phys.uwm.edu and lscdebian@aei.mpg.de:
SUBJECT: GraceDB Client 1.12 Release
There is a new release of the gracedb command line client.
New features are:
"gracedb download EVENTID FILENAME"
download files associated with an event.
"gracedb search --columns=graceid,gpstime,analysisType QUERY"
specify columns to be included in search results.
"gracedb search --ligolw QUERY"
download ligolw XML search results.
The release tag is: gracedb-1.2-1
The source is available at:
https://www.lsc-group.phys.uwm.edu/daswg/download/software/source/ligo-gracedb-1.2.tar.gz
Thank you,
Brian
The foregoing steps should get things into testing.
# LIES
# Oh. gracedb/utils.py is full of glue depended stuff that is only (?) used on
# the server side. It messes up Adam / MacPorts.
7. For testing -> production:
SCCB request things.
TBD
__all__ = ["cli", "rest"]
GIT_TAG = 'gracedb-1.12-1'
GIT_TAG = 'gracedb-1.13-1'
# issue 717. Required for backward compatibility -- make sure "from ligo import gracedb"
# works as it used to.
......
......@@ -22,7 +22,7 @@ from ligo.gracedb.rest import GraceDb
DEFAULT_SERVICE_URL = "https://gracedb.ligo.org/gracedb/api"
GIT_TAG = 'gracedb-1.12-1'
GIT_TAG = 'gracedb-1.13-1'
#-----------------------------------------------------------------
# Util routines
......
......@@ -3,6 +3,7 @@ To run REST API tests:
PYTHONPATH=. python ligo/gracedb/test/test.py
(First make sure that there is an empty file at ligo/__init__.py.)
To run CLI tests:
PYTHONPATH=. GRACEDB='python bin/gracedb' ligo/gracedb/test/test.sh
......
......@@ -253,7 +253,7 @@ class TestGracedb(unittest.TestCase):
def test_gittag(self):
# try to make sure GIT_TAG is set properly.
import errno
version = "1.12"
version = "1.13"
try:
# If we are in the source dir (setup.py is available)
# make sure the version above agrees.
......
......@@ -3,7 +3,7 @@ import os
from distutils.core import setup
version = "1.12"
version = "1.13"
setup(
name = "ligo-gracedb",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment