gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitcd3641a1cd3641a1|||PR records: day72 deploy live, tickets closedmrecd3641a1/tools/survey-authors.hl

1.0 KB

  1. // tools/survey-authors.hl — READ ONLY (Atlas 2026-10-24, tracker#36): per project, who authored tickets and events.
  2. import { env } from 'hl:proc'
  3. import { countOf } from '../lib/util.hl'
  4. import { ticketsTable } from '../lib/tickets.hl'
  5. import { eventsTable } from '../lib/events.hl'
  6. import { projectsTable } from '../lib/projects.hl'
  7. import { usersTable } from '../lib/users.hl'
  8. if (env('TICKETS_STORAGE') == null || !env('TICKETS_STORAGE').startsWith('/')) { hlError('set TICKETS_STORAGE absolute') }
  9. for (u of usersTable.find(null, null)) { console.log('USER ' + u.id + ' ' + u.identity + ' ' + u.name) }
  10. for (p of projectsTable.find(null, null)) { console.log('PROJECT ' + p.id + ' ' + p.slug) }
  11. for (t of ticketsTable.find(null, null)) { console.log('TICKET ' + t.id + ' ' + t.project + ' ' + t.number + ' ' + t.created + ' by=' + (t.createdBy != null ? t.createdBy : '-') + ' | ' + t.subject) }
  12. for (e of eventsTable.find(null, null)) { console.log('EVENT ' + e.id + ' ' + e.ticket + ' ' + e.kind + ' user=' + (e.user != null ? e.user : '-') + ' author=' + (e.author != null ? e.author : '-')) }

Branches

Latest commits

  • cd3641a1|||PR records: day72 deploy live, tickets closedmre
  • 7d44d852Merge branch 'records-t37' into mainTickets
  • 926f7061|||PR records: merges, D36 deploymre
  • bf58534eMerge branch 'l33-final' into mainTickets
  • 759a9ac3|||PR thin login (tickets#46, #45): merge main, route entry cleanupmre
  • 239436d8Merge remote-tracking branch 'origin/main' into l33-finalmre
  • 5822cb3aMerge branch 'o34-clean' into mainTickets
  • 0870653c|||PR offline note from __hlOnline, no polling (tickets#41)mre
  • 14cf96b4Merge branch 'records-t36' into mainTickets
  • 07749fa1|||PR records: day72 + #40 mergedmre
  • ecd7e226|||PR Consolidate login and move handler logic into topic libraries (partial)mre
  • 6dea1c60Merge branch 'r35-day72' into mainTickets
  • 7bcfdc22|||PR drop worker edits to conductor recordsmre
  • 2617b6ee|||PR dialogs: host flag cleared on close, dialog gate (tickets#40)mre
  • 6e701371|||PR record partial day72 dialog validationmre
  • b9fb9a91|||PR bind ticket dialog visibility to member flagsmre
  • 0788e65f|||PR re-vendor Hybriel day72mre
  • e2a6bdcfMerge branch 'records-t35' into mainTickets
  • d8d54df1|||PR records: R35 day72 + #40mre
  • 8a7f475aMerge branch 'records-t33' into mainTickets