2019-01-23 12:30:39 -07:00
|
|
|
Maintenance
|
|
|
|
===========
|
|
|
|
|
|
|
|
|
|
|
|
Updating Python dependencies
|
|
|
|
----------------------------
|
2019-09-23 03:43:24 -06:00
|
|
|
|
2019-01-23 12:30:39 -07:00
|
|
|
To update the Python dependencies:
|
|
|
|
|
2019-09-23 03:48:04 -06:00
|
|
|
#. Execute script to refresh ``requirements{-dev}.txt`` files::
|
2019-01-23 12:30:39 -07:00
|
|
|
|
2019-09-23 03:48:04 -06:00
|
|
|
$ ./contrib/refresh-requirements.sh
|
2019-01-23 12:30:39 -07:00
|
|
|
|
2019-09-23 03:48:04 -06:00
|
|
|
#. Stage and commit ``requirements{-dev}.txt`` files.
|
2019-01-23 12:30:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
Updating frontend dependencies
|
|
|
|
------------------------------
|
|
|
|
|
2019-09-23 03:43:24 -06:00
|
|
|
The frontend dependencies are managed with ``npm``.
|
|
|
|
To update the frontend dependencies, while respecting semver:
|
2019-01-23 12:30:39 -07:00
|
|
|
|
2019-09-23 03:43:24 -06:00
|
|
|
#. Update all the packages listed in ``package.json``::
|
2019-01-23 12:30:39 -07:00
|
|
|
|
2019-09-23 03:43:24 -06:00
|
|
|
$ npm update
|
2019-01-23 12:30:39 -07:00
|
|
|
|
2019-09-23 03:43:24 -06:00
|
|
|
#. Test and copy the newly downlodaded static assets::
|
2019-01-23 12:30:39 -07:00
|
|
|
|
2019-09-23 03:43:24 -06:00
|
|
|
$ ./node_modules/.bin/gulp
|
2019-01-23 12:30:39 -07:00
|
|
|
|
2019-09-23 03:43:24 -06:00
|
|
|
#. Stage and commit ``package-lock.json`` file.
|