kkthxbye
9f3846ec5f
Clear the cache when running the upgrade script
2022-04-29 09:19:37 +02:00
Markku Leiniö
7779b66972
Require Python 3.8+ to run upgrade.sh
2022-04-14 22:01:21 +03:00
jeremystretch
90ee689d5a
Closes #8678 : Validate minimum required Python version
2022-02-17 10:31:28 -05:00
jeremystretch
d1f5988db7
Closes #7319 : Remove migrations check from upgrade.sh to avoid misleading error messages
2021-10-01 08:57:17 -04:00
jeremystretch
47ef8b9cac
Upgrade script now looks for Python path as env var
2021-07-19 15:13:30 -04:00
Jeremy Stretch
7058d6ca5a
Closes #6328 : Local docs build ( #6769 )
...
* Incorporate local documentation build in upgrade script
* Add docs build to CI
* Include docs build path in revision control
* Update footer dcos link
* Changelog for #6328
* Clean up errant links
2021-07-19 14:18:08 -04:00
jeremystretch
8592e0af54
Remove cache invalidation from upgrade script
2021-07-19 13:15:27 -04:00
jeremystretch
ae6b2be52c
Call out dependency on v2.11+ for upgrades
2021-07-19 11:27:00 -04:00
jeremystretch
bd7bcf8a0b
Fixes #6496 : Fix upgrade script when Python installed in nonstandard path
2021-05-28 13:18:50 -04:00
Jeremy Stretch
8640f500d1
Closes #5776 : Upgrade pip when running upgrade.sh
2021-02-09 13:32:29 -05:00
Jeremy Stretch
59df724844
Updated installation docs
2020-11-17 12:01:10 -05:00
Jeremy Stretch
f560693748
Rewrite trace_paths management command and call in upgrade.sh
2020-10-07 10:30:11 -04:00
Jeremy Stretch
9f363f493b
Closes #4909 : Check for contents in local_requirements.txt before calling pip
2020-07-27 12:01:21 -04:00
Jeremy Stretch
ab2ea5697f
Closes #4322 : Introduce and document local_requirements.txt support for installation/upgrade of optional dependencies
2020-03-09 14:22:27 -04:00
Jeremy Stretch
b22bf0c4b0
Fix upgrade.sh to show virtualenv warning only when needed
2020-03-06 15:07:29 -05:00
Jeremy Stretch
17c76e413d
Install wheel before NetBox dependencies
2020-03-06 13:59:19 -05:00
Jeremy Stretch
12bedac28a
Tweak upgrade script to exit immediately if any individual tasks fail
2020-03-06 10:26:12 -05:00
Jeremy Stretch
e4cfeb1977
Add reminder to reload systemctl daemon if needed
2020-03-04 17:19:16 -05:00
Jeremy Stretch
f7c6df6e6a
Improved verbosity of upgrade script
2020-03-04 12:20:06 -05:00
Jeremy Stretch
746bfd8bca
Closes #4119 : Extend upgrade script to clear expired user sessions
2020-03-04 10:29:22 -05:00
Jeremy Stretch
215dbef7a0
Improved formatting of upgrade script messages
2020-02-26 15:40:05 -05:00
Jeremy Stretch
64c9bf27c1
Fix exit statement in upgrade script
2020-02-26 15:34:42 -05:00
Jeremy Stretch
1abc82e718
Update upgrade script & instructions to better accomodate moving to a venv
2020-02-26 15:26:12 -05:00
Jeremy Stretch
0851b97ba5
Update the upgrade script & instructions to use a virtual environment
2020-02-26 13:54:07 -05:00
Jeremy Stretch
685cf50268
Closes #3926 : Extend upgrade script to invalidate cache data
2020-01-15 08:57:00 -05:00
Jeremy Stretch
ae4f17264f
Fixes #3460 : Extend upgrade script to validate Python dependencies
2019-10-23 17:12:32 -04:00
Jeremy Stretch
eeb3434349
Closes #3347 : Extend upgrade script to automatically remove stale content types
2019-09-25 10:22:02 -04:00
Jeremy Stretch
8e043b00b8
Closes #3330 : Remove .pyc file cleanup step from upgrade script
2019-07-16 10:11:39 -04:00
Austin English
01c5d9e909
upgrade.sh: make sure we are in the right directory
2019-05-02 13:02:53 -05:00
Jeremy Stretch
a1a9396287
Closes #2594 : upgrade.sh no longer invokes sudo
2018-11-30 11:12:10 -05:00
Jeremy Stretch
ac546a9711
Closes #2000 : Remove support for Python 2
2018-08-14 11:48:12 -04:00
Jeremy Stretch
c300879995
Fixes #1527 : Replace deprecated pycrypto library with pycryptodome
2017-10-09 17:40:15 -04:00
Jeremy Stretch
0a929f2971
Fixes #1253 : Improved upgrade.sh to allow forcing Python2
2017-06-09 12:13:47 -04:00
Jeremy Stretch
834c396a22
Tweaked upgrade script to prefer pip3/python3 if present
2017-05-26 09:55:22 -04:00
Jeremy Stretch
c454bfcd84
Fixed incorrect message
2017-05-18 14:53:35 -04:00
Jeremy Stretch
16c582ec7a
Enable stale .pyc cleanup in upgrade.sh
2017-05-01 16:53:51 -04:00
Jeremy Stretch
8e0580ff96
Improved upgrade script
2017-04-27 14:42:52 -04:00
Jeremy Stretch
f73693206f
Merge branch 'develop' into v2-develop
...
Conflicts:
netbox/circuits/models.py
netbox/netbox/settings.py
upgrade.sh
2017-04-21 15:07:48 -04:00
Jeremy Stretch
5c0614d656
#1090 : Python3 tweaks for installation on CentOS
2017-04-21 14:37:47 -04:00
Jeremy Stretch
697866d1ba
#1090 : Tweaked docs for Python3 on Ubuntu
2017-04-21 13:30:18 -04:00
Jeremy Stretch
f34a8fff6a
Extend upgrade script to remove cached bytecode
2017-04-05 10:22:37 -04:00
Matt Layher
49f06cfeb2
Optionally use sudo if not running upgrade.sh as root
2016-07-01 13:21:51 -04:00
Jeremy Stretch
381639d4a7
Wrapped pip updates inside sudo
2016-06-30 14:59:52 -04:00
Jeremy Stretch
fc5495eb3b
Introduced a script to assist with upgrading NetBox
2016-06-29 15:43:42 -04:00