-
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
gscan: new -a and -o OWNER-PATTERN options #2096
Conversation
98eb821
to
3c13d4f
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.
The code looks fine, unfortunately I've found a few bugs:
- The groups feature is broken
- User defined default columns feature is broken
- Launching gcylc works via the right-click menu but not on double click
- If a host is removed (via the right click menu) any suites running on that host show as stopped (rather than disappearing as they did before)
- gpanel would appear to be running in
-o .*
mode! - Changing hosts (via the right click menu) isn't working as expected for me
@oliver-sanders reported issues should now be fixed. |
@matthewrmshin Bugs tested as fixed. Just a couple of small niggles left:
|
Can now filter by suite owners. Display host column by default, if scanning multiple hosts. New owner column, display by default if scanning other users. Refactor: * Results dict key now a tuple of (host, owner, suite) - as multiple users can run suites with the same names on the same hosts. * Reduce unnecessary logic and caching of previous results. * Can now use the data structure returned by port scan without fiddling. * Use `cylc ls-checkpoint` instead of `cylc cat-state` to get info for a stopped suite. * Moved shared functions between `cylc.gui.gpanel` and `cylc.gui.gscan` to a separate module `cylc.gui.scanutil`.
@oliver-sanders reported small niggles should now be fixed. |
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.
Looks good to me.
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.
(Review in progress, looks good so far...)
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.
All good.
Can now filter by suite owners.
Display host column by default, if scanning multiple hosts.
New owner column, display by default if scanning other users.
Refactor:
users can run suites with the same names on the same hosts.
cylc ls-checkpoint
instead ofcylc cat-state
to get info fora stopped suite.
cylc.gui.gpanel
andcylc.gui.gscan
to a separate module
cylc.gui.scanutil
.Close #1625.