Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
aptly db locks and error message #114
I have small request feature. As i noticed while using operations like aptly mirror update that handles operations for hours possibly locks db. So any requested arguments for aptly mirror at this time show error:
Can we handle this situations and show some output e.g. "mirror operations currently locked" rather than show error message from db?
It's possible to see current status when mirror is updated or not at this time if there are some plans to prevent locking? Something like Status: In Process, Status: Completed or anything else which we can see from show argument for example.
I need this, because we try to use aptly with Chef, and we decide to update some mirrors from cron rather than from chef-client run. Currently i can catch errors while db locked to skip depended operations, but for future i want to skip any operations with mirror when it's in update status.