ISISComputingGroup / ISISComputingGroup/IBEX

[IOC]: Consistent pattern for DB files for all IOCs

Aperta
#8,495 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
6
Fork
2
Merge medio
16h 40m
PR unite (30g)
2

Descrizione

# Issue Description
As a developer, we would like to have one consistent scheme for defining/searching the db files.

Right now we have two patterns for db/dbd files defined for IOCs in terms of where they are created/kept. It seems the older scheme was to keep them in \ioc\master folder while the newer scheme is to define them in \support\IOCNAME\master\**_db-and-dbd_** folder.
It would be more convenient if we impose consistency and move all db files from the old scheme to the new scheme.

It is hoped that for most of the IOC the change will be small and constitute definite steps. Therefore it may be possible to code a bat file or a java/c/python program to execute these steps for a large number of IOCs.

### Reproducible (Yes/No)?
Yes

# Acceptance Criteria
- All DB/DBD files are moved to the support subfolders
- The existing IOC tests should pass (with path based modifications if required)
- The IOCs should correctly run/load in IBEX
- No failures in executing the system tests

# How to Review
- Check DB/DBD files have been moved from ioc/master to support/IOCXXX subfolder as expected
- Check system tests for the IOC work as expected
- Check OPIs for the IOC load in IBEX as before the changes.

**To the reviewer: Make sure to [update submodules](https://github.com/ISISComputingGroup/ibex_developers_manual/wiki/Git-workflow#reviewing-work-for-the-submodules-of-epics)!**

planning 27:43 2024/10/31

Time in recording of planning meeting: 00h06m 2024/11/28

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia facendo l'inventario dei file DB/DBD nelle cartelle ioc/master e support/IOCNAME/master di ogni IOC, quindi individua i riferimenti ai percorsi che devono essere aggiornati. Usa i test IOC esistenti e i test di sistema per verificare lo spostamento e controlla che gli IOC e i relativi OPI continuino a caricarsi correttamente in IBEX.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
build-system
Tipo di issue
Refactoring
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.