Describe the bug
When there are no modifications in a local working copy, osc status shows no output. The man page explains that osc status should list files with a leading space to show they weren't modified.
For example:
~obs/SUSE:SLE-15-SP6:Update/glib2
% osc status
Man page entry:
osc status (st)
Show status of files in working copy
usage: osc [global opts] status [-h] [-e]
Show the status of files in a local working copy, indicating whether files have been changed locally, deleted, added, ...
The first column in the output specifies the status and is one of the following characters:
' ' no modifications
'A' Added
'C' Conflicted
'D' Deleted
'M' Modified
'R' Replaced (file was deleted and added again afterwards)
'?' item is not under version control
'!' item is missing (removed by non-osc command) or incomplete
'S' item is skipped (item exceeds a file size limit or is _service:* file)
'F' Frozen (use "osc pull" to merge conflicts) (package-only state)
Versions
Operating system: openSUSE Tumbleweed
Packages: osc-1.9.2-1.1.noarch
To Reproduce
osc co SUSE:SLE-15-SP6:Update glib2
cd SUSE:SLE-15-SP6:Update/glib2
osc status
Expected behaviorosc status lists all tracked files with a leading space, or the man page should be updated. I would prefer the first option, maybe behind a new flag (e.g. --full).
Screenshots, console outputs
See above.
Additional context
I want to show the status of all files in an osc-wrapper. If you think it's not worth adding (back?) full output of that shows unmodified files, I will need to grab the files myself. Wouldn't be a big deal as long as we don't have something like a .oscignore file :smile:
Describe the bug When there are no modifications in a local working copy,
osc status
shows no output. The man page explains thatosc status
should list files with a leading space to show they weren't modified.For example:
Man page entry:
Versions
osc-1.9.2-1.1.noarch
To Reproduce
osc co SUSE:SLE-15-SP6:Update glib2
cd SUSE:SLE-15-SP6:Update/glib2
osc status
Expected behavior
osc status
lists all tracked files with a leading space, or the man page should be updated. I would prefer the first option, maybe behind a new flag (e.g. --full).Screenshots, console outputs See above.
Additional context I want to show the status of all files in an osc-wrapper. If you think it's not worth adding (back?) full output of that shows unmodified files, I will need to grab the files myself. Wouldn't be a big deal as long as we don't have something like a
.oscignore
file :smile: