public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Noel Ullreich <n.ullreich@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH pve-storage 0/2] fix #623: show isos/tmplt/snippets in subdirs
Date: Fri,  3 Mar 2023 15:50:49 +0100	[thread overview]
Message-ID: <20230303145051.109925-1-n.ullreich@proxmox.com> (raw)

This patch allows for isos, container templates, and snippets in
subdirectories to be displayed by the web interface and the cli tools.
For the isos/templates/snippets to be displayed, they have to be in
their corresponding base directories
(see: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#storage_directory).

I've started working on a new tree-based dropdown menu in the web interface so 
that directories can be collapsed, however I don't know if that is overkill or 
not, I would like some feedback on that.

Also, no depth limit for the subdirs has been set. Should one be set?

Noel Ullreich (2):
  update `list_volumes` to allow subdirs
  change regex to allow subdirs

 PVE/Storage/Plugin.pm | 79 +++++++++++++++++++++++++++----------------
 1 file changed, 50 insertions(+), 29 deletions(-)

-- 
2.30.2





             reply	other threads:[~2023-03-03 14:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-03 14:50 Noel Ullreich [this message]
2023-03-03 14:50 ` [pve-devel] [PATCH pve-storage 1/2] update `list_volumes` to allow subdirs Noel Ullreich
2023-03-28 13:27   ` Fabian Grünbichler
2023-03-03 14:50 ` [pve-devel] [PATCH pve-storage 2/2] change regex " Noel Ullreich
2023-03-28 13:27   ` Fabian Grünbichler
2023-03-29  7:21 ` [pve-devel] [PATCH pve-storage 0/2] fix #623: show isos/tmplt/snippets in subdirs Fiona Ebner

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=20230303145051.109925-1-n.ullreich@proxmox.com \
    --to=n.ullreich@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 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