gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit4a802ae74a802ae7status: RV48 runningmre4a802ae7/lib/catalog-entries.hl

561 B

  1. // Catalog rows use alternating id/key slots; only a sort materializes temporary rows.
  2. // The existing stable comparison preserves ties and accepts every existing key string.
  3. import { sortDesc } from './util.hl'
  4. static appendEntry = (&list, &id, &key) => {
  5. list.push(id)
  6. list.push(key)
  7. return null
  8. }
  9. static sortEntries = (&list) => {
  10. rows = []
  11. for (let i = 0; i < list.length; i = i + 2) {
  12. rows.push({ id = list[i] key = list[i + 1] })
  13. }
  14. sorted = sortDesc(&rows)
  15. out = []
  16. for (row of sorted) { appendEntry(&out, &row.id, &row.key) }
  17. return out
  18. }

Branches

Latest commits

  • 4a802ae7status: RV48 runningmre
  • 0a5412b6RV48 brief, day48 outmre
  • 56665efelog: CB69 mergedmre
  • 05448a98Merge cb69-imports: appTitle in a dependency-free topicmre
  • e55b379dKeep shared app title independent of the route import graphmre
  • 9a99659blog: hybriel#334, batch waits for day48mre
  • 85fa6c9blog: CB68 result, CB69 startedmre
  • 2f07c1b7log: DP68 boot gate failed, CB68mre
  • 9652782dlog: HM59 merged, DP68 startedmre
  • 29867a75Merge hm59-logic: tracker#59 page logic moved to libmre
  • f7bfe90bMove remaining page builders into their topicsmre
  • 7c3991f9log: day46 from Antonmre
  • ec54fc35Move show page logic into the shows topicmre
  • c1a8d074log: correct timesmre
  • 5827eba9log: HM57 merged, HM59 startedmre
  • d1a91be9Merge hm57-let: tracker#57 let only for reassigned namesmre
  • a404ed75Report HM57 audit, gates and integration notesmre
  • 1dcb87a7Use plain declarations for unchanged bindingsmre
  • b90395e3log: HM51 mergedmre
  • 9888d076Merge hm51-classes: tracker#51 views use Style referencesmre