Fix YAML linting issues and update system requirements to Debian 13+
- Fix trailing spaces and blank lines in Forgejo workflows - Update system requirements from Ubuntu Jammy/Bookworm to Debian 13+ (Trixie) - Update test treefile to use Debian Trixie instead of Ubuntu Jammy - Update documentation to reflect modern system requirements - Fix yamllint errors for CI/CD functionality - Ensure compatibility with modern OSTree and libapt versions
This commit is contained in:
parent
ec0da91864
commit
3dec23f8f7
85 changed files with 12569 additions and 1088 deletions
|
|
@ -125,7 +125,7 @@ impl Transaction {
|
|||
}
|
||||
|
||||
pub fn update_progress(&mut self, progress: f64) -> DaemonResult<()> {
|
||||
if progress < 0.0 || progress > 1.0 {
|
||||
if !(0.0..=1.0).contains(&progress) {
|
||||
return Err(DaemonError::Transaction("Progress must be between 0.0 and 1.0".to_string()));
|
||||
}
|
||||
self.progress = progress;
|
||||
|
|
@ -138,6 +138,7 @@ impl Transaction {
|
|||
}
|
||||
|
||||
/// Transaction manager
|
||||
#[allow(dead_code, clippy::new_without_default)]
|
||||
pub struct TransactionManager {
|
||||
transactions: HashMap<String, Transaction>,
|
||||
next_transaction_id: u64,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue