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

Fix documentation for apt-get-sqq parser #555

Open
kellyjonbrazil opened this issue Mar 29, 2024 · 2 comments
Open

Fix documentation for apt-get-sqq parser #555

kellyjonbrazil opened this issue Mar 29, 2024 · 2 comments
Assignees
Labels
bug Something isn't working ready-to-ship

Comments

@kellyjonbrazil
Copy link
Owner

kellyjonbrazil commented Mar 29, 2024

The documentation would be better with something like this as an usage example:

$ apt-get -sqq upgrade | jc --apt-get-sqq

or

$ jc apt-get -sqq full-upgrade

Missing out upgrade or dist-upgrade or full-upgrade from the command results in a command that fails:

apt-get -sqq 
E: Command line option 's' [from -sqq] is not understood in combination with the other options.

Originally posted by @chriscroome in #340 (comment)

@kellyjonbrazil kellyjonbrazil added the bug Something isn't working label Mar 29, 2024
@chriscroome
Copy link
Contributor

Thanks @kellyjonbrazil it is working well:

apt-get -sqq upgrade | jc --apt-get-sqq -Py
---
- operation: unpack
  package: firefox-nightly-l10n-en-gb
  broken: 126.0a1~20240328092313
  proposed_pkg_ver: 126.0a1~20240328213634 namespaces/moz-fx-productdelivery-pr-38b5/repositories/mozilla:mozilla
  existing_pkg_ver:
  architecture: all
- operation: unpack
  package: firefox-nightly
  broken: 126.0a1~20240328092313
  proposed_pkg_ver: 126.0a1~20240328213634 namespaces/moz-fx-productdelivery-pr-38b5/repositories/mozilla:mozilla
  existing_pkg_ver:
  architecture: amd64
- operation: configure
  package: firefox-nightly-l10n-en-gb
  broken:
  proposed_pkg_ver: 126.0a1~20240328213634 namespaces/moz-fx-productdelivery-pr-38b5/repositories/mozilla:mozilla
  existing_pkg_ver:
  architecture: all
- operation: configure
  package: firefox-nightly
  broken:
  proposed_pkg_ver: 126.0a1~20240328213634 namespaces/moz-fx-productdelivery-pr-38b5/repositories/mozilla:mozilla
  existing_pkg_ver:
  architecture: amd64

@kellyjonbrazil kellyjonbrazil self-assigned this Mar 30, 2024
@kellyjonbrazil
Copy link
Owner Author

Updates in the dev branch and will make it in the next release.

https://github.com/kellyjonbrazil/jc/blob/dev/jc/parsers/apt_get_sqq.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready-to-ship
Projects
None yet
Development

No branches or pull requests

2 participants