How to archive a F-Droid app? I don't mean creating an archive of the APK.
Sep 7, 1:33pm
Archiving a F-Droid app (i.e., removing it from the repository but keeping its history and metadata) is a process typically handled by the F-Droid maintainers or repository administrators. This is not something end-users can do directly, as it involves modifying the repository's metadata and build configurations. However, if you're a maintainer or want to understand the process, here's how it generally works:
The metadata file is usually named org.example.app.yml (replace with the actual app ID).
Add the following line to the metadata file:
yaml
Archive: true
This signals that the app should no longer be built or published, but its history remains intact.
2. Remove from Build Configurations
If the app is included in any build configurations (e.g., fdroiddata/builds), ensure it is removed or commented out to prevent future builds.
3. Commit and Push Changes
Commit the changes to the metadata file with a clear message, such as:
text
Archive org.example.app: No longer maintained
Push the changes to the F-Droid Data repository.
4. Update the Repository
The F-Droid repository will automatically reflect the changes after the next build. The app will no longer appear in the main repository but will remain in the archive section.
5. Verify the Archive
After the repository updates, check the F-Droid Archive to confirm the app is listed as archived.