Page MenuHomeVyOS Platform

repository organisation change
Open, Requires assessmentPublicFEATURE REQUEST

Description

The code in the repository is re-organised when the debian package is recreated. Many folders in src/ are regrouped into what will become /usr/libexec/vyos.
While it is not an issue on its own, it prevents the git repository to be copied on a live system and to change the relevant environment variable to use it such as

vyos_libexec_dir=/usr/libexec/vyos
vyos_op_scripts_dir=/usr/libexec/vyos/op_mode
vyatta_libexecdir=/opt/vyatta/libexec
vyos_completion_dir=/usr/libexec/vyos/completion
vyos_validators_dir=/usr/libexec/vyos/validators
vyos_conf_scripts_dir=/usr/libexec/vyos/conf_mode

to be for example

vyos_libexec_dir=/home/user/vyos-1x/src/libexec
vyos_op_scripts_dir=/home/user/vyos-1x/src/libexec/op_mode
vyos_completion_dir=/home/user/vyos-1x/src/libexec/completion
vyos_validators_dir=/home/user/vyos-1x/src/libexec/validators
vyos_conf_scripts_dir=/home/user/vyos-1x/src/libexec/conf_mode

and change the PYTHONPATH with

export PYTHONPATH=/home/user/vyos-1x/python/:$PYTHONPATH

to then use the git code.

should git be installed on the machine, changes could be pushed out of the server.

This would seriously reduce the development test cycle as removing the need to generate a debian package.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

pasik added a subscriber: pasik.Mar 30 2020, 7:09 AM
dmbaturin edited projects, added Restricted Project; removed VyOS 1.3 Equuleus.Jun 25 2020, 5:35 AM
dmbaturin added a subscriber: dmbaturin.

Since we are heading towards a freeze, I believe it's better to live big changes for later, even though I don't categorically disagree with the idea.

I agree that this kind of changes are better done at the start of a development cycle.