Giter VIP home page Giter VIP logo

Comments (8)

javiplx avatar javiplx commented on June 30, 2024

From the line with the error, looks looks related with parametrization. Are you using in any of your rdiffweb* repos a parametrized branch name?
Not sure, but your error might happen if you use a git branch with a parameter but the project has no parameter defined. If that were the case, just appending or [] to line 98 of models/values/project.rb should work

from gitlab-hook-plugin.

ikus060 avatar ikus060 commented on June 30, 2024

I've recently create a new project with parameters, but it's not related to
Yep, I've recently create a new project with parameters. But it's not related to the repo git.patrikdufresne.com:pdsl/rdiffweb.git.

Also, none of the repo listed in the logs is parametrized.

from gitlab-hook-plugin.

javiplx avatar javiplx commented on June 30, 2024

In any case, the fix I propose should work. Can you test it?
And if you could send me the config.xml for the rdiff* jobs, it might help to actually find the issue, even if the workaround works as expected.

from gitlab-hook-plugin.

ikus060 avatar ikus060 commented on June 30, 2024

ha ha, just to make sure, I've double-check each project configuration. One of them was parameterized, but without a parameter :S.

Anyway, I've fix the configuration and it's working again.

from gitlab-hook-plugin.

ikus060 avatar ikus060 commented on June 30, 2024

Thanks for you help and time !

from gitlab-hook-plugin.

javiplx avatar javiplx commented on June 30, 2024

Could you explain me what change did you perform in the job? When trying to issue a warning for a case like yours, I've realized that a project without parameters should never reach the line with your exception, because the protection I wanted to introduce was already there.

from gitlab-hook-plugin.

javiplx avatar javiplx commented on June 30, 2024

Forget my question. Looking again I see the issue now. At one place it checks if project is parametrized, that it does not mean that it has any parameter, which is the error reason. Now that I've seen it, I'll fix it and issue a warning to logfile

from gitlab-hook-plugin.

inforedaster avatar inforedaster commented on June 30, 2024

Hi what's the environment variable mean the branche name it is ${branch}

from gitlab-hook-plugin.

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.