Skip to content

Include sync-only SubmitHosts in site sync refresh - #91

Open
garaimanoj wants to merge 5 commits into
apel:devfrom
garaimanoj:gt-1356-show-sites-in-detail-sync-view
Open

Include sync-only SubmitHosts in site sync refresh#91
garaimanoj wants to merge 5 commits into
apel:devfrom
garaimanoj:gt-1356-show-sites-in-detail-sync-view

Conversation

@garaimanoj

@garaimanoj garaimanoj commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

@garaimanoj
garaimanoj force-pushed the gt-1356-show-sites-in-detail-sync-view branch from aeab7d3 to f103673 Compare August 24, 2026 09:06
@garaimanoj
garaimanoj marked this pull request as ready for review August 24, 2026 09:37
@garaimanoj garaimanoj self-assigned this Aug 24, 2026

@tofu-rocketry tofu-rocketry left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just questions for now.

You should install the pre-commit hook locally to avoid the whitespace issues.

Comment thread monitoring/db_update_sqlite.py Outdated
Comment thread monitoring/db_update_sqlite.py
Comment thread monitoring/publishing/models.py Outdated
@tofu-rocketry tofu-rocketry added this to the v2.1 milestone Aug 26, 2026
@garaimanoj

Copy link
Copy Markdown
Contributor Author

Thanks for the review. I have addressed the review comments.

@garaimanoj

Copy link
Copy Markdown
Contributor Author

In JSON format dates are null.
image

Should those be 'n/a' as well?

Comment thread monitoring/db_update_sqlite.py
@tofu-rocketry

Copy link
Copy Markdown
Member

Should those be 'n/a' as well?

No, NULL in a database makes more sense. The "n/a" is a display layer thing. Makes it easier to change in future if we want to.

@tofu-rocketry tofu-rocketry left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you rebase and address the comment? Then we should be done.

log.exception("Error while trying to refresh GridSiteSyncSubmitH")


def none_if_missing(value):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a docstring, please.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants