Message ID | ce653225895177ab5b861d5348b1c610919f4779.1733755068.git.jstancek@redhat.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | tools: ynl: add install target | expand |
On Mon, 9 Dec 2024 15:47:14 +0100 Jan Stancek wrote: > For backwards compatibility provide also symlinks from original location > of user facing scripts. Did someone ask for this? Does everything work without the symlinks? If the answers are "no", "yes" then let's try without this patch. In tree users should be able to adjust.
On Wed, 11 Dec 2024 at 03:26, Jakub Kicinski <kuba@kernel.org> wrote: > > On Mon, 9 Dec 2024 15:47:14 +0100 Jan Stancek wrote: > > For backwards compatibility provide also symlinks from original location > > of user facing scripts. > > Did someone ask for this? Does everything work without the symlinks? > If the answers are "no", "yes" then let's try without this patch. > In tree users should be able to adjust. I asked for the symlinks for cli.py and ethtool.py to avoid surprising people when they move. The ynl-gen- scripts are primarily used in-tree via Makefiles so I didn't think they should be symlinked. Happy to go with your suggestion to drop this if you'd prefer not to have any symlinks. Thanks, Donald
On Wed, Dec 11, 2024 at 10:21 AM Donald Hunter <donald.hunter@gmail.com> wrote: > > On Wed, 11 Dec 2024 at 03:26, Jakub Kicinski <kuba@kernel.org> wrote: > > > > On Mon, 9 Dec 2024 15:47:14 +0100 Jan Stancek wrote: > > > For backwards compatibility provide also symlinks from original location > > > of user facing scripts. > > > > Did someone ask for this? Does everything work without the symlinks? > > If the answers are "no", "yes" then let's try without this patch. > > In tree users should be able to adjust. > > I asked for the symlinks for cli.py and ethtool.py to avoid surprising > people when they move. The ynl-gen- scripts are primarily used in-tree > via Makefiles so I didn't think they should be symlinked. Happy to go > with your suggestion to drop this if you'd prefer not to have any > symlinks. I'll drop them, we can always add them later in case someone _really_ needs original script locations. > > Thanks, > Donald >
On Wed, 11 Dec 2024 13:42:28 +0100 Jan Stancek wrote: > > > Did someone ask for this? Does everything work without the symlinks? > > > If the answers are "no", "yes" then let's try without this patch. > > > In tree users should be able to adjust. > > > > I asked for the symlinks for cli.py and ethtool.py to avoid surprising > > people when they move. The ynl-gen- scripts are primarily used in-tree > > via Makefiles so I didn't think they should be symlinked. Happy to go > > with your suggestion to drop this if you'd prefer not to have any > > symlinks. > > I'll drop them, we can always add them later in case someone > _really_ needs original script locations. FWIW that's my thinking, too.
diff --git a/tools/net/ynl/cli.py b/tools/net/ynl/cli.py new file mode 120000 index 000000000000..c26fb97ae611 --- /dev/null +++ b/tools/net/ynl/cli.py @@ -0,0 +1 @@ +pyynl/cli.py \ No newline at end of file diff --git a/tools/net/ynl/ethtool.py b/tools/net/ynl/ethtool.py new file mode 120000 index 000000000000..deea4569a939 --- /dev/null +++ b/tools/net/ynl/ethtool.py @@ -0,0 +1 @@ +pyynl/ethtool.py \ No newline at end of file diff --git a/tools/net/ynl/ynl-gen-c.py b/tools/net/ynl/ynl-gen-c.py new file mode 120000 index 000000000000..716d34fa1257 --- /dev/null +++ b/tools/net/ynl/ynl-gen-c.py @@ -0,0 +1 @@ +pyynl/ynl_gen_c.py \ No newline at end of file diff --git a/tools/net/ynl/ynl-gen-rst.py b/tools/net/ynl/ynl-gen-rst.py new file mode 120000 index 000000000000..b02558f540ec --- /dev/null +++ b/tools/net/ynl/ynl-gen-rst.py @@ -0,0 +1 @@ +pyynl/ynl_gen_rst.py \ No newline at end of file
For backwards compatibility provide also symlinks from original location of user facing scripts. Signed-off-by: Jan Stancek <jstancek@redhat.com> --- tools/net/ynl/cli.py | 1 + tools/net/ynl/ethtool.py | 1 + tools/net/ynl/ynl-gen-c.py | 1 + tools/net/ynl/ynl-gen-rst.py | 1 + 4 files changed, 4 insertions(+) create mode 120000 tools/net/ynl/cli.py create mode 120000 tools/net/ynl/ethtool.py create mode 120000 tools/net/ynl/ynl-gen-c.py create mode 120000 tools/net/ynl/ynl-gen-rst.py