Ticket #229 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

Resource hashes

Reported by: dread Owned by: dread
Priority: major Milestone: v0.11
Component: ckan Keywords:
Cc: Repository:
Theme:

Description (last modified by dread) (diff)

New field for resources - hash of the resource file.

  • CKAN itself will not calculate the hash value - user just pastes it in.
  • Display text field in resource table.
  • Requires migration script.

Questions for the field's value:

  1. Which hash to use? Restrict to python hashlib and other major hash libraries.
  1. Should we use merkle trees?

Thanks to Julien D'Assanges for the suggestion.

Change History

comment:1 Changed 4 years ago by dread

  • Owner changed from rgrp to dread
  • Priority changed from awaiting triage to major
  • Description modified (diff)

comment:2 Changed 4 years ago by dread

  • Status changed from new to closed
  • Resolution set to fixed

Done mainly in cset:dcde72b325d8 plus migrate script in cset:3905a1c08d01 and minor corrections in cset:fe0dba15703b.

Still to resolve questions about what sort of hash to store.

comment:3 Changed 4 years ago by dread

  • Description modified (diff)

comment:4 Changed 4 years ago by rgrp

  • Milestone set to v0.11
Note: See TracTickets for help on using tickets.