refactor: disable julia startup file for julia package update (#983)

* refactor(julia): disable julia startup file for julia package update

* feat(julia): add configuration option for julia startup file

* fix: deny unknown fields on JuliaConfig deserialisation

Co-authored-by: SteveLauC <stevelauc@outlook.com>

* doc(julia): clarify startup_file option purpose

---------

Co-authored-by: SteveLauC <stevelauc@outlook.com>
This commit is contained in:
Laura Demkowicz-Duffy
2024-11-19 01:17:51 +00:00
committed by GitHub
parent 444689c899
commit 202897ba35
3 changed files with 34 additions and 4 deletions

View File

@@ -270,3 +270,11 @@
# and the update will be installed system-wide, i.e., available to all users.
# (default: false)
# use_sudo = false
[julia]
# If disabled, Topgrade invokes julia with the --startup-file=no CLI option.
#
# This may be desirable to avoid loading outdated packages with "using" directives
# in the startup file, which might cause the update run to fail.
# (default: true)
# startup_file = true