ogclient/src
Alejandro Sirgo Rica 3350c30353 cache: add cache.json to track cache metadata
Track partitions and images associated to a restore
operation through a cache.json file located in the
cache partition.

cache.json example contents:
{
    'images': [
        {
            'name': 'xxx.img',
            'disk': 1,
            'partition': 2
        },
        {
            'name': 'xxx.img',
            'disk': 1,
            'partition': 3
        }
    ]
}

Add class CacheDataFile to handle the cache.json
file.

Add an entry to the 'images' array each time a
restore operation is executed successfuly,
replace entries with the same disk/partition.

Remove entry to the 'images' array with image delete
operations.

Add image info to kiosk configuration. This enables
image restore operations. This information is not
retroactive, only newly restored images will enable
the restore button in Kiosk.
2025-02-14 13:57:46 +01:00
..
kiosk kiosk: add client data to boot view 2025-02-14 13:57:46 +01:00
linux src: update license header 2024-11-28 16:45:56 +01:00
live cache: add cache.json to track cache metadata 2025-02-14 13:57:46 +01:00
utils cache: add cache.json to track cache metadata 2025-02-14 13:57:46 +01:00
virtual src: update license header 2024-11-28 16:45:56 +01:00
windows windows: remove dead systray code 2024-12-16 15:08:22 +01:00
__init__.py ogClient is AGPLv3+ 2021-05-14 00:19:28 +02:00
log.py kiosk: enable logging for kiosk 2025-02-14 13:57:46 +01:00
ogClient.py kiosk: obtain os probe data from ogClient 2025-02-14 13:57:46 +01:00
ogRest.py kiosk: obtain os probe data from ogClient 2025-02-14 13:57:46 +01:00
restRequest.py src: update license header 2024-11-28 16:45:56 +01:00