* [pve-devel] [PATCH manager] ui: storage: oci registry pull: add filename field
@ 2025-11-17 19:14 Filip Schauer
2025-11-17 21:25 ` [pve-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Filip Schauer @ 2025-11-17 19:14 UTC (permalink / raw)
To: pve-devel
Expose the filename parameter in the OciRegistryPull window, to allow
users to choose a custom destination file name for the OCI image.
Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
---
This patch depends on:
https://lore.proxmox.com/pve-devel/20251117171528.262443-4-f.schauer@proxmox.com/
www/manager6/storage/TemplateView.js | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/www/manager6/storage/TemplateView.js b/www/manager6/storage/TemplateView.js
index 20794458..d570efb4 100644
--- a/www/manager6/storage/TemplateView.js
+++ b/www/manager6/storage/TemplateView.js
@@ -243,9 +243,12 @@ Ext.define('PVE.storage.OciRegistryPull', {
xtype: 'inputpanel',
border: false,
onGetValues: function (values) {
- return {
- reference: values.reference + ':' + values.tag,
- };
+ values.reference = values.reference + ':' + values.tag;
+ delete values.tag;
+ if (!values.filename) {
+ delete values.filename;
+ }
+ return values;
},
items: [
{
@@ -285,6 +288,12 @@ Ext.define('PVE.storage.OciRegistryPull', {
typeAhead: true,
comboItems: [],
},
+ {
+ xtype: 'textfield',
+ name: 'filename',
+ emptyText: '<reference>_<tag>',
+ fieldLabel: gettext('File name'),
+ },
],
},
],
--
2.47.3
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* [pve-devel] applied: [PATCH manager] ui: storage: oci registry pull: add filename field
2025-11-17 19:14 [pve-devel] [PATCH manager] ui: storage: oci registry pull: add filename field Filip Schauer
@ 2025-11-17 21:25 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2025-11-17 21:25 UTC (permalink / raw)
To: pve-devel, Filip Schauer
On Mon, 17 Nov 2025 20:14:53 +0100, Filip Schauer wrote:
> Expose the filename parameter in the OciRegistryPull window, to allow
> users to choose a custom destination file name for the OCI image.
>
>
Applied, thanks!
[1/1] ui: storage: oci registry pull: add filename field
commit: e1850b64efac6e3e67c5ffee94cc45b8cb36d477
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-11-17 21:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-17 19:14 [pve-devel] [PATCH manager] ui: storage: oci registry pull: add filename field Filip Schauer
2025-11-17 21:25 ` [pve-devel] applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox