Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #12983

Re: How to watch pypi.org

From Fioddor Superconcentrado <fioddor@gmail.com>
Newsgroups linux.debian.maint.python
Subject Re: How to watch pypi.org
Date 2020-10-30 15:10 +0100
Message-ID <B5Dgl-3BU-3@gated-at.bofh.it> (permalink)
References <AWe7v-7OL-5@gated-at.bofh.it> <AWeqS-7W6-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Thank you as well, Geert.
And yes. It has taken me some time to come back to this issue but I've
tested and seems to work fine.

El dom., 4 oct. 2020 a las 17:44, Geert Stappers (<stappers@stappers.nl>)
escribió:

> On Sun, Oct 04, 2020 at 05:28:57PM +0200, Fioddor Superconcentrado wrote:
> > I've packaged a project provided via https://pipi.org and I wanted to
> > create a debian/watch file but pipi.org publishes the tarball behind a
> > strange url like
> >
> >
> https://files.pythonhosted.org/packages/d6/72/9848a2d631dad70d7ea582540f0619e1a7ecf31b3a117de9d9f2b6b28029/django-settings-export-1.2.1.tar.gz
> >
> > I guess pypi.org is a common source of python code so perhaps there's
> > already a solution for this.
>
> Quoting the manual page of uscan.
> (  uscan is the utility reads debian/watch for watching. )
>
>
>    PyPI
>        For PyPI based projects, pypi.debian.net runs a redirector
>        which allows a simpler form of URL. The format below will
>        automatically be rewritten to use the redirector with the watch
>        file:
>
>          version=4
>          https://pypi.python.org/packages/source/<initial>/<project>/ \
>              <tar-name>-(.+)\.tar\.gz debian uupdate
>
>        For cfn-sphere, set the watch file as:
>
>          version=4
>          https://pypi.python.org/packages/source/c/cfn-sphere/ \
>              cfn-sphere-([\d\.]+).tar.gz debian uupdate
>
>        Please note, you can still use normal functionalities of uscan
>        to set up a watch file for this site without using the
>        redirector.
>
>          version=4
>          opts="pgpmode=none" \
>              https://pypi.python.org/pypi/cfn-sphere/ \
>              https://pypi.python.org/packages/.*/.*/.*/\
>              cfn-sphere-([\d\.]+).tar.gz#.* debian uupdate
>
>
>
> > Thanks in advanced.
>
> Looking forward to something like "OK, that works"
>
>
> Regards
> Geert Stappers
> --
> Silence is hard to parse
>
>

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to watch pypi.org Fioddor Superconcentrado <fioddor@gmail.com> - 2020-10-04 17:30 +0200
  Re: How to watch pypi.org Geert Stappers <stappers@stappers.nl> - 2020-10-04 17:50 +0200
    Re: How to watch pypi.org Fioddor Superconcentrado <fioddor@gmail.com> - 2020-10-30 15:10 +0100
  Re: How to watch pypi.org Andrey Rahmatullin <wrar@debian.org> - 2020-10-04 17:50 +0200
    Re: How to watch pypi.org Fioddor Superconcentrado <fioddor@gmail.com> - 2020-10-30 15:10 +0100
  Re: How to watch pypi.org Paul Wise <pabs@debian.org> - 2020-10-05 04:30 +0200
    Re: How to watch pypi.org Scott Kitterman <debian@kitterman.com> - 2020-10-05 05:10 +0200
      Re: How to watch pypi.org, example Geert Stappers <stappers@stappers.nl> - 2020-10-05 08:20 +0200
    Re: How to watch pypi.org Fioddor Superconcentrado <fioddor@gmail.com> - 2020-10-30 15:20 +0100
      Re: How to watch pypi.org Andrey Rahmatullin <wrar@debian.org> - 2020-10-30 15:30 +0100
      Re: How to watch pypi.org Paul Wise <pabs@debian.org> - 2020-10-31 02:40 +0100
        Re: How to watch pypi.org Jeremy Stanley <fungi@yuggoth.org> - 2020-10-31 03:40 +0100
          Re: How to watch pypi.org Paul Wise <pabs@debian.org> - 2020-10-31 05:30 +0100
      Re: How to watch pypi.org Thomas Goirand <zigo@debian.org> - 2020-10-31 12:10 +0100
        Re: How to watch pypi.org Jeremy Stanley <fungi@yuggoth.org> - 2020-10-31 13:20 +0100
          Re: How to watch pypi.org Thomas Goirand <zigo@debian.org> - 2020-11-01 20:30 +0100
            Re: How to watch pypi.org Jeremy Stanley <fungi@yuggoth.org> - 2020-11-01 21:10 +0100
        Re: How to watch pypi.org Andrey Rahmatullin <wrar@debian.org> - 2020-10-31 15:50 +0100
          Re: How to watch pypi.org Jeremy Stanley <fungi@yuggoth.org> - 2020-10-31 18:40 +0100

csiph-web