aptly
aptly copied to clipboard
Exporting Aptly Configuration State
I'd like to somehow "store" the aptly configuration (repos, packages etc.) into source control.
This obviously doesn't exist right now, are there any thoughts about this sort of feature?
Yes, there were many thoughts about that. Exporting state is not that complex, but importing is much more complicated.
:) I hear you. Backing up was always an easier task to accomplish without the need to restore...
So aptly state == DB + files in pool + published in public/ (which could be recreated by re-publishing). DB could be exported more or less easily, it consists of serialized Go structures. Files in the pool - have no idea how to keep them in source control, probably as is.