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

2.0.0 #841

Merged
merged 28 commits into from
Mar 22, 2024
Merged

2.0.0 #841

merged 28 commits into from
Mar 22, 2024

Conversation

k1o0
Copy link
Contributor

@k1o0 k1o0 commented Mar 22, 2024

Release notes

models

  • Session.project field removed
  • Dataset.qc field added

docs

  • fix minor typo in Session field help text
  • fix minor typos in filter docstrings

rest

  • dataset_qc_lte filter added to session and probe insertion views
  • protected file viewset

fixtures

  • update to test fixtures to reflect model changes
  • laserStimulation.intervals dataset type

system

  • fix tests for newer versions on django rest framework
  • minor improvements to setup script

other

  • allow Husbandry members to edit litters, subjects, breeding pairs

Release steps below:

Pull the changes from github

1) Activate environment, cd to the alyx folder and install requirements

git stash
git pull
git stash pop

2) Activate environment - install requirements (if new packages)

pip install -r requirements.txt

3) Update the database if any scheme changes - we expect no migrations

cd alyx
./manage.py makemigrations
./manage.py migrate

4) If new fixtures load in the database:

../scripts/load-init-fixtures.sh

5) if new tables change the postgres permissions

./manage.py set_db_permissions
./manage.py set_user_permissions

6) If updates to django version

./manage.py collectstatic

7) Restart the Apache server

sudo service apache2 restart

k1o0 and others added 28 commits August 31, 2023 16:16
add view to check protected datasets
@k1o0 k1o0 merged commit d57e661 into master Mar 22, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants