pmbootstrap/pmb
Oliver Smith 13c4ac425b
pmb.helpers.run_core: fix proxy env var logic
Fix that the list "cmd" was turned into a string if one of the proxy
vars was set in the environment. Add a test for this code path. Before
this patch:

$ FTP_PROXY=test pmbootstrap -v --details-to-stdout status
…
% cd /home/user/.local/var/pmbootstrap/cache_git/pmaports; git remote -v
run: FTP_PROXY=test ['git', 'remote', '-v']
ERROR: [Errno 2] No such file or directory: "FTP_PROXY=test ['git', 'remote', '-v']"

Fixes: 1a00c04f ("pmb.helpers.run_core: always configure proxy vars if set in environment")
Reviewed-by: Clayton Craft <clayton@craftyguy.net>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230713182337.6185-3-ollieparanoid@postmarketos.org%3E
2023-07-21 08:54:10 +02:00
..
aportgen aportgen: use pmb.build.init_abuild_minimal 2023-06-15 08:30:54 +02:00
build Install makedepends in native chroot for packages using Rust 2023-07-13 10:07:53 +02:00
chroot pmb.helpers.run_core: move flat_cmd here 2023-07-21 08:54:04 +02:00
ci Use ruff for linting 2023-06-04 10:56:22 +02:00
config Add mtkclient as a flasher option 2023-07-13 10:07:53 +02:00
data init: allow all locales 2023-06-12 08:46:22 +02:00
export Bump copyright to 2023 2023-01-22 19:18:06 +01:00
flasher Add mtkclient as a flasher option 2023-07-13 10:07:53 +02:00
helpers pmb.helpers.run_core: fix proxy env var logic 2023-07-21 08:54:10 +02:00
install pmb.install: create fstab and crypttab 2023-07-20 08:22:10 +02:00
netboot Bump copyright to 2023 2023-01-22 19:18:06 +01:00
parse treewide: fix typos found with codespell 2023-07-13 10:07:53 +02:00
qemu treewide: fix typos found with codespell 2023-07-13 10:07:53 +02:00
sideload pmb.helpers.run_core: move flat_cmd here 2023-07-21 08:54:04 +02:00
__init__.py pmb: Remind users to ensure pmbootstrap is updated before reporting errors 2023-05-25 09:24:13 +02:00