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


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

Re: Uscan: watch and changelog

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Carsten Schoenert <c.schoenert@t-online.de>
Newsgroups linux.debian.maint.python
Subject Re: Uscan: watch and changelog
Date Fri, 29 Mar 2024 18:10:02 +0100
Message-ID <InnTQ-2zs0-5@gated-at.bofh.it> (permalink)
References <Inl5D-2xCL-3@gated-at.bofh.it> <Inml3-2yoB-1@gated-at.bofh.it> <InnqO-2z2r-7@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Mar 29 17:08:07 2024
Old-Return-Path <c.schoenert@t-online.de>
X-Amavis-Spam-Status No, score=-6.997 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -5.5
MIME-Version 1.0
User-Agent Mozilla Thunderbird
Content-Language en-US
Autocrypt addr=c.schoenert@t-online.de; keydata= xsFNBFIDTk4BEACx6disb51q5rTdDmnkOayFDiLgOrZ4InnRmbTsgYJaigcRXjVtjFaxwL0M Qtzrt9srlLBReWD4JvoLP9/8z2C1ORaoOUatApssuKd32Qa80lBlduIQCfaZ6K5Ij0TXeqIb dWXMWSvpaOwt+ecBGSdEepgABtxO9Xel9zqDsAauFxBRHGzJs3bSG8QRtwnQA2+9J8UEtzAc dY69YAkF3Q6HIPP/0mbGiget/1WGR+8tPKlVMYcgZtGIP2J36GkDbfDvdbH5QLn2KtMuGXLv f1CTy+vvQL3mY4caKamCU7tLi8FSufNZpPChguNOHsbuO//ACrTFqGysVFvq25zEb60t9Hoq AXHIMlDJFnR7XBUCyAHV4NROMvGZlFbLuZpUA81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dA1ql7zV48ZjF1ADhagQ8bgYuGMdOW6upfUBvPqQl0poV8FwjNErex N+CUbA5inlT9oIP03LtwZoKKDuK2PojoTtGp7WZ4ryQX9i9ogUOGknAABxFg4iMBQVkyl9oF QSgHa0HlbjRj8uY1kqsO4FgrcoGiouNzEfhP5zpxvCg3BBuWngo9ApU+MXOAwuq1Gt4dzUg4 7Ir2s32nhiv5TErJzPdNrUSK/tOUZOSkOzXv1kOGbXAlhC/5a5VGfA99uFcYK899gpfB4q64 jrc3wewP0MXjVl8U004Px7sYT4BkAoCupRtmBoRWhttvbcv6T8uFMAF+j91ng0X1+n21fV+O 9wPRnD3/KJThRVMR8poUevmJbFgPfvGGmz1asVIK8tBamAZp5aCeqZ7HVkTmMbj1x07Ry7o0 iWLO
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Toi-Expurgateid 150726::1711732061-81CE4861-4AF310F8/0/0 CLEAN NORMAL
X-Toi-Msgid b05dcd2d-c361-479f-a245-65c7f71e81eb
X-Mailing-List <debian-python@lists.debian.org> archive/latest/21687
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/a7b3e2ee-0a7a-4aa3-b1f3-184acfea7490@t-online.de
Approved robomod@news.nic.it
Lines 52
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 29 Mar 2024 18:07:40 +0100
X-Original-Message-ID <a7b3e2ee-0a7a-4aa3-b1f3-184acfea7490@t-online.de>
X-Original-References <4V5hyG6V92z9rxM@submission02.posteo.de> <145aea4b-f7fc-4bbd-944b-3620794ee3b6@t-online.de> <4V5mMF182Xz6tyK@submission01.posteo.de>
Xref csiph.com linux.debian.maint.python:15677

Show key headers only | View raw


Am 29.03.24 um 17:39 schrieb c.buhtz@posteo.jp:
> Dear Carsten,
> 
> thank for your reply and your patience with me. :)
> 
> On 2024-03-29 16:23 Carsten Schoenert <c.schoenert@t-online.de> wrote:
>> You need to use "opts=mode=git, ...", see the man page of uscan.
> 
> Are you sure.

Of course I'm sure, I've tested the snippets before posting it on the 
list. Did you test this on your side and have any issues?

> For example this watch file do not use "opts="
> https://sources.debian.org/src/backintime/1.4.3-1/debian/watch/

You need to ask the person that did probably this creation or 
modification. I can't answering this.

> Also some examples on the wikipage about "debian/watch" do not use
> "opts=".

You seems to expect that the wiki is all known and answering place. No, 
that is this not. It's by nature always "outdated". But it's a wiki, 
everyone can edit it.

> Please be aware that I don't only want to solve one technical problem
> with one specific package. I want to understand the whole thing ("big
> picture") to improve the documentation.

Well, that's not that complicated for uscan, it does mainly one thing 
(which is done in multiple steps, have a look into the man page), it's 
scanning upstream resources, fetching data and creates an tarball ready 
for importing.

>>> opts="mode=git, \
>>>        uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\.?\d*)$/$1~$2/,
>>> \ dversionmangle=s/\+ds(\.?\d+)?$//" \
>>> https://codeberg.org/buhtz/hyperorg.git \
>>>        refs/tags/v(\d+\S+)
>>
>> And uscan will find the most recent version matching the regexp.
> 
> I see 3 different regex patterns in this line. Why?

I see one that is relevant to your original question. The other two you 
mean are used in other "opts" variables, these variable are also 
explained too in the man page of uscan.

-- 
Regards
Carsten

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


Thread

Uscan: watch and changelog <c.buhtz@posteo.jp> - 2024-03-29 15:10 +0100
  Re: Uscan: watch and changelog Andrey Rakhmatullin <wrar@debian.org> - 2024-03-29 15:30 +0100
  Re: Uscan: watch and changelog Andrey Rakhmatullin <wrar@debian.org> - 2024-03-29 15:30 +0100
  Re: Uscan: watch and changelog Andrey Rakhmatullin <wrar@debian.org> - 2024-03-29 15:30 +0100
    Re: Uscan: watch and changelog <c.buhtz@posteo.jp> - 2024-03-29 17:40 +0100
  Re: Uscan: watch and changelog Carsten Schoenert <c.schoenert@t-online.de> - 2024-03-29 16:30 +0100
    Re: Uscan: watch and changelog <c.buhtz@posteo.jp> - 2024-03-29 17:40 +0100
      Re: Uscan: watch and changelog Carsten Schoenert <c.schoenert@t-online.de> - 2024-03-29 18:10 +0100
        Re: Uscan: watch and changelog <c.buhtz@posteo.jp> - 2024-03-29 18:20 +0100
          Re: Uscan: watch and changelog Soren Stoutner <soren@debian.org> - 2024-03-29 19:30 +0100
            Re: Uscan: watch and changelog <c.buhtz@posteo.jp> - 2024-03-29 21:20 +0100
              Re: Uscan: watch and changelog Soren Stoutner <soren@debian.org> - 2024-03-29 21:50 +0100
                Re: Uscan: watch and changelog <c.buhtz@posteo.jp> - 2024-03-31 15:40 +0200
                Re: Uscan: watch and changelog Michael Stehmann <michael@canzeley.de> - 2024-03-31 16:20 +0200
                Re: Uscan: watch and changelog Paul Boddie <paul@boddie.org.uk> - 2024-03-31 17:20 +0200
                Re: Uscan: watch and changelog <c.buhtz@posteo.jp> - 2024-04-06 09:50 +0200
      Re: Uscan: watch and changelog Paul Boddie <paul@boddie.org.uk> - 2024-03-29 18:20 +0100

csiph-web