List view for organizations, and export of org/repo info #171

Closed
opened 2026-10-05 01:45:41 +02:00 by adam · 4 comments
Owner

I need to show my team what is synced. It is a basic single user setup so they don't have ways to login (unless they use my account). A concise list is enough to convey (I have 16 orgs synced and I think it can just fit in one screen based on the list in repo view), and CSV is a bonus for how many repos we are syncing.

I need to show my team what is synced. It is a basic single user setup so they don't have ways to login (unless they use my account). A concise list is enough to convey (I have 16 orgs synced and I think it can just fit in one screen based on the list in repo view), and CSV is a bonus for how many repos we are syncing. <!-- github-sync-id:5459831014 -->
adam closed this issue 2026-10-05 01:45:41 +02:00
Author
Owner

Thanks for the suggestion. A compact list view for organizations and a CSV export of what is synced both sound reasonable, and the repositories page already has the list layout to borrow from. Leaving this open as a feature request; no timeline yet. If you have a specific set of columns in mind for the CSV (organization, repository, source, destination, status, last synced?), add it here and it will shape the first version.

@RadxaYuntian

Thanks for the suggestion. A compact list view for organizations and a CSV export of what is synced both sound reasonable, and the repositories page already has the list layout to borrow from. Leaving this open as a feature request; no timeline yet. If you have a specific set of columns in mind for the CSV (organization, repository, source, destination, status, last synced?), add it here and it will shape the first version. @RadxaYuntian <!-- github-comment-id:5690955316 -->
Author
Owner

It could just be a 1-to-1 export of the database table, sans some internal fields. I didn't check the schema there though.

It could just be a 1-to-1 export of the database table, sans some internal fields. I didn't check the schema there though. <!-- github-comment-id:5723857158 -->
Author
Owner

Done in #445, released in v3.37.0: an Export CSV button on the repositories page and on the organizations page, backed by GET /api/repositories/export and GET /api/organizations/export. It is the table minus the internal fields (ids, sync metadata and the mirror option overrides), so you get name, full name, URLs, owner, organization, source and destination, mirrored location, visibility and the flags, status, last mirrored, error message and the timestamps; organizations get their role, inclusion, destination, status, the repository counts and the timestamps. Both routes accept an API key, so the export can be scripted.

The compact list view for organizations is not in this release. I am leaving this issue open for that part.

Done in #445, released in v3.37.0: an Export CSV button on the repositories page and on the organizations page, backed by `GET /api/repositories/export` and `GET /api/organizations/export`. It is the table minus the internal fields (ids, sync metadata and the mirror option overrides), so you get name, full name, URLs, owner, organization, source and destination, mirrored location, visibility and the flags, status, last mirrored, error message and the timestamps; organizations get their role, inclusion, destination, status, the repository counts and the timestamps. Both routes accept an API key, so the export can be scripted. The compact list view for organizations is not in this release. I am leaving this issue open for that part. <!-- github-comment-id:5781091149 -->
Author
Owner

The list view is in #451, released in v3.40.0, so both halves of this request are done now.

The Organizations page has a cards/list switch in the toolbar (top right, next to Refresh). The list shows one row per organization: name and role, destination (editable inline), repository counts, last mirrored time, status, the actions, and the source and destination links. On a 1440x900 screen about 14 rows fit, so your 16 organizations need at most a small scroll. The choice is remembered per browser.

Desktop:

Organizations list view on desktop

The CSV export from v3.37.0 is unchanged. If you want different columns in either place, open a new issue.

@RadxaYuntian

The list view is in #451, released in v3.40.0, so both halves of this request are done now. The Organizations page has a cards/list switch in the toolbar (top right, next to Refresh). The list shows one row per organization: name and role, destination (editable inline), repository counts, last mirrored time, status, the actions, and the source and destination links. On a 1440x900 screen about 14 rows fit, so your 16 organizations need at most a small scroll. The choice is remembered per browser. Desktop: ![Organizations list view on desktop](https://gist.githubusercontent.com/arunavo4/da16d12c12832d35128306f59a573ae0/raw/2100103decc8b04fec20dc7e018f22638da9e132/org-list-desktop.png) The CSV export from v3.37.0 is unchanged. If you want different columns in either place, open a new issue. @RadxaYuntian <!-- github-comment-id:5800225620 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/gitea-mirror#171