- Jan 15, 2020
-
-
Andrew Lee (李健秋) authored
-
Andrew Lee (李健秋) authored
Signed-off-by:
Andrew Lee (李健秋) <ajqlee@debian.org>
-
- Oct 10, 2019
-
-
Signed-off-by:
Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>
-
Ritesh Raj Sarraf authored
When no .netrc file is found, ade resorts to priting an error message. This can be annoying when users want to use a remote server that doesn't need auth. This change demotes the error message to be displayed only in verbose mode Closes: https://phabricator.apertis.org/T6301 Signed-off-by:
Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>
-
- Aug 23, 2019
-
-
Emanuele Aina authored
Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
- Aug 02, 2019
-
-
Frederic Danis authored
urllib.parse.unquote() request a string as first parameter. Check that parsed_url.password exists before calling it. Fixes: APERTIS-5756 Signed-off-by:
Frédéric Danis <frederic.danis@collabora.com>
-
- Jul 18, 2019
-
-
Ritesh Raj Sarraf authored
Passwords could be having special characters, in which case they need to be percent encoded as per the RFC-3986 section 2.1. in the URL. For such fields, where the password may be percent encoded, it also needs to be decoded. That is what this change does. It takes the password which may be percent encoded and provides with an ascii equivalent string Signed-off-by:
Ritesh Raj Sarraf <ritesh.sarraf@collabora.com>
-
Frederic Danis authored
Signed-off-by:
Frédéric Danis <frederic.danis@collabora.com>
-
Frederic Danis authored
If username and password are not passed on command line, nor in url, try to find them from .netrc file. Signed-off-by:
Frédéric Danis <frederic.danis@collabora.com>
-
- Jul 17, 2019
-
-
Frederic Danis authored
urllib does not support to set the username and password in the URL. The URL needs to be parsed to extract them before calling urlopen or urlretrieve. The username and password found in the URL are used unless they are already set on command line. Signed-off-by:
Frédéric Danis <frederic.danis@collabora.com>
-
- Apr 04, 2019
-
-
Emanuele Aina authored
Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
Emanuele Aina authored
At the moment `ade` enforces a NN.NN versioning schema for sysroot with N strictly being a digit. Now that we switched to release versions like v2019dev0, v2019pre, v2019.0 this is no longer appropriate. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
- Jan 08, 2019
-
-
Andrej Shadura authored
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk> Apertis: T5626
-
- Nov 28, 2018
-
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
-
Andrej Shadura authored
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Use bold font for subcommands and options, italics for variables and values. Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
- Oct 18, 2018
-
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
Andrej Shadura authored
Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
- Oct 17, 2018
-
-
Andrej Shadura authored
A gdbserver may be running left over from a previous debug session. It will still be listening on the TCP port, preventing a new instance from starting, so we need to kill it. However, if we allocate a PTY when spawning it, it will die once the session ends. For some reason, with get_pty=True, the gdbserver’s output is coming from stdout, not stderr. Apertis: T4463 Signed-off-by:
Andrej Shadura <andrew.shadura@collabora.co.uk>
-
- Jun 29, 2018
-
-
Ritesh Raj Sarraf authored
The test-export script tests the `ade export` command. It creates an install target in moc/Makefile.in and uses it to simulate ade's export command, which further bundles the installed files The script then unpacks the created bundle and verified the sample file that was bundled through `ade export` Currently, we do it the crude way to extract the file from the bundle because ostree/flatpak doesn't have a cleaner implementation For details, see: https://github.com/flatpak/flatpak/issues/126 Signed-off-by:
Ritesh Raj Sarraf <ritesh.sarraf@collabora.com> Reviewed-by:
Frédéric Dalleau <frederic.dalleau@collabora.com> Differential Revision: https://phabricator.apertis.org/D7914
-
- Jan 10, 2018
-
-
Frédéric Dalleau authored
Signed-off-by:
Frédéric Dalleau <frederic.dalleau@collabora.com> Reviewed-by:
Emanuele Aina <emanuele.aina@collabora.co.uk> Differential Revision: https://phabricator.apertis.org/D7435
-
Frédéric Dalleau authored
When the debugger thread starts, it spawns a gdbserver and waits forever. Use the Channel from paramiko to monitor the process return value and quit when it's terminated. Discard any output from gdbserver as it can stall the ssh link in extreme cases. Additionnaly "while True: pass" loops are busy loops. Relax those. Do that for non-interactive ade too. Apertis: https://phabricator.apertis.org/T4462 Signed-off-by:
Frédéric Dalleau <frederic.dalleau@collabora.com> Reviewed-by:
Emanuele Aina <emanuele.aina@collabora.co.uk> Differential Revision: https://phabricator.apertis.org/D7431
-
Frédéric Dalleau authored
Signed-off-by:
Frédéric Dalleau <frederic.dalleau@collabora.com> Reviewed-by:
Emanuele Aina <emanuele.aina@collabora.co.uk> Differential Revision: https://phabricator.apertis.org/D7430
-
- Dec 18, 2017
-
-
Héctor Orón Martínez authored
Signed-off-by:
Héctor Orón Martínez <hector.oron@collabora.co.uk>
-
Héctor Orón Martínez authored
sysroot tarball packs `./etc/image_version`, ade fails to identify it as `etc/image_version`, therefore, we need to append `./` to the file path. Signed-off-by:
Héctor Orón Martínez <hector.oron@collabora.co.uk> Reviewed-by:
Emanuele Aina <emanuele.aina@collabora.com> Differential Revision: https://phabricator.apertis.org/D7384
-
- May 24, 2017
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
It is normal and expected for agent entry points to not have an icon. Signed-off-by:
Simon McVittie <smcv@collabora.com> Reviewed-by:
Emanuele Aina <emanuele.aina@collabora.co.uk> Differential Revision: https://phabricator.apertis.org/D6858
-
- May 19, 2017
-
-
Justin Kim authored
`ade configure` and `ade build` have `--native` option, but `install` and `uninstall` commands doesn't. To install/uninstall a bundle which is built with `--native`, user should use `ade install --simulator` because two options actually do same thing. For the consistency, the option, `--native`, is added. Reviewed-by:
Emanuele Aina <emanuele.aina@collabora.co.uk> Signed-off-by:
Justin Kim <justin.kim@collabora.com> Differential Revision: https://phabricator.apertis.org/D6807
-
- May 16, 2017
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
When unparsed arguments were picked out, they were appended to args. This is problematic if the wrapped command takes command-line options with values of the form "--foo bar" (as opposed to --foo=bar), because they would be re-ordered to "bar --foo", likely causing a syntax error. It is obviously also a problem if order is significant for the wrapped command. Prepend the unparsed arguments to args instead of appending. Signed-off-by:
Simon McVittie <smcv@collabora.com> Reviewed-by:
André Magalhães <andre.magalhaes@collabora.co.uk> Differential Revision: https://phabricator.apertis.org/D6798
-
Simon McVittie authored
Picking out the known arguments and leaving unknown arguments is dangerous, because typos and prefix-matching can have unintended results. To discourage this, warn if any unknown arguments were found. These are all considered correct, and are equivalent (except for order): ade configure --native -- VARIABLE=1 --with-option ade configure --native VARIABLE=1 --with-option ade configure --native -- --with-option VARIABLE=1 but this will now provoke a warning for --with-option: ade configure --native --with-option VARIABLE=1 Signed-off-by:
Simon McVittie <smcv@collabora.com> Reviewed-by:
André Magalhães <andre.magalhaes@collabora.co.uk> Differential Revision: https://phabricator.apertis.org/D6797
-
Simon McVittie authored
The common convention of passing "--" as a separator between arguments for this command and arguments for the wrapped command did not work, because it would also pass the "--" through. For instance, "ade configure --native -- --device=foo" should pass "--device=foo" to the configure script instead of interpreting it as ade's own --device option. Signed-off-by:
Simon McVittie <smcv@collabora.com> Reviewed-by:
André Magalhães <andre.magalhaes@collabora.co.uk> Differential Revision: https://phabricator.apertis.org/D6796
-
Simon McVittie authored
Subcommands with no REMAINING arguments, such as "ade uninstall", would previously accept and ignore unknown arguments. This could be very bad if the command is something like "ade uninstall --dry-run". Signed-off-by:
Simon McVittie <smcv@collabora.com> Reviewed-by:
André Magalhães <andre.magalhaes@collabora.co.uk> Differential Revision: https://phabricator.apertis.org/D6795
-
- May 15, 2017
-
-
Simon McVittie authored
Because we set args to a new value, any arguments passed to "ade configure" were ignored. Apertis: https://phabricator.apertis.org/T3978 Signed-off-by:
Simon McVittie <smcv@collabora.com> Reviewed-by:
Justin Kim <justin.kim@collabora.com> Differential Revision: https://phabricator.apertis.org/D6774
-
Simon McVittie authored
Python arguments are passed by reference, so if we append to these arrays, the caller's copy of the list is modified. This seems unlikely to be intended. Signed-off-by:
Simon McVittie <smcv@collabora.com> Reviewed-by:
Justin Kim <justin.kim@collabora.com> Differential Revision: https://phabricator.apertis.org/D6773
-