From: "Fabian Grünbichler" <f.gruenbichler@proxmox.com>
To: Proxmox Backup Server development discussion
<pbs-devel@lists.proxmox.com>
Subject: Re: [pbs-devel] [PATCH proxmox] fix #5249: apt: allow parsing Packages without Priority field
Date: Thu, 18 Apr 2024 14:27:14 +0200 [thread overview]
Message-ID: <1713443222.o0i4yz3lkw.astroid@yuna.none> (raw)
In-Reply-To: <20240314102653.422261-1-f.gruenbichler@proxmox.com>
ping
On March 14, 2024 11:26 am, Fabian Grünbichler wrote:
> it seems there are repositories out there that don't (always) include it, and
> while it is required for the .deb packages themselves in Debian, the repository
> "spec" doesn't make it mandatory.
>
> Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
> ---
>
> Notes:
> technically a breaking change, but we don't use the priority field anywhere..
> requires a bump+rebuild of POM to take effect
>
> proxmox-apt/src/deb822/packages_file.rs | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/proxmox-apt/src/deb822/packages_file.rs b/proxmox-apt/src/deb822/packages_file.rs
> index b3c84b06..aec0a926 100644
> --- a/proxmox-apt/src/deb822/packages_file.rs
> +++ b/proxmox-apt/src/deb822/packages_file.rs
> @@ -14,7 +14,7 @@ pub struct PackagesFileRaw {
> pub source: Option<String>,
> pub version: String,
> pub section: Option<String>,
> - pub priority: String,
> + pub priority: Option<String>,
> pub architecture: String,
> pub essential: Option<String>,
> pub depends: Option<String>,
> --
> 2.39.2
>
>
>
> _______________________________________________
> pbs-devel mailing list
> pbs-devel@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
>
_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel
next prev parent reply other threads:[~2024-04-18 12:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-14 10:26 Fabian Grünbichler
2024-04-18 12:27 ` Fabian Grünbichler [this message]
2024-04-19 6:49 ` [pbs-devel] applied: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1713443222.o0i4yz3lkw.astroid@yuna.none \
--to=f.gruenbichler@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox