MediaImporter / README.md
Newer Older
38 lines | 1.856kb
Bogdan Timofte authored 9 months ago
1
# Media Importer Project
2

            
3
This repository contains the development and testing resources for the `media-importer.sh` script, which is the main product of this project.
4

            
5
## Project Structure
6

            
7
- `media-importer.sh`: The primary script under development and testing.
Bogdan Timofte authored 3 weeks ago
8
- `AGENTS.md`: Safety rules for agents or unattended automation that copy, derive, or run the importer.
Bogdan Timofte authored 3 weeks ago
9
- `INCIDENTS.md`: Postmortems for data-loss or near-data-loss incidents and the regression rules derived from them.
Bogdan Timofte authored 3 weeks ago
10
- `sample/`: Contains local media fixtures used for development and testing. **Note:** Scripts and functions are not imported from sample directories.
Bogdan Timofte authored 9 months ago
11

            
12
## Version Control
13

            
14
Version control is implemented for all files except the `samples/` directory. The `samples/` directory is excluded from version control to avoid tracking test resources and sample files.
15

            
16
To exclude the `samples/` directory, the following entry should be added to the `.gitignore` file:
17

            
Bogdan Timofte authored 3 weeks ago
18
```gitignore
Bogdan Timofte authored 9 months ago
19
samples/
20
```
21

            
22
## Contribution Guidelines
23

            
24
- All development should focus on `media-importer.sh`.
Bogdan Timofte authored 3 weeks ago
25
- Do not import, source, or derive importer behavior from sample directories.
26
- Use sample media only for testing and development reference.
27
- Do not use removed Raspberry Pi / unattended wrapper prototypes as a reference design; they were based on an outdated, unvalidated importer copy.
Bogdan Timofte authored 3 weeks ago
28
- Destination conflicts must never be delegated to copy/move tools. In unattended runs the importer appends numeric suffixes (`_1`, `_2`, ...); in interactive runs it asks the user and supports applying the choice to all similar conflicts.
Bogdan Timofte authored 9 months ago
29

            
30
## License
31

            
32
Specify your license here.
33

            
34
---
35

            
36
For details on recent changes, including the removal of fallback date handling, see [CHANGELOG.md](./CHANGELOG.md).
37

            
38
This file is intended for GitHub Copilot and contributors to understand the project structure and guidelines.