Git repository structure
DANGER
Pepeunit has strict requirements for repository size, because repositories are stored on the Pepeunit instances themselves.
The default limit is 50 MB, but instance Administrators can increase this limit by setting PU_MAX_EXTERNAL_REPO_SIZE in the Backend ENV.
To meet this strict requirement, it is not recommended to store images and binary files in repositories.
For microcontrollers, Pepeunit includes a repository‑cleanup mechanism that runs before generating the program archive. This algorithm removes certain files and directories. You can read more about this mechanism in the section Structure of update archives.
File set in a Unit repository
Pepeunit expects to see the following files in a Unit repository:
bash
$> tree -a -L 2
.
├── env_example.json
├── .git
│ └── ...
├── .gitignore
├── LICENSE
├── .pepeignore
├── pepeunit.toml
├── README.md
└── schema_example.json