-
Notifications
You must be signed in to change notification settings - Fork 94
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
cat-log: list out/err files when available via tailer #6480
base: 8.4.x
Are you sure you want to change the base?
cat-log: list out/err files when available via tailer #6480
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
320f8f4
to
39e17e5
Compare
* The `--mode=list-dir` option lists log files which are available to view. * This commit includes remote `job.out` and `job.err` files which are available via platform tailer/viewer commands. * Note, these log files are only listed if accessible via *both* a tailer and a viewer in order to prevent ambiguity (these are typically configured together anyway).
39e17e5
to
f8a248c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
12-delete-kill.t
already exists - can we make this number 13?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Read code
- Ran new test
- Tried manually testing, including looking at available log files in TUI before and after.
- Ran new test with coverage. Lines indicated in the diff were covered.
@@ -0,0 +1 @@ | |||
cat-log: List log files which are availably via a configured tailer/viewer command. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cat-log: List log files which are availably via a configured tailer/viewer command. | |
`cat-log`: List log files which are available via a configured tailer/viewer command. |
|
||
files.sort() | ||
print('\n'.join(files)) | ||
print(err, file=sys.stderr) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently on 8.4.0 the cat-log -m l
command exits non-zero if this subprocess exits non-zero. But it no longer does on this branch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hopefully fixed.
Closes #5802
List log files that are not present on disk but which are available via a tailer.
Check List
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
(andconda-environment.yml
if present).?.?.x
branch.