Skip to content

Captua 0.3.3

Latest

Choose a tag to compare

@juancobo juancobo released this 30 Nov 06:05
9d2ed41

Versión en español abajo

This release finishes the change of name inside a unit. The software has been called Captua since 0.1.0, but on a unit its service, its folders and its settings still carried the earlier placeholder, dtk. From 0.3.3 they are named captua. Nothing changes in the interface, and a unit keeps its address, http://captua.local.

Updating from 0.3.2. Update once, as usual, with scripts/update.sh.

  • The unit needs the internet for this update.
  • Captua is stopped for a few minutes. Make sure nobody is capturing.
  • The update renames, in place and without copying any image:
    • the service, from dtk to captua;
    • the software's folder, from /home/pi/dtk to /home/pi/captua;
    • the data folder, from /var/lib/dtk to /var/lib/captua;
    • the settings in .env, from DTK_… to CAPTUA_….
  • If the update finds something it cannot move safely, it refuses before it changes anything and says why.
  • If the update is interrupted, run it again. It continues from the step where it stopped.

After the update.

  • Commands that name the service change. To restart Captua: sudo systemctl restart captua. To read its log: journalctl -u captua. The operator card has the new command.
  • Scripts or notes of your own that name /home/pi/dtk or /var/lib/dtk need the new paths.
  • On an external drive that has no projects folder yet, Captua now creates captua-projects. A drive that already has a dtk-projects folder keeps it, and Captua goes on using it.

Rolling back. rollback-update.sh returns the unit to 0.3.2 and to the dtk names. It needs the internet too. It restores the catalog as it was before the update, so records captured on 0.3.3 are no longer in it, although their image files stay on the unit. Decide on a rollback before capturing real work on the new version.

Fixes, and the notes for maintainers and integrators, stay in the changelog.

Acknowledgments

Captua is developed at the Archives, Memory, and Preservation Lab of the University of California, Santa Barbara and at the University of Texas at Austin. It has been made possible in part by a major grant from the National Endowment for the Humanities: Democracy demands wisdom. (NEH Award HAA-304052-25: "Digitization Toolkit: a Blueprint for Egalitarian Access to Technology in Low-Resource Environments".)

Any views, findings, conclusions, or recommendations expressed in this software do not necessarily represent those of the National Endowment for the Humanities.

National Endowment for the Humanities


Español

Con esta versión termina el cambio de nombre dentro de los equipos. El programa se llama Captua desde la versión 0.1.0, pero en cada equipo el servicio, las carpetas y los ajustes seguían con el nombre provisional, dtk. A partir de la 0.3.3 se llaman captua. En la interfaz no cambia nada, y el equipo conserva su dirección, http://captua.local.

Si vienes de la 0.3.2. Actualiza una sola vez, como siempre, con scripts/update.sh.

  • Para esta actualización, el equipo necesita conexión a internet.
  • Captua queda detenido durante unos minutos. Asegúrate de que nadie esté capturando.
  • Durante la actualización se les cambia el nombre a estos elementos, sin moverlos de lugar y sin copiar ninguna imagen:
    • el servicio, de dtk a captua;
    • la carpeta del programa, de /home/pi/dtk a /home/pi/captua;
    • la carpeta de los datos, de /var/lib/dtk a /var/lib/captua;
    • los ajustes de .env, de DTK_… a CAPTUA_….
  • Si hay algo que no se puede mover sin riesgo, la actualización se cancela antes de cambiar nada y se muestra el motivo.
  • Si la actualización se interrumpe, vuelve a ejecutarla: se retoma desde el paso en que quedó.

Después de actualizar.

  • Cambian los comandos que usan el nombre del servicio. Para reiniciar Captua: sudo systemctl restart captua. Para ver el registro de eventos de Captua: journalctl -u captua. La Guía rápida de uso ya tiene el comando nuevo.
  • Si en tus scripts o apuntes usas las rutas /home/pi/dtk o /var/lib/dtk, cámbialas por las nuevas.
  • En una unidad externa que todavía no tiene carpeta de proyectos, ahora Captua crea captua-projects. Si la unidad ya tiene una carpeta dtk-projects, Captua la conserva con ese nombre y la sigue usando.

Volver a la versión anterior. El script rollback-update.sh devuelve el equipo a la 0.3.2 y a los nombres dtk. También necesita conexión a internet. Restaura el catálogo tal como estaba antes de la actualización, así que en el catálogo no quedan los registros que se capturaron con la 0.3.3, aunque sus imágenes siguen en el equipo. Si vas a volver a la versión anterior, decídelo antes de empezar a capturar volúmenes reales con la 0.3.3.

Las correcciones y las notas para quienes mantienen o integran Captua están en el registro de cambios.

Agradecimientos

Captua is developed at the Archives, Memory, and Preservation Lab of the University of California, Santa Barbara and at the University of Texas at Austin. It has been made possible in part by a major grant from the National Endowment for the Humanities: Democracy demands wisdom. (NEH Award HAA-304052-25: "Digitization Toolkit: a Blueprint for Egalitarian Access to Technology in Low-Resource Environments".)

Any views, findings, conclusions, or recommendations expressed in this software do not necessarily represent those of the National Endowment for the Humanities.

National Endowment for the Humanities