Giter Site home page Giter Site logo

Comments (5)

YahnisElsts avatar YahnisElsts commented on June 12, 2024 1

Ah, it sounds like there was also a PUC version issue. There have been some changes to how release assets work with the update checker, but I forgot that I haven't published those changes as a new release yet. So you might get different behaviour depending on if you used the 5.0 release or the master branch of this repository.

I'll make a note to release a new PUC version.

from plugin-update-checker.

YahnisElsts avatar YahnisElsts commented on June 12, 2024

One possible issue is regex syntax. PUC uses the provided regex as-is, without adding any delimiters or flags. So if your regex is literally 'landingpages.zip', that's not going to work because without delimiters that's not a valid PCRE regex pattern. Try changing it to something like '/landingpages.zip/'.

from plugin-update-checker.

melcarthus avatar melcarthus commented on June 12, 2024

Just changed it to a better pattern. Stil points to the main release zip.

from plugin-update-checker.

YahnisElsts avatar YahnisElsts commented on June 12, 2024

That part of the code doesn't have enough logging to effectively debug it remotely. Would you perhaps be willing to step through it yourself or add some logging statements? This is the method that checks if an asset link/name matches the regex:

https://github.com/YahnisElsts/plugin-update-checker/blob/579d537926c41e6d4b82cf2c73f5ba85d96a8e1e/Puc/v5p0/Vcs/ReleaseAssetSupport.php#LL61C28-L61C28

from plugin-update-checker.

melcarthus avatar melcarthus commented on June 12, 2024

Sure no problem. However I failed to mention the repo is a private repo. And maybe it cant find this asset because the link contains no token like the default asset link does have. Or am i overthinking it?

Update

The problem it was not pointing to the correct asset was first of all the delimiters.
It would still not point to the right assetslink because of two missing files. Why they where missing when I downloaded the plugin i'm not sure about. But everything is working now as intended!

I was missing ReleaseAssetSupport.php and ReleaseFilteringFeature.php

from plugin-update-checker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.