Re: [gentoo-portage-dev] [PATCH] Improve handling of percent-signs in SRC_URI

2020-05-31 Thread Zac Medico
On 5/31/20 1:53 PM, Mike Gilbert wrote: > On Sun, May 31, 2020 at 2:01 PM Zac Medico wrote: >> >> On 5/31/20 6:17 AM, Mike Gilbert wrote: >>> Unquote the URL basename when fetching from upstream. >>> Quote the filename when fetching from mirrors. >>> >>> Bug: https://bugs.gentoo.org/719810 >>>

Re: [gentoo-portage-dev] [PATCH] Improve handling of percent-signs in SRC_URI

2020-05-31 Thread Mike Gilbert
On Sun, May 31, 2020 at 2:01 PM Zac Medico wrote: > > On 5/31/20 6:17 AM, Mike Gilbert wrote: > > Unquote the URL basename when fetching from upstream. > > Quote the filename when fetching from mirrors. > > > > Bug: https://bugs.gentoo.org/719810 > > Signed-off-by: Mike Gilbert > > --- > >

Re: [gentoo-portage-dev] [PATCH] Improve handling of percent-signs in SRC_URI

2020-05-31 Thread Mike Gilbert
On Sun, May 31, 2020 at 4:32 PM Zac Medico wrote: > > On 5/31/20 1:24 PM, Ulrich Mueller wrote: > >> On Sun, 31 May 2020, Zac Medico wrote: > > > >> We've also got these other basename calls in fetch.py: > > > >>> diff --git a/lib/portage/package/ebuild/fetch.py > >>>

Re: [gentoo-portage-dev] [PATCH] Improve handling of percent-signs in SRC_URI

2020-05-31 Thread Zac Medico
On 5/31/20 1:24 PM, Ulrich Mueller wrote: >> On Sun, 31 May 2020, Zac Medico wrote: > >> We've also got these other basename calls in fetch.py: > >>> diff --git a/lib/portage/package/ebuild/fetch.py >>> b/lib/portage/package/ebuild/fetch.py >>> index 28e7caf53..56b375d58 100644 >>> ---

Re: [gentoo-portage-dev] [PATCH] Improve handling of percent-signs in SRC_URI

2020-05-31 Thread Ulrich Mueller
> On Sun, 31 May 2020, Zac Medico wrote: > We've also got these other basename calls in fetch.py: >> diff --git a/lib/portage/package/ebuild/fetch.py >> b/lib/portage/package/ebuild/fetch.py >> index 28e7caf53..56b375d58 100644 >> --- a/lib/portage/package/ebuild/fetch.py >> +++

Re: [gentoo-portage-dev] [PATCH] Improve handling of percent-signs in SRC_URI

2020-05-31 Thread Zac Medico
On 5/31/20 12:51 PM, Mike Gilbert wrote: > On Sun, May 31, 2020 at 3:36 PM Zac Medico wrote: >> >> On 5/31/20 12:21 PM, Mike Gilbert wrote: >>> On Sun, May 31, 2020 at 2:01 PM Zac Medico wrote: On 5/31/20 6:17 AM, Mike Gilbert wrote: > Unquote the URL basename when fetching from

Re: [gentoo-portage-dev] [PATCH] Improve handling of percent-signs in SRC_URI

2020-05-31 Thread Mike Gilbert
On Sun, May 31, 2020 at 3:36 PM Zac Medico wrote: > > On 5/31/20 12:21 PM, Mike Gilbert wrote: > > On Sun, May 31, 2020 at 2:01 PM Zac Medico wrote: > >> > >> On 5/31/20 6:17 AM, Mike Gilbert wrote: > >>> Unquote the URL basename when fetching from upstream. > >>> Quote the filename when

Re: [gentoo-portage-dev] [PATCH] Improve handling of percent-signs in SRC_URI

2020-05-31 Thread Zac Medico
On 5/31/20 12:21 PM, Mike Gilbert wrote: > On Sun, May 31, 2020 at 2:01 PM Zac Medico wrote: >> >> On 5/31/20 6:17 AM, Mike Gilbert wrote: >>> Unquote the URL basename when fetching from upstream. >>> Quote the filename when fetching from mirrors. >>> >>> Bug: https://bugs.gentoo.org/719810 >>>

Re: [gentoo-portage-dev] [PATCH] Improve handling of percent-signs in SRC_URI

2020-05-31 Thread Mike Gilbert
On Sun, May 31, 2020 at 2:01 PM Zac Medico wrote: > > On 5/31/20 6:17 AM, Mike Gilbert wrote: > > Unquote the URL basename when fetching from upstream. > > Quote the filename when fetching from mirrors. > > > > Bug: https://bugs.gentoo.org/719810 > > Signed-off-by: Mike Gilbert > > --- > >

Re: [gentoo-portage-dev] [PATCH] Improve handling of percent-signs in SRC_URI

2020-05-31 Thread Zac Medico
On 5/31/20 6:17 AM, Mike Gilbert wrote: > Unquote the URL basename when fetching from upstream. > Quote the filename when fetching from mirrors. > > Bug: https://bugs.gentoo.org/719810 > Signed-off-by: Mike Gilbert > --- > lib/portage/dbapi/porttree.py | 7 ++- >

[gentoo-portage-dev] [PATCH] Improve handling of percent-signs in SRC_URI

2020-05-31 Thread Mike Gilbert
Unquote the URL basename when fetching from upstream. Quote the filename when fetching from mirrors. Bug: https://bugs.gentoo.org/719810 Signed-off-by: Mike Gilbert --- lib/portage/dbapi/porttree.py | 7 ++- lib/portage/package/ebuild/fetch.py | 9 +++-- 2 files changed, 13