public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox Backup Server development discussion
	<pbs-devel@lists.proxmox.com>,
	Stefan Reiter <s.reiter@proxmox.com>
Subject: [pbs-devel] applied: [PATCH proxmox-backup] apt: allow changelog retrieval from enterprise repo
Date: Tue, 10 Nov 2020 09:25:12 +0100	[thread overview]
Message-ID: <1d4fafd5-615a-6b44-9b6d-ffca82e41176@proxmox.com> (raw)
In-Reply-To: <20201109093528.27812-1-s.reiter@proxmox.com>

On 09.11.20 10:35, Stefan Reiter wrote:
> If a package is or will be installed from the enterprise repo, retrieve
> the changelog from there as well (securely via HTTPS and authenticated
> with the subcription key).
> 
> Extends the get_string method to take additional headers, in this case
> used for 'Authorization'. Hyper does not have built-in basic auth
> support AFAICT but it's simple enough to just build the header manually.
> 
> Take the opportunity and also set the User-Agent sensibly for GET
> requests, just like for POST.
> 
> Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
> ---
> 
> Note: If you configure the enterprise repo together with pbstest/staging, the
> latter will take precedence, i.e. for testing this only configure the enterprise
> repo, otherwise the old code path will be taken for packages found in both.
> 
>  src/api2/node/apt.rs | 30 ++++++++++++++++++++++++++++--
>  src/tools/apt.rs     |  9 +++++++--
>  src/tools/http.rs    | 18 ++++++++++++++++--
>  3 files changed, 51 insertions(+), 6 deletions(-)
> 
>

applied, thanks!




      reply	other threads:[~2020-11-10  8:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-09  9:35 [pbs-devel] " Stefan Reiter
2020-11-10  8:25 ` Thomas Lamprecht [this message]

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=1d4fafd5-615a-6b44-9b6d-ffca82e41176@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    --cc=s.reiter@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
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal