Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make 1 single command to paste all desired information #1134

Open
yarikoptic opened this issue May 21, 2024 · 1 comment
Open

Make 1 single command to paste all desired information #1134

yarikoptic opened this issue May 21, 2024 · 1 comment

Comments

@yarikoptic
Copy link
Contributor

Description

life is short, cut-paste is quick but better be 1 instead of 3 commands

ATM bug reporting issue has

image

which when clicked for editing becomes even "better"

image

and made me spend quality time complaining here

Possible Solution

add command like cz wtf (reflecting upon our https://docs.datalad.org/en/stable/generated/man/datalad-wtf.html#datalad-wtf), the datalad wtf -D html_details of which produces following pasted fragement

DataLad 0.19.6 WTF (configuration, credentials, datalad, dependencies, environment, extensions, git-annex, location, metadata.extractors, metadata.filters, metadata.indexers, python, system)

WTF

configuration <SENSITIVE, report disabled by configuration>

credentials

  • keyring:
    • active_backends:
      • SecretService Keyring
      • kwallet DBusKeyring
      • libsecret Keyring
      • EncryptedKeyring with [PBKDF2] AES256.CFB v.1.0 at /home/yoh/.local/share/python_keyring/crypted_pass.cfg
      • PlaintextKeyring with no encyption v.1.0 at /home/yoh/.local/share/python_keyring/keyring_pass.cfg
    • config_file: /home/yoh/.config/python_keyring/keyringrc.cfg
    • data_root: /home/yoh/.local/share/python_keyring

datalad

  • version: 0.19.6

dependencies

  • annexremote: 1.6.4
  • appdirs: 1.4.4
  • boto: 2.49.0
  • cmd:7z: 23.01
  • cmd:annex: 10.20240129
  • cmd:bundled-git: UNKNOWN
  • cmd:git: 2.43.0
  • cmd:ssh: 9.7p1
  • cmd:system-git: 2.43.0
  • cmd:system-ssh: 9.7p1
  • git: 3.1.37
  • gitdb: 4.0.11
  • humanize: 4.9.0
  • iso8601: 1.0.2
  • keyring: 25.2.0
  • keyrings.alt: 5.0.1
  • msgpack: 1.0.3
  • requests: 2.31.0

environment

  • GIT_PAGER: less --no-init --quit-if-one-screen
  • LANG: en_US.UTF-8
  • PATH: /home/yoh/gocode/bin:/home/yoh/gocode/bin:/home/yoh/bin:/home/yoh/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin:/usr/local/sbin

extensions

  • container:
    • description: Containerized environments
    • entrypoints:
      • datalad_container.containers_add.ContainersAdd:
        • class: ContainersAdd
        • module: datalad_container.containers_add
        • names:
          • containers-add
          • containers_add
      • datalad_container.containers_list.ContainersList:
        • class: ContainersList
        • module: datalad_container.containers_list
        • names:
          • containers-list
          • containers_list
      • datalad_container.containers_remove.ContainersRemove:
        • class: ContainersRemove
        • module: datalad_container.containers_remove
        • names:
          • containers-remove
          • containers_remove
      • datalad_container.containers_run.ContainersRun:
        • class: ContainersRun
        • module: datalad_container.containers_run
        • names:
          • containers-run
          • containers_run
    • module: datalad_container
    • version: 1.2.5

git-annex

  • build flags:
    • Assistant
    • Webapp
    • Pairing
    • Inotify
    • DBus
    • DesktopNotify
    • TorrentParser
    • MagicMime
    • Benchmark
    • Feeds
    • Testsuite
    • S3
    • WebDAV
  • dependency versions:
    • aws-0.24.1
    • bloomfilter-2.0.1.2
    • crypton-0.33
    • DAV-1.3.4
    • feed-1.3.2.1
    • ghc-9.4.7
    • http-client-0.7.14
    • persistent-sqlite-2.13.2.0
    • torrent-10000.1.3
    • uuid-1.3.15
    • yesod-1.6.2.1
  • key/value backends:
    • SHA256E
    • SHA256
    • SHA512E
    • SHA512
    • SHA224E
    • SHA224
    • SHA384E
    • SHA384
    • SHA3_256E
    • SHA3_256
    • SHA3_512E
    • SHA3_512
    • SHA3_224E
    • SHA3_224
    • SHA3_384E
    • SHA3_384
    • SKEIN256E
    • SKEIN256
    • SKEIN512E
    • SKEIN512
    • BLAKE2B256E
    • BLAKE2B256
    • BLAKE2B512E
    • BLAKE2B512
    • BLAKE2B160E
    • BLAKE2B160
    • BLAKE2B224E
    • BLAKE2B224
    • BLAKE2B384E
    • BLAKE2B384
    • BLAKE2BP512E
    • BLAKE2BP512
    • BLAKE2S256E
    • BLAKE2S256
    • BLAKE2S160E
    • BLAKE2S160
    • BLAKE2S224E
    • BLAKE2S224
    • BLAKE2SP256E
    • BLAKE2SP256
    • BLAKE2SP224E
    • BLAKE2SP224
    • SHA1E
    • SHA1
    • MD5E
    • MD5
    • WORM
    • URL
    • X*
  • operating system: linux x86_64
  • remote types:
    • git
    • gcrypt
    • p2p
    • S3
    • bup
    • directory
    • rsync
    • web
    • bittorrent
    • webdav
    • adb
    • tahoe
    • glacier
    • ddar
    • git-lfs
    • httpalso
    • borg
    • hook
    • external
  • supported repository versions:
    • 8
    • 9
    • 10
  • upgrade supported from repository versions:
    • 0
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
  • version: 10.20240129

location

  • path: /home/yoh
  • type: directory

metadata.extractors

  • container_inspect:
    • distribution: datalad-container 1.2.5
    • load_error: ModuleNotFoundError(No module named 'datalad_metalad')
    • module: datalad_container.extractors.metalad_container

metadata.filters

metadata.indexers

python

  • implementation: CPython
  • version: 3.11.9

system

  • distribution: debian/n/a/trixie
  • encoding:
    • default: utf-8
    • filesystem: utf-8
    • locale.prefered: UTF-8
  • filesystem:
    • CWD:
      • max_pathlength: 4096
      • mount_opts: rw,noatime,compress=lzo,ssd,discard=async,space_cache=v2,subvolid=267,subvol=/home
      • path: /home/yoh
      • type: btrfs
    • HOME:
      • max_pathlength: 4096
      • mount_opts: rw,noatime,compress=lzo,ssd,discard=async,space_cache=v2,subvolid=267,subvol=/home
      • path: /home/yoh
      • type: btrfs
    • TMP:
      • max_pathlength: 4096
      • mount_opts: rw,noatime,compress=lzo,ssd,discard=async,space_cache=v2,subvolid=267,subvol=/home
      • path: /home/yoh/.tmp
      • type: btrfs
  • max_path_length: 265
  • name: Linux
  • release: 6.6.15-amd64
  • type: posix
  • version: Project status #1 SMP PREEMPT_DYNAMIC Debian 6.6.15-2 (2024-02-04)

(there is also -c option but guess what - didn't work out for me :-/ )

Additional context

recently ran into https://github.com/sosreport/sos which might be of interest

Additional context

No response

@Lee-W
Copy link
Member

Lee-W commented May 22, 2024

I think we can use cz version --report to get the desired information. The documentation is outdated and should be updated. Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants