Skip to content
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

The testing branch(es) versions of desi-tiles.fits do not contain OBSCONDITIONS column #31

Closed
weaverba137 opened this issue Nov 22, 2016 · 2 comments
Assignees
Labels

Comments

@weaverba137
Copy link
Member

Based on #30, I'm trying to run tests on the OBSCONDITIONS column, but the testing branches used for Travis tests do not contain that column.

@sbailey
Copy link
Contributor

sbailey commented Nov 22, 2016

I also just noticed that. I'm in-process with generating a new tag, including a new test-0.5.0 branch that will include that column.

@sbailey
Copy link
Contributor

sbailey commented Nov 22, 2016

https://desi.lbl.gov/svn/code/desimodel/branches/test-0.5.0 now has a desi-tiles.fits file with OBSCONDITIONS. Full tagging/branching commands below.

#- Make sure stuff works to start with
cd ~/desi/git/desimodel
git checkout master
git pull

svn update svn/trunk
export DESIMODEL=`pwd`/svn/trunk
python setup.py test

#- Make the svn tag
base=https://desi.lbl.gov/svn/code/desimodel
svn copy $base/trunk $base/tags/0.5.0

#- Make the lightweight test data branch
svn copy $base/trunk $base/branches/test-0.5.0
cd svn
svn checkout $base/branches/test-0.5.0
cd test-0.5.0
python -c "from desimodel.trim import trim_data; trim_data('data', 'datalite')"
svn add datalite
svn remove data
svn commit -m "Adding 0.5.0 lite files"
svn move datalite data
svn commit -m "Rename datalite/ back to data/"

#- make sure test work with lightweight version too
cd ~/desi/git/desimodel
export DESIMODEL=`pwd`/svn/test-0.5.0
python setup.py test

#- Proceed with github tag
cd ~/desi/git/desimodel
[edit doc/release_notes.rst]
python setup.py version --tag=0.5.0
git commit -am "desimodel 0.5.0"
git tag -am 'desimodel 0.5.0' 0.5.0
git push origin master
git push origin 0.5.0

@sbailey sbailey closed this as completed Nov 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants