new: better way of handling files db

This commit is contained in:
ngn
2024-07-06 03:48:23 +03:00
parent 98e5c861df
commit 3a6f1c06c0
15 changed files with 396 additions and 437 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-05 16:20+0300\n"
"POT-Creation-Date: 2024-07-06 03:45+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -314,161 +314,169 @@ msgid "failed to insert to the table in SQLite database"
msgstr ""
#: src/error.c:92
msgid "failed to find entry in SQLite database"
msgid "failed to select from the table in SQLite database"
msgstr ""
#: src/error.c:93
msgid "failed to init GPG for package verification"
msgid "failed to delete from the table in SQLite database"
msgstr ""
#: src/error.c:94
msgid "failed to import signature to GPG for package verification"
msgid "failed to find entry in SQLite database"
msgstr ""
#: src/error.c:95
msgid "failed to import archive to GPG for package verification"
msgid "failed to init GPG for package verification"
msgstr ""
#: src/error.c:96
msgid "package signature verification failed with zero matches"
msgid "failed to import signature to GPG for package verification"
msgstr ""
#: src/error.c:97
msgid "package signature verification failed with zero results"
msgid "failed to import archive to GPG for package verification"
msgstr ""
#: src/error.c:98
msgid "pool file and directory paths are empty"
msgid "package signature verification failed with zero matches"
msgstr ""
#: src/error.c:99
msgid "pool is not avaliable for connection"
msgid "package signature verification failed with zero results"
msgstr ""
#: src/error.c:100
msgid "pool URL is empty or invalid"
msgid "pool file and directory paths are empty"
msgstr ""
#: src/error.c:101
msgid "pool directory path is not accessible"
msgid "pool is not avaliable for connection"
msgstr ""
#: src/error.c:102
msgid "pool directory sub-paths are not accessible"
msgid "pool URL is empty or invalid"
msgstr ""
#: src/error.c:103
msgid "package file list not found in the database"
msgid "pool directory path is not accessible"
msgstr ""
#: src/error.c:104
msgid "failed to open package file list in the database"
msgid "pool directory sub-paths are not accessible"
msgstr ""
#: src/error.c:105
msgid "failed to access package file list database directory"
msgid "package file list not found in the database"
msgstr ""
#: src/error.c:106
msgid "failed to remove package file list from the database"
msgid "failed to open package file list in the database"
msgstr ""
#: src/error.c:107
msgid "failed to write to the file list in the database"
msgid "failed to access package file list database directory"
msgstr ""
#: src/error.c:108
msgid "package keep list not found in the database"
msgid "failed to remove package file list from the database"
msgstr ""
#: src/error.c:109
msgid "failed to open package keep list in the database"
msgid "failed to write to the file list in the database"
msgstr ""
#: src/error.c:110
msgid "failed to access package keep list database directory"
msgid "package keep list not found in the database"
msgstr ""
#: src/error.c:111
msgid "failed to remove package keep list from the database"
msgid "failed to open package keep list in the database"
msgstr ""
#: src/error.c:112
msgid "failed to access package keep list database directory"
msgstr ""
#: src/error.c:113
msgid "failed to remove package keep list from the database"
msgstr ""
#: src/error.c:114
#, c-format
msgid "failed to find %s (dependency of %s)"
msgstr ""
#: src/error.c:113
#: src/error.c:115
#, c-format
msgid "failed to download %s for installation: %s"
msgstr ""
#: src/error.c:114
#: src/error.c:116
#, fuzzy
msgid "package is not downloaded"
msgstr "URL hostname is too large"
#: src/error.c:115 src/error.c:116
#: src/error.c:117 src/error.c:118
msgid "failed to remove downloaded package"
msgstr ""
#: src/error.c:117
#: src/error.c:119
msgid "failed to open the destination file"
msgstr ""
#: src/error.c:118
#: src/error.c:120
msgid "failed to open the source file"
msgstr ""
#: src/error.c:119 src/error.c:120
#: src/error.c:121 src/error.c:122
msgid "failed to write to the destination file"
msgstr ""
#: src/error.c:121
#: src/error.c:123
msgid "package does not have associated pool"
msgstr ""
#: src/error.c:122
#: src/error.c:124
msgid "failed to create specified temp directory"
msgstr ""
#: src/error.c:123
#: src/error.c:125
msgid "package archive does not contain required files"
msgstr ""
#: src/error.c:124
#: src/error.c:126
msgid "package data does not match with target package"
msgstr ""
#: src/error.c:125
#: src/error.c:127
#, c-format
msgid "failed to update changes file for package: %s"
msgstr ""
#: src/error.c:126
#: src/error.c:128
msgid "failed to access package hashes file"
msgstr ""
#: src/error.c:127
#: src/error.c:129
msgid "failed to remove package changes file from the database"
msgstr ""
#: src/error.c:128
#: src/error.c:130
msgid "failed to stat target file for sending"
msgstr ""
#: src/error.c:129
#: src/error.c:131
msgid "failed to format target file size for sending"
msgstr ""
#: src/error.c:130
#: src/error.c:132
msgid "failed to read target file size for sending"
msgstr ""
#: src/error.c:131
#: src/error.c:133
msgid "failed to parse target file size for receiving"
msgstr ""
#: src/error.c:132
#: src/error.c:134
msgid "target file is not fully received"
msgstr ""