all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Fiona Ebner <f.ebner@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Subject: [pve-devel] applied: [PATCH v3 manager 1/1] api: aplinfo: rename REs for iso and vztmpl extensions
Date: Thu, 27 Jun 2024 15:17:22 +0200	[thread overview]
Message-ID: <1ef7001a-2e0b-4808-8524-64a4ce4757bf@proxmox.com> (raw)
In-Reply-To: <20211022122312.413252-4-l.stechauner@proxmox.com>

Am 22.10.21 um 14:23 schrieb Lorenz Stechauner:
> Signed-off-by: Lorenz Stechauner <l.stechauner@proxmox.com>
> ---
>  PVE/APLInfo.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/PVE/APLInfo.pm b/PVE/APLInfo.pm
> index 5cee1af8..1eff7107 100644
> --- a/PVE/APLInfo.pm
> +++ b/PVE/APLInfo.pm
> @@ -84,7 +84,7 @@ sub read_aplinfo_from_fh {
>  	    my $template;
>  	    if ($res->{location}) {
>  		$template = $res->{location};
> -		$template =~ s|.*/([^/]+$PVE::Storage::vztmpl_extension_re)$|$1|;
> +		$template =~ s|.*/([^/]+$PVE::Storage::VZTMPL_EXT_RE_1)$|$1|;
>  		if ($res->{location} !~ m|^([a-zA-Z]+)\://|) {
>  		    # relative localtion (no http:// prefix)
>  		    $res->{location} = "$source/$res->{location}";

applied, thanks!

Stumbled across this, because the comment in pve-storage was wrong as
this never got applied:
https://lists.proxmox.com/pipermail/pve-devel/2024-June/064326.html


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


  reply	other threads:[~2024-06-27 13:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-22 12:23 [pve-devel] [PATCH-SERIES v3 storage/manager] factoring out RE for backup extension Lorenz Stechauner
2021-10-22 12:23 ` [pve-devel] [PATCH v3 storage 1/2] storage: rename REs for iso and vztmpl extensions Lorenz Stechauner
2021-10-22 12:23 ` [pve-devel] [PATCH v3 storage 2/2] storage/plugin: factoring out regex for backup extension re Lorenz Stechauner
2021-10-22 12:23 ` [pve-devel] [PATCH v3 manager 1/1] api: aplinfo: rename REs for iso and vztmpl extensions Lorenz Stechauner
2024-06-27 13:17   ` Fiona Ebner [this message]
2021-11-04 14:40 ` [pve-devel] [PATCH-SERIES v3 storage/manager] factoring out RE for backup extension Dominik Csapak
2022-03-16 16:16   ` [pve-devel] applied: " Thomas Lamprecht
2022-03-17  7:51     ` Dominik Csapak
2022-03-17  7:59       ` 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=1ef7001a-2e0b-4808-8524-64a4ce4757bf@proxmox.com \
    --to=f.ebner@proxmox.com \
    --cc=pve-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal