| Age | Commit message (Collapse) | Author |
|
|
|
|
|
It is possible to speed up the execution of Pylint. If the running computer
has more CPUs than one, then the work for checking all files could be spread
across all cores via Pylints's sub-processes.
This functionality is exposed via the --jobs/-j command-line parameter. If
the provided number is 0, then the total number of CPUs will be autodetected
and used.
|
|
Reaches a clean typos baseline for the T8490 ruleset pilot. Categories:
- Comments/docs: recursivly, taret, passsed, characted, arhive, AtrributeError;
"ned" -> "new" (migration comments).
- Messages/strings: writeable -> writable (x5); OCaml log "Commandis" -> "Command is".
- Local variables (all refs in-function): commited, formating, presistent;
inpt_range -> input_range; tz_datas -> tz_data_raw (avoids the tz_data collision).
- Self-contained renames (definition + all references in-file): formated_stats,
_get_formatted_output_conections -> ..._connections, expension_failure ->
expansion_failure (ping + traceroute), snmpd_restart_reqired -> ..._required.
False positives are allowlisted centrally (vyos/.github, separate PR), NOT changed
here: mke2fs, Maya-calendar "Mak", RFC 4122 "IDentifier" (hostapd), and VPP's
"U-Forwrd" bridge-domain column header (op_mode/vpp.py + the VPP smoketest assert
the real upstream `vppctl` output). Verified: typos clean, py_compile of every
edited .py, zero remaining old-identifier references.
🤖 Generated by [robots](https://vyos.io)
|
|
|
|
T8360: add XML preprocessor to allow overriding help element
|
|
🤖 Generated by robots (https://vyos.io)
|
|
|
|
|
|
|
|
* 'current' of github.com:vyos/vyos-utils: (65 commits)
T8269: add option to silence output of individual validators
T8306: update package version
vyos-op-run: T8306: add error messages for system exceptions
vyos-op-run: T8306: improve execution logic logging
vyos-op-run: T8301: improve the security of UID check and setuid logic
T8110: "list_interfaces --bondable" must not return VLAN subinterfaces
vyos-op-run: T7901: skip permission checks if the user is root
vyos-op-run: T8005: sanitize environment variables to prevent malicious variable injection
T7878: conflict check updated to use mergify
T7878: conflict check updated to use mergify
T7899: virtual-ethernet interfaces support broadcasts
Debian: T7899: bump dh compat version
T7758: add missing case to allow repeated option --type
T7758: allow repeated option --type in list_interfaces
vyos-op-run: T7745: add a command permission checking mechanism
op-mode: T7583: add a new operational command runner
T7644: mirror workflow refactoring rollout
T7579: fix of the run trigger for CLA
T7579: added workflow for CLA
validators: T6622: Radix-aware numeric validation
...
|
|
|
|
|
|
Re-enable service monitoring telegraf for the arm64 architecrute.
It was deleted before because we didn't have the arm binaries.
Actually we are having the telegraf binary for the arm64 platform.
|
|
During development and XML node refactoring the resulting node.def files are
rebuild over and over again. Unfortunately they are not cleaned up during
subsequent calls to "make interface_definitions" or "make op_mode_definitions".
This could cause previous build node.def files to still exist after a rebuild
which adds potential false-positives during refactoring.
|
|
|
|
|
|
nose: T7825: Use nose2 for unit tests
|
|
|
|
|
|
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
|
|
|
|
* 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
...
|
|
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.
|
|
|
|
to make it easy to access
|
|
|
|
|
|
|
|
Co-authored-by: John Estabrook <jsestabrook@gmail.com>
|
|
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
|
|
to ensure that the JSON cache is usable for command lookup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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..
|
|
|
|
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.
|
|
As we are generating the reference tree from the XML definitions during
build, save an internal representation for vyconfd to load on startup.
|
|
Links added in earlier commit, but one instance missed. Cf.
https://github.com/ocamllabs/ocaml-ctypes/pull/651
|
|
|