-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is snapshots working good ? #118
Comments
The error indicates an error in your toml config file.
This Error says that the first line is wrong, after the 25th character, it expects a Otherwise can you post the very first line of your configfile? It might also help to put your toml config through something such as toml-lint to make sure it's valid TOML. |
Hello @Melkor333, %D is not supported apparently by pyaptly, snapshots works with a "normal" name. |
Hm strange that it already fails at parsing anyway. But yeah the only thing that works right now is You'd like to only have the day with |
Yeah, this is exactly what I want to do. |
But I was confused, why you get a parse error. You should get a snapshot that is literally named As for supporting |
Fair argument against generalizing [snapshot."bookworm-main"]
mirror = "bookworm-main"
add_timestamp = true That would also mean we don't need to parse the snapshot name to see if it has timestamps. |
That is a great proposal! |
Hello,
I have a problem with creating snapshots with PyAPTly, it raise an error say I do not respect the syntax, nothing wrong with my configuration file as it's the same as provided by examples.
For example my bookworm snapshots from existing mirrors I created.
Command issued:
pyaptly snapshot snapshots_bookworm.toml create
Here is the full error with Traceback in case of this issue need to go further:
Thanks in advance for your help 😄
The text was updated successfully, but these errors were encountered: