[Concept,01/15] patman: Drop hard-coded patchwork server

Message ID 20250819193918.874215-2-sjg@u-boot.org
State New
Headers
Series test: Improvements to make check et al |

Commit Message

Simon Glass Aug. 19, 2025, 7:38 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

Since there is now a new server at patchwork.u-boot.org allow using this
if selected in the ~/.patman file.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 tools/patman/cseries.py | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Simon Glass Aug. 19, 2025, 7:40 p.m. UTC | #1
Hi,

On Tue, 19 Aug 2025 at 13:40, Simon Glass <sjg@u-boot.org> wrote:
>
> From: Simon Glass <sjg@chromium.org>
>
> Since there is now a new server at patchwork.u-boot.org allow using this
> if selected in the ~/.patman file.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  tools/patman/cseries.py | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/tools/patman/cseries.py b/tools/patman/cseries.py
> index bcbc4963cea..009e6f000b7 100644
> --- a/tools/patman/cseries.py
> +++ b/tools/patman/cseries.py
> @@ -511,7 +511,6 @@ class Cseries(cser_helper.CseriesHelper):
>          """
>          ser, version = self._parse_series_and_version(name, version)
>          link = self.link_get(ser.name, version)
> -        pwork.url = 'https://patchwork.ozlabs.org'
>          url = self.loop.run_until_complete(pwork.get_series_url(link))
>          print(f'Opening {url}')
>
> --
> 2.43.0
>
> _______________________________________________
> Concept mailing list -- concept@u-boot.org
> To unsubscribe send an email to concept-leave@u-boot.org

This looks pretty good.
  
Simon Glass Aug. 19, 2025, 7:44 p.m. UTC | #2
On Tue, 19 Aug 2025 at 13:40, Simon Glass <imon.glass@gmail.com> wrote:
>
> Hi,
>
> On Tue, 19 Aug 2025 at 13:40, Simon Glass <sjg@u-boot.org> wrote:
> >
> > From: Simon Glass <sjg@chromium.org>
> >
> > Since there is now a new server at patchwork.u-boot.org allow using this
> > if selected in the ~/.patman file.
> >
> > Signed-off-by: Simon Glass <sjg@chromium.org>
> > ---
> >
> >  tools/patman/cseries.py | 1 -
> >  1 file changed, 1 deletion(-)
> >
> > diff --git a/tools/patman/cseries.py b/tools/patman/cseries.py
> > index bcbc4963cea..009e6f000b7 100644
> > --- a/tools/patman/cseries.py
> > +++ b/tools/patman/cseries.py
> > @@ -511,7 +511,6 @@ class Cseries(cser_helper.CseriesHelper):
> >          """
> >          ser, version = self._parse_series_and_version(name, version)
> >          link = self.link_get(ser.name, version)
> > -        pwork.url = 'https://patchwork.ozlabs.org'
> >          url = self.loop.run_until_complete(pwork.get_series_url(link))
> >          print(f'Opening {url}')
> >
> > --
> > 2.43.0
> >
> > _______________________________________________
> > Concept mailing list -- concept@u-boot.org
> > To unsubscribe send an email to concept-leave@u-boot.org
>
> This looks pretty good.

Tested-by: Simon Glass <sjg@chromium.org>
  

Patch

diff --git a/tools/patman/cseries.py b/tools/patman/cseries.py
index bcbc4963cea..009e6f000b7 100644
--- a/tools/patman/cseries.py
+++ b/tools/patman/cseries.py
@@ -511,7 +511,6 @@  class Cseries(cser_helper.CseriesHelper):
         """
         ser, version = self._parse_series_and_version(name, version)
         link = self.link_get(ser.name, version)
-        pwork.url = 'https://patchwork.ozlabs.org'
         url = self.loop.run_until_complete(pwork.get_series_url(link))
         print(f'Opening {url}')