commit | 566d33c4cf643a6a236d6c98dbf597b7a93b6f38 | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Fri Apr 17 14:33:37 2020 +0200 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Fri Apr 17 14:36:24 2020 +0200 |
tree | 11c4533b2ad4d2c3b754315208cd7e0bf2b1ace2 | |
parent | 81ddbfd9996e7d28a3a36c0fadf0bf262ef90272 [diff] |
Zuul: Fix artifact retrieval With our updated Zuul (and the associated update of the base job), a Zuul manifest is almost always returned as an artifact form all builds. This has implications with out dependency caching -- the code previously assumed that we could just pick *the* artifact from the most recent change item from the CzechLight/Dependencies repo, and that would be our tarball. That's no longer the case, it could as well be the Zuul manifest, so let's bring in more JSON magic: - `.artifacts[]?` is a generator which return the "artifacts" member of the input as individual items in a sequence, or a null on error ("no artifacts") - `select(.foo == "bar")` filters by attribute value, that one is easy, - `[.artifacts[]? | select ... ]` converts that generator back to an array, - `[-1]?` selects the last item, if there's any, otherwise returning null, - ...which is then turned into an empty string, or the resulting value by `+ ""`. Change-Id: Ieafa1be1f7066e5005a8e35f4fe86887cbaff3e5
This program provides an interactive console for working with YANG data. It can connect to NETCONF servers, and also talk to sysrepo locally.
For building, one needs:
Use an exact commit of any dependencies as specified in submodules/dependencies/*
.
The build process uses CMake. A quick-and-dirty build with no fancy options can be as simple as mkdir build && cd build && cmake .. && make && make install
.
Issue reporting and feature requests are welcome via Taiga.io.
We are using Gerrit for patch submission, code review and Continuous Integration (CI). Development roadmap and planning happens over Taiga.io.
Copyright © CESNET, https://www.cesnet.cz/ . Portions copyright © Faculty of Information Technology, Czech Technical University in Prague, https://fit.cvut.cz/ . Most of the code was written by Václav Kubernát (CESNET, formerly FIT ČVUT) and Jan Kundrát (CESNET). The project is distributed under the terms of the Apache 2.0 license.