ISISComputingGroup / ISISComputingGroup/IBEX

Truncate database script: Show "started" timestamp for both steps

Offen
#7,940 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Good First Issue
Vorherrschende Sprache
Keine Sprachdaten
Sterne
6
Forks
2
Ø Merge
16 Std. 40 Min.
Gemergte PRs (30 T.)
2

Beschreibung

As a short term solution to #8236 I would like to be able to know exactly when someone has started the "backup database" part of the truncate_database.bat script [here](https://github.com/ISISComputingGroup/ibex_utils/blob/master/installation_and_upgrade/truncate_database.bat)

Ideally this should be added to the python that this batch script calls and made a utility so we can add timestamps to other places too.

### Acceptance criteria
- [ ] A way of showing the timestamp as a step is started is added to ibex_utils
- [ ] This is used when we start the "Backup database" and potentially "Truncate database" steps called by truncate_database.bat

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne mit installation_and_upgrade/truncate_database.bat und verfolge den Python-Code, den es in ibex_utils aufruft. Identifiziere die vorhandenen Backup- und Truncate-Schritte und überprüfe anschließend, dass eine Zeitstempelausgabe erscheint, wenn jeder relevante Schritt beginnt, und dass das Dienstprogramm ähnliche Zeitstempel auch an anderer Stelle unterstützen kann.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
database, tooling
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.