[postgis-devel] FW: Several files in project 'PostGIS' were updated with new content

Sandro Santilli strk at kbt.io
Mon Jan 10 17:07:58 PST 2022


On Tue, Jan 11, 2022 at 12:59:38AM +0100, Sandro Santilli wrote:
> On Tue, Jan 11, 2022 at 12:07:14AM +0100, Sandro Santilli wrote:
> > On Mon, Jan 10, 2022 at 08:03:06PM +0100, Sandro Santilli wrote:
> > > On January 10, 2022 4:42:55 PM GMT+01:00, Regina Obe <lr at pcorp.us> wrote:
> > > >Did you push these.  I did not push any?  If you didn’t then maybe it does pick up on its own as I thought it did.
> > > 
> > > I did run `make push-tx`
> > 
> > Now, as a test, I pushed commit f55b8ff4926735b0e9ec31eeb90363ada0e6814e
> > which is translation of an italian string, but did NOT run `make push-tx`
> > 
> > The change is NOT picked up by Weblate:
> > https://weblate.osgeo.org/translate/postgis/introductionxml/it/?checksum=9a509b92b54a329b
> 
> I went debugging the webhook installed on gitea and found out it was
> ONLY triggered by pushes to "master" branch, while I'm pushing to
> "main". I've fixed the hook to fire on pushes to either of the two
> branches and saw that now the webhook is firing BUT weblate response is:
> 
>   {
>     "status": "failure",
>     "message": "No matching repositories found!",
>     "match_status": {
>       "repository_matches": 0,
>       "branch_matches": 0,
>       "enabled_hook_matches": 0
>     }
>   }
> 
> Do you have an idea of how matching is performed ? Is there any other
> Gitea webhook which was tested to be working ?

I suspect the problem is that the repository configured in weblate is
your fork rather than the official repository, which is the one
triggering the webhook:

    ~postgis/doc$ wlc list-components postgis | grep repo: | sort -u
    repo: https://git.osgeo.org/gitea/robe/postgis.git

Now I've pushed changes to weblate "manually" for testing.
I've written instructions in doc/po/README for doing that
(eventually we'd have a Makefile rule to do it)

> > Nor by Transifex:
> > https://www.transifex.com/postgis/postgis/translate/#it_IT/introductionxmlpot_1/179231252?q=text%3A'is+a+spatial'
> 
> You mentioned Transifex knew about GitHub, but I can't find any GitHub
> webhook for Transifex.

I think there's no automatism for Transifex, at all
(Transifex "integration" tab doesnt' show any active)

--strk;


More information about the postgis-devel mailing list