summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2025-09-30smoketest: T7858: use pylint for our testcasesChristian Breunig
2025-09-18Merge pull request #4728 from sarthurdev/T7825Simon
nose: T7825: Use nose2 for unit tests
2025-09-18nose: T7825: Use nose2 for unit testssarthurdev
2025-09-17Makefile: T7787: error out early if pylint failsChristian Breunig
2025-09-13Revert "Makefile: T7793: "make clean" should also clean libvyosconfig"Christian Breunig
This change introduced an unintended side effect: subsequent package builds fail. Debian’s build system performs an implicit dh_clean, which removes the libvyosconfig/_build directory. However, the current Makefile logic only builds libvyosconfig once (see Makefile:L18) and does not trigger a rebuild if the library is already marked as installed. As a result, after the first successful build, later builds fail with: cp libvyosconfig/_build/libvyosconfig.so debian/tmp/libvyosconfig/usr/lib/libvyosconfig.so.0 cp: cannot stat 'libvyosconfig/_build/libvyosconfig.so': No such file or directory
2025-09-11Makefile: T7793: "make clean" should also clean libvyosconfigChristian Breunig
2025-09-08Merge https://github.com/vyos/libvyosconfig into integrate-libvyosconfigChristian Breunig
* https://github.com/vyos/libvyosconfig: (107 commits) T7728: T7734: update commit hash for dynamically generate proposed config T7728: add package build target for convenience T7718: update commit hashes for validate_tree_filter T7718: add binding for validate_tree_filter T7688: update commit hash for correct management of delete paths T7644: mirror workflow refactoring rollout T7637: T7605: update commit hashes for typo and escape backslash T7579: fix of the run trigger for CLA T7499: update hashes for add destructive merge T7499: set permissions on session directory T7499: bindings for (non-)destructive configtree merge T7579: added workflow for CLA T7374: bump vyconf commit id for build.sh T7374: install vyconf_cli and add links for associated vy_* commands T7445: added open prs conflict check caller workflow T7450: fix dependency for use of PCRE2 instead of PCRE T7363: update hash for vyconf aware initialization of Config T7450: update commit hashes for Use PCRE2 instead of PCRE T7334: pr mirror trigger workflow added with label creation permission for default github token T7321: update commit hashes for replace configsession legacy operations ...
2025-09-04T7787: Makefile check for unused-imports should be mandatoryChristian Breunig
Currently our make target for "unused-imports" check is optional and a "suggestion". As we now also use pylint to check for missing imports and code issues, we will now make the unused import check mandatory. This improves overall code quality.
2025-08-19T7728: add package build target for convenienceJohn Estabrook
2025-07-30debian: T7669: install the op mode JSON cache in /usr/share/vyos/Daniil Baturin
to make it easy to access
2025-07-22T7648: pylint depends on XML cache generated in interface_definitionsChristian Breunig
2025-07-21T7648: enable pylint for both migration-scripts and custom daemons (services)Christian Breunig
2025-07-21T7648: enable pylint target for "make all" to check for e.g. missing importsChristian Breunig
2025-07-03Update MakefileChristian Breunig
Co-authored-by: John Estabrook <jsestabrook@gmail.com>
2025-06-28T7591: remove copyright years from source filesChristian Breunig
The legal team says years are not necessary so we can go ahead with it, since it will simplify backporting. Automatically removed using: git ls-files | grep -v libvyosconfig | xargs sed -i -E \ 's/^# Copyright (19|20)[0-9]{2}(-[0-9]{4})? VyOS maintainers.*/# Copyright VyOS maintainers and contributors <maintainers@vyos.io>/g' In addition we will error-out during "make" if someone re-adds a legacy copyright notice
2025-06-26build: T7578: fail the package build if there are non-unique op mode nodesDaniil Baturin
to ensure that the JSON cache is usable for command lookup
2025-06-02vyos-1x-vmware: T3681: Remove extra -x flag from Python bytecompileYun Zheng Hu
2025-05-22vyos-1x-vmware: T3681: Fix Python bytecompile exclusionYun Zheng Hu
2025-04-13T7355: check src/services Python scripts for unused importsChristian Breunig
2025-03-30T7289: fix typo in git submodule status checkJohn Estabrook
2025-03-27T7289: attempt to update submodule if status inconsistentJohn Estabrook
2025-03-27T7289: update Makefile for libvyosconfig as git submoduleJohn Estabrook
2025-03-25T7246: update hash for strip version on config loadJohn Estabrook
2025-03-20T7246: update libvyosconfig hash and add nosetestJohn Estabrook
2025-03-18T7121: T6946: update hash for commit algorithm/commitd messagingJohn Estabrook
2025-03-18T7121: add binding for test_commitJohn Estabrook
2025-03-18T6946: binding for show_commit_dataJohn Estabrook
2025-03-15T5400: initialize OPAM environment where it's really neededChristian Breunig
2025-03-15T5400: initialize OPAM environment where it's really neededChristian Breunig
Instead of trying to fix - what we call - "Schroedingers build environment" in the outside world calling this package build, we should rather fix the Makefile/build system..
2025-03-10T5400: clean up directory as needed before local build of libvyosconfigJohn Estabrook
2025-03-04T5400: add local build of libvyosconfig to MakefileJohn Estabrook
libvyosconfig is both a build and a run dependency of vyos-1x. Satisfying the build dependency within the Docker image requires coordination of updates to vyos-build/libvyosconfig/vyos-1x on any changes to the library; simplify this process by moving the build to a step of the vyos-1x Makefile.
2024-12-10vyconf: T6718: add reftree internal cacheJohn Estabrook
As we are generating the reference tree from the XML definitions during build, save an internal representation for vyconfd to load on startup.
2024-10-24Add missing -thread link.John Estabrook
Links added in earlier commit, but one instance missed. Cf. https://github.com/ocamllabs/ocaml-ctypes/pull/651
2024-09-10op_mode: T6181: A feature for checking portsNataliia Solomko
2024-08-12xml: T6650: add initial op-mode cache supportJohn Estabrook
2024-06-30T6527: add legacy Vyatta interpreter files still in useChristian Breunig
2024-06-26migration: T6007: drop check for executable scripts, as now modulesJohn Estabrook
2024-06-26vyos-configd: T6510: autogenerate configd-include.jsonChristian Breunig
Now that there is a build time validation that Config() is not instantiated twice in a config mode script, and also as there are no more direct calls on the my_set and my_delete binary, we can auto generate the list of helpers run by vyos-configd.
2024-06-18T6492: Check if all migrators have the executable bit setNataliia Solomko
2024-06-11T6456: Convert "monitor traffic" to modern op-mode wrapperAndrew Topp
The old "monitor traffic" definition had misaligned arguments under the verbose node and manually offered the same parameter keyword in multiple positions to emulate flexible parameters. I've wrapped tcpdump for op-mode and replicated the "varargs" style from mtr.py/mtr.xml.in to present a few more parameters in a more flexible manner. Changes to the Makefile were required for recursive varargs lookup.
2024-06-04T6431: op-mode command monitor traceroute missing recursive symlinkAndrew Topp
Likely this was copied from mtr in the past but the symlink wasn't added to the Makefile. I've also swapped the completion help text around to match the commands.
2024-04-06T6199: remove unused Python imports from migration scriptsChristian Breunig
2024-04-04Makefile: improve "unused-imports" targetChristian Breunig
2024-04-03T6199: drop unused sphinx documentation folderChristian Breunig
2023-11-15image: T4516: Added system image toolszsdc
This commit adds the whole set of system image tools written from the scratch in Python that allows performing all the operations on images: * check information * perform installation and deletion * versions management Also, it contains a new service that will update the GRUB menu and keep tracking its version in the future. WARNING: The commit contains non-reversible changes. Because of boot menu changes, it will not be possible to manage images from older VyOS versions after an update.
2023-11-09op-mode: T5658: add VRF support for "monitor traceroute"bbabich
2023-10-16op-mode: T5642: 'generate tech-support archive' moved to vyos-1xaapostoliuk
'generate tech-support archive' moved to vyos-1x. Output of 'show tech-support report' command is added to archive. The default location of the archive is moved to '/tmp'. The script is rewritten to Python.
2023-10-12xml: T5649: catch errors from schema validation before generating cacheJohn Estabrook
2023-09-13T671: do not preserve old tech-support report implementationJohn Estabrook
2023-08-09xml: T5452: catch lib errors in generate_cacheJohn Estabrook