public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH dab 0/1] Add https support for download
@ 2021-09-19  9:09 Xylle
  2021-09-19  9:09 ` [pve-devel] [PATCH dab 1/1] " Xylle
  0 siblings, 1 reply; 3+ messages in thread
From: Xylle @ 2021-09-19  9:09 UTC (permalink / raw)
  To: pve-devel; +Cc: Xylle

*** BLURB HERE ***

Xylle (1):
  Add https support for SOURCE ou  MIRROR in dab.conf

 DAB.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.20.1




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [pve-devel] [PATCH dab 1/1] Add https support for download
  2021-09-19  9:09 [pve-devel] [PATCH dab 0/1] Add https support for download Xylle
@ 2021-09-19  9:09 ` Xylle
  2021-09-20 10:30   ` Thomas Lamprecht
  0 siblings, 1 reply; 3+ messages in thread
From: Xylle @ 2021-09-19  9:09 UTC (permalink / raw)
  To: pve-devel; +Cc: Xylle

---
 DAB.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/DAB.pm b/DAB.pm
index 9282789..3c6b948 100644
--- a/DAB.pm
+++ b/DAB.pm
@@ -517,7 +517,7 @@ sub new {
     my $sources = undef;
 
     foreach my $s (@{$config->{source}}) {
-	if ($s =~ m@^\s*((http|ftp)://\S+)\s+(\S+)((\s+(\S+))+)$@) {
+	if ($s =~ m@^\s*((http|https|ftp)://\S+)\s+(\S+)((\s+(\S+))+)$@) {
 	    my ($url, $su, $components) = ($1, $3, $4);
 	    $su =~ s/SUITE/$suite/;
 	    $components =~ s/^\s+//; 
@@ -539,7 +539,7 @@ sub new {
     }
 
     foreach my $m (@{$config->{mirror}}) {
-	if ($m =~ m@^\s*((http|ftp)://\S+)\s*=>\s*((http|ftp)://\S+)\s*$@) {
+	if ($m =~ m@^\s*((http|https|ftp)://\S+)\s*=>\s*((http|ftp)://\S+)\s*$@) {
 	    my ($ms, $md) = ($1, $3);
 	    my $found;
 	    foreach my $ss (@$sources) {
-- 
2.20.1




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [pve-devel] [PATCH dab 1/1] Add https support for download
  2021-09-19  9:09 ` [pve-devel] [PATCH dab 1/1] " Xylle
@ 2021-09-20 10:30   ` Thomas Lamprecht
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Lamprecht @ 2021-09-20 10:30 UTC (permalink / raw)
  To: Proxmox VE development discussion, Xylle

On 19.09.21 11:09, Xylle wrote:
> ---
>  DAB.pm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/DAB.pm b/DAB.pm
> index 9282789..3c6b948 100644
> --- a/DAB.pm
> +++ b/DAB.pm
> @@ -517,7 +517,7 @@ sub new {
>      my $sources = undef;
>  
>      foreach my $s (@{$config->{source}}) {
> -	if ($s =~ m@^\s*((http|ftp)://\S+)\s+(\S+)((\s+(\S+))+)$@) {
> +	if ($s =~ m@^\s*((http|https|ftp)://\S+)\s+(\S+)((\s+(\S+))+)$@) {
>  	    my ($url, $su, $components) = ($1, $3, $4);
>  	    $su =~ s/SUITE/$suite/;
>  	    $components =~ s/^\s+//; 
> @@ -539,7 +539,7 @@ sub new {
>      }
>  
>      foreach my $m (@{$config->{mirror}}) {
> -	if ($m =~ m@^\s*((http|ftp)://\S+)\s*=>\s*((http|ftp)://\S+)\s*$@) {
> +	if ($m =~ m@^\s*((http|https|ftp)://\S+)\s*=>\s*((http|ftp)://\S+)\s*$@) {
>  	    my ($ms, $md) = ($1, $3);
>  	    my $found;
>  	    foreach my $ss (@$sources) {
> 

thanks for your contribution, to be able to take that in we'd need to have:
- A signed CLA sent to <office@proxmox.com> see the dev. wiki for details:
  https://pve.proxmox.com/wiki/Developer_Documentation#Software_License_and_Copyright
- The patch sent with a `Signed-off-by: Full Name <f.name@example.com>` tag, if the
  user/email is already configured for git, you can automatically add that by using
  the `-s` or `--signoff` CLI parameter on commit/format-patch or send-email command

Also note that for a single patch a cover-letter is normally not required, and if added
it should at least contain some text besides the "**BLURB**" template ;-)

cheers,
Thomas




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-20 10:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-19  9:09 [pve-devel] [PATCH dab 0/1] Add https support for download Xylle
2021-09-19  9:09 ` [pve-devel] [PATCH dab 1/1] " Xylle
2021-09-20 10:30   ` Thomas Lamprecht

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