Skip to content

Instantly share code, notes, and snippets.

Avatar
🐒
Catching up...

Sorin Sbarnea ssbarnea

🐒
Catching up...
View GitHub Profile
View setuptools-scm.log
ssbarnea@m1: ~/c/a/ansible-lint fix/schema-cache ⚡
$ SETUPTOOLS_SCM_DEBUG=1 tox -e pkg
pkg: commands[0]> .tox/pkg/bin/python -c 'import os.path, shutil, sys; dist_dir = os.path.join("/Users/ssbarnea/c/a/ansible-lint", "dist"); os.path.isdir(dist_dir) or sys.exit(0); print("Removing {!s} contents...".format(dist_dir), file=sys.stderr); shutil.rmtree(dist_dir)'
Removing /Users/ssbarnea/c/a/ansible-lint/dist contents...
pkg: commands[1]> .tox/pkg/bin/python -m build --outdir /Users/ssbarnea/c/a/ansible-lint/dist/ /Users/ssbarnea/c/a/ansible-lint
* Creating venv isolated environment...
* Installing packages in isolated environment... (setuptools >= 63.0.0, setuptools_scm[toml] >= 7.0.5, wheel)
* Getting build dependencies for sdist...
finalize hook {'name': None, 'version': None, 'author': None, 'author_email': None, 'maintainer': None, 'maintainer_email': None, 'url': None, 'license': None, 'description': None, 'long_description': None, 'keywords': None, 'platforms': None, 'classifiers': None, 'download_url': No
View gist:a92657a9eb8ef0b50bab5c84d7046064
$ tox -lav
ROOT: will run in automatically provisioned tox, host /Users/ssbarnea/.pyenv/versions/3.11-dev/bin/python is missing [requires (has)]: tox-extra>=1.0.0
ROOT: find interpreter for spec PythonSpec(path=/Users/ssbarnea/.pyenv/versions/3.11-dev/bin/python)
ROOT: proposed PythonInfo(spec=CPython3.11.0.final.0-64, exe=/Users/ssbarnea/.pyenv/versions/3.11-dev/bin/python, platform=darwin, version='3.11.0+ (heads/3.11:4cd5ea62ac, Oct 25 2022, 18:19:49) [Clang 14.0.0 (clang-1400.0.29.102)]', encoding_fs_io=utf-8-utf-8)
ROOT: will run in a automatically provisioned python environment under /Users/ssbarnea/c/a/ansible-lint/.tox/.tox/bin/python
ROOT: provision> .tox/.tox/bin/python -m tox -lav
/Users/ssbarnea/c/a/ansible-lint/.tox/.tox/bin/python: No module named tox
View a.log
subprocess-tee git:(fix/pkg) ✗ packit build in-mock
2022-11-27 15:56:48.768 base_git.py INFO Using user-defined script for ActionName.post_upstream_clone: [['rm', '-rf', 'dist/*'], ['mkdir', '-p', 'dist'], ['bash', '-c', 'sed -e "s/VERSION_PLACEHOLDER/$(python3 -m setuptools_scm)/" .config/subprocess-tee.spec > dist/subprocess-tee.spec']]
2022-11-27 15:56:48.960 base_git.py INFO Using user-defined script for ActionName.get_current_version: [['python3', '-m', 'setuptools_scm']]
2022-11-27 15:56:49.114 logging.py INFO 0.4.1.dev2
2022-11-27 15:56:49.133 base_git.py INFO Using user-defined script for ActionName.create_archive: [['python3', '-m', 'build', '--sdist', '--outdir', 'dist'], ['sh', '-c', 'ls dist/subprocess-tee-*.tar.gz']]
2022-11-27 15:56:50.613 logging.py INFO running egg_info
2022-11-27 15:56:50.620 logging.py INFO writing src/subprocess_tee.egg-info/PKG-INFO
2022-11-27 15:56:50.621 logging.py INFO writing dependency_links to src/subproce
View ansible-devel.log
ssbarnea@m1: ~/c/a/ansible devel ⚡
$ which -a ansible
ansible not found
FAIL: 1
ssbarnea@m1: ~/c/a/ansible devel ⚡
$ pip install -e .
Obtaining file:///Users/ssbarnea/c/a/ansible
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
View deep-collection-modules.txt
awcrosby.cisco_ios_test.nested_dir1.nested_dir2.ios_ping
cisco.nxos.storage.nxos_devicealias
cisco.nxos.storage.nxos_vsan
cisco.nxos.storage.nxos_zone_zoneset
community.general.cloud.alicloud.ali_instance
community.general.cloud.alicloud.ali_instance_info
community.general.cloud.atomic.atomic_container
community.general.cloud.atomic.atomic_host
community.general.cloud.atomic.atomic_image
community.general.cloud.centurylink.clc_aa_policy
@ssbarnea
ssbarnea / parallels-tools-install.log
Created Oct 10, 2022
Failure to update parallel tools on Ubuntu 22.04 arm64 edition
View parallels-tools-install.log
cat /var/log/parallels
parallels.log parallels-tools-install.log
root@u1:~# cat /var/log/parallels-tools-install.log
'/usr/bin/ptiagent' -> '/usr/lib/parallels-tools/installer/ptiagent-wrapper.sh'
'/usr/bin/ptiagent-cmd' -> '/usr/lib/parallels-tools/installer/ptiagent-cmd'
'/etc/xdg/autostart/ptiagent.desktop' -> '/usr/lib/parallels-tools/tools/ptiagent.desktop'
'/usr/share/gnome/autostart/ptiagent.desktop' -> '/usr/lib/parallels-tools/tools/ptiagent.desktop'
make: Entering directory '/usr/lib/parallels-tools/kmods'
Will use compiler CC="cc".
Compiler version "cc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0"
View gist:f142f1b421b9cf8bc347918589a7480d
Error: error getting content of manifest list or image quay.io/ansible/creator-ee:latest: error parsing manifest blob "{\"schemaVersion\":2,\"config\":{\"mediaType\":\"application/vnd.oci.image.config.v1+json\",\"digest\":\"sha256:0ad17cdf82c1b7065c03b6f6f85d46e35c3d7d2c9f7e4cfa54a331672a482217\",\"size\":11544},\"layers\":[{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar+gzip\",\"digest\":\"sha256:f0a2109a2528cd1cf5eaa3f5867a6771e4a7c28ae7179d7cc67cbcc2b29f21fc\",\"size\":85677235},{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar+gzip\",\"digest\":\"sha256:9f45cf1cd9f2cb569ccf05cdd52214665b0a635f776a8ce4e42e5dfd28f95088\",\"size\":1878},{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar+gzip\",\"digest\":\"sha256:bfd1401568a8346ffcf384bd20bdda89adb0289339936df7e882803a177f374c\",\"size\":29873978},{\"mediaType\":\"application/vnd.oci.image.layer.v1.tar+gzip\",\"digest\":\"sha256:fee18ea417d6bd9b69cbb06f4df2dcc2582b25a4742c582cf85d5c0d21abe078\",\"size\":49499058},{\"mediaType\":\"applicati
View taskfile-listing-improvement.md

current display

task: Available tasks for this project:
* build:        Build the project
* clean:        Clean up all files that not tracked by git
* code:         Forced install of extension in your code instance
* default:      Run most commands
* deps:         Update dependencies
* lint:         Lint the project
View sample.yml
nodes:
apple:
orange:
after:
- orange
- cherry # <-- should not be validated as it is not defined as a node!
banana:
View tox4-pyenv-chage.log
$ tox -vvv -e eco
ROOT: 116 D setup logging to NOTSET on pid 49870 [tox/report.py:239]
ROOT: 195 D Popen(['git', 'version'], cwd=/Users/ssbarnea/c/a/ansible-lint, universal_newlines=False, shell=None, istream=None) [git/cmd.py:870]
ROOT: 200 D Popen(['git', 'version'], cwd=/Users/ssbarnea/c/a/ansible-lint, universal_newlines=False, shell=None, istream=None) [git/cmd.py:870]
eco: 231 I find interpreter for spec PythonSpec(path=/Users/ssbarnea/.pyenv/versions/3.10.3/bin/python) [virtualenv/discovery/builtin.py:62]
eco: 231 I proposed PythonInfo(spec=CPython3.10.3.final.0-64, exe=/Users/ssbarnea/.pyenv/versions/3.10.3/bin/python, platform=darwin, version='3.10.3 (main, Apr 14 2022, 23:28:43) [Clang 13.1.6 (clang-1316.0.21.2.3)]', encoding_fs_io=utf-8-utf-8) [virtualenv/discovery/builtin.py:69]
eco: 231 D accepted PythonInfo(spec=CPython3.10.3.final.0-64, exe=/Users/ssbarnea/.pyenv/versions/3.10.3/bin/python, platform=darwin, version='3.10.3 (main, Apr 14 2022, 23:28:43) [Clang 13.1.6 (clang-1316.0.21.2.3)]', enc